📐 Pythagorean Theorem Calculator

Calculate the missing side of a right triangle using a² + b² = c²

Free Calculator
Instant Results

Enter Values

Enter any 2 values to calculate the third
abc

Results

📐

Enter two values to calculate

Understanding the Pythagorean Theorem

The Pythagorean Theorem is one of the most fundamental principles in Euclidean geometry. It describes the relationship between the three sides of a right triangle, where the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides.

a² + b² = c²
Where c is the hypotenuse and a, b are the legs (catheti)

This theorem is named after the ancient Greek mathematician Pythagoras of Samos (c. 570–495 BC), though evidence suggests the relationship was known to Babylonian and Indian mathematicians centuries earlier. The theorem has been proven in hundreds of different ways, making it one of the most proven theorems in mathematics.

Find Hypotenuse (c)
c = √(a² + b²)
Find Leg (a)
a = √(c² - b²)
Find Leg (b)
b = √(c² - a²)

📜 History and Famous Proofs

The Pythagorean theorem has a rich history spanning thousands of years and multiple civilizations:

🏛️ Ancient Origins
  • Babylonians (1800 BC): Clay tablets show knowledge of Pythagorean triples
  • India (800-400 BC): Baudhayana Sulba Sutra contains the theorem
  • China (1000 BC): Known as the Gougu theorem
  • Greece (500 BC): Pythagoras provided the first known proof
📐 Notable Proofs
  • Euclid's Proof: Using similar triangles (Elements, Book I)
  • Garfield's Proof: By U.S. President James Garfield (1876)
  • Einstein's Proof: Using similar triangles at age 12
  • Over 400 proofs documented in "The Pythagorean Proposition"

The theorem's elegance lies in its simplicity and the countless ways it can be proven—from geometric rearrangements to algebraic manipulations, making it a cornerstone of mathematical education worldwide.

🌍 Real-World Applications

The Pythagorean theorem is not just a mathematical curiosity—it has countless practical applications in everyday life and professional fields:

🏗️
Construction & Architecture

Ensuring walls are perpendicular, calculating roof pitches, and laying foundations using the 3-4-5 rule.

🗺️
Navigation & GPS

Calculating shortest distances between two points, essential for GPS systems and aviation.

📺
Screen Sizes

TV and monitor sizes are measured diagonally—the hypotenuse of the screen rectangle.

🎮
Video Games & Graphics

Calculating distances between objects, collision detection, and 3D rendering.

Sports Analytics

Measuring field distances, analyzing player movements, and optimizing strategies.

🔭
Astronomy

Calculating distances to stars and planets using triangulation methods.

📊 Related Formulas for Right Triangles

PropertyFormulaDescription
AreaA = (a × b) / 2Half the product of the two legs
PerimeterP = a + b + cSum of all three sides
Altitude to Hypotenuseh = (a × b) / cHeight from right angle to hypotenuse
Inradiusr = (a + b - c) / 2Radius of inscribed circle
CircumradiusR = c / 2Radius of circumscribed circle
Median to Hypotenusem = c / 2Line from right angle to midpoint of c

Common Pythagorean Triples

A Pythagorean triple consists of three positive integers a, b, and c that satisfy the equation a² + b² = c². These special number sets form the sides of right triangles with whole number measurements.

abc (hypotenuse)a² + b²
3452525
51213169169
81517289289
72425625625
202129841841
Quick Load Examples:
💡 Tip: Any multiple of a Pythagorean triple is also a triple. For example, 3-4-5 × 2 = 6-8-10, which also satisfies the theorem.

📐 Special Right Triangles

45°-45°-90° Triangle (Isosceles Right Triangle)
11√2

Side ratios: 1 : 1 : √2

If legs = a, then hypotenuse = a√2

30°-60°-90° Triangle
√312

Side ratios: 1 : √3 : 2

Short leg : Long leg : Hypotenuse

❓ Frequently Asked Questions

What is the Pythagorean theorem?

The Pythagorean theorem states that in a right triangle, the square of the length of the hypotenuse (c) equals the sum of the squares of the other two sides (a and b). Mathematically: a² + b² = c². This fundamental relationship only applies to triangles with a 90-degree angle.

Does the Pythagorean theorem work for all triangles?

No, the Pythagorean theorem only works for right triangles (triangles with one 90° angle). For other triangles, you need to use the Law of Cosines: c² = a² + b² - 2ab·cos(C), which is a generalization of the Pythagorean theorem.

What is a Pythagorean triple?

A Pythagorean triple is a set of three positive integers (a, b, c) that satisfy the equation a² + b² = c². The most famous example is 3-4-5. Other common triples include 5-12-13, 8-15-17, and 7-24-25. Any multiple of a Pythagorean triple is also a valid triple.

How do I find the hypotenuse?

To find the hypotenuse (c), use the formula c = √(a² + b²). Square both legs, add them together, then take the square root of the sum. For example, if a = 3 and b = 4: c = √(9 + 16) = √25 = 5.

How do I find a missing leg?

To find a missing leg when you know the hypotenuse and one leg, rearrange the formula. For leg a: a = √(c² - b²). For leg b: b = √(c² - a²). Remember that the hypotenuse must always be longer than either leg.

What is the converse of the Pythagorean theorem?

The converse states: If a² + b² = c² for a triangle with sides a, b, and c (where c is the longest side), then the triangle is a right triangle. This is useful for verifying whether three given lengths can form a right triangle.

Who discovered the Pythagorean theorem?

While named after the Greek mathematician Pythagoras (c. 570–495 BC), evidence shows the theorem was known earlier. Babylonian clay tablets from 1800 BC demonstrate knowledge of Pythagorean triples. The theorem was also independently discovered in ancient India and China.

Can the Pythagorean theorem be used in 3D?

Yes! The 3D distance formula extends the theorem: d = √(x² + y² + z²). This calculates the diagonal distance through a rectangular box or the distance between two points in 3D space, essential in physics, engineering, and computer graphics.