Right triangle calculator

Legs a and b meet at the right angle; c is the hypotenuse. Enter two of them, or one side and an angle.

Your answer

Hypotenuse c5 in
AnglesA 36.87°, B 53.13°, C 90°
Area6 sq in
Perimeter12 in

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Pythagorean theorem: a² + b² = c².
  2. Angles: tan A = a ÷ b; B = 90° − A.

Method and assumptions

In a right triangle the square of the hypotenuse equals the sum of the squares of the legs. Sine, cosine and tangent relate the angles to the sides. A 3-4-5 triangle is the classic check for square corners in building.

Questions

What is the hypotenuse of a triangle with legs 3 and 4?

5.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

Related calculators