Solve for the missing side of a right triangle using a² + b² = c².
Hypotenuse (C)
5.00 units
Side a3.00
Side b4.00
Hypotenuse (c)5.00
Area6.00 sq
Perimeter12.00
In a right triangle, a² + b² = c² where c is the hypotenuse (longest side). Choose hypotenuse mode to solve for c, or leg mode to solve for a missing leg.
Share
What is the Pythagorean Theorem Calculator?
The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (longest side, c) equals the sum of the squares of the other two sides (a and b): a² + b² = c². It's one of the most important relationships in geometry and applies to any right triangle, regardless of size or unit.
How it works
Choose your mode: solve for hypotenuse or solve for a leg. In hypotenuse mode, enter both legs (a and b) to find c. In leg mode, enter the hypotenuse and one known leg to find the missing leg. The calculator applies the theorem and displays all three sides plus area and perimeter.
a² + b² = c² (where c is the hypotenuse). To solve for a leg: leg = √(c² − other leg²).
Square each known side, add or subtract them as needed, then take the square root. For example, if a=3 and b=4, then c=√(9+16)=√25=5. If c=5 and a=3, then b=√(25−9)=√16=4.
The calculator instantly computes the missing side using the Pythagorean theorem
View all three sides, area, and perimeter in the stats section
Use the result in your geometry problem, construction plan, or other application
Benefits
Instant calculation — no mental math or formula lookup required
Two solve modes — find hypotenuse or find a missing leg
Complete triangle data — displays all sides, area, and perimeter at once
Accurate to many decimal places — handles both whole numbers and decimals
Works with any unit — meters, feet, inches, centimeters; just keep units consistent
Tips & common mistakes
Common mistakes
Entering the hypotenuse as a leg when solving for hypotenuse — c is always the longest side in a right triangle
Using the theorem on non-right triangles — the formula only works for triangles with a 90° angle
Forgetting to square the sides before adding — a² means a multiplied by itself, not a times 2
Mixing units — if one leg is in feet, both must be in feet; do not mix feet and inches
Tips
Remember: the hypotenuse is always the longest side and is opposite the right angle
The 3-4-5 and 5-12-13 triangles are the most common Pythagorean triples; memorize them for quick checks
The calculator handles decimal values, so 3.5 or 7.25 are perfectly valid inputs
For construction or engineering, always double-check your units before entering values
Frequently asked questions
What is the Pythagorean theorem?
It states that in a right triangle, a² + b² = c², where a and b are the legs and c is the hypotenuse. It's a fundamental relationship in geometry.
Can I use this calculator for non-right triangles?
No. The Pythagorean theorem only applies to right triangles (those with a 90° angle). Use a different triangle calculator for acute or obtuse triangles.
What is the hypotenuse?
The hypotenuse is the longest side of a right triangle, opposite the right angle. It's side c in the formula a² + b² = c².
How do I know if my triangle is a right triangle?
A right triangle has one 90° angle (a square corner). If you're measuring, the longest side is the hypotenuse. Test: does a² + b² = c²?
What is a Pythagorean triple?
A Pythagorean triple is a set of three whole numbers that satisfy the theorem. Common examples: 3-4-5, 5-12-13, 8-15-17, and 7-24-25.
Can I use decimals for side lengths?
Yes. The calculator accepts any decimal value. Results are accurate to two decimal places and can be viewed to more precision if needed.