Pythagorean Calculator

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

How to use the Pythagorean Calculator

Enter the lengths of the two perpendicular legs using the same unit. The hypotenuse is returned in that same unit. Choose the correct shape or relationship and enter measurements in compatible units. A numeric result is only as accurate as the dimensions supplied.

What this calculator does

Find the hypotenuse of a right triangle from its two legs. It is intended to make the calculation transparent and repeatable: you provide the known values, the calculator applies the relevant relationship, and the result is shown with the units or labels used by the tool.

When this tool is useful

Use the Pythagorean Calculator when you need a quick, repeatable check and already have the inputs requested by the page. It is useful for comparing scenarios, checking hand calculations, planning a task, or understanding how changing one input affects the result.

How the calculation works

For a right triangle, the hypotenuse follows c = √(a² + b²).

Practical example

For example, right-triangle legs of 3 and 4 produce a hypotenuse of 5.

Things to keep in mind

  • Use compatible units for every dimension.
  • The calculator returns mathematical geometry, not allowances for irregular edges, tolerances, or measurement error.
  • Round only after the calculation when you need the most accurate intermediate result.