Categories
Pages
π

Pythagorean Theorem

Calculate the hypotenuse or any side of a right triangle using a² + b² = c². Shows step-by-step

LIVE
395
Uses
1
Select typeChoose conversion direction
2
Enter amountType the value to convert
3
Get resultsSee live conversion rates
SOLVE FOR
:
SIDE A
:
SIDE B
:
HYPOTENUSE C
:

Copy the code below to embed this calculator on your website:

<iframe src="https://calculatorcafe.com/widget/pythagorean-theorem/" width="100%" height="500" frameborder="0" style="border:1px solid #e2e8f0;border-radius:12px"></iframe>

Free to use · Links back to CalculatorCafe

What Is the Pythagorean Theorem?

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides. Written as the formula a squared plus b squared equals c squared (a² + b² = c²), it is one of the most fundamental relationships in mathematics. If the two shorter sides of a right triangle measure 3 and 4, the hypotenuse is 5 because 9 + 16 = 25, and the square root of 25 is 5. Enter any two sides in the calculator above and it finds the third side instantly.

How to Use the Pythagorean Theorem?

To find the hypotenuse when you know both legs: square each leg, add the results, and take the square root. Legs of 5 and 12: 25 + 144 = 169, square root of 169 = 13. To find a leg when you know the hypotenuse and the other leg: square the hypotenuse, subtract the square of the known leg, and take the square root. Hypotenuse 13 and one leg 5: 169 - 25 = 144, square root of 144 = 12. The formula works in both directions, always solving for whichever side is unknown.

Common Pythagorean Triples

A Pythagorean triple is a set of three whole numbers that satisfy the theorem. The most famous triple is 3-4-5. Other common triples include 5-12-13, 8-15-17, 7-24-25, and 9-40-41. Any multiple of a triple is also a triple: 3-4-5 scales to 6-8-10, 9-12-15, and 30-40-50. Memorizing the basic triples speeds up mental calculations and helps identify right triangles quickly. Construction workers use the 3-4-5 rule to verify 90-degree corners: measure 3 feet along one wall, 4 feet along the other, and the diagonal should be exactly 5 feet if the corner is square.

Real-World Applications

Construction crews check right angles using the 3-4-5 method on every building site. Navigation systems calculate straight-line distances between two points using the theorem on coordinate grids. Television and monitor sizes are measured diagonally using the Pythagorean theorem (a 16:9 TV with 40-inch width has a diagonal of about 46 inches). Ladder safety regulations use it to determine how far from a wall to place the base. Surveyors calculate distances across obstacles. Pilots calculate flight paths. Architects determine roof rafter lengths. The theorem transforms two known measurements into a third, which is useful in any situation involving right angles and distances.

Distance Formula and Coordinate Geometry

The Pythagorean theorem extends directly to the coordinate plane. The distance between two points (x1, y1) and (x2, y2) equals the square root of (x2 - x1) squared plus (y2 - y1) squared. This is the distance formula taught in algebra, and it is simply the Pythagorean theorem applied to the horizontal and vertical differences between two coordinates. GPS systems use this principle (extended to three dimensions and adjusted for Earth's curvature) to calculate distances between locations.

Proof of the Pythagorean Theorem

Over 400 different proofs of the Pythagorean theorem exist, making it one of the most proven statements in all of mathematics. The simplest visual proof arranges four copies of the same right triangle inside a large square, showing that the areas of the squares on each side add up correctly. President James Garfield published an original proof using a trapezoid in 1876. Ancient Babylonians knew Pythagorean triples over 1,000 years before Pythagoras, though the Greek mathematician is credited with the first general proof. The theorem has been independently discovered by mathematicians in China, India, and the Middle East, reflecting its universal importance.

When Does the Pythagorean Theorem Not Work?

The theorem applies only to right triangles (those with one 90-degree angle). For triangles without a right angle, use the law of cosines: c² = a² + b² - 2ab cos(C), where C is the angle between sides a and b. When C is exactly 90 degrees, cos(90) = 0, and the formula reduces to the Pythagorean theorem. For obtuse triangles (angle greater than 90 degrees), c² is greater than a² + b². For acute triangles (all angles less than 90 degrees), c² is less than a² + b². This comparison also provides a quick way to test whether a triangle is right, obtuse, or acute without measuring angles directly.

Frequently asked questions

What is the Pythagorean theorem formula?
a² + b² = c², where a and b are the two shorter sides (legs) and c is the hypotenuse (longest side opposite the right angle).
How do I find the hypotenuse?
Square both legs, add them together, and take the square root. Example: legs 3 and 4, hypotenuse = sqrt(9+16) = sqrt(25) = 5.
What is a Pythagorean triple?
Three whole numbers satisfying a² + b² = c². Common triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25.
Does it only work for right triangles?
Yes. The Pythagorean theorem applies only to triangles with one 90-degree angle. For other triangles, use the law of cosines.
How is this used in construction?
Workers verify 90-degree corners using the 3-4-5 rule. Measure 3 feet on one wall, 4 on the other. If the diagonal is 5, the corner is square.
What is the distance formula?
The Pythagorean theorem on a coordinate plane: distance = sqrt((x2-x1)² + (y2-y1)²). It calculates straight-line distance between two points.
USER RATINGS

Rate This Calculator

Your feedback helps us improve our tools