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
- 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.
- 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°.
- 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.
- 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
| Triangle | You know | Other sides |
|---|---|---|
| 45-45-90 | a leg x | other leg x, hypotenuse x√2 |
| 45-45-90 | the hypotenuse h | each leg h over √2 = h√2 over 2 |
| 30-60-90 | the short leg x | long leg x√3, hypotenuse 2x |
| 30-60-90 | the long leg L | short leg L over √3 = L√3 over 3, hypotenuse 2L√3 over 3 |
| 30-60-90 | the hypotenuse h | short 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.8995The 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.4853Each 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 = 8The 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.5885The 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.3923The 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
- LearnThe 30-60-90 TriangleThe 30-60-90 triangle ratio 1 : √3 : 2 derived from half an equilateral triangle, rules for each given side, worked examples and exact values for 30° and 60°.
- LearnThe 45-45-90 TriangleThe 45-45-90 triangle rules: why the sides are in the ratio 1 : 1 : √2, how to find a leg from the hypotenuse, the diagonal of a square, and worked examples.
- CalculatorsSimplify Square Root CalculatorSimplify any square root to simplest radical form, with the prime factorization, a factor tree and every step. Works for √n and k√n and gives the decimal.
- CalculatorsRight Triangle Calculator and SolverRight triangle solver: enter any two values, such as two sides or a side and an angle, to get all three sides, both angles, area, perimeter, altitude and radii.
- LearnFind the Height of a Triangle with the Pythagorean TheoremFind the height of an isosceles or equilateral triangle with the Pythagorean theorem: h = √(s² − (b/2)²), h = (√3/2)s, area formulas and slant heights.
- LearnPythagorean Theorem or Trigonometry: Which Should You Use?When to use the Pythagorean theorem vs trigonometry (SOH CAH TOA): a decision flowchart, side-by-side worked examples and multi-step problems that need both.