❤ Want to see our calculators more often in Google? Add us as a trusted source:
The Pythagorean theorem is one of the most enduring relationships in geometry, and a Pythagorean theorem calculator turns that relationship into an instant, error-free result. Whether you need to find the hypotenuse of a right triangle, determine a missing leg, or verify that three given lengths actually form a right angle, the calculator handles the arithmetic so you can focus on the problem itself. This guide explains how the theorem works, how to use the calculator effectively, and where this ancient principle shows up in modern work.
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. Written as a formula, that is a² + b² = c², where c is always the hypotenuse and a and b are the legs. The relationship is exact, not approximate. If the two legs are 3 and 4, the hypotenuse is exactly 5, because 9 + 16 = 25.
The theorem only works for right triangles. For any other triangle, you would need the Law of Cosines or the Law of Sines. This is the single most important limitation to keep in mind: if the triangle does not contain a 90-degree angle, the Pythagorean theorem does not apply.
Historically, the relationship was known to Babylonian mathematicians more than a thousand years before Pythagoras, and it appeared independently in India and China[reference:0]. The name stuck because Pythagoras and his school formalized and proved it in the Greek tradition. What matters for practical use is not the history but the reliability: the formula holds for every right triangle, regardless of scale, unit system, or context.
A good Pythagorean theorem calculator offers more than a single answer. It should let you solve for any side, show the calculation steps, and handle both exact and decimal results. Here is how to get the most out of it.
First, identify what you know. You need the lengths of any two sides. If you know both legs, you are solving for the hypotenuse. If you know the hypotenuse and one leg, you are solving for the other leg. The calculator should have a mode selector for each case.
Second, enter your values in consistent units. If one side is in inches and the other in centimeters, convert first. The calculator cannot infer unit conversions, and mixing units is one of the most common sources of incorrect results.
Third, read the output carefully. A well-designed Pythagorean theorem calculator will return the exact answer in radical form when the result is irrational, alongside a rounded decimal approximation. For legs of 1 and 1, for example, the exact hypotenuse is √2, while the decimal approximation is 1.414214. Both are useful: the radical form is exact, and the decimal is practical for measurement.
The calculator handles two distinct scenarios, and mixing them up is the most common error students and professionals make.
When solving for the hypotenuse, you add the squares of the two legs and take the square root: c = √(a² + b²). This is the straightforward case. Legs of 6 and 8 give a hypotenuse of 10, because 36 + 64 = 100.
When solving for a missing leg, you subtract. If you know the hypotenuse and one leg, the missing leg is b = √(c² − a²). With a hypotenuse of 13 and a known leg of 5, the missing leg is √(169 − 25) = √144 = 12. A common mistake here is subtracting in the wrong order — writing a² − c² instead of c² − a² — which produces a negative number under the square root and an impossible answer[reference:1].
The calculator prevents this error by design, but understanding why the subtraction order matters is worth the thirty seconds it takes to absorb.
A Pythagorean triple is a set of three positive whole numbers that satisfies a² + b² = c² exactly, with no rounding. These triples are worth memorizing because they appear constantly in textbooks, exams, and real-world problems.
| Triple | Check | Common Multiples |
|---|---|---|
| 3-4-5 | 9 + 16 = 25 | 6-8-10, 9-12-15, 12-16-20 |
| 5-12-13 | 25 + 144 = 169 | 10-24-26, 15-36-39 |
| 7-24-25 | 49 + 576 = 625 | 14-48-50, 21-72-75 |
| 8-15-17 | 64 + 225 = 289 | 16-30-34, 24-45-51 |
| 9-40-41 | 81 + 1600 = 1681 | 18-80-82, 27-120-123 |
Multiples of a triple are also triples. If 3-4-5 works, then 6-8-10 works, because multiplying every side by the same factor preserves the relationship[reference:2]. Recognizing this pattern lets you solve problems mentally that would otherwise require a calculator.
The theorem is not an abstraction confined to classrooms. It shows up wherever right angles and distances intersect — which is to say, almost everywhere.
Builders use the 3-4-5 triangle to square corners. By measuring 3 units along one wall and 4 units along the perpendicular wall, they can verify that the diagonal between the two points is exactly 5 units. If it is, the corner is a true right angle. This technique, sometimes called the "3-4-5 method," has been used for millennia and remains standard practice[reference:3].
Pilots and ship navigators use the theorem to calculate the shortest path between two points when they know the north-south and east-west components of the journey. GPS systems rely on the same principle to compute distances from satellite coordinates[reference:4].
Determining the length of a rafter or the slope of a roof often reduces to finding the hypotenuse of a right triangle formed by the rise and the run. A date difference calculator is a different tool entirely, but the Pythagorean calculator is the one you need for roof pitch and rafter length.
Television and monitor sizes are quoted as the diagonal measurement. If a screen is 16 inches wide and 9 inches tall, the diagonal is √(256 + 81) = √337 ≈ 18.36 inches. This is why a 32-inch TV is not 32 inches wide — it is 32 inches corner-to-corner.
Even with a calculator, errors happen. Most of them fall into predictable categories.
The Pythagorean theorem states that in a right-angled triangle, the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The formula is a² + b² = c², where c is the hypotenuse and a and b are the legs.
Enter the lengths of any two sides of a right triangle into the calculator. It will instantly compute the length of the missing side. You can also use it to check whether three given sides form a right triangle by verifying if a² + b² equals c².
Pythagorean triples are sets of three positive whole numbers that satisfy the Pythagorean theorem exactly, with no rounding. Common examples include 3-4-5, 5-12-13, and 8-15-17. Multiples of these triples, such as 6-8-10 (2 × 3-4-5), are also Pythagorean triples.
No, the Pythagorean theorem applies only to right-angled triangles. For non-right triangles, you would need to use the Law of Cosines or the Law of Sines instead.
In a right triangle, the hypotenuse is the longest side and is always opposite the right angle. The other two sides, which form the right angle, are called the legs. The Pythagorean theorem relates the squares of the legs to the square of the hypotenuse.
The Pythagorean theorem is used in construction for ensuring square corners, in navigation for calculating distances, in architecture for determining roof slopes, and in computer graphics for calculating screen diagonals. It is also used in everyday tasks like finding the length of a ladder needed to reach a certain height.
The converse of the Pythagorean theorem states that if the square of the longest side of a triangle is equal to the sum of the squares of the other two sides, then the triangle is a right triangle. This is used to check whether a triangle is right-angled.
Yes, the Pythagorean theorem works with decimal values as well. When using a calculator, enter the decimal values directly. The result may be an irrational number, which the calculator will display in both exact radical form and a rounded decimal approximation.
The Pythagorean theorem calculator is a small tool for a fundamental relationship, but its usefulness extends far beyond homework. It brings the precision of algebra to the geometry of right angles, whether you are squaring a foundation, calculating a screen size, or checking a cut-off date for an exam. Use the Pythagorean theorem calculator on Calculator200 to solve for any missing side, verify triples, and see the steps behind every answer. The theorem has been correct for millennia; the calculator just makes it faster.