Distance Calculator | 2D, 3D, Latitude/Longitude & Map Distance

Distance Calculator

Calculate distances between points on a 2D plane, 3D space, using latitude/longitude, or directly on a map

2D Distance
3D Distance
Lat/Long Distance
Map Distance

2D Distance Calculation

(x₁, y₁) (x₂, y₂)

Calculation Results

Distance

0
units
Formula: d = √[(x₂ – x₁)² + (y₂ – y₁)²]

About This Calculation

The distance between two points on a 2D plane is calculated using the Pythagorean theorem. This is the straight-line distance between the two points.

For latitude/longitude calculations, we use the Haversine formula to calculate the great circle distance (shortest distance over the Earth’s surface).