All tools
Math & Everyday

Distance Calculator

Straight-line distance between two points, in 2D or 3D.

πŸ”’ Runs entirely in your browser β€” nothing here is ever uploaded

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
  1. Choose 2D or 3D.
  2. Enter both points' coordinates.
  3. 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.