Distance Between Points Calculator

Calculate the straight-line (Euclidean) distance between two points on a plane.

Calculate

Enter your values below.

Result

Distance
0

Formula used

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

Example: (0,0) to (3,4) → distance = 5.

How to use this calculator

  1. Enter x₁, y₁, x₂, y₂.
  2. Press Calculate to see your result instantly.

Frequently asked questions

What formula is this based on?

The Pythagorean theorem, applied to the horizontal and vertical differences between the two points.

Can coordinates be negative?

Yes, any real numbers are supported for all four coordinates.

What if the two points are the same?

The distance will be 0.

Does this work in 3D?

No, this calculates distance on a 2D plane. 3D distance would need a z-coordinate too.