How to Use the Pythagorean Theorem Calculator: Steps and a Worked Example
Find the hypotenuse of a right triangle from its two legs. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Pythagorean Theorem Calculator tool is free, needs no account and runs in your browser.
What you need
- First leg, for example 3
- Second leg, for example 4
Step by step
- Open the Pythagorean Theorem Calculator tool.
- Fill in First leg.
- Fill in Second leg.
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- First leg: 3
- Second leg: 4
the tool returns:
Hypotenuse: 5
A second example
Changing First leg 3 to 6 gives:
Hypotenuse: 7.21110255
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
The calculation is: c = √(a² + b²). Enter the lengths of the two shorter sides of a right triangle in the same unit. The result is the hypotenuse, the side opposite the right angle.
Things to keep in mind
Only for right angled triangles. For other triangles, use the law of cosines.
Related tools
If this is not quite what you need, try Distance Between Points Calculator, Triangle Area Calculator or Slope Calculator.