๐Ÿ“ 3D Distance Calculator

Calculate the straight-line distance between two points in three-dimensional Cartesian space.

No ratings yet โ€” be the first
Rate it: โ˜… โ˜… โ˜… โ˜… โ˜…

Enter details

Fill in the details and click Calculate to see your results.


Also available in our Android app, with charts and full breakdown tables.

๐Ÿ“˜ About the 3D Distance

Find Euclidean distance between two points in 3D space.

๐Ÿงฎ Formula

3D distance
d = sqrt(dx^2 + dy^2 + dz^2)

Where

  • x, y, z = Cartesian coordinates
d = sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2).

โœ๏ธ Worked example

(1,2,3) to (4,6,9)

You enter
X11
Y12
Z13
X24
Y26
Z29
You get
3D Distance7.81025

The 3D distance is 7.81025.

Try this example โ†’

๐Ÿงญ How to use this calculator

What you enter

  • X1
  • Y1
  • Z1
  • X2
  • Y2
  • Z2

What you get

  • 3D Distance

๐Ÿ’ก Common uses

  • Coordinate geometry homework and revision
  • Analytic geometry calculations
  • Checking graph and line calculations

โ“ Frequently asked questions

Can coordinates be negative?

Yes. The formula works with negative and decimal coordinates.