How to use Pythagorean theorem calculator
- 01Choose what to findHypotenuse, leg, or a check.
- 02Type the known sidesAny unit.
- 03Follow the stepsSquares, sum, square root.

The square on the hypotenuse.
In a right triangle the square of the hypotenuse equals the sum of the squares of the two legs. So c = √(a² + b²), and a missing leg is √(c² − a²). Turned around, three sides form a right triangle exactly when the two shorter ones squared add up to the longest squared; if the sum is bigger the triangle is acute, if smaller it is obtuse.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
What is the hypotenuse when the legs are 5 and 12?
5² + 12² = 25 + 144 = 169 and √169 = 13. Because all three are whole numbers, 5-12-13 is a Pythagorean triple.
How do I find a missing leg?
Subtract instead of add: with a hypotenuse of 17 and a leg of 8, the other leg is √(17² − 8²) = √(289 − 64) = √225 = 15.
How do builders use this to check a corner?
The 3-4-5 rule: mark 3 units along one wall and 4 along the other. If the diagonal between the marks is exactly 5, the corner is square. 6-8-10 works the same way for larger rooms.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.