Calculator

What Is the Pythagorean Theorem? Meaning of a²+b²=c², Finding the Hypotenuse, and Famous Triples

The Pythagorean theorem is one of the most famous relationships in mathematics, linking the three sides of a right triangle. This article explains what it is, the meaning of a²+b²=c², how to find the hypotenuse and the remaining side, famous integer ratios like 3:4:5, practical uses such as the distance between two points, and the idea behind the proof.

Published: 2026-10-16

Do you remember solving a problem like "find the length of the hypotenuse of a right triangle" in school? What you used then was the Pythagorean theorem. It is the simple formula a²+b²=c², yet it is used not only in geometry but in everyday situations: distances on a map, the size label on a TV screen, and squaring up corners in construction. This article explains, step by step, what the Pythagorean theorem is, what the formula means, and how to use it.

What Is the Pythagorean Theorem

The Pythagorean theorem states that, in a right triangle, the square of the length of the hypotenuse equals the sum of the squares of the lengths of the other two sides. It is named after the ancient Greek mathematician Pythagoras, but it was actually known earlier in Babylonia and China as well, making it a law with a very long history.

A right triangle is a triangle in which one of the three angles is 90 degrees (a right angle). The two sides forming the right angle are the "legs," and the longest side, opposite the right angle, is called the hypotenuse. The Pythagorean theorem expresses an unshakable relationship that always holds among these three side lengths.

Because words alone can be hard to grasp, the quickest way to understand is to plug in actual side lengths and try a calculation. Enter the lengths of two sides into the Pythagorean Theorem Calculator and it will find the remaining side right away.

What a²+b²=c² Means

If the lengths of the two legs are a and b, and the length of the hypotenuse is c, the Pythagorean theorem is written as the following formula.

a² + b² = c²

What matters here is that this is a relationship between "the squares of the side lengths," not the side lengths themselves. A square corresponds to the area of a square with that side as one edge. In other words, the theorem can also be read as an area relationship: "adding the areas of the squares built on the two legs equals the area of the square built on the hypotenuse."

For example, consider a right triangle with a=3 and b=4. Then 3²+4²=9+16=25, which equals c². Since c is the square root of 25, c=5. Once the two legs are known, the hypotenuse is uniquely determined. Conversely, if the hypotenuse and one leg are known, you can find the remaining side using subtraction and a square root.

  • Left side (a²+b²): the sum of the squares of the two legs
  • Right side (c²): the square of the hypotenuse
  • This equation holds only when the angle is exactly 90 degrees

Finding the Hypotenuse and the Remaining Side

With the Pythagorean theorem, if you know two sides of a right triangle you can calculate the remaining one. How you use the formula changes slightly depending on whether the side you want is the hypotenuse.

1. Finding the hypotenuse c

When the two legs a and b are known, since c² = a² + b², take the square root of both sides and compute as follows.

c = √(a² + b²)

For example, if a=6 and b=8, then c=√(36+64)=√100=10.

2. Finding a leg

When the hypotenuse c and one leg a are known, rearrange to b² = c² − a² and compute as follows.

b = √(c² − a²)

For example, if c=13 and a=5, then b=√(169−25)=√144=12. Square roots are often hard to do by hand, so it is reassuring to check your work by entering the numbers into the Pythagorean Theorem Calculator. Note that side lengths are always positive, so the negative square-root solution is not used.

Famous Integer Ratios (Such as 3:4:5)

Combinations of side lengths that satisfy the Pythagorean theorem with all integers are called Pythagorean triples. Because the arithmetic divides out cleanly, they appear again and again in textbooks and in practice. Memorizing the common ones makes mental math and checking for right angles much easier.

Integer ratio (a:b:c)Check
3 : 4 : 59 + 16 = 25
5 : 12 : 1325 + 144 = 169
8 : 15 : 1764 + 225 = 289
7 : 24 : 2549 + 576 = 625

3:4:5 is the most famous and is actually used on construction and DIY sites to "square up a corner accurately." If you measure lumber or string so the three side lengths are in the ratio 3:4:5, you can create an exact right angle without any calculation. These ratios hold when scaled by any factor, so 6:8:10 and 9:12:15 also form right triangles.

