Pythagorean Theorem Calculator

Right Triangle

Solve for
Equation: a² + b² = c²

Solution

✓ Pythagorean triple — all three sides are integers satisfying a² + b² = c².

Sides & metrics

Side c
5
a (leg)
3
b (leg)
4
c (hypotenuse)
5
Area (½·a·b)
6
Perimeter (a + b + c)
12
∠A (opposite a)
36.87°
∠B (opposite b)
53.13°
Triangle
a = 3b = 4c = 5

Show your work

Given
  • a² + b² = c²solve for c
  1. Substitute legs
    c² = 3² + 4²
    = c² = 9 + 16 = 25
  2. Area = ½ · a · b
    ½ · 3 · 4
    = 6
  3. Perimeter = a + b + c
    3 + 4 + 5
    = 12
  4. Angle A (opposite a) via arctan(a/b)
    ∠A = arctan(3 / 4) = arctan(0.75)
    = 36.87°
  5. Angle B (opposite b) via arctan(b/a)
    ∠B = arctan(4 / 3) = arctan(1.3333)
    = 53.13° (check: ∠A + ∠B = 90°, remaining angle = 90°)
Take the square root
5
c = √25

The Pythagorean theorem in one line

For any right triangle with legs a and b and hypotenuse c (the side opposite the right angle):

a² + b² = c²

Rearranged, that lets you solve for any missing side:
c = √(a² + b²)
a = √(c² − b²)
b = √(c² − a²)

Pythagorean triples — integer solutions to a² + b² = c²

A Pythagorean triple is a set of three positive integers that fit a² + b² = c² exactly. The most famous: 3-4-5. Any multiple (6-8-10, 9-12-15, 15-20-25, …) is also a triple. The calculator marks these automatically.

Classic primitive triples (not multiples of smaller ones):

If your inputs are close to a triple (say, 3.1 and 4), the calculator will point you at 3-4-5 so you can double-check your measurements.

What else this calculator gives you

Real-world uses

Common mistakes to avoid