Pythagorean Theorem Calculator
Find the hypotenuse of a right triangle from its two legs, plus the area, perimeter and angles.
Each substitution is shown so you can check the arithmetic.
Enter values to see the step-by-step working.
Pythagorean Theorem formula
The live calculator applies this equation with full precision and rounds only for display.
What the variables mean
a and b are the legs; c is the hypotenuse opposite the right angle.
Worked example
With legs 3 m and 4 m the hypotenuse is 5 m, and the area is 6 m².
How to interpret the result
The theorem only applies to right triangles. If you know the hypotenuse and one leg, rearrange to a = √(c² − b²).
Common mistakes
- Rounding too early is the most common math error. Keep full precision during intermediate steps and round only the final answer. Also check the order of operations and that all quantities use the same unit.
Frequently asked questions
What formula does this calculator use?
Are the results rounded?
Is this calculator free to use?
The formula, classification ranges and assumptions on this page follow the definitions and guidance of the bodies below.
- NIST Digital Library of Mathematical Functions (DLMF)Authoritative reference for logarithms, trigonometric functions and special functions.
How these are used: sources and standards.
Reviewed November 2026 · This tool is for education and estimation. See the disclaimer and methodology.
Need the theory behind pythagorean theorem?
Read the formula entry for the derivation, units and related equations.