🌐 EN

Distance Calculator

Find the straight-line distance between two coordinate points in a plane or three-dimensional space.

Point 1
Point 2
Distance
—
Point 1 — Point 2 —

—

Inputs and checks

  • Use Select Dimension to choose 2D or 3D. The 2D setting uses X Coordinate and Y Coordinate; 3D also uses Z Coordinate.
  • Enter Point 1 and Point 2 coordinates in matching units. Negative coordinates and decimal values are allowed; the fields step by 0.01.
  • Blank coordinate fields count as zero. The result updates on input changes, and Calculate Distance also triggers the calculation.
  • In 2D, Z values are ignored. There is no unit selector; the distance uses the same length unit as the coordinates.

Reading the result

  • Distance is the shortest straight-line distance, displayed to four decimal places.
  • The point coordinates and substituted calculation are shown alongside the result. The diagram is illustrative, not a measured drawing.
  • This is not road travel distance, GPS distance, or a route-finding tool.

Examples

A 3-4-5 distance in 2D

Input
Select Dimension: 2D; Point 1: (0, 0); Point 2: (3, 4)
Result
Distance: 5.0000; Point 1: (0, 0); Point 2: (3, 4)
How to check it
The coordinate differences are 3 and 4, and the square root of 9 + 16 is 5.

Distance across three coordinates

Input
Select Dimension: 3D; Point 1: (0, 0, 0); Point 2: (2, 3, 6)
Result
Distance: 7.0000; Point 1: (0, 0, 0); Point 2: (2, 3, 6)
How to check it
The square root of 2² + 3² + 6² is the square root of 49, or 7.

Frequently asked questions

Can this find driving distance?
No. It measures a straight line between coordinate points.
What happens to Z in 2D mode?
Z is ignored; only X and Y are used.
Is the result in meters?
Only if your coordinates are measured in meters.