Pythagorean Theorem Calculator

Enter Any Two Sides

Leave one field empty to solve for the missing side. Side c is the hypotenuse (longest side).

Results

Side a
3
Side b
4
Side c (hypotenuse)
5
Area
6
Perimeter
12
Angle A (opposite a)
36.87°
Angle B (opposite b)
53.13°
Angle C (right angle)
90°

Triangle Diagram

Copied!

Understanding the Pythagorean Theorem

The Pythagorean theorem is one of the most fundamental relationships in mathematics. It states that in any right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c². This theorem, attributed to the ancient Greek mathematician Pythagoras, has been proven in hundreds of different ways and remains essential to geometry, trigonometry, and applied mathematics.

To find the hypotenuse when you know both legs, use c = √(a² + b²). To find a missing leg, rearrange to a = √(c² - b²). The classic 3-4-5 right triangle is the most well-known Pythagorean triple, but there are infinitely many integer solutions including 5-12-13, 8-15-17, and 7-24-25. Any multiple of a Pythagorean triple also satisfies the theorem, so 6-8-10 and 9-12-15 are valid as well.

Beyond pure mathematics, the Pythagorean theorem is used extensively in construction, navigation, physics, and computer graphics. Builders use the 3-4-5 rule to verify right angles. GPS systems calculate distances using extensions of this formula. Game developers compute distances between objects on screen. This calculator not only finds the missing side but also computes the triangle's area (A = ½ × a × b), perimeter, and both acute angles using inverse trigonometric functions, giving you a complete picture of the right triangle.

Formula

a² + b² = c²

Where:

Example Calculation

Scenario: A right triangle has legs of 6 and 8. Find the hypotenuse.

  • Step 1: c² = 6² + 8² = 36 + 64 = 100
  • Step 2: c = √100 = 10
  • Result: The hypotenuse is 10 (this is a 3-4-5 triple scaled by 2)

Frequently Asked Questions

Related Calculators

Standard Deviation Calculator Probability Calculator Quadratic Formula Calculator Triangle Calculator Slope Calculator Circle Calculator