Understanding the Right Triangle From Hypotenuse And Altitude Calculator
Derive both legs from hypotenuse and altitude (requires h ≤ c/2).
✓How to Use
Enter hypotenuse c and altitude h.
★Worked Example
For c = 10, h = 4.8: legs are 6 and 8.
Recover both leg lengths given hypotenuse c and altitude h.
a, b = √((c² ± c√(c² - 4h²)) / 2)Derive both legs from hypotenuse and altitude (requires h ≤ c/2).
Enter hypotenuse c and altitude h.
For c = 10, h = 4.8: legs are 6 and 8.
This calculator works by solving the quadratic that links the hypotenuse and altitude to the two segments, then recovering both legs. The altitude must stay at or below half the hypotenuse for a solution to exist.
Type the side facing the right angle.
Type the perpendicular from the right angle to the hypotenuse.
An altitude above c / 2 describes no triangle.
The legs follow from the segment roots of the quadratic.
The hypotenuse-and-altitude solution treats the segments as roots of a quadratic with sum c and product h².
p + q = cFixes the segment sum
p · q = h²Fixes the segment product
a, b = √((c² ± c√(c² - 4h²)) / 2)Returns both legs directly
h ≤ c / 2States the feasibility condition
This conversion table converts hypotenuse and altitude pairs into both legs.
| Hypotenuse c | Altitude h | Segment p | Segment q | Leg a | Leg b |
|---|---|---|---|---|---|
| 5 | 2.4 | 1.800 | 3.200 | 3.000 | 4.000 |
| 10 | 4.8 | 3.600 | 6.400 | 6.000 | 8.000 |
| 13 | 4.615 | 1.923 | 11.077 | 5.000 | 12.000 |
| 17 | 7.059 | 3.765 | 13.235 | 8.000 | 15.000 |
| 20 | 10.0 | 10.000 | 10.000 | 14.142 | 14.142 |
| 25 | 6.72 | 1.960 | 23.040 | 7.000 | 24.000 |
The Right Triangle from Hypotenuse and Altitude Calculator is a tool that recovers both legs from the hypotenuse and the altitude drawn to it. The pair is enough, because the altitude fixes the segment product.
An altitude of exactly c / 2 forces the isosceles case, where both segments and both legs become equal. Values just below that limit produce two legs of nearly equal length.
There are 4 main uses of this calculator, including structural depth design, reverse engineering, optimisation checks, and proof work.
A fixed span with a maximum structural depth returns the member lengths that fit.
A drawing marked only with span and depth yields both sloping member lengths.
An altitude above half the span flags an impossible detail immediately.
The quadratic shows why altitude values are capped at half the hypotenuse.
Calculate the altitude from the right angle to the hypotenuse: h = (a × b) / c.
Calculate segments p and q of the hypotenuse divided by the altitude: p = a²/c, q = b²/c.
Solve altitude and leg relationships using geometric mean theorems: h = √(p · q), a = √(p · c).
Recover all side lengths and altitude given segments p and q of the hypotenuse.