Pythagorean Calculator

Pythagorean Calculator

Solve for any side of a right triangle using the Pythagorean theorem.

Last updated: March 2026 | By ForgeCalc Engineering

Pythagorean Solver

Right triangle
Please enter two positive values.
Solved Side
Invalid Input

Please enter two positive values.

What the Pythagorean Theorem Means

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. Choose whether you want to solve for a, b, or c.
  2. Enter the two known side lengths.
  3. Apply the correct rearranged formula.
  4. Read the solved side from the result panel.
c = sqrt(a^2 + b^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. Switch the mode to solve for either leg.

Does this accept decimals?

Yes. Any positive finite values are accepted.

What if the hypotenuse is not larger?

The calculation is invalid because the triangle would not be right-angled.

Related Tools