Distance Formula Calculator
Compute straight-line distance between points in 2D or 3D.
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.
Related calculators
Percentage Calculator
Solve any percentage problem: percent of, percent change, and more.
Fraction Calculator
Add, subtract, multiply, and divide fractions with simplified results.
Scientific Calculator
A full scientific calculator with trig, logs, and exponents.
Random Number Generator
Generate random numbers in any range, with or without repeats.