Math Tools

Right Triangle Calculator: Sides, Angles, Area and Perimeter

Solve any right triangle from 2 sides, or from 1 side and an angle. The calculator finds the missing side, both acute angles, the area and the perimeter, so legs of 3 and 4 give a hypotenuse of 5 and angles of 36.8699° and 53.1301°.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Right Triangle Calculator

Fill in the fields above and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

Read more: How to Use the Right Triangle Calculator: Steps and a Worked Example

The formula

c² = a² + b²; A = arctan(a ÷ b); B = 90° − A; area = a × b ÷ 2

Examples

  • With the default values
    Side a: 3
    Side b: 4
    Hypotenuse c: 5
    Angle A: 36.8699°
  • With side a set to 6
    Side a: 6
    Side b: 4
    Hypotenuse c: 7.211103
    Angle A: 56.3099°

Limitations and assumptions

Angle A is opposite side a. Results are rounded for display; use the same unit for every side.

Frequently asked questions

How do I find the hypotenuse of a right triangle?

Square both legs, add them and take the square root: c = √(a² + b²). With legs 3 and 4 that is √25 = 5.

How do I find a missing leg?

Choose leg a and hypotenuse c. The other leg is √(c² − a²), so a = 6 and c = 10 give b = 8.

Which angle is angle A?

Angle A is the corner opposite side a. The 2 acute angles always add up to 90°, so angle B is 90° minus angle A.