Math & Everyday
Distance Calculator
Straight-line distance between two points, in 2D or 3D.
π Runs entirely in your browser β nothing here is ever uploaded
CalcoTools Β· Distance Calculator Β· generated 9/5/2026, 4:03:17 PM
About the Distance Calculator
Computes the straight-line distance between two points, in 2D or 3D, using the Euclidean distance formula.
100% Free Runs in Your Browser No Sign-Up Required
How to use it
- Choose 2D or 3D.
- Enter both points' coordinates.
- The straight-line distance between them is computed instantly.
Formula
distance = β((x2βx1)Β² + (y2βy1)Β²), or with a z-term added for 3D
Worked example
The points (0,0) and (3,4) are exactly 5 units apart β the classic 3-4-5 right triangle.
Interpreting your result
This is straight-line ("as the crow flies") distance between coordinates, not a travel distance.
Frequently asked questions
No β this is plane (Cartesian) distance for flat x/y coordinates. Latitude/longitude distance needs a great-circle formula (e.g. Haversine), which this tool doesn't compute.