Skip to main content

Pythagorean Theorem Calculator

Apply the Pythagorean theorem (a² + b² = c²) to find the hypotenuse or verify if three sides form a right triangle.

Advertisement

Length of side a.

Length of side b.

AI Math Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

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

Scenario

A 55-inch TV with 16:9 aspect ratio — find width and height.

Result

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