Skip to content

Pythagorean Theorem Calculator

Enter two sides of a right triangle to find the third.

  • 100% Free
  • Instant Results
  • No Sign Up

Pythagorean Theorem Calculator

Solve a² + b² = c² for any side

Leave the side you want empty.

Hypotenuse c

5

a
3
b
4
c
5
Angle α (opposite a)
36.86989765°
Angle β (opposite b)
53.13010235°
Area
6
Perimeter
12

How it was calculated

  1. a² + b² = c²
  2. c = √(a² + b²) = √(3² + 4²) = √(9 + 16) = √25
  3. c = 5

More Math Calculators

View all calculators

Every calculator you need.

Free, fast, and easy to use.

Browse all 204 calculators
Calculators
204+
Free to use
100%
Results as you type
Instant

How the pythagorean theorem calculator works

In a 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².

To find the hypotenuse, c = √(a² + b²). To find a leg, a = √(c² - b²). When the answer isn't a whole number, it's also shown as a simplified square root, such as 5√2, which is the exact form most classes ask for.

Whole-number solutions like 3-4-5, 5-12-13 and 8-15-17 are called Pythagorean triples.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions