What is the Hypotenuse of a Triangle?
The hypotenuse is the longest side of a right triangle. It is always the side opposite the right angle (90°). The two shorter sides are called legs (leg a and leg b). The hypotenuse is typically labelled c.
How to Use This Hypotenuse Calculator
Choose one of three calculation modes:
- Two legs (a and b) — Enter both legs. The calculator applies the Pythagorean theorem.
- Angle α and one leg — Enter angle α (opposite to leg a) and either leg a or leg b.
- Area and one leg — Enter the triangle's area and either leg a or leg b.
Select your preferred unit system (Metric or Imperial) and the specific unit before entering values. The hypotenuse and all missing dimensions are calculated instantly.
Example: right triangle with α = 60° and leg a = 5 cm:
- Leg b = 5 / tan(60°) ≈ 2.887 cm
- Angle β = 30°
- Hypotenuse c = 5 / sin(60°) ≈ 5.774 cm
Unit Systems Supported
- Metric: millimeters (mm), centimeters (cm), meters (m), kilometers (km)
- Imperial (US): inches (in), feet (ft), yards (yd), miles (mi)
Hypotenuse of a Triangle — Formulas
Given two legs
Use the Pythagorean theorem:
c = √(a² + b²)
Given angle α and one leg
Using the law of sines for right triangles:
c = a / sin(α) [if leg a is known]
c = b / cos(α) [if leg b is known, since β = 90° − α]
Given area and one leg
Area of a right triangle = a × b / 2, so b = 2·Area / a. Then:
c = √(a² + (2·Area / a)²)
Ladder Example
Suppose you need a ladder to reach a 10 ft roof, and the safest angle is 75.5° from the ground.
- Select mode: Angle α and one leg.
- Change unit system to Imperial → feet (ft).
- Enter angle α = 75.5° and leg a = 10 ft (height of roof).
- Ladder length (hypotenuse) ≈ 10.33 ft.
- Leg b ≈ 2.59 ft — the distance from the wall to the base of the ladder.
Remember the 4:1 rule: for every 4 feet of vertical height, place the base 1 foot away from the wall.
FAQs
What is a hypotenuse?
The hypotenuse is the longest side of a right triangle, always opposite the 90° angle. In a right triangle with legs a and b, the hypotenuse c satisfies c² = a² + b².
How do I find the hypotenuse given two legs?
Square both legs, add the results, and take the square root: c = √(a² + b²).
How do I find the hypotenuse given an angle and one leg?
If angle α and leg a are known: c = a / sin(α).
If angle α and leg b are known: c = b / cos(α).
Can this calculator work in reverse?
Yes — if you know the hypotenuse and one leg, select Two legs, enter the hypotenuse as leg a and the known leg as leg b, then note that the result labeled "hypotenuse" is actually √(a²+b²). Alternatively, rearrange: b = √(c² − a²).