Pythagorean Theorem Calculator

Find the missing side of a right-angled triangle with this free Pythagorean theorem calculator.

Runs in your browser — nothing is uploaded

Choose the units or currencies below, then convert. The maths runs on your device.

    Your result will appear here.

    Free, no account, no sign-up. Nothing is uploaded. Everything runs on your device.

    Find the missing side of a right-angled triangle with this free Pythagorean theorem calculator. Give the first side in the box and the second as an option, and choose what to find: the hypotenuse, the default, or a leg. With sides 3 and 4 the hypotenuse is 5, the classic 3-4-5 triangle; with sides 5 and 12 it is 13. To find a leg instead, enter the hypotenuse first — a hypotenuse of 5 with a known leg of 3 gives a leg of 4. The rules are enforced honestly: side lengths must be more than zero, and when finding a leg the hypotenuse must be longer than the known leg, otherwise the triangle cannot exist and the tool says so. Results are rounded to six decimal places, which is precise enough for building work and homework alike. Use it for construction, diagonals, ladders against walls, or any right angle where one side is unknown. Your numbers never leave the page — the maths runs entirely in your browser, free, with nothing to install.

    How to use Pythagorean Theorem Calculator

    1. Enter a value type a number into the box above.
    2. Fill in the options set the units, currencies or values the tool asks for below the box.
    3. Click Convert the maths runs entirely in your browser — nothing is uploaded.
    4. Read your result it appears below the tool.
    5. Convert another change the value or the options — no sign-up, no limits.

    Format facts

    InputA number, plus the options below the box (units, currencies or values).
    EngineBuilt-in browser engine
    CategoryCalculators

    Frequently asked questions

    What is the hypotenuse of a triangle with sides 3 and 4?

    5. It is the classic 3-4-5 right-angled triangle.

    How do I find a leg instead of the hypotenuse?

    Choose the leg option and enter the hypotenuse first. A hypotenuse of 5 with a known leg of 3 gives a leg of 4.

    Why must the hypotenuse be longer than the leg?

    Because the hypotenuse is always the longest side of a right-angled triangle. A shorter hypotenuse cannot make a real triangle, so the tool refuses it with a clear error.

    What is the 5-12-13 triangle?

    Another whole-number right-angled triangle: sides 5 and 12 give a hypotenuse of 13.

    Is the Pythagorean theorem calculator free?

    Yes — free to use, with no account, no sign-up, and no limits on how often you use it.