Pythagoras Triangle

Find the missing side of any right triangle using the Pythagorean theorem. Enter any two sides to instantly get the third side, area, and perimeter. Free online geometry calculator.

Calculate missing side

About This Calculator

The Pythagoras Triangle Calculator is a free online geometry tool that uses the Pythagorean theorem to find the missing side of any right triangle. This calculator is designed for students learning geometry, teachers preparing lesson materials, construction professionals verifying right-angle measurements, carpenters laying out square corners, and anyone who needs to quickly compute right triangle dimensions. The calculator supports three solving modes: find the hypotenuse (side c) from both legs (a and b), find leg a from the hypotenuse and leg b, or find leg b from the hypotenuse and leg a.

The calculator applies the Pythagorean theorem formula: c = sqrt(a^2 + b^2) when solving for the hypotenuse, and a = sqrt(c^2 - b^2) or b = sqrt(c^2 - a^2) when solving for a leg. It also validates that the hypotenuse is longer than either leg -- a fundamental property of right triangles. Along with the missing side length, the calculator displays all three side lengths, the area (A = 1/2 x a x b), and the perimeter (P = a + b + c). The results include a bar chart visualization of the three side lengths for easy comparison. For example, enter a = 3 and b = 4 to find hypotenuse c = 5, area = 6, and perimeter = 12.

The Pythagorean theorem is one of the most important and widely used geometric principles, dating back to ancient Babylonian mathematics around 1900-1600 BCE, though it is named after the Greek mathematician Pythagoras who provided one of the earliest known proofs. Today, it remains indispensable in fields ranging from architecture and engineering to computer graphics and GPS technology. The theorem is taught at all educational levels worldwide, from middle school math in India (CBSE, ICSE), the US (Common Core), and the UK (GCSE) to university-level mathematics.

Regional Notes

The Pythagorean theorem is a universal mathematical principle that applies worldwide regardless of measurement system. Our calculator accepts side lengths in any unit (meters, centimeters, inches, feet, yards, etc.) -- simply ensure all three sides are in the same unit for consistent results. Area is displayed in square units of the input unit, and perimeter in the same linear unit. Students in India (CBSE/ICSE curriculum), the United States (Common Core standards), and the United Kingdom (GCSE/National Curriculum) all encounter the Pythagorean theorem in middle and high school mathematics as part of geometry and mensuration chapters.

Frequently Asked Questions

How does the Pythagoras triangle calculator work?

The Pythagoras triangle calculator uses the Pythagorean theorem a^2 + b^2 = c^2 to find the missing side of any right triangle. If solving for the hypotenuse c, the formula is c = sqrt(a^2 + b^2). If solving for a missing leg, the formula is a = sqrt(c^2 - b^2) or b = sqrt(c^2 - a^2). Simply select which side you want to find, enter the two known side lengths, and click Calculate for instant results.

What is the Pythagorean theorem formula?

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides (legs). The formula is a^2 + b^2 = c^2, where c is the hypotenuse and a and b are the legs. This theorem is fundamental in geometry and is used extensively in construction, navigation, engineering, and everyday calculations.

Can I find any missing side of a right triangle?

Yes, the calculator can find any missing side of a right triangle as long as you provide the other two sides. To find the hypotenuse, enter the lengths of both legs (a and b). To find a missing leg, enter the hypotenuse and the other leg. The calculator also validates that the entered values satisfy triangle geometry rules, so if the hypotenuse is shorter than a leg, it will not compute an invalid result.

What are some real-world uses of the Pythagorean theorem?

The Pythagorean theorem is used in countless real-world applications. Carpenters use it to ensure corners are square by checking 3-4-5 triangles. Architects use it to calculate roof pitches and stair stringer lengths. Surveyors use it to measure distances across inaccessible terrain. In navigation, it helps calculate the shortest path between two points. In everyday life, you might use it to find the diagonal length of a TV screen or the height of a ladder needed to reach a window.

What is a 3-4-5 triangle and why is it special?

A 3-4-5 triangle is a right triangle with side lengths 3, 4, and 5 units. It is special because it is the smallest Pythagorean triple (a set of three positive integers that satisfy a^2 + b^2 = c^2 with 3^2 + 4^2 = 9 + 16 = 25 = 5^2). Because the side lengths are integers, a 3-4-5 triangle is commonly used in construction and carpentry to create perfect right angles. Carpenters often measure 3 feet along one side, 4 feet along the other, and check that the diagonal measures exactly 5 feet.

Does the Pythagorean theorem work for all triangles?

No, the Pythagorean theorem specifically applies only to right triangles (triangles with one 90-degree angle). For other triangles, the law of cosines c^2 = a^2 + b^2 - 2ab·cos(C) is the more general formula that works for acute and obtuse triangles as well. When angle C is 90 degrees, cos(C) = 0 and the law of cosines simplifies to the Pythagorean theorem, making it a special case of the law of cosines.

How do I calculate the area of a right triangle?

The area of a right triangle is calculated using the formula A = 1/2 x base x height, where the base and height are the two legs (the sides that form the right angle). Since the legs are perpendicular to each other, this formula is straightforward. For example, a 3-4-5 right triangle has an area of 1/2 x 3 x 4 = 6 square units. Our calculator automatically computes the area along with the missing side and perimeter.