3D Distance Calculator: Straight Line Distance Between Points

Written by:

This is a 3D distance formula calculator, which will calculate the straight line or euclidean distance between two points in three dimensions

Alternatively, see the other Euclidean distance calculators:

3D Distance Calculator

Formula for 3D Euclidean Distance

The formula for three-dimension distance is:



  • d: the distance between the two points (the hypotenuse)
  • x1, y1, z1: the x, y, and z coordinates of point 1
  • x2, y2, z2: the x, y, and z coordinates of point 2

Example Distance Calculation

Let's say you have 2 points, (x, y, z):

  • (4, 9, 3)
  • (0, 6, 14)

Here's how you do the math:


Approximately 12.083 units separate the two points.

Using the 3D Distance Formula Calculator

To start, leave the Dimensions setting at 3.

Next, enter the x, y, and z coordinates of the two points. The top table holds the X, Y, & Z for the first point, the lower holds the X, Y, & Z for the second.

Finally, hit the Compute Distance button and we'll show you the distance between points.

Afterwards, visit our other calculators and tools.



PK started DQYDJ in 2009 to research and discuss finance and investing and help answer financial questions. He's expanded DQYDJ to build visualizations, calculators, and interactive tools.

PK is in his mid-30s and works and lives in the Bay Area with his wife, two kids, and dog.

Don't Quit Your Day Job...

DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page. As an Amazon Associate we earn from qualifying purchases.
Sign Up For Emails
© 2009-2022 dqydj.com
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram