Special Right Triangle Calculator

Choose 30-60-90 or 45-45-90, type any one side, and get the other two in exact form (rationalized) and as decimals, with the area, the perimeter, the steps and a drawing.

By the PythagoreanTheorem.net teamUpdated Free · no sign-up

Type any one side. The calculator fills in the other two. Exact answers such as 4√3 or 3/2 are accepted too.

5 : 5√3 : 10

Short leg : long leg : hypotenuse in exact form. The decimals below are rounded to 4 places.

  • Short leg a5
  • Long leg b5√3 ≈ 8.6603
  • Hypotenuse c10
  • Area25√3/2 ≈ 21.6506
  • Perimeter15 + 5√3 ≈ 23.6603
a = 5b = 5√3c = 1030°60°

Step-by-step solution

  1. The sides are in the ratio: 1 : √3 : 2, so a = x, b = x√3, c = 2x
  2. The short leg is given: x = 5
  3. Long leg: b = x√3 = 5√3 ≈ 8.6603
  4. Hypotenuse: c = 2x = 10

A special right triangle has angles of 45°-45°-90° or 30°-60°-90°, and its sides always come in a fixed ratio: 1 : 1 : √2 for the first and 1 : √3 : 2 for the second. Knowing one side is enough to find the other two exactly. This 30-60-90 and 45-45-90 triangle calculator does it and shows the working.

How to use the special right triangle calculator

  1. Pick the triangle. If the two legs are equal or the angles are 45°, it is a 45-45-90 triangle. If the angles are 30° and 60°, or the hypotenuse is twice the shortest side, it is a 30-60-90 triangle.
  2. Type the one side you know in its box. In a 30-60-90 triangle the short leg is the one opposite the 30° angle; the long leg is opposite 60°.
  3. Read the exact sides. The result line shows all three sides in exact form, the tiles give each one as a decimal too, and the steps show how each was found, including rationalizing when you start from a long leg or a hypotenuse.

You can type exact values. Entering 4√3 as the long leg of a 30-60-90 triangle gives a short leg of exactly 4.

Where the two ratios come from

Neither ratio needs to be memorized blindly. Each triangle is half of a familiar shape, and the Pythagorean theorem gives the missing side.

1 1 √2 45° 45° Half a square 2 2 1 1 √3 30° 60° Half an equilateral triangle
A square's diagonal makes two 45-45-90 triangles. The altitude of an equilateral triangle makes two 30-60-90 triangles, each with a short leg of half the side.
  • 45-45-90. Cut a square with side 1 along its diagonal. The legs are 1 and 1, so the hypotenuse is √12 + 12 = √2. Full details: 45-45-90 triangle.
  • 30-60-90. Cut an equilateral triangle with side 2 down the middle. The hypotenuse is 2, the short leg is half the base, 1, and the long leg is √22 − 12 = √3. Full details: 30-60-90 triangle.

Scaling the triangle by any factor x scales every side by x, which gives the general patterns x : x : x√2 and x : x√3 : 2x.

Formulas for every known side

TriangleYou knowOther sides
45-45-90a leg xother leg x, hypotenuse x√2
45-45-90the hypotenuse heach leg h over √2 = h√2 over 2
30-60-90the short leg xlong leg x√3, hypotenuse 2x
30-60-90the long leg Lshort leg L over √3 = L√3 over 3, hypotenuse 2L√3 over 3
30-60-90the hypotenuse hshort leg h over 2, long leg h√3 over 2

A good habit for 30-60-90 problems is to find the short leg first, whatever you are given. Everything else is a multiple of it.

Worked examples

Example 1: 45-45-90, leg given

The legs are 7 cm. Find the hypotenuse.

c = 7√2 ≈ 9.8995

The hypotenuse is 7√2 cm, about 9.90 cm.

Example 2: 45-45-90, hypotenuse given

The diagonal of a square is 12 in. How long is each side?

x = 12 over √2 = 12√2 over 2 = 6√2 ≈ 8.4853

Each side is 6√2 in, about 8.49 in. Multiplying top and bottom by √2 is called rationalizing the denominator.

Example 3: 30-60-90, short leg given

The side opposite the 30° angle is 4.

