📐 Pythagorean Theorem Calculator

a² + b² = c² — Enter any two sides. Leave the unknown side blank. The longest side (hypotenuse) is side c.

Missing Side

Understanding Pythagorean Theorem Calculator

The Pythagorean theorem states that in any right-angled triangle, 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² Hypotenuse: c = √(a² + b²) Leg a: a = √(c² − b²) Leg b: b = √(c² − a²)

Pythagorean Triples — Perfect Integer Solutions

A Pythagorean triple consists of three positive integers a, b, c satisfying a²+b²=c². These are elegant solutions where all sides are whole numbers.

abcVerification
3459+16=25 ✓
5121325+144=169 ✓
8151764+225=289 ✓
7242549+576=625 ✓
9404181+1600=1681 ✓
681036+64=100 ✓ (3-4-5 × 2)
202129400+441=841 ✓

Converse of the Pythagorean Theorem

The converse is equally powerful: if a² + b² = c², the triangle MUST be a right triangle. This is used to verify right angles in construction and carpentry.

Example — The 3-4-5 Rule: Builders use this to check if corners are perfectly square. Measure 3 units along one wall, 4 units along the adjacent wall. If the diagonal is exactly 5 units, the corner is a true right angle (90°).

Real-World Applications

  • Construction & carpentry: Checking square corners, calculating rafter lengths, diagonal measurements
  • Navigation: Finding straight-line distance between two points when you know north-south and east-west distances
  • Screen sizes: A TV described as "55 inch" means its diagonal = 55 inches. If it's 16:9 aspect ratio, width = 47.95 in, height = 26.97 in, and 47.95²+26.97² = 55² ✓
  • Physics: Vector addition, velocity components, force diagrams
  • Coordinate geometry: The distance formula d = √((x₂-x₁)²+(y₂-y₁)²) is derived from the Pythagorean theorem

Frequently Asked Questions — Pythagorean Theorem Calculator

What is the hypotenuse of a 3-4-? triangle?
c = √(3²+4²) = √(9+16) = √25 = 5. This is the famous 3-4-5 right triangle — the most well-known Pythagorean triple.
Who discovered the Pythagorean theorem?
It's named after the Greek mathematician Pythagoras (c. 570–495 BC), though evidence shows the Babylonians and Indians knew of it over 1000 years earlier. Pythagoras is credited with the first formal proof.
Does the Pythagorean theorem work for all triangles?
No — only right triangles (those with a 90° angle). For other triangles, use the Law of Cosines: c² = a² + b² − 2ab·cos(C), which includes an extra term for the angle.
What is the Pythagorean theorem used for in real life?
Measuring diagonal distances, construction layout (checking square corners), screen and room dimensions, navigation, physics vector calculations, and many engineering applications.
What if a²+b²≠c² for my triangle?
Then the triangle is NOT a right triangle. If a²+b² > c², the angle C is acute (less than 90°). If a²+b² < c², the angle C is obtuse (more than 90°).

Related Calculators

All Tools →