Education & Academic

Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle.

Your inputs

Example values are filled in. Replace them with yours.

Calculator values

Your result

Example result

Hypotenuse

5 units

Triangle area
6 square units
Save or compare

Saved calculations

Save up to five results in this browser. Select up to three to compare.

    How to use the calculator

    1. Replace the example inputs with your values. Use the units shown beside each field.
    2. Select Calculate to update the answer and breakdown. Select Reset to bring back the example.

    Formula

    Hypotenuse c = √(a² + b²). A missing leg = √(c² − a²).

    Worked example

    Legs of 3 and 4 units give a hypotenuse of 5 units.

    Assumptions and limits

    Enter all lengths in the same unit. The answer uses that length unit and its corresponding square unit. This applies only to right triangles. In missing-leg mode, the second value is the hypotenuse.