Math & Science

Pythagorean Theorem Calculator

Solve for legs (a, b) or hypotenuse (c) in any right triangle with step-by-step arithmetic, interior angles, perimeter, and area.

Reviewed for Mathematical Accuracy Last updated: 2026
Common Triples:
Calculated Hypotenuse (c)
5.00
c = √(3² + 4²) = 5
Angle α (opposite leg a)36.87° (0.643 rad)
Angle β (opposite leg b)53.13° (0.927 rad)
Right Angle γ90.00°
Triangle Area6.00
Perimeter (a + b + c)12.00
Step-by-Step Derivation:
1. Formula: c² = a² + b²
2. Substitute: c² = 3² + 4² = 9 + 16 = 25
3. Solve: c = √25 = 5

Understanding the Pythagorean Theorem

Named after the ancient Greek mathematician Pythagoras, the theorem establishes a fundamental relationship among the three sides of any right triangle. It states that the square of the hypotenuse is equal to the sum of the squares of the other two sides:

a² + b² = c²

From this core theorem, the three variable expressions can be derived:

Trigonometric Angles and Properties

Using basic trigonometry, the acute angles in a right triangle can be directly determined from its side lengths:

Frequently Asked Questions

What is the formula for the Pythagorean theorem?

The theorem states that in a right-angled triangle, a² + b² = c², where a and b are the lengths of the two legs and c is the hypotenuse opposite the right angle.

Can you use the Pythagorean theorem for any triangle?

No. The Pythagorean theorem only applies strictly to right-angled triangles containing one 90-degree angle. For non-right triangles, the Law of Cosines is used.

What are common Pythagorean triples?

Common positive integer triples (a, b, c) include (3, 4, 5), (5, 12, 13), (8, 15, 17), and (7, 24, 25).

Why must the hypotenuse c be greater than legs a and b?

The hypotenuse is opposite the largest interior angle (the 90° right angle). In Euclidean geometry, the side opposite a larger angle must always be strictly longer than sides opposite smaller angles.

What is a Pythagorean triple?

A Pythagorean triple consists of three positive integers (a, b, c) that satisfy the equation a² + b² = c². The most famous example is (3, 4, 5) because 3² (9) + 4² (16) = 5² (25).