KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Distance Between Two Points Calculator – 2D and 3D

Find straight-line Cartesian distance. Set both z coordinates to zero for a plane.

Distance (coordinate unit)

5.000000

Formula

d = √[(x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²]

Distance (coordinate unit) ≈ sqrt(((3)-(0))^2+((4)-(0))^2+((0)-(0))^2)

How to use

  1. Enter the coordinates of both points.
  2. Use the same unit and scale on every axis.
  3. Read the distance in that same unit.

Examples

  • (0;0;0) → (3;4;0): d = 5.

Frequently asked questions

Can I use two dimensions?

Yes. Set z₁=z₂=0.

Does this calculate road distance?

No. It measures a straight line in Cartesian coordinates.

May coordinates be negative?

Yes. Negative coordinates and coincident points are supported.

Sources

Updated:

Related tools

Search conversion tools