← All calculators / Geometry

Pythagorean theorem calculator

Calculate pythagorean theorem with a clear formula and example.

01 / Your inputsBrowser-only calculation
Hypotenuse
—
How it works

The formula

√(first leg² + second leg²)

Worked example

A right triangle with legs 3 and 4 has a hypotenuse of 5.

What the Pythagorean theorem calculator works out

The Pythagorean theorem calculator turns the figures below into hypotenuse, using the formula √(first leg² + second leg²).

What each field means

First leg
A number; the example uses 3.
Second leg
A number; the example uses 4.

A worked example

With the values this page opens on — First leg 3, Second leg 4 — the answer is 5. Reset restores exactly these numbers.

Reading the result

The result is labelled hypotenuse. It is recalculated on every keystroke from the unrounded values in the form, and the accompanying graph follows the same numbers.

Your privacy

Nothing you type leaves your browser.

Related calculators

Volume ↗ · Surface area ↗ · Right triangle ↗ · Circle area ↗