Math

Pythagorean Theorem Calculator

Find the hypotenuse of a right triangle from the two perpendicular side lengths.

Free online toolWorks in your browserNo sign-up required

Pythagorean Theorem Calculator

Explore this topic

Geometry & Triangles

Right triangles, areas, slopes, distances and common coordinate-geometry formulas.

Topic hub →

How to use this pythagorean theorem calculator

Enter the requested values above and select Calculate. The result updates immediately on the page, so you can change one value and compare different scenarios without leaving the calculator.

Formula and method

c = √(a² + b²).

Example

Sides 3 and 4 produce a hypotenuse of 5.

What this calculator is useful for

Find the hypotenuse of a right triangle from the two perpendicular side lengths. It is designed for quick estimates and everyday problem solving. When a calculation affects a contract, tax filing, medical decision or other high-stakes situation, verify the result with the appropriate professional or authoritative source.

Solve for a right-triangle hypotenuse

For perpendicular legs 5 and 12, the hypotenuse is √(5² + 12²) = √169 = 13. The hypotenuse is the longest side and sits opposite the 90-degree angle.

Do not misuse this formula: a² + b² = c² applies to a right triangle only. For an arbitrary triangle, use the law of cosines with the included angle instead.

Frequently asked questions

What does the Pythagorean Theorem Calculator calculate?

Find the hypotenuse of a right triangle from the two perpendicular side lengths.

How does the calculation work?

c = √(a² + b²).

Is this calculator free?

Yes. ERICH Calculators is free to use and no account is required.

Transparency

Method, assumptions & corrections

See how formulas, sources and limitations are handled across ERICH Calculators.