A little clarity, calculated.

culators

Math / Distance

Distance Calculator

Measure straight-line distance between two points in a plane or in three-dimensional coordinates. The coordinate differences and Euclidean distance are returned so the geometry behind the result remains easy to inspect. 2D distance is √[(x₂−x₁)²+(y₂−y₁)²]. For 3D, add the squared z-coordinate difference under the same square root. This is the shortest straight segment between the entered coordinates, so it does not account for roads, terrain, or travel routes. Coordinate units carry through unchanged: points measured in metres produce a distance in metres.

Your inputs

Make it your own
Calculator settings

Your result
6.71
units
Straight-line distance
Δx
3
Δy
6

Example inputs shown. Adjust them to explore.

A familiar situation

Find the straight-line distance between two points on a map grid or coordinate plane.

How to use this calculator

  1. Enter x₁, y₁, x₂ and the remaining inputs.
  2. Select Calculate to see the answer and its breakdown.
  3. Keep a scenario, change an input and compare the results.

Use consistent units and check the assumptions below before applying the result.

How distance is calculated

2D distance is √[(x₂−x₁)²+(y₂−y₁)²]. For 3D, add the squared z-coordinate difference under the same square root. This is the shortest straight segment between the entered coordinates, so it does not account for roads, terrain, or travel routes. Coordinate units carry through unchanged: points measured in metres produce a distance in metres. Between (1,2) and (4,6), the distance is √(3²+4²)=5 units.

d=√[(x₂−x₁)²+(y₂−y₁)²] (plus (z₂−z₁)² in 3D).
A worked example

Between (1,2) and (4,6), the distance is √(3²+4²)=5 units.

Assumptions & useful context

The result depends on the values you enter and the method described above. Displayed numbers may be rounded; calculations use the unrounded values. Check that this model matches your situation before relying on it.

Frequently asked questions

Does this calculate road distance?

No; it measures straight-line coordinate distance.

Can coordinates be negative?

Yes, any finite coordinates are valid.

Find a calculator