Pythagorean Theorem Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Math & Scientific›Pythagorean Theorem Calculator
Math & Scientific

Pythagorean Theorem Calculator

Find the hypotenuse, area and perimeter of a right triangle from two perpendicular legs.

✦ INSTANT CALCULATION

Pythagorean Theorem Calculator

YOUR RESULT
—

ⓘ Calculated locally in your browser. Results depend on the values and units you enter.

Interactive mathematical graph

The axes, points and dimensions are recalculated from the values you enter.

How this calculator works

In a right triangle the hypotenuse c satisfies c² = a² + b². Enter the lengths of the two sides meeting at the right angle. The calculator also provides the right-triangle area (a × b / 2) and perimeter (a + b + c). All lengths should use the same measurement unit.

Formula and reasoning

c = √(a² + b²)

  1. 1. Start with the measurements
    First perpendicular leg (a)3Second perpendicular leg (b)4
  2. 2. Substitute into the formula

    √(3² + 4²)

  3. 3. Check the computed answer

    Hypotenuse5

abc
Schematic only · not to scale

Worked example

A triangle with perpendicular legs 3 and 4 has a hypotenuse of 5, area 6 and perimeter 12.

Frequently asked questions

Does this apply to any triangle?

No. The Pythagorean formula is valid only for right triangles.

Can I enter negative side lengths?

No. Physical side lengths must be strictly positive.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc