CalculateMax
HomeCategoriesPopularAboutContact
Math & Geometry
Pythagorean Theorem Calculator
Calculate any side of a right triangle
Unit
abc (hypotenuse)

Enter any two values to calculate the third

Pythagorean Theorem

a² + b² = c²

a and b are the two legs (sides adjacent to the right angle)

c is the hypotenuse (the longest side, opposite the right angle)

Formulas

Find Hypotenuse (c)

c = √(a² + b²)

Find Side a

a = √(c² − b²)

Find Side b

b = √(c² − a²)

Disclaimer

This calculator provides estimates only. Verify manually for critical measurements in construction, engineering, or other professional applications.

What is the Pythagorean Theorem?

The Pythagorean theorem is one of the most fundamental principles in geometry, named after the ancient Greek mathematician Pythagoras who lived around 570-495 BCE. Although evidence suggests that the theorem was known to Babylonian and Indian mathematicians before Pythagoras, he is credited with providing the first known proof. The theorem establishes a relationship between the three sides of a 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.

Mathematically expressed as a² + b² = c², this elegant equation has countless applications in mathematics, physics, engineering, architecture, and everyday life. The theorem only applies to right triangles—triangles that contain one 90-degree angle. The two sides that form the right angle are called legs (a and b), while the longest side opposite the right angle is the hypotenuse (c). Understanding this relationship allows us to calculate unknown distances when we know two of the three sides.

How to Use the Pythagorean Theorem

Using the Pythagorean theorem is straightforward once you identify that you're working with a right triangle. First, determine which side you need to find. If you know both legs (a and b), you can calculate the hypotenuse by adding their squares and taking the square root: c = √(a² + b²). For example, if a = 3 and b = 4, then c = √(9 + 16) = √25 = 5. This is the famous 3-4-5 right triangle, one of the simplest Pythagorean triples.

If you need to find one of the legs, rearrange the formula. To find side a when you know b and c, use a = √(c² − b²). Similarly, to find side b, use b = √(c² − a²). Remember that the hypotenuse must always be longer than either leg—if your calculation gives a negative number under the square root, check your measurements because the hypotenuse cannot be shorter than a leg in a valid right triangle.

Pythagorean Triples

Pythagorean triples are sets of three positive integers (a, b, c) that satisfy the Pythagorean theorem, meaning a² + b² = c² where all three values are whole numbers. The most common examples include (3, 4, 5), (5, 12, 13), (8, 15, 17), and (7, 24, 25). These special number sets have been studied for thousands of years and have practical applications in construction, surveying, and design where whole-number measurements are desirable.

Any Pythagorean triple can be scaled to create larger triples. For instance, multiplying (3, 4, 5) by 2 gives (6, 8, 10), which is also a valid triple: 36 + 64 = 100. Primitive Pythagorean triples are those where the three numbers share no common factor greater than 1. The 3-4-5 triple is primitive, while 6-8-10 is not. These triples are invaluable for quickly checking if a corner is square or for creating right angles in construction without complex calculations.

Real-World Applications

The Pythagorean theorem has countless practical applications. In construction, builders use it to ensure walls are perpendicular and foundations are square. The 3-4-5 method is commonly used: measure 3 feet along one wall, 4 feet along another, and if the diagonal is exactly 5 feet, you have a perfect right angle. Architects rely on the theorem for calculating roof pitches, staircase dimensions, and structural support requirements.

Navigation and GPS systems use three-dimensional extensions of the theorem to calculate distances and positions. Surveyors apply it to measure land and create accurate maps. In everyday life, you might use it to determine if furniture will fit through a doorway diagonally, calculate the shortest path across a field, or figure out the right size for a TV to fit a specific wall space. Video game developers use it constantly for collision detection and character movement calculations.

CalculateMax

Your comprehensive collection of free online calculators. Fast, accurate, and easy to use.

Categories

  • Health & Fitness
  • Finance
  • Math & Geometry
  • Physics & Engineering
  • Chemistry
  • Construction
  • Time & Date
  • Lifestyle & Daily Use
  • Business
  • Education & Learning

More Categories

  • Sports & Athletics
  • Real Estate
  • Ecommerce
  • Investment
  • Forex

Quick Links

  • Home
  • All Categories
  • Popular Calculators
  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Cookie Policy

© 2026 CalculateMax. All rights reserved. Free calculators for everyone.