Home Math & Science Pythagorean Theorem Calculator

Pythagorean Theorem Calculator

Find the missing side of a right triangle using a² + b² = c². Enter any two sides — the calculator figures out which one is the hypotenuse and solves.

Inputs

Leave 0 if you want to compute it. Otherwise the calculator finds the missing leg.
Side c (hypotenuse)
Side a
Side b
Angle opposite a
Angle opposite b
Area
Perimeter

About Pythagorean Theorem Calculator

The theorem

For a right triangle (one 90° angle), the squares of the two shorter sides (legs a and b) sum to the square of the longest side (hypotenuse c). Written: a² + b² = c².

Famous triples

Whole-number solutions: 3-4-5, 5-12-13, 8-15-17, 7-24-25, 9-40-41. Any multiple works too — 6-8-10 is just 3-4-5 doubled. Useful in construction for verifying square corners.

Origin

Known and used by Babylonian and Egyptian builders centuries before Pythagoras (c. 500 BCE) proved it formally. The Babylonian Plimpton 322 tablet (c. 1800 BCE) lists Pythagorean triples.