Pythagorean Theorem Calculator
What is this Geometric Theorem?
This mathematical formula is one of the fundamental concepts in mathematics and geometry. This theorem establishes a relationship between the three sides of a right triangle (a triangle that has a 90-degree angle). You can use our calculator to solve right triangles instantly or view practical examples below.
Check the practical examples to better understand how to apply the geometric formula.
Pythagorean Formula: Complete Explanation
The geometric formula tells us that: "In a right triangle, the square of the hypotenuse equals the sum of the squares of the legs". Also known as the Pythagorean theorem equation, this equation is the basis of many calculations in geometry, physics, engineering, and architecture. Try the calculator to apply this formula to your own problems or practice with the available exercises.
Practical Examples: Real-World Cases
Below you will find various examples that illustrate how to use the geometric formula. Each example can be loaded directly into the calculator to see the complete step-by-step solution. Use the calculator to verify any of these examples or try your own values.
Example 1: Calculate the Hypotenuse
Data: a = 3 cm, b = 4 cm
Find: c (hypotenuse)
Solution: c = 5 cm
Example 2: Calculate a Leg
Data: b = 12 cm, c = 13 cm
Find: a (leg)
Solution: a = 5 cm
Example 3: Large Triangle
Data: a = 8 cm, b = 15 cm
Find: c (hypotenuse)
Solution: c = 17 cm
📊 Learn with Interactive Diagrams
Explore different visual representations of the theorem to better understand how it works Estos interactive diagrams te ayudarán a visualizar cómo funciona la geometric formula en diferentes contextos prácticos.
📐 3-4-5 Triangle (Classic)
The most famous right triangle in mathematics
🪜 5-meter Ladder
A ladder against a 4m high wall
🏠 Roof Ramp
Calculate the length of a construction ramp
⬜ Visual Proof
See how a² + b² = c² with real squares
💡 Click on examples to explore different diagrams
Geometry Exercises - Practice Section
Practice with these Pythagorean theorem exercises to improve your math skills. Each of these Pythagorean theorem problems will help you master this important formula. Use the calculator above to check your answers. You can also review our educational diagrams or return to the calculator.
Exercise 1
A triangle has legs a = 6 cm and b = 8 cm. What is the hypotenuse?
Exercise 2
If the hypotenuse measures 10 cm and one leg measures 6 cm, how long is the other leg?
Exercise 3
The legs of a right triangle measure 5 cm and 12 cm. Calculate the hypotenuse.
Exercise 4
A triangle has a hypotenuse of 25 cm and one leg of 7 cm. Find the missing leg.
Exercise 5
The legs measure 9 cm and 12 cm. What is the length of the hypotenuse?
Exercise 6
The hypotenuse is 20 cm and one leg is 16 cm. Calculate the other leg.
Learn with Interactive Diagrams
Visualize the theorem in different ways to understand it better
This mathematical formula is not just a mathematical formula, it's a visual relationship you can see and understand. Use these diagrams to understand how the theorem works in different contexts. After exploring these diagrams, you can practice with the calculator or solve the practical exercises.
📐 Standard Right Triangle
A right triangle has a 90° angle. Sides 'a' and 'b' are the legs, and 'c' is the hypotenuse (the longest side).
The hypotenuse is always opposite the right angle. The legs form the 90-degree angle. This is the basic case where the theorem applies.
📊 Visual Proof with Squares
This is the most famous visual demonstration of the theorem: build a square on each side of the triangle.
a² + b² = c²
The area of the blue square (a² = side × side) plus the area of the light blue square (b²) is exactly equal to the area of the golden square (c²). You can verify this by adding the areas!
🏠 Practical Application: The Ladder
Imagine you need a ladder to reach a window that is 4 meters high, and the base of the ladder is 3 meters from the wall.
Using the theorem: c² = 3² + 4² = 9 + 16 = 25, so c = 5 meters. You need a 5-meter ladder!
Why does it work?
The theorem works because the relationship between the areas of the squares built on the sides of a right triangle always holds. This geometric property was discovered more than 2,500 years ago and remains fundamental in mathematics, physics, and engineering.
💡 Practical Tip
When solving problems, always identify first which is the hypotenuse (the longest side, opposite the right angle). Then determine what value you're looking for and use the appropriate formula.
What is this Formula Used For?
Discover the multiple practical applications of this formula in real life. Use our calculator to solve real problems based on these scenarios.
Construction and Architecture
Architects use this geometric formula to ensure structures have perfect right angles and calculate distances in blueprints.
Navigation and GPS
Navigation systems use this theorem to calculate the shortest distance between two points on a map.
Computer Graphics
In programming and 3D design, it's used to calculate distances between pixels and create realistic animations.
Physics and Engineering
Essential for calculating forces, velocities, and trajectories in mechanics and applied physics problems.
Geometric Proof
There are many ways to prove this mathematical relationship. The best-known proof of this formula is the geometric one, which visually shows why the formula works.
Visual Proof
By constructing squares on each side of the right triangle, we can see that the area of the square on the hypotenuse (c²) is exactly equal to the sum of the areas of the squares on the legs (a² + b²).
❓ Frequently Asked Questions
Does the theorem work with all triangles?
No. The Pythagorean theorem ONLY works with right triangles (those that have a 90-degree angle). If the triangle doesn't have a right angle, you cannot use this formula.
Can I use decimals in the calculator?
Yes, the calculator accepts decimal numbers. You can enter values like 3.5, 12.75, or 0.8. Results will be shown with two decimal places of precision.
How do I know which side is the hypotenuse?
The hypotenuse is ALWAYS the longest side of the right triangle and is the side opposite the 90-degree angle. The other two sides are called legs.
What do I do if I get an error in the calculator?
The calculator requires exactly TWO values to work. If you enter fewer than two or all three values, it will show an error. Additionally, all values must be greater than zero.
Why don't my manual calculations match exactly?
Small differences are usually due to rounding. The calculator uses high precision internally and only rounds the final result. If you calculate manually with rounded decimals at each step, you may get a slightly different result.
Can I use different units for each side?
No. All sides must be in the same unit of measurement. If you have one side in meters and another in centimeters, you must convert them to the same unit first before using the calculator.