The Pythagorean Theorem Calculator is a free online tool. Find the hypotenuse of a right triangle. It runs in your browser, needs no sign-up and shows the result as you type.

What is the Pythagorean Theorem Calculator?
Coordinate geometry places points on a plane, so distance, midpoint and slope follow from simple formulas based on differences between coordinates. The Pythagorean theorem links the sides of a right triangle.
The Pythagorean Theorem Calculator applies the formula and gives the exact answer.
This tool asks for 2 inputs: Side a and Side b. Maths tools reduce careless errors. They are especially helpful for checking homework, verifying exam practice and handling long decimals.
What each input means
- Side a takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 9.
- Side b takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 12.
How to use the Pythagorean Theorem Calculator
- Enter Side a. The sample value is 9.
- Enter Side b. The sample value is 12.
- Review the result. It updates as you type, or press Calculate to refresh it.
- Copy the result or download it as a text file, or press Reset to start again.
Example with real values
With the pre-filled values (Side a = 9; Side b = 12), the tool returns the following.
| Hypotenuse | 15 |
Change any input and the output updates straight away, so you can try your own numbers or text and compare the results.
Understanding the result
The result is shown as a table of 1 row, including Hypotenuse. Each row comes from the same inputs, so changing one value refreshes the whole table. Use the copy button to take all the rows with you.
When to use it
- School and exam practice
- Mapping and design
- Checking drawings
- Programming and game development
- Physics problems
How people use maths tools
These are typical situations where someone reaches for a tool in this category.
- An engineer or shopkeeper needs a quick figure and does not want to open a spreadsheet.
- A student checks the working for a homework problem and wants to see if the final answer matches.
- A teacher prepares answer keys and wants quick values for several sets of numbers.
Tips for better results
- Label points carefully as (x, y).
- Draw a sketch.
- Check the sign of each difference.
Common mistakes to avoid
- Swapping x and y.
- Mixing up the order of subtraction.
- Using units inconsistently.
Terms worth knowing
- Input. The number or values you give the tool.
- Formula. The rule that turns input into the answer.
- Verification. Checking the answer by a second method.
- Rounding. Shortening a result after the calculation.
Online tool vs doing it by hand
Calculating by hand teaches you the method, and a calculator is the best way to confirm the result. Use both: work the problem first, then compare.
Quick checklist before you rely on the result
- Check that Side a is typed in the form the tool expects, with no stray spaces or symbols.
- Run the sample values once so you know what a correct result looks like.
- Change one input at a time to see which value moves the answer most.
- Keep a copy of the input and the result if you need to show your working later.
Accuracy, privacy and limits
Everything you enter is processed in your browser and is not uploaded to our servers. Results use standard double-precision arithmetic and are rounded for display. For exact symbolic answers or proofs, work through the steps yourself.
Pythagorean Theorem Calculator FAQs
Can I use negative coordinates?
Yes.
Is the result exact?
Shown to a sensible precision.
What if the slope is undefined?
A vertical line has no defined slope.
Is the Pythagorean Theorem Calculator free?
Yes. It is completely free, with no sign-up, no limits on use and no watermark.
Does it work on mobile?
Yes. The page is responsive and works in modern mobile and desktop browsers.
What do I need to enter in the Pythagorean Theorem Calculator?
You will be asked for Side a and Side b. Sample values are pre-filled so you can see a working result before you type your own.
Why might my result differ from another tool?
Tools can differ in rounding, default settings or the formula variant they use. Compare the inputs and any options first, and use the result that matches your official or required method.
Is my input saved or shared?
No. Your input is processed in your browser. It is not stored on our servers and is not shared with anyone.