Pythagorean Theorem Calculator – Find Right Triangle Sides, Hypotenuse & Proofs

Free Pythagorean theorem calculator. Calculate hypotenuse or unknown leg instantly. Find Pythagorean triples, step-by-step solutions, algebraic proofs, and real-world applications.

Pythagorean Theorem Calculator

Calculate Right Triangle Sides, Find Hypotenuse, and Explore Proofs with Complete Educational Guide

Pythagorean Theorem Calculators

Use the Pythagorean equation a² + b² = c² to find unknown sides of right triangles. Enter any two values to calculate the third.

Find Hypotenuse (c)

Given two legs, find the hypotenuse

Formula: c = √(a² + b²)

Hypotenuse (c)
-
Is Triple?
-
Find Unknown Leg

Given hypotenuse and one leg, find the other

Formula: unknown = √(c² - known²)

Unknown Leg
-
Is Triple?
-
a c b 90° a² + b² = c²

What is the Pythagorean Theorem?

The Pythagorean Theorem is a fundamental relationship in geometry that applies to all right triangles. It states that in a right triangle, the square of the hypotenuse (longest side) equals the sum of squares of the other two sides. Written algebraically: a² + b² = c².

This theorem is one of the most important and widely-used relationships in mathematics, physics, engineering, and countless practical applications. Named after ancient Greek mathematician Pythagoras (though known to earlier civilizations), the theorem enables calculation of unknown distances, validation of right angles, and understanding spatial relationships.

The beauty of the Pythagorean theorem lies in its simplicity and universality. Any right triangle, regardless of size, satisfies this equation. This makes it invaluable for construction, navigation, surveying, computer graphics, and physics calculations.

Key Principle: In any right triangle, the relationship a² + b² = c² always holds true, where a and b are legs and c is the hypotenuse.

Key Features & Capabilities

Find Hypotenuse Calculate hypotenuse from two legs instantly
Find Unknown Leg Calculate missing leg from hypotenuse and one leg
Triple Detection Identifies if result is a Pythagorean triple
Step-by-Step Detailed calculation breakdown for every result
Multiple Proofs Algebraic and geometric proof methods explained
Real Applications Practical uses in construction, surveying, navigation

How to Use the Calculator

To Find Hypotenuse (c)

  1. Confirm Right Angle: Verify you have a right triangle (90-degree angle)
  2. Measure Two Legs: Measure sides a and b (the two sides that form the right angle)
  3. Enter Values: Input measurements into "Find Hypotenuse" calculator
  4. Calculate: Press Calculate button
  5. Get Result: See hypotenuse length with step-by-step calculation

To Find Unknown Leg

  1. Know Hypotenuse: Identify the longest side (hypotenuse)
  2. Measure One Leg: Know the length of one of the other sides
  3. Enter Values: Input into "Find Unknown Leg" calculator
  4. Calculate: Press Calculate button
  5. Get Result: See the missing leg length

Important Tips

  • Right Triangle Only: Pythagorean theorem applies only to right triangles
  • Positive Values: All sides must be positive numbers
  • Unit Consistency: Use same units for all measurements
  • Hypotenuse is Longest: Hypotenuse is always the longest side (opposite the 90° angle)
  • Two Values Needed: You must know at least two sides to calculate the third

The Pythagorean Theorem Formula

Basic Equation
a² + b² = c²

Where: a = first leg, b = second leg, c = hypotenuse
Solving for Hypotenuse (c)
c = √(a² + b²)
Solving for Leg (a or b)
a = √(c² - b²)
b = √(c² - a²)

The theorem can be rearranged to solve for any unknown side. The key is squaring, addition/subtraction, and square roots.

Proofs & Mathematical History

Historical Background

The Pythagorean theorem is one of the oldest mathematical theorems. While named after Pythagoras (570-495 BCE), the relationship was known to ancient Babylonians around 1900 BCE. Evidence suggests Chinese, Indian, and Egyptian mathematicians also understood this principle before Pythagoras.

Algebraic Proof

Consider a square with side length (a + b). Its area is (a + b)². This square can be divided into: four right triangles with legs a and b, and a smaller square with side c (where c is the hypotenuse). Therefore:

(a + b)² = 4(½ab) + c²
a² + 2ab + b² = 2ab + c²
a² + b² = c²
Geometric Proof

