Navigation
🏠 Home🧮 All Tools🔺 Pythagorean

Pythagorean Theorem Calculator

Enter any two sides of a right triangle (two legs, or one leg and the hypotenuse) to instantly find the missing side using the Pythagorean theorem.

🔺Enter your details
Missing Side—
Calculation—

What is a Pythagorean Theorem Calculator?

A Pythagorean Theorem Calculator solves for an unknown side length of a right triangle when the other two side lengths are known, using the fundamental geometric relationship between a right triangle's sides. This ancient mathematical principle, credited to the Greek mathematician Pythagoras, remains a cornerstone of geometry, trigonometry, construction, navigation, and countless practical measurement applications.

Formula Used

The Pythagorean theorem states a² + b² = c², where c represents the hypotenuse (the longest side, opposite the right angle) and a and b represent the two legs of the right triangle. Rearranged forms allow solving for any missing side: c = √(a² + b²) when finding the hypotenuse, or a = √(c² − b²) when finding a leg.

How to Use This Tool

Enter any two known side lengths of your right triangle (either both legs, or one leg and the hypotenuse), and the calculator returns the missing third side length, automatically applying the correct rearrangement of the formula based on which values you've provided.

Examples

Example 1: A right triangle with legs of 6 and 8 units has a hypotenuse of √(6² + 8²) = √(36+64) = √100 = 10 units.

Example 2: A right triangle with a hypotenuse of 13 units and one leg of 5 units has the other leg equal to √(13² − 5²) = √(169−25) = √144 = 12 units.

Frequently Asked Questions

Why does the Pythagorean theorem only work for right triangles?

The specific mathematical relationship between the squares of the sides depends entirely on the 90-degree angle's unique geometric properties; triangles without a right angle require different formulas, like the law of cosines, to relate their side lengths.

What are Pythagorean triples, and why are they useful?

Pythagorean triples are sets of three whole numbers that satisfy the theorem exactly (like 3-4-5 or 5-12-13), providing convenient reference examples for teaching and quick mental verification of right triangle relationships without needing a calculator for common cases.

How is the Pythagorean theorem used in construction to verify square corners?

Builders often use the 3-4-5 triangle method, measuring 3 units along one wall and 4 units along a perpendicular wall, then confirming the diagonal measures exactly 5 units to verify the corner forms a true 90-degree angle.

Can the Pythagorean theorem be used to calculate distance between two points on a graph?

Yes, the distance formula for two coordinate points is directly derived from the Pythagorean theorem, treating the horizontal and vertical differences between the points as the two legs of a right triangle and calculating the direct distance as the hypotenuse.

Why is the Pythagorean theorem considered one of the most important theorems in mathematics?

Its relationship extends far beyond simple triangle problems, forming the foundation for distance calculations in coordinate geometry, trigonometric identities, and even more advanced mathematical concepts in higher dimensions, making it a truly foundational building block across mathematics.

How is the Pythagorean theorem applied in real-world navigation and surveying?

Calculating the shortest direct distance between two locations when only the north-south and east-west distances are known relies directly on treating those two distances as the legs of a right triangle and applying the Pythagorean theorem to find the direct hypotenuse distance.

Does the Pythagorean theorem work in three dimensions as well as two?

A three-dimensional extension of the theorem exists (calculating diagonal distances through a rectangular box using all three dimensions), building on the same fundamental principle but incorporating an additional term for the third spatial dimension.

How can I verify whether three given side lengths actually form a valid right triangle?

Check whether the square of the longest side exactly equals the sum of the squares of the other two sides; if this equality holds true, the three lengths do form a genuine right triangle, and if not, they form some other type of triangle instead.

Who was Pythagoras, and did he actually discover this theorem?

While the theorem bears his name and is attributed to the ancient Greek mathematician Pythagoras and his followers, historical evidence suggests similar mathematical relationships were known and used by earlier civilizations, including ancient Babylon and India, well before Pythagoras's time.

How is the Pythagorean theorem used in television and computer screen sizing?

Since screens are measured diagonally, knowing a screen's width and height (the two legs) allows calculating its diagonal size using the Pythagorean theorem, or conversely, calculating width and height from a known diagonal and aspect ratio.

How is the Pythagorean theorem taught differently across grade levels?

Younger students typically learn the basic formula and simple whole-number examples, while more advanced students extend it into coordinate geometry, trigonometry, and proofs, building progressively more sophisticated applications of the same core relationship.

Is there more than one way to prove the Pythagorean theorem?

Yes, mathematicians have documented hundreds of distinct proofs over the centuries, ranging from simple visual rearrangement proofs to more advanced algebraic and geometric approaches, reflecting the theorem's enduring fascination across mathematical history.