Advertisement

Pythagorean Theorem Calculator: Find Any Side of a Right Triangle

Calculate any side of a right triangle using a² + b² = c². Includes real-world applications in construction, navigation, and engineering.

Better than:MathwaySymbolabKhan AcademyCalculator.net

Try the Pythagorean Theorem Calculator

units
units

See your Pythagorean Theorem Calculator results

Enter your email to unlock results — free forever.

or

No spam, ever. Unsubscribe at any time.

Open full Pythagorean Theorem Calculator

Advertisement

The Pythagorean Theorem Explained

The Pythagorean theorem states that in any right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c², where c is the hypotenuse.

For a triangle with legs of 3 and 4: 3² + 4² = 9 + 16 = 25 = 5². The hypotenuse is 5. The 3-4-5 triangle is the most famous Pythagorean triple — a right triangle with all integer sides. Other common triples: 5-12-13, 8-15-17, 7-24-25.

Though the theorem bears Pythagoras's name (circa 570–495 BC), evidence of its use predates him by over a millennium. Babylonian clay tablets from ~1800 BC show Pythagorean triple calculations, and ancient Egyptian surveyors used 3-4-5 rope triangles to measure right angles for pyramid and temple construction.

Real-World Applications of the Pythagorean Theorem

The Pythagorean theorem is one of the most practically useful geometric facts ever discovered, with applications spanning construction, navigation, electronics, and computer graphics.

Construction: The 3-4-5 rule is used daily to check if corners are square. Measure 3 feet along one wall, 4 feet along the adjacent wall; if the diagonal is exactly 5 feet, the corner is a perfect right angle. For a large room, scale up: 9-12-15 or 12-16-20 feet give more accurate results over longer distances.

Roof pitch calculation: A roof with a 6-inch rise per 12-inch run (6/12 pitch) has a rafter length of √(6² + 12²) = √(36 + 144) = √180 = 13.4 inches per foot of horizontal span. A 20-foot wide house needs rafters of 20/2 × 13.4/12 = 11.2 feet each.

Stair building: Each step has a rise (vertical) and run (horizontal). The stringer length = √(total_rise² + total_run²). A staircase with 10 feet of rise and 12 feet of horizontal run needs a stringer of √(144 + 144) = 17 feet.

Advertisement

Frequently Asked Questions

What is the Pythagorean theorem?

The Pythagorean theorem states that in a right triangle, a² + b² = c², where a and b are the two legs and c is the hypotenuse (longest side, opposite the 90° angle). It allows you to find any unknown side when the other two are known. To find the hypotenuse: c = √(a² + b²). To find a leg: a = √(c² − b²).

What are common Pythagorean triples?

Pythagorean triples are right triangles with all integer sides. Common ones: 3-4-5, 5-12-13, 8-15-17, 7-24-25. Any multiple of these also works: 6-8-10, 9-12-15, 10-24-26. The 3-4-5 triple is especially useful in construction for squaring corners.

Does the Pythagorean theorem work for all triangles?

No — only right triangles (triangles with one 90° angle). For other triangle types, you need the Law of Cosines: c² = a² + b² − 2ab·cos(C), where C is the angle between sides a and b. When C = 90°, cos(90°) = 0, and the Law of Cosines simplifies to the Pythagorean theorem.

Advertisement