b = 4√3 ≈ 6.9282  c = 2 · 4 = 8

The long leg is 4√3 and the hypotenuse is 8.

Example 4: 30-60-90, hypotenuse given

A ramp 18 ft long rises at 30° to the ground. How high does it rise, and how far does it reach horizontally?

a = 18 over 2 = 9  b = 9√3 ≈ 15.5885

The ramp rises 9 ft and covers about 15.59 ft of ground. The rise is the side opposite the 30° angle, so it is the short leg.

Example 5: 30-60-90, long leg given

The side opposite the 60° angle is 9.

x = 9 over √3 = 9√3 over 3 = 3√3 ≈ 5.1962  c = 2x = 6√3 ≈ 10.3923

The short leg is 3√3 and the hypotenuse is 6√3.

Area and perimeter

Because the sides are fixed multiples of one length x, area and perimeter have one-line formulas. The calculator uses them and keeps the answers exact.

  • 45-45-90 with legs x: area x2 over 2, perimeter (2 + √2) x.
  • 30-60-90 with short leg x: area √3 over 2x2, perimeter (3 + √3) x.

For the default example, a 30-60-90 triangle with short leg 5, the area is 25√3 over 2 ≈ 21.6506 and the perimeter is 15 + 5√3 ≈ 23.6603.

Spotting special triangles in problems

Problems rarely say "this is a 30-60-90 triangle". Look for these shapes:

  • The diagonal of a square is always side × √2. A square with 6 m sides has a diagonal of 6√2 ≈ 8.49 m. For rectangles in general, use the rectangle diagonal calculator.
  • The height of an equilateral triangle is side × √3 over 2. A triangle with 10 cm sides is 5√3 ≈ 8.66 cm tall. See height of a triangle.
  • Regular hexagons split into six equilateral triangles, so their measurements are full of 30-60-90 triangles. A hexagon with 4 cm sides is 4√3 ≈ 6.93 cm across its flat sides.
  • Any right triangle with a 30°, 45° or 60° angle, such as a ramp, a ladder against a wall or a roof line.

When the angle is anything else, use trigonometry instead; the guide to Pythagorean theorem or trigonometry explains how to choose, and the right triangle solver handles any angle.

Common mistakes

  • Putting √3 on the hypotenuse. In a 30-60-90 triangle the hypotenuse is exactly twice the short leg. The √3 belongs to the long leg.
  • Mixing up the legs. The short leg is opposite the smallest angle, 30°. The long leg is opposite 60°.
  • Leaving a root in the denominator. 10 over √2 is correct but most teachers want 5√2. The square root simplifier covers rationalizing.
  • Using the ratios on the wrong triangle. They only apply when the angles really are 30-60-90 or 45-45-90. Check the angles, or check the sides with a2 + b2 = c2.

Frequently asked questions

What are the two special right triangles?

The 45-45-90 triangle, which is half a square and has sides in the ratio 1 : 1 : √2, and the 30-60-90 triangle, which is half an equilateral triangle and has sides in the ratio 1 : √3 : 2. Their sides can be found exactly from a single length, without trigonometry.

What is the rule for a 30-60-90 triangle?

If the short leg is x, the long leg is x√3 and the hypotenuse is 2x. For a short leg of 6 that gives 6√3 ≈ 10.39 and 12.

How do you find the hypotenuse of a 45-45-90 triangle?

Multiply a leg by √2. Legs of 3 give a hypotenuse of 3√2 ≈ 4.24. Going the other way, divide the hypotenuse by √2, which is the same as multiplying it by √2 over 2.

Can I use the Pythagorean theorem instead?

Yes, and it is a good way to check an answer. For the 5, 5√3, 10 triangle: 52 + (5√3)2 = 25 + 75 = 100 = 102. The ratios are just a shortcut for when you know only one side, since the theorem alone needs two; with two sides, use the Pythagorean theorem calculator.

Why do the answers have square roots?

Because √2 and √3 are irrational, at least one side of a special right triangle is irrational whenever another is a whole number. That is also why a 45-45-90 triangle can never have three whole-number sides, so it never appears in a list of Pythagorean triples.

Keep exploring