AI Math Assistant
BetaAsk questions about your calculation results
3 free questions per session
AI provides general assistance. Always verify important calculations.
About This Calculator
The Pythagorean theorem states that in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. This calculator solves for any missing side when you know the other two, and verifies whether three given lengths can form a right triangle. Construction workers use this theorem daily to ensure walls are perfectly square by checking 3-4-5 measurements at corners.
Quick Tips
- 1 The theorem only works for right triangles — verify the 90-degree angle first.
- 2 Multiply any Pythagorean triple by a constant to get another valid triple.
- 3 You can find a missing leg: a = sqrt(c^2 - b^2), not just the hypotenuse.
Example Calculation
A 55-inch TV with 16:9 aspect ratio — find width and height.
Width: 47.94 in | Height: 26.97 in | Verified: 47.94^2 + 26.97^2 = 55^2
The Pythagorean Theorem
The Pythagorean theorem states that in a right triangle, a² + b² = c², where c is the hypotenuse. This 2,500-year-old theorem, attributed to the Greek mathematician Pythagoras, is one of the most proven theorems in mathematics with over 400 known proofs.
How to Use the Theorem
To find the hypotenuse: c = √(a² + b²). To find a missing leg: a = √(c² - b²). Enter the two known sides and the calculator computes the third. For example, with sides 3 and 4: c = √(9 + 16) = √25 = 5.
Verifying Right Triangles
To check if a triangle is a right triangle, test whether a² + b² = c² (using the longest side as c). If equal, it is a right triangle. If a² + b² > c², it is acute. If a² + b² < c², it is obtuse. This calculator verifies automatically.
Beyond Two Dimensions
The Pythagorean theorem extends to 3D: d = √(a² + b² + c²) gives the space diagonal of a rectangular prism. It also generalizes to n dimensions. In its most general form, it underlies the distance formula and the concept of Euclidean distance.
Frequently Asked Questions
No, it only applies to right triangles (those with a 90° angle). For other triangles, use the law of cosines: c² = a² + b² - 2ab×cos(C), which generalizes the Pythagorean theorem.
The most common are (3,4,5), (5,12,13), (8,15,17), (7,24,25), and (9,40,41). Multiples of these also work: (6,8,10), (15,36,39), etc.
Pythagoras was a Greek philosopher and mathematician (c. 570-495 BC). While the theorem bears his name, the relationship was known to Babylonians and Indians centuries earlier. His school formalized the proof.
Construction workers use it to ensure right angles (3-4-5 method). It is used in navigation (shortest distance), screen size measurement (diagonal), GPS calculations, and any situation requiring distance between two points.