Solve any right-angled triangle. Enter any two sides, or one side and an acute angle, to find the hypotenuse, missing angles, area, and perimeter.
Every right triangle obeys two complementary rule sets. The Pythagorean theorem links the three sides, while the SOH-CAH-TOA trigonometric ratios link the sides to the acute angles. Throughout this page the legs a and b meet at the right angle, the hypotenuse is c, and the angle α is opposite side a (between side b and the hypotenuse).
The square of the hypotenuse equals the sum of the squares of the two legs. Rearranged, it solves any missing side: c = √(a² + b²), a = √(c² − b²), b = √(c² − a²).
Sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent — the key to finding a side from an angle (or vice versa with the inverse functions).
The two legs are perpendicular, so either one can serve as the base and the other as the height — no separate height formula is needed.
Suppose a right triangle has legs a = 3 and b = 4. Here is how the calculator solves it, step by step:
The result is the famous 3-4-5 Pythagorean triple — the smallest whole-number right triangle, used by builders for centuries to lay out perfect right angles.
Pythagorean triples often surface as quadratic roots — solve ax² + bx + c = 0 step by step.
Projectile paths decompose into right triangles of horizontal and vertical components.
Use common factors to simplify Pythagorean triples like 3-4-5 or 5-12-13.
Explore the full trigonometry toolkit — ratios, identities, and triangle solvers.
Browse the complete suite on the Study Calculators Hub.
Free, 100% client-side educational solvers, Sarkari image resizers, and academic converters