Right Triangle Calculator
Enter any two sides of a right triangle to calculate the third side, angles, area, and perimeter. See the complete solution with step-by-step working and formula explanations.
Enter your values above to see the results.
Tips & Notes
- ✓SOH-CAH-TOA mnemonic: Sin=Opposite/Hyp, Cos=Adjacent/Hyp, Tan=Opposite/Adjacent.
- ✓Hypotenuse is always the longest side — opposite the 90° angle.
- ✓Common Pythagorean triples: 3-4-5, 5-12-13, 8-15-17. Memorizing saves calculation time.
- ✓45-45-90 triangle: both legs equal, hypotenuse = leg × √2. Diagonal of a square.
- ✓30-60-90 triangle: sides 1:√3:2. Short leg × 2 = hypotenuse. Short leg × √3 = long leg.
Common Mistakes
- ✗Applying Pythagorean theorem to non-right triangles — only valid when one angle = 90°.
- ✗Labeling hypotenuse incorrectly — it is always opposite the right angle and always the longest side.
- ✗Using sin/cos/tan with degrees when calculator is in radian mode — check your calculator setting.
- ✗Finding arctan gives angle in (−90°,90°). For obtuse triangles, check quadrant carefully.
- ✗Not verifying: a²+b² should equal c² exactly. Floating point may give 24.9999 instead of 25.
Right Triangle Calculator Overview
A right triangle contains one 90° angle, making it the most mathematically tractable triangle shape. The relationship between its sides — the Pythagorean theorem — is one of the oldest mathematical results in history, appearing in Babylonian clay tablets from 1800 BCE. The trigonometric ratios that define sine, cosine, and tangent were originally defined through right triangles. This calculator finds all missing sides, angles, area, and perimeter from any two given measurements.
The Pythagorean Theorem — the relationship between the three sides:
a² + b² = c² where c is the hypotenuse (side opposite the 90° angle)
EX: legs a=3, b=4 → c = √(9+16) = √25 = 5 | EX: hypotenuse=13, leg=5 → other leg = √(169−25) = √144 = 12Trigonometric ratios — SOH-CAH-TOA, where θ is one of the acute angles:
sin θ = opposite/hypotenuse | cos θ = adjacent/hypotenuse | tan θ = opposite/adjacent
EX: θ=30°, hypotenuse=10 → opposite = 10×sin(30°) = 10×0.5 = 5, adjacent = 10×cos(30°) = 10×0.866 = 8.66Finding angles from sides — use inverse trigonometric functions:
EX: legs 5 and 12 → tan(θ) = 5/12 → θ = arctan(5/12) ≈ 22.6° | other angle = 90°−22.6° = 67.4°Two special right triangles are worth memorizing for their exact ratios. The 45-45-90 triangle has sides in ratio 1:1:√2 — both legs equal, hypotenuse is leg × √2. The 30-60-90 triangle has sides in ratio 1:√3:2 — the leg opposite 30° is half the hypotenuse, and the leg opposite 60° is half the hypotenuse times √3. These ratios appear constantly in geometry, physics, and engineering problems that involve symmetric shapes or 60° angles. The Pythagorean theorem has over 370 documented proofs, more than any other theorem in mathematics — from Euclid's geometric proof to algebraic and trigonometric proofs to President James Garfield's original trapezoid proof. In practical applications, the 3-4-5 right triangle (and its multiples: 6-8-10, 5-12-13, 8-15-17) appears in construction for squaring corners — if the three sides of a triangle measure in these exact ratios, the angle between the two shorter sides is exactly 90°.