In a right triangle, draw an altitude from the right angle to the hypotenuse. This creates two smaller triangles similar to the original. Using similar triangle properties and proportions, we can derive a² + b² = c². This is known as Euclid's proof.

There are over 400 known proofs of the Pythagorean theorem, ranging from algebraic to geometric to physics-based proofs.

Pythagorean Triples

A Pythagorean triple is a set of three positive integers a, b, and c that satisfy the equation a² + b² = c². These represent right triangles with integer side lengths.

Common Pythagorean Triples

3-4-5 (and multiples: 6-8-10, 9-12-15)
5-12-13 (and multiples: 10-24-26)
8-15-17 (and multiples: 16-30-34)
7-24-25 (and multiples: 14-48-50)
20-21-29 (primitive triple)
12-35-37 (primitive triple)
9-40-41 (primitive triple)
11-60-61 (primitive triple)

Primitive triples have no common factors. Non-primitive triples are multiples of primitive triples. The most famous is the 3-4-5 triple, used in construction for creating perfect right angles.

Worked Examples

Example 1: Classic 3-4-5 Triangle

Problem: Right triangle with legs 3 and 4. Find hypotenuse.

Solution:
c = √(a² + b²) = √(3² + 4²)
c = √(9 + 16) = √25 = 5
Hypotenuse = 5 (This is a Pythagorean triple!)

Example 2: Finding Unknown Leg

Problem: Right triangle with hypotenuse 13 and one leg 5. Find other leg.

Solution:
b = √(c² - a²) = √(13² - 5²)
b = √(169 - 25) = √144 = 12
Unknown leg = 12 (This is the 5-12-13 triple!)

Example 3: Non-Integer Result

Problem: Right triangle with legs 2 and 3. Find hypotenuse.

Solution:
c = √(2² + 3²) = √(4 + 9) = √13
c ≈ 3.606 (not a Pythagorean triple)
Hypotenuse ≈ 3.606 units

Example 4: Real-World Ladder Problem

Problem: 10-foot ladder leans against wall. Base is 6 feet from wall. How high does it reach?

Solution:
a² + b² = c² (ladder forms hypotenuse)
6² + height² = 10²
36 + height² = 100
height² = 64
height = 8 feet
The ladder reaches 8 feet up the wall

Real-World Applications

Construction & Carpentry

Builders use the Pythagorean theorem (especially the 3-4-5 rule) to create perfect 90-degree angles. Diagonal bracing calculations in roof and wall construction rely on the theorem.

Land Surveying

Surveyors measure distances using right triangles and the Pythagorean theorem. Calculating distances across obstacles, determining slope, and creating maps all involve Pythagorean calculations.

Navigation & GPS

GPS systems use Pythagorean theorem principles in three dimensions (3D Pythagorean theorem) to calculate distances between points. Flight and ship navigation depend on these calculations.

Physics & Astronomy

Vector calculations in physics, finding resultant forces, and astronomical distance measurements all use the Pythagorean theorem. Celestial mechanics depends on accurate distance calculations.

Computer Graphics & Gaming

3D graphics rendering uses Pythagorean calculations constantly. Game engines calculate distances for collision detection, lighting, and physics simulations using the theorem.

Frequently Asked Questions

Does Pythagorean theorem work for all triangles?
No, only for right triangles. Other triangles use the Law of Cosines, which generalizes the Pythagorean theorem.
What if I have a non-right triangle?
For non-right triangles, use the Law of Cosines: c² = a² + b² - 2ab×cos(C), where C is the angle opposite side c.
Why is the hypotenuse always longest?
Since a² + b² = c², c is always greater than both a and b individually. Mathematically, the sum of squares of two positive numbers is always greater than each individual square.
What's the difference between legs and hypotenuse?
Legs are the two sides that form the right angle. The hypotenuse is the longest side opposite the right angle. In a² + b² = c², a and b are legs, c is hypotenuse.
Can all Pythagorean triples be generated?
Yes. All primitive Pythagorean triples can be generated using formulas with integer parameters. Non-primitive triples are multiples of primitive ones.
Is there a 3D version of Pythagorean theorem?
Yes. In 3D, distance = √(x² + y² + z²). This extends the 2D Pythagorean theorem to three dimensions for calculating 3D distances.

Solve Right Triangle Problems Instantly

Whether you're solving geometry homework, working on construction projects, or understanding mathematical principles, this comprehensive Pythagorean theorem calculator handles all calculations with instant accuracy and complete educational breakdown. Fast, reliable, completely free.