Distance Calculator

Find the straight-line distance and midpoint between two points on a coordinate plane.

How the distance calculator works

Enter the coordinates of two points and this calculator returns the distance between them using the distance formula, plus the horizontal and vertical changes and the midpoint.

It’s the 2D version of the Pythagorean theorem.

How to fill it in

  1. Enter the first point’s x and y.
  2. Enter the second point’s x and y.
  3. Read the distance and midpoint.

How the number is calculated

distance = √((x₂−x₁)² + (y₂−y₁)²)

A worked example

On the values this calculator opens with, the distance is 5. Underneath, Δx comes out at 3 and Δy at 4. Change any field and every figure updates as you type.

FAQ

How do I find distance between two points?
Take the differences in x and y, square them, add, and take the square root — the distance formula.
How is this related to Pythagoras?
The differences in x and y are the legs of a right triangle, and the distance is the hypotenuse.
What is the midpoint?
The average of the two x-values and the two y-values — the point exactly halfway between them.