Step-by-step math solver
Pythagorean Theorem Calculator
Find the missing side of a right triangle: solve for hypotenuse (c) or leg (a, b) using a² + b² = c². Free step-by-step solver with perimeter, area, and angles.
Right Triangle Omni-Solver
Enter any two of Side a, Side b, and Hypotenuse c. The third is calculated automatically.
Hypotenuse c
5
Right triangle
Logic trace
- Step 1: a² + b² = c²3² + 4² = 9 + 16 = 25
- Step 2: c = √(a² + b²)c = √25 = 5.000000
How to Use This Calculator
Enter any two of Side a, Side b, and Hypotenuse c; the third updates automatically. Use the diagram and Logic Trace to see the steps.
Workflow Tips
Solving for a Leg
If You See an Error
Extra Outputs
Pythagorean Theorem Calculator: Find Hypotenuse or Leg of a Right Triangle
Free Pythagorean theorem calculator: find the missing side of a right triangle. Solve for hypotenuse (c) or leg (a or b) using a² + b² = c². How to find the hypotenuse, how to find a leg, step-by-step solver, perimeter, area, and angles. Used in geometry, construction, and surveying.
What This Calculator Does & Who It's For
Calculator Purpose & Ideal Users
- What You'll Get:The missing side (a, b, or c), a step-by-step logic trace showing the substitution into a² + b² = c² and the intermediate squares (e.g. 9 + 16 = 25) before the square root, a dynamic right triangle diagram that scales to your inputs and highlights the calculated side, plus perimeter, area, and the two non-right angles in degrees.
- Ideal Users:Students & geometry: Find hypotenuse or leg, check homework, see step-by-step. Teachers: Demonstrate the theorem with a visual triangle and algebraic steps. Construction & DIY: Diagonal length of a rectangle, rafter length, right-angle layout. Surveying & carpentry: Verify 3-4-5 (or other) right triangles. Anyone: Quick right triangle solver for two known sides.
- Scope & Limits:Right triangles only. All sides must be positive. The hypotenuse must be the longest side; otherwise the calculator shows a mathematical error and asks you to correct the inputs.
How to Use This Calculator
- Solving for the Hypotenuse:Enter Side a and Side b. The calculator applies c = √(a² + b²) and displays the result with a step-by-step Logic Trace showing the intermediate squares and final square root.
- Solving for a Leg:Enter the Hypotenuse and one leg. The missing leg is computed via a = √(c² − b²) or b = √(c² − a²). The Logic Trace shows each substitution.
- Dashboard Outputs:Below the triangle, view Perimeter (a + b + c), Area (½ab), and the two non-right angles in degrees. These update automatically whenever any input changes.
- Error Handling:If the hypotenuse is not the longest side, the calculator shows a mathematical error and asks you to correct the inputs. All sides must be positive for a valid triangle.
What Is the Pythagorean Theorem? Definition and Formula
How to Find the Hypotenuse of a Right Triangle
How to Find a Leg When You Have the Hypotenuse and the Other Leg
Why the Hypotenuse Must Be the Longest Side
Real-World Use: Construction, Surveying, and Diagonal Length
Perimeter, Area, and Angles of a Right Triangle
Pythagorean Theorem Calculator FAQ
What is the Pythagorean theorem?
How do I find the hypotenuse of a right triangle?
How do I find a leg when I have the hypotenuse and the other leg?
Why must the hypotenuse be the longest side?
Can I use the Pythagorean theorem for non-right triangles?
What units can I use for the sides?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.