Skip to content
NexUnit home
EnglishEspañol

Distance Calculator (2D & 3D)

Find the straight-line distance between two points on a plane or in 3D space.

Distance

5

Δx, Δy
3, 4
Distance squared
25

Show the work

  1. Difference along each axis

    Δx = x₂ − x₁; Δy = y₂ − y₁

    4 − 1; 6 − 2 = 3, 4

  2. Square them and add

    Δx to the power of 2 + Δy to the power of 2

    3 to the power of 2 + 4 to the power of 2 = 25

  3. Take the square root

    d = √(sum of squares)

    √25 = 5

Want this on your site? Embed the distance calculator (2d & 3d).