30-60-90 Triangle Calculator

A 30-60-90 triangle has its sides locked in the exact ratio 1 : √3 : 2, so one measurement gives you all of them with no trigonometry needed. Enter whichever you have — the short leg, the long leg, the hypotenuse, the area or the perimeter — and this calculator returns the rest, along with the altitude to the hypotenuse. The ratios are exact rather than approximate, which is why this triangle supplies the textbook values of sin 30° and sin 60°. Use any unit.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What you knowIdentify the side by the angle it faces, not by how it looks in a sketch.Short leg (opposite 30°)
ValueIn any unit. If you selected Area, enter it in square units of that same unit.5

It returns

  • Hypotenuse — Opposite the right angle, exactly twice the short leg.
  • Short leg (opposite 30°)
  • Long leg (opposite 60°) — Exactly √3 ≈ 1.7320508 times the short leg.
  • Area
  • Perimeter
  • Altitude to the hypotenuse — The perpendicular from the right angle to the hypotenuse, equal to x√3/2.

The formula

x:x3:2x=1:3:2
A=32x2

In plain text: short leg = x, long leg = x√3, hypotenuse = 2x; A = (√3/2)x²; P = x(3 + √3)

  • xShort leg, opposite the 30° angle (units)
  • x√3Long leg, opposite the 60° angle (units)
  • 2xHypotenuse, opposite the right angle (units)
  • AArea, half the product of the two legs (units²)
  • PPerimeter, x + x√3 + 2x (units)

The ratio is exact, not an approximation. It follows from cutting an equilateral triangle in half, which is why the short leg is precisely half the hypotenuse.

Updated Category Special Triangles & Triangle Centers Verified against published test cases Reading time 9 min

Half an equilateral triangle

Take an equilateral triangle of side 2x and cut it down the middle from one vertex to the midpoint of the opposite side. Each half is a 30-60-90 triangle, and the construction hands you two of the three sides immediately: the hypotenuse is a full side of the original, 2x, and the short leg is half of the base it was cut across, x. So the short leg is exactly half the hypotenuse — no approximation, no trigonometry.

The long leg follows from Pythagoras: (2x)² − x² = 4x² − x² = 3x², so the long leg is x√3. The full ratio is 1 : √3 : 2, or numerically 1 : 1.7320508 : 2, and it holds for every 30-60-90 triangle regardless of size because all of them are similar to one another.

The whole difficulty in using it is identifying which side is which. Name them by the angle each faces, never by appearance: the short leg is opposite 30°, the long leg is opposite 60°, and the hypotenuse is opposite the right angle. Getting the two legs the wrong way round scales every result by √3 = 1.7320508, a 73% error in one direction or 42% in the other.

This is one of two special right triangles worth memorising. The other is the 45-45-90 triangle with ratio 1 : 1 : √2. Between them they cover the angles that appear most often in drafting, framing and machining, and they generate the exact trigonometric values for 30°, 45° and 60°.

Every route back to the short leg

All five inputs reduce to finding x, the short leg, and then multiplying out. From the short leg, x is what you typed. From the hypotenuse, x = c/2. From the long leg, x = L/√3 = L√3/3 ≈ 0.5773503L — rationalising the denominator is the usual textbook step and gives the same number.

From the area: the two legs are perpendicular, so A = ½ · x · x√3 = (√3/2)x² ≈ 0.8660254x², and inverting gives x = √(2A/√3). From the perimeter: P = x + x√3 + 2x = x(3 + √3) ≈ 4.7320508x, so x = P/(3 + √3).

Two secondary results are worth having. The altitude to the hypotenuse is h = (short × long)/hypotenuse = (x · x√3)/(2x) = x√3/2, which is exactly half the long leg. And the altitude divides the hypotenuse into segments of x/2 and 3x/2, in the ratio 1:3 — a consequence of the geometric mean relation a² = cp, since x² = 2x · p forces p = x/2.

The exact trigonometric values fall straight out of the same picture. sin 30° = opposite/hypotenuse = x/2x = 1/2 exactly, cos 30° = x√3/2x = √3/2 ≈ 0.8660254, and tan 30° = x/(x√3) = 1/√3 ≈ 0.5773503. Swapping to the 60° angle swaps sine and cosine. That sin 30° is exactly one half is not a coincidence of the decimal system — it is the halved equilateral triangle showing through.

