Pythagorean Theorem Calculator

Pythagorean Theorem Calculator

Solve for any side of a right triangle with the classic a^2 + b^2 = c^2 relationship.

Last updated: March 2026 | By ForgeCalc Engineering

Pythagorean Theorem Solver

Triangle side

Calculation Steps

1.c = sqrt(a^2 + b^2)
2.c = sqrt(3^2 + 4^2)
3.c = 5
Solved Side
5

a^2 + b^2 = c^2

What the Pythagorean Theorem Means

The theorem states that in a right triangle the square of the hypotenuse equals the sum of the squares of the other two sides.

How to Use the Pythagorean Formula

  1. Leave one side blank.
  2. Enter the two known side lengths.
  3. Apply the correct rearranged formula.
  4. Read the solved value from the result panel.
a^2 + b^2 = c^2

Worked Example

Example: a = 3 and b = 4 gives c = 5.

sqrt(3^2 + 4^2) = 5

Frequently Asked Questions

Which side is the hypotenuse?

The hypotenuse is the longest side, opposite the right angle.

Can this solve for a or b?

Yes. Leave either a or b blank to solve for that leg.

Does this accept decimals?

Yes. Any positive finite values are accepted.

What if the hypotenuse is too small?

The triangle is invalid if the hypotenuse is not larger than the other side.

Related Tools