Skip to content

Right Triangle Calculator

Enter any two values and get the whole right triangle.

Fill in exactly two boxes (at least one a length).

°
°

Sides a, b, c

3, 4, 5

Leg a
3
Leg b
4
Hypotenuse c
5
Angle α0.64350111 rad
36.86989765°
Angle β0.92729522 rad
53.13010235°
Angle γ
90°
Area
6
Perimeter
12
Height to hypotenuse
2.4
Inradius
1
Circumradius
2.5

How it was calculated

  1. c = √(a² + b²) = 5
  2. α = arctan(a / b) = 36.86989765°, β = 90° - α = 53.13010235°
  3. Area = a × b / 2 = 6

Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.

More Math Calculators

All calculators

How the right triangle calculator works

A right triangle has one 90° angle, two legs (a and b) and a hypotenuse (c). Any two independent values fix the whole triangle: two sides, a side and an angle, or combinations with the area, perimeter or the height to the hypotenuse.

The tools are the Pythagorean theorem (a² + b² = c²), the trig ratios (sin α = a / c, cos α = b / c, tan α = a / b), the area a × b / 2 and the height h = a × b / c. Two angles alone only fix the shape, not the size, so at least one length is needed.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

Use trig ratios. With hypotenuse c and angle α: a = c × sin α and b = c × cos α. With leg b and α: a = b × tan α.

A right triangle with sides in the ratio 1 : √3 : 2. The side opposite 30° is half the hypotenuse.

Angles only set the shape. A 3-4-5 triangle and a 6-8-10 triangle have the same angles but different sizes.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.