Worked example: a short leg of 5, and a shelf brace

Part one. The side opposite the 30° angle measures 5.000 units.

  1. Short leg. x = 5.000000.
  2. Long leg. x√3 = 5 × 1.7320508 = 8.660254.
  3. Hypotenuse. 2x = 10.000000.
  4. Check with Pythagoras. 5² + 8.660254² = 25 + 75.000000 = 100 = 10². ✓
  5. Area. ½ × 5 × 8.660254 = 21.650635, which matches (√3/2) × 25 = 0.8660254 × 25.
  6. Perimeter. 5 + 8.660254 + 10 = 23.660254, which is 5 × 4.7320508.
  7. Altitude to the hypotenuse. (5 × 8.660254)/10 = 4.330127, exactly half the long leg.

Part two: a diagonal shelf brace. A shelf projects 12.000 in from a wall and a brace runs from the outer edge back down to the wall at 30° below the shelf. The shelf is the long leg (adjacent to the 30° angle at the outer corner), and the brace is the hypotenuse.

  1. Short leg from the long leg. x = 12 / 1.7320508 = 6.9282 in — the drop down the wall.
  2. Brace length. 2x = 13.8564 in.
  3. Check. √(12² + 6.9282²) = √(144 + 48) = √192 = 13.8564 in. ✓
  4. Triangle area. ½ × 12 × 6.9282 = 41.5692 in², the area of the gusset if you filled the triangle in.

Had you mistaken the 12 in shelf for the short leg, the brace would have come out at 24 in rather than 13.8564 in — a 73% error from one misidentified side.

Using the ratio without a calculator

Three multipliers cover everything: ×2 from short leg to hypotenuse, ×1.7320508 from short leg to long leg, and ×1.1547005 from long leg to hypotenuse (that last one is 2/√3). Their reciprocals go the other way: 0.5, 0.5773503 and 0.8660254. Memorising 1.732 and 0.866 handles most site arithmetic to three figures.

Sanity-check by ordering. The hypotenuse must be the largest number, the long leg must sit between the two, and the short leg must be exactly half the hypotenuse. If your long leg comes out larger than your hypotenuse, the two legs have been swapped. If the hypotenuse is not twice the short leg, the triangle is not 30-60-90 at all and you need the general right triangle calculator.

Where does the triangle actually appear? Any time a 30° or 60° angle meets a right angle: hex fasteners and hexagonal layouts, where the 120° interior angle splits into 60° halves; isometric drawing, whose axes sit at 30° to the horizontal; roof and stair work at 30°; drafting triangles; and the equilateral triangle's own altitude, which is a side times √3/2. The hexagon area calculator and the equilateral triangle calculator both use exactly this relationship internally.

One precision note: √3 is irrational, so any 30-60-90 triangle with a rational short leg has an irrational long leg. There is no integer Pythagorean triple in this ratio, and rounding 1.732 instead of carrying 1.7320508 introduces about 0.003% of error — negligible on a shelf, but worth carrying more digits on a long survey line.

30-60-90 dimensions at common sizes

Every row is x, x√3 and 2x with area (√3/2)x² and perimeter x(3 + √3).
Short leg xLong leg x√3Hypotenuse 2xAreaPerimeter
11.732050820.86602544.7320508
23.464101643.46410169.4641016
35.196152467.794228614.1961524
46.9282032813.856406518.9282032
58.66025401021.650635123.6602540
610.39230481231.176914528.3923048
1017.32050812086.602540447.3205081
1220.784609724124.707658156.7846097

Area grows with the square of the short leg while the sides grow linearly: doubling x from 5 to 10 quadruples the area from 21.65 to 86.60.

