Find the distance between two points in 2D or 3D space, or the great-circle distance and bearing between two latitude/longitude coordinates.

Point 1
Point 2
Point 1
Point 2

Use decimal degrees (e.g. 40.7128, −74.0060). The result is the straight-line great-circle distance.

Distance
Δx
Δy
Δz
Midpoint
Slope
Kilometers
Miles
Nautical miles
Initial bearing
Formula used
Straight-line (Euclidean) distance between the two points, in your chosen units.

Add this free tool to your own website — copy and paste the code below.