Calculator Uni

Distance Formula Calculator

Compute straight-line distance between points in 2D or 3D.

Two points

Distance

5

Deltas

3, 4

Pythagoras, generalized

Distance is the square root of summed squared differences — the Pythagorean theorem applied per axis. It extends unchanged to 3D and beyond: machine learning measures 'distance' between data points in hundreds of dimensions with the same formula.

Straight lines vs. real paths

This is 'as the crow flies.' City-grid travel follows Manhattan distance (|Δx| + |Δy|), and geographic distance over kilometers must account for the Earth's curvature (haversine formula). Pick the metric that matches the movement.

Frequently asked questions

How does the Distance Formula Calculator work?
Compute straight-line distance between points in 2D or 3D.
Is the Distance Formula Calculator free to use?
Yes. The Distance Formula Calculator is completely free, runs entirely in your browser, and requires no account or sign-up. Your inputs never leave your device.

Related calculators