Skip to content
Math Calculators

Pythagorean Theorem Calculator

Verified formula Updated Jun 2026 Private — runs on your device

Enter details
Verified formula Private

Hypotenuse (c)

5.000000

Area of triangle
6.00
Perimeter
12.0000

For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.

How to use the Pythagorean Theorem Calculator

The Pythagorean Theorem Calculator works out your hypotenuse (c), along with 2 related figures in an instant. Enter leg a and leg b and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.

  1. Enter the leg a.
  2. Enter the leg b.
  3. Read off your hypotenuse (c), together with area of triangle and perimeter — the calculator updates automatically, with no button to press.

Formula

The Pythagorean Theorem Calculator uses the formula:

Hypotenuse (c) = √(Leg a ^ 2 + Leg b ^ 2)

Worked example

For example, with leg a of 3 and leg b of 4, the hypotenuse (c) is 5.000000.

Inputs used
Leg a 3
Leg b 4
Results
Hypotenuse (c) 5.000000
Area of triangle 6.00
Perimeter 12.0000

Results are estimates for educational use, not professional advice.

Key terms explained

Hypotenuse
The longest side of a right triangle, opposite the right angle.
Perimeter
The total distance around the outside of a two-dimensional shape.
Area
The amount of two-dimensional space a shape covers, measured in square units.

Frequently asked questions

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

The hypotenuse is the longest side of a right triangle, opposite the right angle. For legs 3 and 4, the hypotenuse is 5.

Yes. The Pythagorean theorem applies only to triangles that contain a 90-degree angle.

It is a set of three whole numbers that satisfy a² + b² = c², such as 3-4-5 and 5-12-13. These make right triangles with integer sides.

The Pythagorean Theorem Calculator uses the formula: Hypotenuse (c) = √(Leg a ^ 2 + Leg b ^ 2). For example, with leg a of 3 and leg b of 4, the hypotenuse (c) is 5.000000.

Enter the leg a. Enter the leg b. Read off your hypotenuse (c), together with area of triangle and perimeter — the calculator updates automatically, with no button to press.

Related calculators