Home › Math Calculators › Pythagorean Theorem Calculator

Pythagorean Theorem Calculator

Find the missing side of a right triangle using the Pythagorean theorem.

Geometry
Leg a of the right triangle.
Leg b of the right triangle.
The longest side, opposite the right angle.
Formula
a² + b² = c²
c is the hypotenuse (longest side). Enter any two sides to find the third.

Result

—

 

Calculation Breakdown

STEP-BY-STEP DETAILS

ParameterValue
Result—

About Pythagorean Theorem Calculator

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (c) equals the sum of the squares of the other two sides (a and b). Leave one field blank to calculate it.


ℹ️ About Pythagorean Theorem Calculator

Find the missing side of a right triangle using the Pythagorean theorem. Enter any two sides to find the third.

📋 How to Use

  1. Enter the required values in the input fields.
  2. Select the operation type if multiple options are available.
  3. Click Calculate.
  4. View the result and step-by-step breakdown.

🔢 Formula / Calculation Method

a² + b² = c² → c = √(a² + b²)

a=3, b=4 → c = √(9+16) = 5

👥 Who Uses It

  • Students solving math homework
  • Teachers creating lesson examples
  • Engineers and scientists
  • Finance professionals
  • Programmers and developers

📌 Practical Examples

Example 1
a=3, b=4 → c = √(9+16) = 5
Verification
Use the formula shown to manually verify the result.
Real World
Apply the result to your specific problem.
Study Aid
Practice with different input values to learn.

⭐ Benefits

🎯
Accurate
Mathematically precise results
⚡
Instant
No waiting for calculations
📋
Formula
Understand the math behind it
📱
Mobile
Works on any device
🆓
Free
No cost or registration
📊
Breakdown
Step-by-step where possible

💡 Tips

  • 💡Double-check your input values before calculating.
  • 💡Use the formula shown to understand how the result is derived.
  • 💡For decimals, use a period (.) as the decimal separator.
  • 💡Try different values to understand how the result changes.

❓ Frequently Asked Questions

What is a Pythagorean triple?
A Pythagorean triple consists of three positive integers (a, b, c) that satisfy a² + b² = c² exactly, such as (3, 4, 5) or (5, 12, 13).
Does the Pythagorean theorem apply to all triangles?
No. The theorem applies strictly to right-angled triangles with a 90° angle. For non-right triangles, you must use the generalized Law of Cosines: c² = a² + b² - 2ab cos(C).
How do carpenters use the 3-4-5 rule?
Carpenters measure 3 feet along one wall and 4 feet along an adjacent wall. If the diagonal between them is exactly 5 feet, the corner forms a perfect 90° square angle.
Can the hypotenuse ever be shorter than either leg?
No. The hypotenuse is opposite the largest (90°) angle and is always the strictly longest side in any right triangle.
Can side lengths be decimals?
Yes. The calculator works seamlessly with any positive real numbers or decimals.
How accurate is the result?
Results use JavaScript's 64-bit floating point — accurate to 15+ significant digits for most calculations.
Can I enter decimal numbers?
Yes, decimals are fully supported.
Is it free?
Yes, completely free.
Does it show the formula?
Yes, the formula is displayed on the page.
Can I use it on mobile?
Yes, the calculator is fully responsive.
Does it save my inputs?
No data is stored — all calculations are done locally in your browser.
What if I get an error?
Check for invalid inputs such as division by zero or negative square roots.

🔗 Related Calculators

🚀 Features

⚡
Instant Results
Calculate in seconds, no waiting
🎯
High Accuracy
Precise results every time
📱
Mobile Friendly
Works on any device or screen size
🔒
Privacy First
No data stored or shared
🌍
Works Worldwide
Available 24/7 from anywhere
🆓
100% Free
Always free, no registration needed

⚠️ Common Mistakes to Avoid

  • ⚠️Entering values in the wrong fields.
  • ⚠️Using commas instead of periods as decimal separators.
  • ⚠️Dividing by zero — this is undefined.
  • ⚠️Not selecting the correct mode (degrees vs radians for trig).

📢 Disclaimer

Results are provided for informational purposes only and should be verified before making important financial, academic, or engineering decisions.

📚 Cite & Reference This Calculator

Verified Standard Calculation

Need to cite this calculator for academic papers, engineering notes, or school assignments? Use the reference below:

OnlineConvers. (2026). Pythagorean Theorem Calculator. Retrieved from https://www.onlineconvers.com/math/pythagorean-theorem-calculator