Mistakes that scale the answer by √3 or by 2

  • Swapping the two legs. The long leg faces 60° and the short leg faces 30°. Getting them backwards scales the whole triangle by √3, so every length lands 73% high or 42% low depending on which way round you had it — as the worked example above shows, a 12 in shelf brace comes out at 24 in instead of 13.8564 in.
  • Halving the long leg to get the short one. Only the hypotenuse halves. The short leg is the long leg divided by √3 = 1.7320508, not by 2.
  • Treating the long leg as the hypotenuse. The hypotenuse is 2x while the long leg is 1.732x, so they differ by about 15.5%. The hypotenuse must always be the largest of the three.
  • Assuming the ratio is approximate. It is exact. Any deviation in a measured triangle means the angles are not really 30° and 60°.
  • Rounding √3 to 1.73 on a long run. That is 0.12% low, which on a 100 ft dimension is more than an inch. Carry 1.7320508.
  • Applying it to an isosceles right triangle. That is the 45-45-90 case with ratio 1 : 1 : √2, a different triangle entirely.

Where the ratio comes from and what it feeds

The 30-60-90 triangle is the equilateral triangle's altitude made explicit. Cut an equilateral triangle of side s in half and the altitude is s√3/2, which is where the equilateral area formula (√3/4)s² originates — see the equilateral triangle calculator. The same √3/2 factor reappears in the regular hexagon, whose apothem is s√3/2 and whose across-flats width is s√3, which is why the hexagon area calculator is full of the same constants.

In trigonometry, this triangle and the 45-45-90 supply every exact value on the unit circle at multiples of 30° and 45°. Those exact values are what let you check a numerical answer: if your calculator says sin 30° = 0.5 you are in degree mode, and if it says −0.988 you are in radians. The sin cos tan calculator evaluates any angle, and the reference angle calculator maps larger angles back onto these same first-quadrant values.

When your triangle has a right angle but not these particular acute angles, drop to the general tools: the right triangle calculator for a full solution from any two parts, or the Pythagorean theorem calculator when you only need a missing side. And when there is no right angle at all, the law of sines and law of cosines take over.

Frequently asked questions

What are the side ratios of a 30-60-90 triangle?

1 : √3 : 2, short leg to long leg to hypotenuse, which is 1 : 1.7320508 : 2 numerically. The short leg faces the 30° angle, the long leg faces 60°, and the hypotenuse faces the right angle. The ratio is exact and holds at every size.

How do I find the hypotenuse of a 30-60-90 triangle?

Double the short leg. If the short leg is 5, the hypotenuse is 10. If you only have the long leg, divide it by √3 first to get the short leg, then double: a long leg of 6 gives 6/1.7320508 = 3.4641, so the hypotenuse is 6.9282.

Which leg is the short one?

The one opposite the 30° angle, and it is always exactly half the hypotenuse. The long leg is opposite 60° and is √3 times the short leg. Identify sides by the angle they face rather than by how a sketch looks — drawings are rarely to scale.

Why is the short leg exactly half the hypotenuse?

Because a 30-60-90 triangle is half of an equilateral triangle. Cutting an equilateral triangle of side 2x through one vertex gives a hypotenuse of 2x (an original side) and a short leg of x (half the base). No approximation is involved, which is also why sin 30° equals exactly 1/2.

What is the area of a 30-60-90 triangle?

A = (√3/2)x² ≈ 0.8660254x², where x is the short leg, since the two legs are perpendicular and the area is half their product. A short leg of 5 gives 21.6506. To go the other way, x = √(2A/√3).

Is there a 30-60-90 triangle with all whole-number sides?

No. The long leg is √3 times the short leg, and √3 is irrational, so any triangle with a rational short leg has an irrational long leg. Unlike 3-4-5, this triangle never produces an integer triple, which is why layouts using it are always given to a decimal.

How does it differ from a 45-45-90 triangle?

The 45-45-90 is isosceles with ratio 1 : 1 : √2, so both legs are equal and the hypotenuse is a leg times 1.4142136. The 30-60-90 has three different sides in the ratio 1 : 1.7320508 : 2. Both are right triangles, and both come up constantly, but the constants are different.

Where does this triangle show up in real work?

Wherever a 30° or 60° angle meets a square corner: hexagonal layouts and hex fasteners, isometric drawings whose axes sit at 30°, drafting triangles, roof and brace angles, and the altitude of any equilateral triangle. The √3/2 factor in hexagon geometry is this triangle in disguise.

References

  • Euclid's Elements, Book I, Propositions 1 and 47 — Public domain
  • CRC Standard Mathematical Tables and Formulae, 33rd ed. — CRC Press
  • Trigonometry, 11th ed. (special right triangles and exact function values) — Lial, Hornsby, Schneider and Daniels, Pearson