📏
Distance Formula Calculator
Calculate the straight-line (Euclidean) distance between two points.
About This Calculator
The distance formula is the Pythagorean theorem applied to coordinate geometry: d = √((x₂-x₁)² + (y₂-y₁)²). GPS systems calculate distances using the haversine formula — the spherical extension for Earth's curved surface. Machine learning K-nearest neighbor algorithms use Euclidean distance for classification.