Distance Between Two Points Calculator
Calculate the distance, midpoint and slope between two points on a plane.
Updated · Free · No sign-up
Copy this code into your website or blog to show this tool there, free:
How to use the Distance Between Two Points Calculator
Enter x₁, y₁, x₂, y₂. The result updates as you type, so you can try different figures and compare them straight away.
Formula
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Worked example
With x₁ = 1, y₁ = 2, x₂ = 7, y₂ = 10:
| Distance | 10 |
| Midpoint | (4, 6) |
| Slope | 1.33333 |
Frequently asked questions
What does the Distance Between Two Points Calculator do?
Calculate the distance, midpoint and slope between two points on a plane.
What formula does the Distance Between Two Points Calculator use?
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Is the Distance Between Two Points Calculator free to use?
Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.