Back to calculators

Math

Pythagorean Theorem Calculator

Compute c using c = sqrt(a^2 + b^2) for right triangles.

How this calculator works

Find the hypotenuse of a right triangle from the two known legs.

Formula

c = sqrt(a^2 + b^2)

Step-by-step

  1. Enter leg a and leg b.
  2. Calculate to evaluate a^2 + b^2.
  3. Read the hypotenuse c.

Example

  • a = 6
  • b = 8

c = sqrt(36 + 64) = 10

FAQs

Does this work for any triangle?

No, this formula applies only to right triangles with one 90 degree angle.

Can inputs be decimals?

Yes, decimal side lengths are supported.

Related Math calculators