Right Triangle Calculator
Find the missing side, both acute angles, area and perimeter from two sides of a right triangle. Choose two legs or a leg and the hypotenuse.
- Identify the right angle
- Enter two lengths
- Read sides and angles
Solve the triangle
- Identify the right angle
- Example
- Two legs
Identify the right angle
The sides meeting at 90 degrees are the legs. The opposite side is the hypotenuse.
- Enter two lengths
- Example
- 3 and 4
Enter two lengths
Use the same unit for both measurements and enter positive lengths.
- Read sides and angles
- Example
- Hypotenuse 5
Read sides and angles
Each acute angle is labelled by the side opposite it.
Find a diagonal
Squaring the legs gives 9 and 16. Their sum is 25, so the diagonal measures 5 of the same length unit. A rectangular frame with these dimensions has this diagonal.
- Legs 3 and 4
- Diagonal 5
Recover a missing leg
In this mode subtract the square of the known leg from the square of the hypotenuse. The remaining 144 is a squared length, so take its square root before using it.
Estimate a floor from its outline with the square footage calculator.
- Leg 5, hypotenuse 13
- Other leg 12
Interpret a solved triangle
Which angle is which?
With unequal legs the larger acute angle lies across from the longer leg. The two acute angles add to 90 degrees.
Area units
If you enter both lengths in centimetres, the area is square centimetres and the perimeter is centimetres.
| Input | Result |
|---|---|
| Legs 3 and 4 | Diagonal 5 |
| Leg 5, hypotenuse 13 | Other leg 12 |
Where does the calculation run?
The calculation runs in this tab. The values you enter stay on your device. Privacy policy.
- Identify the right angle
- Enter two lengths
- Read sides and angles
Right Triangle Calculator questions
Can I solve a triangle with any angle?
The computation assumes one angle is exactly 90 degrees.
Why was my hypotenuse rejected?
A nondegenerate right triangle has a hypotenuse longer than either leg.
May I use decimal lengths?
Yes. Keep both dimensions in the same unit and within the displayed input limits.