Pythagorean Theorem
Find the hypotenuse or a missing leg of a right triangle.
Enter values
—
—
Step by step
The formula
a² + b² = c²
The Pythagorean theorem links the three sides of any right triangle: the squares of the two legs add up to the square of the hypotenuse. It underpins distance measurement everywhere — from carpentry diagonals to GPS coordinates.
All calculations run locally in your browser and update instantly as you type.
Related calculators
Frequently asked questions
How do I find a missing leg?+
Choose "Leg (b)", then enter the known leg as side a and the hypotenuse as side b. The tool computes √(c² − a²).
All calculations run locally in your browser. Nothing you type is sent to a server.