Right Triangle Solver

Hypotenuse, angles, area and perimeter of a right triangle from its two legs.

How it works — Right Triangle Solver

a b c α β

Inputs

a
Leg a
b
Leg b

Formula

  • c = √(a² + b²)
  • α = atan(a / b)

Results

c
Hypotenuse c
α
Angle α (opposite a)
β
Angle β (opposite b)
A
Area
Reset

Results

Enter your values and press Calculate. The defaults are a worked example.

Formula

c = √(a² + b²) · α = atan(a / b)

Formulas are evaluated in SI units; inputs and results are converted.

Show the math

Worked solution

Press Calculate to see every step with your values substituted.

Assumptions

  • Plane (Euclidean) right triangle.

References

  • Euclid, Elements I.47 (Pythagorean theorem)

Results are for preliminary design and education. Verify against the governing code and have critical work checked by a licensed professional engineer.

Sign in

or with email

Forgot password?