Skip to content
FiftyCalc Free calculators for all 50 states

Pythagorean Theorem Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Find the missing side of a right triangle, then its area, perimeter and acute angles.

Result

Sample figures

Missing side—

Area (square units) —

  • Perimeter—
  • Angle opposite a (degrees)—
  • Angle opposite b (degrees)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Pythagorean Theorem Calculator

Find: choose Hypotenuse c (from legs a and b) or Leg b (from leg a and hypotenuse c). Prefilled example: Hypotenuse c (from legs a and b).

Leg a: enter 0 or more. Prefilled example: 3.

Leg b (when finding c): enter 0 or more. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Find: choose Hypotenuse c (from legs a and b) or Leg b (from leg a and hypotenuse c).
  2. Leg a: enter 0 or more.
  3. Leg b (when finding c): enter 0 or more.
  4. Hypotenuse c (when finding b): enter 0 or more.
  5. Read the result: Missing side; the panel also shows Area (square units), Perimeter, Angle opposite a (degrees) and Angle opposite b (degrees).

How this calculator works

In a right triangle, a² + b² = c², where c is the side opposite the right angle. So c = √(a² + b²) and b = √(c² − a²).

Area = a × b ÷ 2; the angle opposite a = arcsin(a ÷ c). A leg longer than the hypotenuse is impossible and shows a dash.

The formula

  1. S={a2+b2if m=1c2−a2otherwise
Symbols used in the formula
SymbolMeaning
mFind (1: Hypotenuse c (from legs a and b); 2: Leg b (from leg a and hypotenuse c))
aLeg a
bLeg b (when finding c)
cHypotenuse c (when finding b)
SMissing side

Worked example

FindHypotenuse c (from legs a and b)
Leg a3
Leg b (when finding c)4
Area (square units)6
Perimeter12
Angle opposite a (degrees)36.8699
Angle opposite b (degrees)53.1301
  1. S=32+42=5

Missing side 5

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the Pythagorean theorem?

In any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c².

What is a 3-4-5 triangle?

A right triangle with legs 3 and 4 and hypotenuse 5, since 9 + 16 = 25. Builders use it to check square corners.

Questions answered

Related calculators