Home / Calculate / Pythagorean Theorem (Hypotenuse) Calculator
📐 Pythagorean Theorem (Hypotenuse) Calculator
Pythagorean Theorem (Hypotenuse) Calculator – get instant, free results right on your device.
In a right triangle the relation a² + b² = c² is used; c is the hypotenuse and is always the longest side. Angles are rounded and given in degrees. To check for a Pythagorean triple, all three sides must be positive integers. Results are rounded to 4 decimal places. Not an official institution.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is Pythagorean Theorem (Hypotenuse) Calculator?
The Pythagorean theorem states that in a right triangle, the sum of the squares of the two legs equals the square of the hypotenuse: a² + b² = c². If you know the two legs, this tool finds the hypotenuse; if you know one leg and the hypotenuse, it finds the missing leg. Every step of the formula is shown in the result list, so you see not just the answer but also how it was found.
Enter the first leg (a) and the second known value, choose what you want to find, and set the unit. Besides the missing side, the tool calculates the triangle's area, perimeter, the altitude to the hypotenuse and the two acute angles in degrees. If all three sides are positive integers, it also tells you whether they form a Pythagorean triple such as 3-4-5 or 5-12-13, and which primitive triple it is a multiple of.
Since the hypotenuse is always the longest side, in missing-leg mode you get a clear error message if the hypotenuse is entered as smaller than or equal to the leg. Results are rounded to four decimal places, and the calculation runs entirely in your browser. You can use it as a quick verification tool in many situations, such as ladder length, roof rafter length, screen diagonal or homework checking.
How to use
Fill in these fields: What to find?, First leg, Second known value, Unit. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
a = 6 cm, b = 8 cm ⇒ c = √(36 + 64) = 10 cm (2 times the 3-4-5 triple); area 24 cm², perimeter 24 cm, angles ≈ 36.87° and 53.13°
Example
a = 6 cm, b = 8 cm ⇒ c = √(36 + 64) = 10 cm (2 times the 3-4-5 triple); area 24 cm², perimeter 24 cm, angles ≈ 36.87° and 53.13°
Worked examples and tips
Example 1: If the two legs are 6 cm and 8 cm, the hypotenuse is √(36 + 64) = 10 cm. The area is 24 cm², the perimeter is 24 cm, and the altitude to the hypotenuse is 4.8 cm. The angles are about 36.87° and 53.13°; 6-8-10 is 2 times the primitive 3-4-5 triple.
Example 2: If the legs are 5 m and 7 m, the hypotenuse is √74 ≈ 8.6023 m. The area is 17.5 m², the perimeter is about 20.6023 m, and the angles are about 35.54° and 54.46°. Since not all three sides are integers, this is not a Pythagorean triple.
Example 3: In missing-leg mode, if a = 5 m and hypotenuse c = 13 m are entered, b = √(169 − 25) = 12 m. The area is 30 m², the perimeter is 30 m, and 5-12-13 is a primitive Pythagorean triple. The angles are about 22.62° and 67.38°.
Tips: The hypotenuse is always the longest side; in missing-leg mode, c must be greater than a. Use the same unit; the area comes out in that unit squared. The Pythagorean triple check gives ‘Yes’ only when all three sides are positive integers.
Frequently asked questions
Pythagorean Theorem (Hypotenuse) Calculator – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: a = 6 cm, b = 8 cm ⇒ c = √(36 + 64) = 10 cm (2 times the 3-4-5 triple); area 24 cm², perimeter 24 cm, angles ≈ 36.87° and 53.13°
Pythagorean Theorem (Hypotenuse) Calculator – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- How to Calculate the Pythagorean Theorem: Formula and Examples – How do you use the Pythagorean theorem? Find the hypotenuse or a missing leg with a² + b² = c², plus area, perimeter, angles and Pythagorean triples.
- Pythagorean Theorem in Everyday Life: Examples and Mistakes – Where is the Pythagorean theorem used in daily life? Examples with ladder length, screen diagonal, checking square corners and ramps, plus common mistakes.
Embed this calculator on your site
Copy the code below and paste it into your website, blog or email template. The calculator is free and runs on your site.