Note that being merely "close" to these integer ratios does not make a right angle. Whether a²+b²=c² holds exactly is best confirmed by entering the actual numbers into the Pythagorean Theorem Calculator.

Practical Uses: Distance and Diagonals

The Pythagorean theorem is useful far beyond school geometry problems; it works in any situation that involves a length connected to a right angle. Let us look at some representative examples.

1. Distance between two points on a plane

When you want the straight-line distance between point A (x1, y1) and point B (x2, y2) on a map or graph, treat the horizontal difference and the vertical difference as the two legs; the distance is √((x2−x1)² + (y2−y1)²). This is exactly the Pythagorean theorem and is the true identity of the distance formula between two points.

2. Rectangle diagonals and screen sizes

For a rectangular TV or smartphone screen, if you know the width and height you can find the diagonal with the Pythagorean theorem. The "XX-inch" screen size refers to this diagonal length. Width and height are the two legs, and the diagonal is the hypotenuse. When you also want to work with a rectangle's area and dimensions, the Area Calculator is handy.

3. Heights and slope lengths

The height of a ladder leaning against a wall, the length of a slope, and the diagonal of a solid can all be found with the Pythagorean theorem once you break them into right triangles. For geometry problems where you want to check areas and side lengths together, combining it with the Area Calculator is efficient.

The Idea Behind the Proof

More than a hundred proofs of the Pythagorean theorem are known, but the most intuitive is the area-based proof. Here is just the flow of the idea, explained simply.

Inside a large square, arrange four copies of the same right triangle in different orientations so that a small square forms in the center. You can then express the area of the large square in two ways: by "side × side," and by "the area of the four triangles plus the area of the central square." Because it is the area of the same figure, these two expressions are equal.

As you simplify this equation, the extra terms cancel out, and in the end only the form a² + b² = c² remains. In other words, the heart of the proof is the idea of "expressing the same area in two ways and comparing them." If you draw the figure and write out the areas, you can see with your own eyes why the theorem holds.

The Pythagorean theorem is the most basic relationship connecting the three sides of a right triangle, and it is a powerful tool for solving real problems such as calculating distances and diagonals or checking right angles. Start by entering familiar numbers into the Pythagorean Theorem Calculator to feel how the hypotenuse is determined. When working with the dimensions of a whole figure, using it together with the Area Calculator will deepen your understanding.

Please note that this article is intended to provide general information. If you need accurate values for actual design, surveying, or study, please use it after checking the latest official information and textbooks, and professional sources where needed.

FAQ

What is the Pythagorean theorem?

The Pythagorean theorem states that, in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides (the legs). If the two legs are a and b and the hypotenuse is c, it is written as a²+b²=c².

What does a²+b²=c² mean?

The "square of each side length" corresponds to the area of a square with that side as one edge. So the formula expresses an area relationship: adding the areas of the squares built on the two legs equals the area of the square built on the hypotenuse. This equation holds only when the angle is exactly 90 degrees.

How do you find the length of the hypotenuse?

When the two legs a and b are known, since c²=a²+b², take the square root of both sides: c=√(a²+b²). For example, if a=3 and b=4, then c=√(9+16)=√25=5. Conversely, if the hypotenuse and one leg are known, find the remaining side with b=√(c²−a²).

Why is the 3:4:5 ratio used so often?

3:4:5 is the representative example of a "Pythagorean triple," where all three sides are integers and satisfy the theorem (9+16=25). Because it lets you create an exact right angle without calculation, it is actually used to square up corners in construction and DIY. It holds when scaled, so 6:8:10 and 9:12:15 also form right triangles.

Are the numbers I enter in the Pythagorean Theorem Calculator sent to a server?

WAZA TOOLS' Pythagorean Theorem Calculator runs entirely in your browser, so the numbers you enter are never sent to or stored on a server. It works on smartphones too, and you can calculate side lengths as many times as you like, for free.