Pythagorean Theorem Calculator
Find a missing right-triangle side from any two known sides.
How it works
a² + b² = c²; c = √(a² + b²); a = √(c² − b²); b = √(c² − a²).
pythagoreanExplanation
The Pythagorean theorem applies only to right triangles. When a hypotenuse is entered, it must be longer than the known leg. Leave the side you want to solve blank.
Variables and units
A and B are perpendicular legs; C is the hypotenuse opposite the right angle. Enter exactly two positive sides. Mixed length units convert automatically. The automatic result uses the missing side's selected unit.
How to calculate
- Enter any two of A, B, and C.
- Leave the third side blank.
- Use the sum of leg squares for C or subtract a leg square from C² to find the other leg.
Worked example
A = 3 ft and B = 4 ft gives C = √(9 + 16) = 5 ft. B = 4 ft and C = 5 ft gives A = 3 ft.
A few things you might wonder.
Can all three fields be filled?
No. This is a missing-side calculator: enter exactly two sides and leave the third blank.
Are my inputs saved?
No. Calculations run on your device. Your input values and datasets are not sent to the server.