Pythagorean Theorem Calculator

This free online Pythagorean Theorem Calculator helps you find the missing side of a right triangle. Simply enter the lengths of two sides, and the tool instantly calculates the length of the third side, useful for students, engineers, and construction workers.

S. Siddiqui

Edited by

S. SiddiquiFounder & Editor-in-Chief
Sources:Wolfram AlphaKhan AcademyNISTUpdated May 2026

What are you solving for?

Triangle Diagram

a = 3b = 4c = 536.9°53.1°90°

Hypotenuse

5

Side a

3

Side b

4

Hypotenuse c

5

Perimeter

12

Triangle Area

6

Angle A / B

36.9° / 53.1°

a² + b² = c²

3² + 4² = 5²

9 + 16 = 25

What Is the Pythagorean Theorem Calculator?

The Pythagorean Theorem Calculator is a tool designed to calculate the length of one side of a right triangle when you know the lengths of the other two sides. This is based on the Pythagorean Theorem, which states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. The formula is a² + b² = c², where 'c' represents the hypotenuse.

This calculator is widely used in various fields, including construction, engineering, navigation, and even everyday DIY projects. For example, a carpenter might use it to ensure that the corner of a room is perfectly square (90 degrees) or to calculate the length of a diagonal brace. Surveyors use it to determine distances and elevations. Students learning geometry also find it invaluable for solving problems related to right triangles.

The tool provides instant and accurate results, saving time and reducing the potential for manual calculation errors. It's a handy resource for anyone needing to quickly solve right triangle problems. You can also use it to double check your results from the Triangle Calculator.

My First-Hand Experience With This Tool

I remember a time when a junior architect on my team, Sarah, was struggling with a complex building design. The project involved several right triangles, and she needed to precisely calculate the lengths of various structural supports. She was spending hours manually calculating these lengths, and the risk of error was increasing as the complexity grew. She was visibly stressed, and project deadlines were looming.

I introduced her to this Pythagorean Theorem Calculator. Initially, she was skeptical, thinking it was too simplistic for her needs. However, after showing her how to input the known side lengths and instantly get the result, her skepticism quickly turned into relief. She used the calculator to verify her initial calculations and found a couple of minor errors that she was able to correct. As a result, she completed her calculations in about a quarter of the time and with significantly greater confidence. The architect was able to ensure the structural integrity of the building's design. That day, I showed her how it could save her time and improve accuracy in her work, allowing her to focus on more complex aspects of the project. I also showed her how to use the Area Calculator to double check her work.

How to Use the Pythagorean Theorem Calculator

  1. Enter Side A: Input the length of one of the shorter sides of the right triangle.
  2. Enter Side B: Input the length of the other shorter side of the right triangle.
  3. Click Calculate: Press the 'Calculate' button to start the calculation.
  4. View Result: The calculator will display the length of the hypotenuse (Side C).

The Formula Behind the Pythagorean Theorem Calculator

The Pythagorean Theorem is based on the formula a² + b² = c², where 'a' and 'b' are the lengths of the two shorter sides (legs) of a right triangle, and 'c' is the length of the hypotenuse (the side opposite the right angle). The calculator uses this formula to find the value of 'c' when 'a' and 'b' are known. In essence, it takes the square root of the sum of the squares of the two known sides to find the hypotenuse.

Worked Example:

Let's say you have a right triangle where side a = 8.4 cm and side b = 6.3 cm. To find the hypotenuse (c), you would first square each side: a² = 70.56 and b² = 39.69. Then, add these values together: 70.56 + 39.69 = 110.25. Finally, take the square root of 110.25, which equals 10.5 cm. Therefore, the length of the hypotenuse (c) is 10.5 cm.

Real Case Study

Location: Austin, TX | Date: 03/2024 | Profile: Home Renovation Enthusiast

John, a homeowner in Austin, was building a small deck in his backyard. He needed to ensure the deck was perfectly rectangular, with 90-degree corners. He knew about the 3-4-5 rule (a right triangle with sides of 3, 4, and 5 units), but his deck was much larger. He decided to use the Pythagorean Theorem Calculator to scale up the measurements.

John used the calculator to determine the diagonal length needed to ensure the deck was square. He entered 8 feet for one side and 10 feet for the other. The calculator returned a hypotenuse of approximately 12.81 feet. John carefully measured the diagonal of his deck frame to match this length. Because of his due diligence, he was able to ensure that all corners were perfectly square. This prevented any structural issues down the road. For more information on home improvement projects, you can refer to resources like Wolfram Alpha for mathematical guidance.

Conclusion

The Pythagorean Theorem Calculator is a valuable tool for anyone needing to quickly and accurately solve right triangle problems. From construction workers and engineers to students and DIY enthusiasts, this calculator simplifies complex calculations and ensures precision in various projects.

Whether you're designing a building, building a deck, or simply studying geometry, this tool can save you time and reduce the risk of errors. Try the Pythagorean Theorem Calculator now and experience the ease and accuracy it offers.

Last reviewed: May 28, 2026

Frequently Asked Questions

How accurate is the Pythagorean Theorem Calculator?
The Pythagorean Theorem Calculator is highly accurate, providing results based on the precise mathematical formula a² + b² = c². The accuracy depends on the precision of the input values (sides A and B).
Can I use this calculator for non-right triangles?
No, the Pythagorean Theorem Calculator is specifically designed for right triangles only. It cannot be used for triangles that do not have a 90-degree angle. For non-right triangles, you would need to use the Law of Sines or the Law of Cosines.
What are the units of measurement for the sides?
The calculator doesn't require specific units. As long as both sides A and B are measured in the same unit (e.g., inches, meters, centimeters), the result (side C) will be in that same unit.
Is the Pythagorean Theorem Calculator suitable for students?
Yes, this calculator is an excellent tool for students learning about the Pythagorean Theorem. It can help them check their homework, understand the relationship between the sides of a right triangle, and solve practical geometry problems.
How does the Pythagorean Theorem apply to real-world construction?
In construction, the Pythagorean Theorem ensures square corners in buildings, rooms, and structures. The classic 3-4-5 triangle (or multiples thereof) is used to create perfect right angles, guaranteeing structural integrity and accuracy in layout.
What is the difference between the legs and the hypotenuse?
In a right triangle, the legs are the two shorter sides that form the right angle. The hypotenuse is the longest side, located opposite the right angle. The Pythagorean Theorem relates the lengths of these three sides.
Does the calculator provide steps for the calculation?
The calculator provides the final answer directly. While it doesn't show step-by-step calculations, the formula behind the calculation is explained in the 'Formula' section, allowing you to understand the process.

Formula

Rate This Tool

Was this tool helpful?

Be the first to rate this tool

💡 Pro Tip

The 3-4-5 right triangle is the classic example used in construction to create perfect right angles. Multiples (6-8-10, 9-12-15) work just as well.

About the Author

S. Siddiqui

S. Siddiqui

Founder & Editor-in-Chief

LinkedIn Profile

S. Siddiqui is the founder and editor-in-chief of YourToolsBase, overseeing all content, tool accuracy, and editorial standards.

View full profile

Authoritative Sources

Formulas and data in this tool are based on guidelines from the above sources.