Formula and Method for Finding the Hypotenuse
The hypotenuse is the longest side of a right triangle — the one opposite the 90° angle. The Pythagorean theorem states that the square of the hypotenuse equals the sum of the squares of the other two sides (the legs): a² + b² = c². Solving for c gives the hypotenuse formula: c = √(a² + b²). This calculator also derives the triangle's two acute angles and its area from the same two legs.
How the calculation works
Enter the lengths of the two legs, a and b, in any consistent unit. The calculator squares each leg, adds the squares together, and takes the square root to get the hypotenuse c. It then uses inverse trigonometry to find the acute angles: α = atan(a / b) is the angle opposite leg a, and β = 90° − α is the angle opposite leg b (the two acute angles in a right triangle always sum to 90°). Finally, the area of the right triangle is (a × b) / 2, since the two legs meet at a right angle and act as base and height.
Common mistakes
- Applying the theorem to non-right triangles: a² + b² = c² only holds when the triangle has a genuine 90° angle between legs a and b. For other triangles, use the Law of Cosines instead.
- Mixing up the hypotenuse with a leg: the hypotenuse is always the side opposite the right angle and is always the longest side — never substitute it for a or b in the formula.
- Mixing units: keep both legs in the same unit (both in feet, both in meters, etc.) before calculating; convert first if your measurements come in different units.
Real-world applications
- Construction and carpentry use the 3-4-5 rule (a Pythagorean triple) to square corners and verify that walls or foundations meet at exactly 90°.
- Ladder and safety calculations use the hypotenuse to find how far a ladder's base should sit from a wall to reach a given height safely.
- Navigation and surveying use right-triangle relationships to compute straight-line (as-the-crow-flies) distances from perpendicular east-west and north-south offsets.
- Screen and display sizing (TVs, monitors) is quoted as the diagonal, which is the hypotenuse of the right triangle formed by the screen's width and height.