Pythagorean Theorem Calculator
Calculate the missing side of a right triangle using the Pythagorean theorem a² + b² = c².
This free online pythagorean theorem calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
One leg of the right triangle
The other leg of the right triangle
Results
Hypotenuse (c)
5 units
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Pythagorean Theorem Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Pythagorean Theorem Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Pythagorean Theorem Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Pythagorean Theorem Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
- •Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
- •Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
- •Use it to explore the behavior of mathematical functions across a range of inputs.
About This Calculator
The Pythagorean Theorem Calculator is a free mathematical calculation tool for students, educators, and professionals who need quick, reliable results. Calculate the missing side of a right triangle using the Pythagorean theorem a² + b² = c². The underlying algorithms implement well-established mathematical formulas and numerical methods. Results are computed instantly in the browser. This tool is useful for learning, verification of hand calculations, and rapid exploration of mathematical relationships. All computation happens locally — no data is sent to a server.
About Pythagorean Theorem Calculator
The Pythagorean theorem is one of the most well-known and widely used results in all of mathematics. It states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides. Written as a² + b² = c², this theorem has been known for over 2,500 years and has hundreds of distinct proofs. It is fundamental to distance calculations, navigation, construction, and physics. Carpenters use the 3-4-5 rule to verify right angles, GPS systems rely on it for positioning, and it underpins the distance formula in coordinate geometry. This calculator finds the hypotenuse when you provide both legs. The theorem extends to three dimensions via d = √(x² + y² + z²) and forms the basis of the metric tensor in general relativity.
The Math Behind It
Formula Reference
Pythagorean Theorem
a² + b² = c²
Variables: a, b = legs; c = hypotenuse
Worked Examples
Example 1: Ladder against a wall
A ladder reaches 12 ft up a wall and its base is 5 ft from the wall.
c = 13 feet (the ladder is 13 ft long)
Example 2: Diagonal of a field
A rectangular field is 40 m by 30 m. Find the diagonal.
d = 50 meters
Common Mistakes & Tips
- !Applying the theorem to non-right triangles — use the Law of Cosines instead.
- !Forgetting to take the square root at the end to get the actual length.
- !Confusing which side is the hypotenuse (it is always the longest side, opposite the right angle).
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
Can I use this to find a leg instead of the hypotenuse?
Yes. Rearrange the formula: a = √(c² − b²) to find a missing leg when you know the hypotenuse and one leg.
Does the theorem work in 3D?
Yes. The 3D distance formula d = √(x² + y² + z²) is a direct extension of the Pythagorean theorem.