Right Triangle Calculator
Solve right-angled triangles given any two sides or angles. Calculates hypotenuse, legs, area, perimeter, and trigonometry.
All formulas and computation matrices for this calculator execute directly in your browser with zero latency. Enter your parameters to see instant results.
Who Uses This Calculation & Why Accuracy Matters
Carpenters, machinists, surveyors, navigators, architects, and trigonometry students use this right triangle calculator to solve right-angled triangles using basic trigonometric functions (SOH-CAH-TOA), the Pythagorean theorem, special triangles (45-45-90 and 30-60-90), area, and inradius/circumradius.
A builder framing a roof rafter with a horizontal run of 16.0 feet and a vertical rise of 8.0 feet.
A surveyor measuring the height of a radio communications tower standing 50.0 meters from its base with a theodolite angle of elevation of 38.0°.
A machinist milling a standard 30-60-90 degree chamfer bevel with a known short leg of 0.750 inches.
Special Right Triangles Ratios & Trigonometric Functions (SOH CAH TOA)
Exact trigonometric ratios for fundamental right triangle configurations.
| Triangle Type | Angles (Degrees) | Side Ratio (Leg 1 : Leg 2 : Hypotenuse) | sin(θ) | cos(θ) | tan(θ) |
|---|---|---|---|---|---|
| Isosceles Right Triangle | 45° - 45° - 90° | 1 : 1 : √2 (1 : 1 : 1.414) | sin(45°) = √2 / 2 ≈ 0.7071 | cos(45°) = √2 / 2 ≈ 0.7071 | tan(45°) = 1.000 |
| Special 30-60-90 | 30° - 60° - 90° | 1 : √3 : 2 (1 : 1.732 : 2.000) | sin(30°) = 1/2 = 0.5000 | cos(30°) = √3 / 2 ≈ 0.8660 | tan(30°) = √3 / 3 ≈ 0.5774 |
| Special 60-30-90 | 60° - 30° - 90° | √3 : 1 : 2 | sin(60°) = √3 / 2 ≈ 0.8660 | cos(60°) = 1/2 = 0.5000 | tan(60°) = √3 ≈ 1.7320 |
| 3-4-5 Triangle | 36.87° - 53.13° - 90° | 3 : 4 : 5 | sin(36.87°) = 3/5 = 0.6000 | cos(36.87°) = 4/5 = 0.8000 | tan(36.87°) = 3/4 = 0.7500 |
| 5-12-13 Triangle | 22.62° - 67.38° - 90° | 5 : 12 : 13 | sin(22.62°) = 5/13 ≈ 0.3846 | cos(22.62°) = 12/13 ≈ 0.9231 | tan(22.62°) = 5/12 ≈ 0.4167 |
* SOH CAH TOA: sin = Opposite / Hypotenuse; cos = Adjacent / Hypotenuse; tan = Opposite / Adjacent.
SOH-CAH-TOA & Right Triangle Trigonometry Equations
In a right triangle with acute angle α, side a opposite α, side b adjacent to α, and hypotenuse c.
Leg directly across from acute angle α.
Leg forming acute angle α alongside the hypotenuse.
Longest side opposite the 90-degree angle.
Complementary angles that sum to exactly 90°.
Step-by-Step Worked Examples with Real Numbers
Worked Example 1: Solving Triangle Given Hypotenuse and Angle
Opposite side.
Adjacent side.
Complementary angle.
Area.
Worked Example 2: Finding Angle from Two Known Legs
Opposite over adjacent.
First acute angle.
Primitive (7, 24, 25) triple.
Assumptions, Edge Cases & Common Calculation Mistakes
ℹ Underlying Algorithm Assumptions
- One angle is strictly 90 degrees.
- Acute angles must sum to exactly 90° (α + β = 90°).
- Leg lengths must be strictly positive (a > 0, b > 0).
⚠ 3 Common Mistakes to Avoid
- Confusing Opposite and Adjacent sides; Opposite is across from the chosen angle, Adjacent touches the angle.
- Calculating trigonometric functions in Radian mode when degree values were entered.
- Attempting to solve when given only angles (AAA); at least one side length is mandatory to determine scale.