3D Distance Calculator

Find the distance between two points in 3D.

What does this calculator do?

Calculates the Euclidean distance between two points in three-dimensional space.

Formula

Extension of the 2D distance formula to three dimensions.

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

How to use it

Enter the coordinates of both points (x, y, z).

Worked example

(0,0,0) to (1,2,2) → distance = 3.

Formula version1.0.0
Formulad = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²)
Precision4 decimals

Frequently asked questions

How is this different from 2D distance?

It adds the z-coordinate difference squared under the square root.

Sources

Related calculators

Last updated: 2026-08-05 · v1.0.0 · Report an error