Pythagorean Theorem Calculator

Find the diagonal opposite a right angle.

Numeric inputsFormula-based resultRuns in your browser

Enter your values

Result

Enter values to calculate the result.

How to use Pythagorean Theorem Calculator

  1. Enter first leg, second leg.
  2. Select Calculate to see the result.
  3. Check the result against your units and the worked example.

How it works

Find the diagonal opposite a right angle. Hypotenuse = √(first leg² + second leg²).

Formula or processing rules

Hypotenuse = √(first leg² + second leg²).

Worked example

Legs of 3 and 4 produce a hypotenuse of 5.

Worked example
MeasureValue
First leg3
Second leg4
Result5

Pros and cons

Pros

Find the diagonal opposite a right angle. The sample provides an immediate check of the expected output.

Cons

Use the sides that meet at a right angle and measure them in the same unit.

Troubleshooting

Check that numeric fields contain numbers and that the selected formula applies to your inputs. Use the sides that meet at a right angle and measure them in the same unit.

Frequently asked questions

What do I enter?

First leg; Second leg. Use consistent units where the same type of measurement appears.

How is the answer calculated?

Hypotenuse = √(first leg² + second leg²).

Can I check an example?

Legs of 3 and 4 produce a hypotenuse of 5.

Why might a result look unexpected?

Use the sides that meet at a right angle and measure them in the same unit.

Are the inputs submitted to TechKTimes?

The calculator runs in the page and sends no calculation inputs to a TechKTimes server.