Right Triangle Calculator - Find Missing Sides & Angles
Math Calculators
Solve a right triangle from exactly two independent values, including a side, with Pythagorean and trigonometric calculation steps.
Enter exactly two values, including at least one side. C = 90° always.
How to use this tool
- Enter exactly two known values. Fill in exactly two fields from leg a, leg b, hypotenuse c, angle A, or angle B; at least one must be a side.
- Get the solution. All remaining values are computed instantly using the Pythagorean theorem and trigonometry.
The Pythagorean theorem
For any right triangle with legs a and b and hypotenuse c: a² + b² = c². Enter exactly two independent values, including at least one side, and the calculator instantly finds the remaining three. Requiring exactly two ensures that no supplied measurement is silently ignored; if you have extra measurements, compare them with the calculated result separately.
Trigonometric ratios (SOH-CAH-TOA)
sin(A) = a / c (Opposite over Hypotenuse). cos(A) = b / c (Adjacent over Hypotenuse). tan(A) = a / b (Opposite over Adjacent). These identities let the calculator find side lengths when an angle is given.
Common right-triangle ratios
Well-known Pythagorean triples include 3-4-5, 5-12-13, 8-15-17, and 7-24-25. The 45-45-90 triangle has legs in ratio 1 : 1 : √2, and the 30-60-90 triangle has sides in ratio 1 : √3 : 2.
Worked example
Given angle A = 30° and hypotenuse c = 10, find all sides and the remaining angle:
- Angle B = 90° − 30° = 60°
- Side a (opposite A) = c × sin(30°) = 10 × 0.5 = 5
- Side b (adjacent to A) = c × cos(30°) = 10 × (√3/2) ≈ 8.66
- Check: a² + b² = 25 + 75 = 100 = c² ✓
Special right triangles
- 45–45–90: both legs equal; hypotenuse = leg × √2. Arises from a square bisected diagonally. Example: leg = 7 → hypotenuse = 7√2 ≈ 9.90.
- 30–60–90: sides in ratio 1 : √3 : 2. Arises from an equilateral triangle bisected by an altitude. Example: shortest side = 5 → longer leg = 5√3 ≈ 8.66, hypotenuse = 10.
Practical applications
- Staircase pitch: a staircase with a 7-inch rise and 11-inch run forms a right triangle; the stringer length (hypotenuse) = √(7² + 11²) ≈ 13 inches per step.
- Tree height from shadow: if a tree casts a 20 ft shadow and the sun angle is 35°, height = 20 × tan(35°) ≈ 14 ft.
- Navigation triangulation: dead reckoning uses right triangles to calculate position; a ship that travels 50 miles east then 30 miles north is √(50² + 30²) ≈ 58.3 miles from its starting point.
Frequently asked questions
How do I use the Pythagorean theorem?
In a right triangle, a² + b² = c², where c is the hypotenuse. Enter any two sides and the calculator finds the third.
What is the hypotenuse?
The hypotenuse (c) is the longest side of a right triangle, always opposite the 90° angle.
Can I enter angles instead of sides?
Enter one angle (A or B, in degrees) and one side to compute all remaining values. Two angles alone describe the shape but not its size, so the calculator requires at least one side.
What does SOH-CAH-TOA mean?
SOH-CAH-TOA is a mnemonic: sin = Opposite/Hypotenuse, cos = Adjacent/Hypotenuse, tan = Opposite/Adjacent. These ratios are used to compute side lengths from angles.
Related tools
- Pythagorean CalculatorUse a focused side-length check when only the Pythagorean relationship matters.
- Trig CalculatorCalculate inverse trig angles or verify sine, cosine, and tangent ratios.
- Triangle SolverSolve oblique triangles when none of the angles is fixed at 90 degrees.
- Slope CalculatorTranslate rise and run into the slope and equation of a line.