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.
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.
Related Calculators
Right Triangle Trigonometry Calculator
Solve a right triangle given two sides. Enter any two sides (legs a and b) to compute the hypotenuse, all angles, area, and trigonometric ratios using the Pythagorean theorem and inverse trigonometric functions for physics and engineering problems.
30-60-90 Triangle Calculator
Calculate all sides of a 30-60-90 special right triangle from any one known side. Enter the shortest side, longer leg, or hypotenuse to find all three sides using the fixed ratio 1:sqrt(3):2, fundamental for trigonometry, geometry, and standardized testing.
Law of Cosines Calculator
Calculate the missing side or angle of a triangle using the Law of Cosines: c² = a² + b² − 2ab cos(C).
Triangle Inequality Calculator
Check whether three given side lengths can form a valid triangle using the triangle inequality theorem. Enter three lengths to verify all three conditions (a+b>c, a+c>b, b+c>a) and determine if a valid triangle exists, essential for geometry validation.
45-45-90 Triangle Calculator
Calculate all sides of a 45-45-90 special right triangle from one known leg. Enter the leg length to find the hypotenuse using the fixed ratio 1:1:sqrt(2), fundamental for trigonometry, diagonal calculations, and standardized testing preparation.
Equilateral Triangle Calculator
Calculate the area, perimeter, and height of an equilateral triangle from its side length.
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.
Embed this calculator on your site
Paste this snippet into your blog, course page, or documentation to drop a live, interactive Pythagorean Theorem Calculator into your page.
Free to embed — includes a link back to MegaCalc.