Distance & Midpoint Calculator

Distance, midpoint and slope between two coordinate points.

Distance
10
Midpoint
(4, 6)
Δx
6
Δy
8
Slope
1.333333
Show the working
  1. 1Δx = 7 − 1 = 6, Δy = 8
  2. 2d = √(6² + 8²) = 10
Formula
d = √((x₂−x₁)² + (y₂−y₁)²)

How it works

Straight-line distance, midpoint and slope between two points on a plane.

Example

From (1, 2) to (7, 10) the distance is 10 and the midpoint is (4, 6).

About the Distance & Midpoint Calculator

Distance, midpoint and slope between two coordinate points. It sits in the Geometry section of NWS Calc, a free collection of calculators that run entirely in your browser. There is no signup, no paywall and no tracking — open the page, enter your numbers, get an answer.

Frequently asked questions

Is the Distance & Midpoint Calculator free to use?
Yes. Every calculator on NWS Calc is completely free, with no signup, no usage limits and no ads.
Does my data leave my device?
No. The Distance & Midpoint Calculator runs entirely in your browser using JavaScript. Nothing you type is uploaded, logged or stored on a server.
Can I use the Distance & Midpoint Calculator on my phone?
Yes. The page is fully responsive and works in any modern mobile or desktop browser — there is nothing to install.
What else is in Geometry?
Area, perimeter, volume and surface area for every common shape. You can browse the full Geometry category for related calculators.

Related calculators