Pythagoras Calculator
Solve right-angled triangles instantly. Find the missing side, hypotenuse, angles, area, and perimeter using the Pythagorean theorem with step-by-step solutions.
Right Triangle Solver
Enter any two sides to calculate the rest
Enter the length of the first leg (adjacent to the right angle)
Enter the length of the second leg (opposite to Side A)
Enter the length of the longest side (opposite the 90° angle)
View the complete step-by-step application of the Pythagorean theorem
Your Triangle Solution
Missing side, angles, area, and perimeter
Enter at least two sides of your right triangle and click Calculate Triangle to see the full solution.
Common Pythagorean Triples
Integer side lengths that perfectly form right-angled triangles.
| Triple Name | Side A | Side B | Hypotenuse (c) |
|---|---|---|---|
| Basic (3-4-5) | 3 | 4 | 5 |
| 5-12-13 | 5 | 12 | 13 |
| 8-15-17 | 8 | 15 | 17 |
| 7-24-25 | 7 | 24 | 25 |
| 9-40-41 | 9 | 40 | 41 |
| 20-21-29 | 20 | 21 | 29 |
| 12-35-37 | 12 | 35 | 37 |
| 11-60-61 | 11 | 60 | 61 |
Pythagoras Calculator FAQ
Everything you need to know about the Pythagorean theorem, right triangles, and how to use this calculator.
The Pythagorean theorem is a fundamental principle in geometry that describes the relationship between the three sides of a right-angled triangle. It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The formula is written as: a² + b² = c², where ‘c’ is the hypotenuse and ‘a’ and ‘b’ are the other two legs.
To calculate the hypotenuse (c) when you know the two legs (a and b), you use the formula c = √(a² + b²). First, square the length of both legs. Then, add those two squared values together. Finally, take the square root of that sum to find the length of the hypotenuse. For example, if a=3 and b=4, then c = √(9 + 16) = √25 = 5.
If you know the hypotenuse (c) and one leg (a), you can find the missing leg (b) by rearranging the Pythagorean theorem to: b = √(c² – a²). Square the hypotenuse, square the known leg, subtract the leg’s square from the hypotenuse’s square, and then take the square root of the result. This works because a² + b² = c² can be algebraically rearranged to b² = c² – a².
Pythagorean triples are sets of three positive integers (a, b, c) that perfectly satisfy the equation a² + b² = c². These represent the side lengths of a right triangle where all sides are whole numbers. The most famous and smallest triple is (3, 4, 5). Other common triples include (5, 12, 13), (8, 15, 17), and (7, 24, 25). Any multiple of a triple is also a triple, such as (6, 8, 10).
No, the Pythagorean theorem only applies to right-angled triangles (triangles with exactly one 90-degree angle). For non-right triangles, you must use other trigonometric laws, such as the Law of Cosines (c² = a² + b² – 2ab·cos(C)) or the Law of Sines, to find missing sides and angles.
In a right triangle, one angle is always 90°. To find the other two acute angles, you can use basic trigonometric ratios (SOH CAH TOA). If you know sides ‘a’ (opposite) and ‘c’ (hypotenuse), the angle opposite side ‘a’ is arcsin(a/c). If you know ‘b’ (adjacent) and ‘c’, it’s arccos(b/c). If you know ‘a’ and ‘b’, it’s arctan(a/b). The two acute angles will always add up to exactly 90°.
The area of a right triangle is calculated using the standard triangle area formula: Area = ½ × base × height. In a right triangle, the two legs (a and b) act as the base and the height because they meet at a 90-degree angle. Therefore, the formula simplifies to Area = ½ × a × b. You do not need the hypotenuse to calculate the area.
The Pythagorean theorem is used extensively in architecture and construction to ensure corners are perfectly square (the 3-4-5 rule). It is used in navigation to calculate the shortest distance between two points, in computer graphics for rendering 3D environments, in physics to resolve vector components, and in everyday tasks like determining the correct ladder length to reach a specific height on a wall.
