Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Special Right Triangles Calculator

Pick a 30-60-90 or 45-45-90 triangle, enter the short leg, and get the hypotenuse and other leg from the exact 1 : √3 : 2 or 1 : 1 : √2 side ratios.

Special Right Triangles Calculator

Special triangle
Hypotenuse
4
Length of the side opposite the right angle: twice the short leg for 30-60-90, √2 times the leg for 45-45-90, in your input's unit.
Other leg
3.4641

Background.

Cut a square along its diagonal and you get two 45-45-90 triangles. Drop a line from one corner of an equilateral triangle to the middle of the opposite side and you get two 30-60-90 triangles. Those two shapes are the special right triangles, and they are special because their sides stand in fixed, exact ratios: once you know one side, the other two follow without any trigonometry.

For the half-square the ratio is 1 : 1 : √2. Both legs are the side of the square, and the hypotenuse is its diagonal, about 1.414 times longer. For the half-equilateral triangle it is 1 : √3 : 2. The short leg is half of the original side and the hypotenuse is the whole side, so the hypotenuse is always exactly twice the short leg, while the long leg, the triangle's altitude, is √3 or about 1.732 times the short leg.

These ratios are where the exact trigonometric values come from: sin 30° = 1/2, cos 45° = √2/2 and tan 60° = √3 can all be read straight off the sides. They are also built into everyday tools. A drafting kit has one set square of each shape, and a hexagonal nut is six equilateral triangles, so the distance across its flats is √3 times the length of one side.

Pick the triangle, enter the short leg, and the page multiplies through. In the 30-60-90 case the leg you enter must be the one opposite the 30° angle; entering the long leg by mistake makes every answer √3 times too large.

What is special right triangles calculator?

A special right triangle is a right triangle whose angles fix its sides in a ratio that can be written exactly with square roots. The 30-60-90 triangle, half of an equilateral triangle, has sides in the ratio 1 : √3 : 2. The 45-45-90 triangle, half of a square and the only isosceles right triangle, has sides in the ratio 1 : 1 : √2. Any one side therefore determines the other two.

How to use this calculator.

  1. Choose 30°–60°–90° or 45°–45°–90° from the Special triangle list.
  2. Enter the short or reference leg. For a 30-60-90 triangle this is the side opposite the 30° angle, the shortest side. For a 45-45-90 triangle either leg will do, since the two are equal.
  3. If you only know the hypotenuse, divide it by 2 for a 30-60-90 triangle or by √2 for a 45-45-90 triangle, then enter that leg. If you know the long leg of a 30-60-90 triangle, divide it by √3.
  4. Read the hypotenuse and the other leg. They come out in the same unit as the leg you entered, whether centimetres, inches or anything else.

The formula.

30–60–90 ratio 1:√3:2; 45–45–90 ratio 1:1:√2

For a 30-60-90 triangle with short leg a: hypotenuse = 2a and long leg = a√3. For a 45-45-90 triangle with leg a: hypotenuse = a√2 and other leg = a. Both follow from the Pythagorean theorem. In the half-equilateral triangle the hypotenuse is the full side 2a, so the long leg is √((2a)² − a²) = √(3a²) = a√3. In the half-square both legs are a, so the hypotenuse is √(a² + a²) = a√2. Because every side is a fixed multiple of a, doubling the leg doubles every output; the only thing that changes the shape is the choice of triangle. √3 ≈ 1.7320508076 and √2 ≈ 1.4142135624 are irrational, so the decimals shown are rounded, while the radical forms 2√3 or 3√2 are exact.

A worked example.

Example

Choose the 30-60-90 triangle and enter a short leg of 2. The hypotenuse is twice the short leg: 2 × 2 = 4. The long leg is the short leg times √3: 2 × 1.7320508076 = 3.4641016151, which in exact form is 2√3. Pythagoras confirms it: 2² + (2√3)² = 4 + 12 = 16, and √16 = 4. Switch to the 45-45-90 triangle with the same leg of 2 and the other leg is also 2, while the hypotenuse becomes 2√2 = 2.8284271247. Starting from the same short side, the 30-60-90 triangle is the larger of the two: its area is 2 × 3.4641 ÷ 2 = 3.4641 against 2 × 2 ÷ 2 = 2 for the half-square.

short Leg2
triangle Type30-60-90

Frequently asked questions.

Which leg counts as the short leg in a 30-60-90 triangle?
The leg opposite the 30° angle, which is also the leg that touches the 60° angle. It is always exactly half the hypotenuse. The other leg, opposite the 60° angle, is longer by a factor of √3, so mixing the two up inflates every result by about 1.732.
How do the special triangles give exact sine and cosine values?
Scale the 30-60-90 triangle so its hypotenuse is 1: the legs become 1/2 and √3/2, so sin 30° = cos 60° = 1/2 and sin 60° = cos 30° = √3/2. The 45-45-90 triangle with hypotenuse 1 has legs of √2/2, which is both sin 45° and cos 45°.
How do I find the diagonal of a square tile or panel?
The diagonal is the hypotenuse of a 45-45-90 triangle whose legs are the square's sides. Choose 45-45-90 and enter the side length. A 10 cm tile has a diagonal of 10√2, about 14.14 cm, which is the length of a corner-to-corner cut and the longest straight line the tile can hold.
What does the 30-60-90 triangle have to do with hexagonal nuts and bolts?
A regular hexagon splits into six equilateral triangles, and each of those halves into two 30-60-90 triangles. The distance across a hexagon's flats is √3 times its side, while the distance across its corners is twice the side. A nut 13 mm across the flats is therefore about 15.01 mm across the corners.
Why are the long leg and hypotenuse shown as decimals instead of radicals?
√2 and √3 are irrational, so no decimal ends. The page shows ten decimal places, which is far more precision than any measurement needs. For homework that asks for an exact answer, write the result in radical form instead: with a short leg of 5, the long leg is 5√3 and the hypotenuse is 10.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
30–60–90 ratio 1:√3:2; 45–45–90 ratio 1:1:√2
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon