Updated Geometry

Pythagorean Theorem Calculator

Find the hypotenuse, missing side, check if three sides form a right triangle, and compute 2D and 3D distances using a² + b² = c². Includes step-by-step explanations.

Hypotenuse Missing Side Right Triangle Check 2D & 3D Distance

All-in-One Pythagorean Theorem Calculator

Switch between hypotenuse, missing side, right triangle checker, 2D and 3D distance, and step-by-step student mode.

Uses c = √(a² + b²) for a right triangle with legs a and b and hypotenuse c.

If missing hypotenuse, uses c = √(a² + b²). If missing leg, uses leg = √(c² − known_leg²).

Treat c as the longest side. The triangle is right-angled if a² + b² = c² within a small tolerance.

Uses distance formula d = √[(x₂ − x₁)² + (y₂ − y₁)²], which is a direct application of the Pythagorean theorem.

Uses d = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²], extending the Pythagorean theorem to 3D space.

Designed for students: shows the formula, substitution, squaring, adding or subtracting, and final square root.

Pythagorean Theorem Calculator – A Complete Student-Friendly Guide

The Pythagorean Theorem is one of the most famous ideas in all of mathematics. It connects the three sides of a right triangle and gives you a powerful tool for solving real-world problems — from construction to navigation to everyday measurement. This guide explains the theorem in simple language, shows how to use it, and includes step-by-step examples, diagrams, formulas, and common mistakes students make. Everything here is designed for easy learning and to help you master the concept quickly.

What Is the Pythagorean Theorem?

The Pythagorean Theorem describes the relationship between the sides of a right triangle — a triangle that has one 90° angle. The side across from the right angle is called the hypotenuse, and it is always the longest side. The other two sides are called the legs.

   Right Triangle
   (a and b are legs, c is hypotenuse)

         c
      _________
     |        /
     |       /
   b |      / a
     |     /
     |____/

The theorem states that:

a² + b² = c²

In simple words: The square of the hypotenuse equals the sum of the squares of the other two sides.

Why Is the Pythagorean Theorem Important?

Students and teachers use this theorem constantly because it helps solve many types of problems:

  • Finding the length of a missing side in a right triangle
  • Checking if a triangle is right-angled
  • Calculating distances between points in 2D and 3D
  • Navigation, GPS, architecture, construction, sports, and design

Even if you don’t realize it, the Pythagorean Theorem shows up everywhere — from measuring the diagonal of a TV screen to finding the shortest distance between two places on a map.

How the Pythagorean Theorem Works

To use the theorem, you need to identify the triangle’s sides:

  • a – one leg
  • b – the other leg
  • c – the hypotenuse (always opposite the right angle)
      90°
       |
       |
   b   |____ a
        c (hypotenuse)

Once you know which sides are which, just plug the numbers into the formula.

Finding the Hypotenuse

If you know the two legs, use:

c = √(a² + b²)

Example: A right triangle has legs 6 and 8. Find the hypotenuse.

a = 6  
b = 8  
c = √(6² + 8²)
c = √(36 + 64)
c = √100
c = 10

The hypotenuse is 10 units.

Finding a Missing Leg

If you know one leg and the hypotenuse, use:

a = √(c² − b²)

Example: A triangle has a hypotenuse of 13 and one leg equal to 5. Find the other leg.

c = 13  
b = 5  
a = √(13² − 5²)
a = √(169 − 25)
a = √144
a = 12

The missing leg is 12 units.

Understanding Right Triangle Geometry

A right triangle is special because it contains a perfect 90° angle. This angle lets us build a perfect square on each side. The area of the square on the hypotenuse will always match the combined areas of the squares on the two legs.

Squares on sides a, b, c:

    a² + b² = c²

     a²            b²                 c²
   ______        ______            __________
   |    |        |    |           |          |
   |    |   +    |    |    =      |          |
   |____|        |____|           |__________|

Where Does the Theorem Come From?

Thousands of years ago, mathematicians discovered this relationship, and over 370 different proofs exist today. One of the simplest proofs uses rearranging shapes. Another uses algebraic identities. Though the proofs vary, the principle is the same: the areas always balance perfectly.

Real-World Applications for Students

Here are real-world situations where students use the theorem without noticing:

  • Finding the diagonal of a classroom TV or projector screen
  • Calculating the length of a ladder needed to reach a window
  • Sizing the diagonal of a phone or laptop screen
  • Finding the distance between two points on graph paper
  • Working out the shortest path in a video game
  • Measuring the diagonal of a rectangular object
  • Determining slope and elevation in outdoor activities

Example: Ladder Leaning Against a Wall

Suppose a ladder reaches 12 feet up a wall and sits 5 feet away from the wall. What is the ladder’s length?

b = 12  
a = 5  
c = √(5² + 12²)
c = √(25 + 144)
c = √169
c = 13

The ladder is 13 feet long.

Example: Walking Across a Field Diagonally

You walk 60 meters east and then 80 meters north. How far are you from where you started?

a = 60  
b = 80  
c = √(60² + 80²)
c = √(3600 + 6400)
c = √10000
c = 100

You are 100 meters away from your starting point.

Distance Formula: A Direct Extension of the Theorem

In coordinate geometry, distances are computed using the same principle. If you have two points:

(x₁, y₁) and (x₂, y₂)

The distance between them is:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]

Diagram: 2D Distance

Point 1 ●  
          \   
           \  
            \  d
             \
              ● Point 2

This is just the Pythagorean Theorem because the horizontal and vertical differences form a right triangle.

The Pythagorean Theorem in 3D

The 3D distance formula extends the same idea:

d = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²]

Diagram: 3D Distance

       z
       |
       |_____ y
      /
     /
    x

This appears in physics, engineering, drone navigation, and 3D modeling.

Common Mistakes Students Make

If you’re learning this theorem for the first time, be careful of these common errors:

  • Using the wrong side as the hypotenuse
  • Trying to subtract instead of adding squares
  • Forgetting to take the square root
  • Using negative values (triangle sides are always positive)
  • Not checking if the triangle is actually right-angled

Tip for Identifying the Hypotenuse

Look for the side opposite the right angle — that is the hypotenuse every time.

      90°
       |
       |____ c (hypotenuse)

Step-by-Step Breakdown for Students

Here’s a simple workflow you can follow for any problem:

  1. Draw the triangle
  2. Label a, b, and c
  3. Decide whether you need the hypotenuse or a leg
  4. Write down the correct version of the formula
  5. Square the numbers
  6. Add or subtract
  7. Take the square root
  8. Check if your answer makes sense

Try These Practice Problems

Challenge yourself with these:

  1. A right triangle has legs 7 and 24. Find the hypotenuse.
  2. The hypotenuse is 17 and one leg is 15. Find the other leg.
  3. Points (2, 3) and (11, 15). Find the distance between them.
  4. Points (1, 2, 3) and (4, 6, 9). Find the 3D distance.

All solutions follow directly from the examples above — try solving them before checking with the calculator.

Related Math Concepts

  • Distance between two points
  • Slope and gradients
  • Trigonometry (sine, cosine, tangent)
  • Area and perimeter of triangles
  • Similar triangles
  • Square roots and exponents

Frequently Asked Questions

The Pythagorean Theorem states that in a right triangle, the sum of the squares of the legs equals the square of the hypotenuse: a² + b² = c².

Use the formula c = √(a² + b²). Square each leg, add the results, then take the square root.

Use a = √(c² − b²). Subtract the square of the known leg from the square of the hypotenuse.

The hypotenuse is always the side opposite the right angle and is always the longest side.

No. It only works for right triangles that include a 90° angle.

Yes, you can enter whole numbers or decimals, and the calculator computes accurate results instantly.

Yes! It is used in construction, design, physics, navigation, computer graphics, sports, and many everyday measurements.

Yes. The 3D distance formula is an extension of the theorem and works by adding a third squared difference.

Pythagoras was an ancient Greek mathematician who studied right triangles. While earlier cultures knew the relationship, his name became tied to the formal theorem.

Yes, if you want the actual side length. c² or a² is not the final answer — you must take the square root to get the length.

If a² + b² does not equal c² (within a small tolerance), the triangle is not right-angled.