Calculate Right Triangle
Pythagorean Theorem
a² + b² = c²
Enter any two values to find the third:
Results
Choose what to find and enter values
Solved Formula
-
Side a
-
Side b
-
Hypotenuse (c)
-
Area
-
Perimeter
-
Angle A
-
Angle B
-
Understanding the Pythagorean Theorem
The Pythagorean theorem is one of the most famous and useful formulas in all of mathematics. Discovered by the ancient Greek mathematician Pythagoras around 500 BC, this elegant relationship states that in any right triangle, the square of the hypotenuse (the longest side opposite the right angle) equals the sum of squares of the other two sides. Expressed as a² + b² = c², this simple equation has profound implications across mathematics, physics, engineering, and countless real-world applications.
What makes the Pythagorean theorem remarkable is its simplicity combined with its power. It provides a direct relationship between the three sides of a right triangle without requiring knowledge of any angles (except the right angle itself). This makes it incredibly practical for construction, navigation, computer graphics, and any situation involving distances and right angles. The theorem works for all right triangles regardless of size, making it a universal mathematical truth.
Historical Significance
While named after Pythagoras, evidence suggests that Babylonian and Indian mathematicians knew this relationship centuries earlier. The Babylonians used Pythagorean triples (whole number solutions like 3-4-5) as early as 1800 BC. However, Pythagoras and his followers were likely the first to provide a formal mathematical proof. Throughout history, over 400 different proofs have been discovered, including one by U.S. President James Garfield. This abundance of proofs demonstrates the theorem's central importance in mathematics.
Common Applications
Construction and carpentry: Builders use the 3-4-5 triangle rule to ensure corners are perfectly square. Measuring 3 feet along one wall, 4 feet along another, and verifying the diagonal is 5 feet guarantees a 90-degree angle.
Navigation and distance: GPS systems, pilots, and sailors use the Pythagorean theorem to calculate straight-line distances when they have north-south and east-west components. It's fundamental to coordinate geometry and mapping.
Computer graphics and gaming: Calculating distances between points in 2D and 3D space (extended to √(x² + y² + z²)) is essential for rendering graphics, detecting collisions, and creating realistic physics simulations.
Architecture and engineering: Determining diagonal bracing lengths, calculating ramp slopes, designing roof structures, and analyzing force vectors all rely on the Pythagorean theorem.
Pythagorean Triples
Pythagorean triples are sets of three positive integers that satisfy the equation a² + b² = c². The most famous is 3-4-5, but there are infinitely many. Common triples include 5-12-13, 8-15-17, and 7-24-25. Any multiple of a Pythagorean triple is also a triple, so 6-8-10 (double of 3-4-5) and 9-12-15 (triple of 3-4-5) also work. These integer solutions are particularly useful in construction and design where whole number measurements are preferred.
The Formula:
a² + b² = c²
Where a and b are the legs (sides forming the right angle) and c is the hypotenuse (longest side)
Common Mistakes
- Confusing which side is the hypotenuse: Always remember c (the hypotenuse) is the longest side, opposite the right angle. It's never one of the sides forming the right angle.
- Forgetting to take the square root: After calculating c² = a² + b², remember to take √(a² + b²) to find c itself, not leave it as c².
- Using it for non-right triangles: The Pythagorean theorem ONLY works for right triangles (triangles with one 90° angle). For other triangles, use the Law of Cosines.
- Unit inconsistency: All sides must use the same units. Don't mix feet and meters, or inches and centimeters.
Frequently Asked Questions
What is the Pythagorean theorem used for?
The Pythagorean theorem calculates the length of any side of a right triangle when you know the other two sides. It's used in construction, navigation, computer graphics, physics, and anywhere distances or right angles are involved.
Does it only work for right triangles?
Yes, the Pythagorean theorem only applies to right triangles (triangles with one 90° angle). For other triangle types, you need different formulas like the Law of Cosines.
What are Pythagorean triples?
Pythagorean triples are sets of three whole numbers that satisfy a² + b² = c². The most common is 3-4-5. Others include 5-12-13, 8-15-17, and 7-24-25. Any multiple of a triple also works (like 6-8-10).
Which side is the hypotenuse?
The hypotenuse (c) is always the longest side of a right triangle, opposite the right angle. The other two sides (a and b) are called legs and form the right angle.
Can I use this calculator for 3D distances?
This calculator works for 2D right triangles. For 3D distances, use the extended formula: distance = √(x² + y² + z²), which applies the Pythagorean theorem in three dimensions.