Pythagorean Theorem Calculator
The Pythagorean theorem relates the three sides of a right triangle. It states that the square of the hypotenuse equals the sum of the squares of the two legs. This calculator lets you solve for the hypotenuse when both legs are known, or solve for either leg when the hypotenuse and the other leg are known.
Pythagorean Theorem Calculator Interactive Tool
Results
Results
How to use this calculator
- Choose which side you want to solve for: the hypotenuse, leg A, or leg B.
- Enter the two known side lengths in the fields provided.
- Read the missing side, plus the full side set for the right triangle.
The Formula
The mathematical logic powering this calculation is:
a² + b² = c²
Hypotenuse: c = √(a² + b²)
Leg: a = √(c² - b²) or b = √(c² - a²)Worked Example
If you input:
- Solve For: Hypotenuse (c)
- Leg A (a): 3
- Leg B (b): 4
- Hypotenuse (c):
Result:
Missing side = 5 based on the provided inputs and the pythagorean theorem formula.
Frequently Asked Questions
When can I use the Pythagorean theorem?
Use it only for right triangles, where one angle is exactly 90 degrees.
Why must the hypotenuse be the longest side?
The hypotenuse sits opposite the right angle, and by the theorem its square equals the sum of the other two squares, so it must be longer than either leg.
Similar Calculators
Triangle Calculator
Solve right or oblique triangles from sides and angles. Compare both SSA solutions, inspect scaled geometry, and export sides, angles, area and heights.
Stair Layout Calculator
Compare straight and quarter-turn stair layouts by rise, going and available footprint. Explore riser counts and landing splits, solve a going that fits, and export scaled-layout coordinates.
Circle Circumference Calculator
Circle Circumference for the exact fields in this tool, with clear inputs and an immediate result for planning or comparison.
Ratio Calculator
Simplify ratios, find equivalent ratios, and solve for a missing value in a proportion.
