Pythagorean Theorem Calculator
Solve right triangles using the classic formula a² + b² = c². Enter any two sides to find the third, or enter all three to check if the triangle is right.
Right triangles Step-by-step Unit-friendly
Pythagorean theorem formula
For a right triangle:
\( a^2 + b^2 = c^2 \)
Where:
- a and b are the legs (shorter sides)
- c is the hypotenuse (the longest side, opposite the right angle)
You can rearrange the formula to solve for any side:
\( c = \sqrt{a^2 + b^2} \)
\( a = \sqrt{c^2 - b^2} \)
\( b = \sqrt{c^2 - a^2} \)
If the given numbers don’t satisfy the equality, then they don’t form a perfect right triangle.
Example
Example: Find the hypotenuse if a = 9 cm and b = 12 cm.
- Use \( c = \sqrt{a^2 + b^2} \)
- Compute \( a^2 = 9^2 = 81 \)
- Compute \( b^2 = 12^2 = 144 \)
- Add: \( 81 + 144 = 225 \)
- Take the square root: \( c = \sqrt{225} = 15 \text{ cm} \)
The calculator will show the same steps in the result box.