Skip to content

Geometry · free · no sign-up

Distance Calculator

Calculate the straight-line distance between two points on a plane and see the vector plotted.

How it works Report a problem

Distance Calculator

Interactive cartesian analysis

About the Distance Calculator

Calculate the straight-line distance between two points on a plane and see the vector plotted.

How to use the Distance Calculator

  1. Enter X1, Y1, X2 and Y2.
  2. Press Calculate Distance.

Formula and method

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

Worked example

The distance between (0, 0) and (3, 4) is 5.

Tips

  • This is the shortest (Euclidean) distance, not the distance along roads.

Frequently asked questions

Does the order of the points matter?
No. The distance from A to B equals the distance from B to A.