Right Triangle Calculator
Solve missing sides, acute angles, area, and perimeter from any valid pair of right-triangle measurements.
Angles A and B are measured in degrees; the third angle is always 90 degrees.
About right triangle calculations
Right triangle examples
Each pair of known values demonstrates a different solving route.
| Known values | Selected results | Method |
|---|---|---|
| a = 3, b = 4 | c = 5; A = 36.869898° | Use the Pythagorean theorem, then inverse tangent. |
| a = 5, c = 13 | b = 12; area = 30 | Subtract a² from c² before taking the square root. |
| a = 7, A = 30° | b = 12.124356; c = 14 | Use tangent for b and sine for c. |
| c = 10, B = 60° | a = 5; b = 8.660254 | Resolve the hypotenuse with cosine and sine. |
How to use the right triangle calculator
- Identify the hypotenuse and label each leg according to its opposite acute angle.
- Enter exactly two known measurements, with at least one side length.
- Use degrees for Angle A or Angle B and leave all unknown fields blank.
- Select Calculate to solve every remaining side, angle, area, and perimeter.
- Check that the hypotenuse is longest and the two acute angles total 90 degrees.
Right triangle calculator FAQ
Which side is the hypotenuse?
The hypotenuse is opposite the 90-degree angle and is the triangle's longest side. It is labeled c in this calculator.
Why do I need at least one side?
Angles determine only a triangle's proportions, not its size. One side establishes scale so every other length can be calculated.
Can either acute angle be entered?
Yes, enter Angle A or Angle B together with one side. The calculator derives the other acute angle because the pair must total 90 degrees.
What happens if a leg is longer than the hypotenuse?
Those values cannot form a right triangle, so the calculator reports an input error. The hypotenuse must be strictly longer than each leg.
How is triangle area calculated?
The two legs are perpendicular and act as base and height. Multiplying them and dividing by two gives the area.