Worked example
A 12 ft ladder leans against a wall with its foot 4 ft out. How high up the wall does it reach? The ladder is the hypotenuse, so height = √(12² − 4²) = √(144 − 16) = √128 = 8√2 ≈ 11.31 ft, and the ladder makes an angle of 70.5° with the ground. Safety guides suggest about 75° (the 4-to-1 rule: 1 ft out for every 4 ft of height), so this one is a little shallow; 3 ft out would be about right.
Real-life uses
- Screen sizes: a TV’s size is its diagonal. A screen 48 in wide and 27 in tall is √(48² + 27²) ≈ 55.1 in, sold as a 55-inch TV.
- Square corners: builders mark 3 ft along one side and 4 ft along the other; if the diagonal is exactly 5 ft, the corner is square. 6-8-10 or 9-12-15 work for bigger layouts.
- Distances on a map: 3 blocks east and 4 north is 5 blocks as the crow flies.
- Ramps and roofs: the sloping length from the rise and the run.
Pythagorean triples up to 30
3-4-5, 6-8-10, 5-12-13, 9-12-15, 8-15-17, 12-16-20, 7-24-25, 15-20-25, 10-24-26, 20-21-29, 18-24-30
Euclid’s formula makes all of them: for whole numbers m > n, the sides m² − n², 2mn and m² + n² always form a right triangle.
Converse and checks
The theorem also works backwards: if a² + b² = c² for three sides, the angle opposite c is a right angle. If a² + b² is bigger than c² the triangle is acute, and if smaller it is obtuse. A quick sanity check on any answer is that the hypotenuse must be longer than each leg but shorter than their sum.
Related tools
- Quadratic equation solver
- LCM and GCF calculator
- Prime number checker
- Scientific notation converter
- Long division calculator
- Exponent and log calculator
- Matrix calculator
- Fraction calculator
- Scientific calculator
Sources
Checked on November 26, 2026:
Frequently asked questions
What is the Pythagorean theorem?
How do I find the hypotenuse?
How do I find a missing leg?
What is a Pythagorean triple?
Does it work for triangles without a right angle?
Why give an exact answer?
Last updated: 2026-11-26