Right triangle diagram showing the Pythagorean theorem relationship between the legs and hypotenuse

Pythagorean Theorem: Formula, Examples, and Uses

Learn how the Pythagorean theorem works, when to use it, and how it connects right triangles, distance, and real-world measurement.

The Pythagorean theorem is one of the first formulas that makes geometry feel useful outside a worksheet. It connects the three sides of a right triangle with one simple relationship: if you know two side lengths, you can often find the third. That makes it a practical tool for measuring diagonals, checking square corners, finding distances on a coordinate grid, and understanding why right triangles show up in so many real problems.

What the Pythagorean Theorem Says

The Pythagorean theorem applies only to right triangles, which are triangles with one angle measuring exactly $90^circ$. The two sides that meet at the right angle are called the legs. The side across from the right angle is the hypotenuse, and it is always the longest side of the triangle.

If the legs have lengths $a$ and $b$, and the hypotenuse has length $c$, the theorem says:

Pythagorean theorem formula a squared plus b squared equals c squared

In words, the square built on the hypotenuse has the same area as the two squares built on the legs combined. That area idea is why the formula uses squares instead of simply adding side lengths. A triangle with legs of 3 and 4 does not have a hypotenuse of 7; it has a hypotenuse of 5 because $3^2 + 4^2 = 5^2$.

A Worked Example

Suppose a right triangle has legs measuring $3$ units and $4$ units. To find the hypotenuse, start with the formula and substitute the two known side lengths:

Pythagorean theorem setup for legs of 3 and 4
Substituting 3 and 4 into the Pythagorean theorem

Now square the known side lengths and add them:

Three squared plus four squared equals twenty five

The last step is to take the square root, because $c^2 = 25$ means $c = 5$:

The hypotenuse equals five after taking the square root

So the hypotenuse is $5$ units long. The same process works when one leg and the hypotenuse are known, but the algebra changes slightly. For example, if $c = 13$ and one leg is $5$, then $5^2 + b^2 = 13^2$, so $b^2 = 169 – 25 = 144$ and $b = 12$.

Why the Formula Is True

One of the clearest proofs uses area. Imagine a large square with side length $(a + b)$. Inside it, four identical right triangles can be arranged so their hypotenuses form a smaller tilted square in the center. The large square has area $(a + b)^2$.

Area expression for a square with side length a plus b

Each of the four right triangles has area $frac{1}{2}ab$, so all four together have area $2ab$:

Total area of four right triangles equals two ab

The remaining center square has side length $c$, so its area is $c^2$:

Area of the inner square equals c squared

Because the large square is made from the four triangles plus the center square, its area can also be written as:

Area equation showing the large square equals four triangles plus c squared

Expanding $(a + b)^2$ gives $a^2 + 2ab + b^2$. Once the $2ab$ from the triangles is removed from both sides, what remains is the Pythagorean theorem:

Final simplified Pythagorean theorem equation

Where the Theorem Shows Up

The theorem is useful whenever a right angle turns two measurements into a third one. In coordinate geometry, the horizontal and vertical changes between two points act like the legs of a right triangle, while the straight-line distance between the points acts like the hypotenuse. That is the idea behind the distance formula:

Distance formula derived from the Pythagorean theorem

Builders also use the theorem to check whether corners are square. A common field version is the 3-4-5 check: if one side from a corner measures 3 units, the other side measures 4 units, and the diagonal between them measures 5 units, the angle is a right angle. The same logic helps with ramps, ladders, roof framing, screen sizes, map distances, and computer graphics.

Pythagorean Triples and the Converse

A Pythagorean triple is a set of three whole numbers that satisfies $a^2 + b^2 = c^2$. The most familiar triple is $(3, 4, 5)$, but other common examples include $(5, 12, 13)$, $(7, 24, 25)$, and $(8, 15, 17)$. These are helpful because they make right-triangle problems come out cleanly without decimals.

The converse of the theorem is just as useful: if the squares of the two shorter sides add up to the square of the longest side, then the triangle is a right triangle. For a triangle with sides $6$, $8$, and $10$, the check works because:

Checking that six eight ten is a right triangle

Since the equation is true, the triangle is right. If the numbers do not balance, the triangle is not a right triangle, even if it looks close in a drawing.

Common Mistakes to Avoid

  • Using the theorem on the wrong triangle: The formula works only for right triangles. If there is no $90^circ$ angle, use a different method.
  • Choosing the wrong side for $c$: The hypotenuse is always opposite the right angle. It is not simply whichever side is written last in the problem.
  • Forgetting to square the side lengths: The formula compares square areas, so $a$, $b$, and $c$ must be squared before they are combined.
  • Forgetting the final square root: Solving for $c^2$ is not the same as solving for $c$. If $c^2 = 169$, then $c = 13$.

The Pythagorean theorem is powerful because it turns a visual fact about right triangles into a reliable calculation. Once the hypotenuse is identified and the squares are handled carefully, the formula becomes a bridge between geometry, measurement, and everyday distance. It is a small equation with a long reach.

Have any questions or need more information on the topics covered? Get quick answers, further details, or clarifications by chatting with our AI assistant, Novo, at the bottom right corner of the page.

Akshay Dinesh

As a student, I am dedicated to writing articles that educate and inspire others. My interests span a wide range of topics, and I strive to provide valuable insights through my work. If you have any questions or would like to reach out, feel free to contact me at akshay[at]novolearner.com

Add comment

πŸ“˜ Free Tutoring – By Students, For Students

πŸŽ“ Get completely free, personalized tutoring from high school and college students who understand what it’s like to be a learner today.

Just tell us your grade and subject(s) - we’ll follow up within 24 hours with your class info.

πŸ‘‰ Book your free class here

Like what we do?

Consider donating to us. Running a free educational website has its costs. We never charge our users a fee to access our content. However, we still have to foot our bills. Please help us do more. Any amount is appreciated.

Your Support Matters

We noticed you're using an ad blocker. Our website depends on ad revenue to keep our content free and accessible to everyone. Please consider disabling your ad blocker to support us and help us continue providing valuable content.

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement

πŸ“˜ Free Tutoring – By Students, For Students

πŸŽ“ Get completely free, personalized tutoring from high school and college students who understand what it’s like to be a learner today.

Just tell us your grade and subject(s) - we’ll follow up within 24 hours with your class info.

πŸ‘‰ Book your free class here

Like what we do?

Consider donating to us. Running a free educational website has its costs. We never charge our users a fee to access our content. However, we still have to foot our bills. Please help us do more. Any amount is appreciated.

Your Support Matters

We noticed you're using an ad blocker. Our website depends on ad revenue to keep our content free and accessible to everyone. Please consider disabling your ad blocker to support us and help us continue providing valuable content.

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement