Skip to content
Omnikalc

How do you solve a 30-60-90 or 45-45-90 triangle?

Choose the triangle, the side you know and its length: get the legs, the hypotenuse, the area and the perimeter.

Updated on
Your inputs

Value out of range

Results

Hypotenuse

10.000

Area

21.651

Shorter leg
5.000
Longer leg
8.660
Perimeter
23.660
In a 30-60-90 triangle the sides are in the ratio 1 : √3 : 2, with the shorter leg opposite the 30° angle

Two right triangles have side lengths in exact ratios that let you find all three sides from just one, without a calculator or a trigonometry table. The 45-45-90 triangle is half of a square cut along its diagonal. The 30-60-90 triangle is half of an equilateral triangle cut along its height. This calculator takes the type of triangle, the side you know and its length, and returns the other two sides, the area and the perimeter.

The two ratios

  • 45-45-90: legs a and a, hypotenuse a√2. The sides are in the ratio 1 : 1 : √2.
  • 30-60-90: shorter leg a (opposite 30°), longer leg a√3 (opposite 60°), hypotenuse 2a. The sides are in the ratio 1 : √3 : 2.

How the calculation works

First the calculator finds the base unit a:

  • For a 45-45-90 triangle, a is the leg, or the hypotenuse divided by √2.
  • For a 30-60-90 triangle, a is the shorter leg, or the longer leg divided by √3, or half the hypotenuse.

Then it builds the other sides from the ratio, with area = product of the legs ÷ 2.

Example

You know the shorter leg of a 30-60-90 triangle is 5. The longer leg is 5√3 ≈ 8.660 and the hypotenuse is 2 × 5 = 10. The area is 5 × 8.660 ÷ 2 ≈ 21.65, and the perimeter is about 23.66. If you instead knew the hypotenuse of a 45-45-90 triangle was 10, each leg would be 10 ÷ √2 ≈ 7.071.

Where they show up

Carpenters use the 45-45-90 for miter cuts and square corners, and surveyors and designers use both on grids at 30° and 45°. They are the building blocks of the unit circle: the sine and cosine of 30°, 45° and 60° come straight from these ratios (1/2, √2/2 and √3/2).

Common mistakes

Do not mix up which leg is which in a 30-60-90 triangle: the shorter leg is opposite the smaller angle. A quick check is that the hypotenuse must always be the longest side and that in the 30-60-90 it is exactly twice the shorter leg. If your angles are not exactly 30, 45, 60 or 90, use the general triangle solver instead.

Frequently asked questions

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

1 : √3 : 2, from the shorter leg to the longer leg to the hypotenuse.

What is the ratio of a 45-45-90 triangle?

1 : 1 : √2, where the hypotenuse is the leg times √2.

Which side is opposite the 30° angle?

The shortest side, equal to half the hypotenuse.

Why are they called special right triangles?

Because their sides follow exact ratios, so you can find all three from one without trigonometry.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.