CalcWorldHub
Free online calculator · no signup

3D distance calculator

Find straight-line Euclidean distance between two points in three-dimensional coordinates.

Worked example
Relevant result
∑
Clear result · useful details
Default calculator result6.9282

How to use this calculator

∑
A visual cue for this free calculator.

The three-dimensional Euclidean distance is the length of the shortest straight segment joining two coordinate points. Subtract corresponding coordinates, square each difference, add them, and take the square root. The coordinates must use the same units and coordinate system; the result has those same units.

Formula

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

Assumptions and limits

Inputs should use consistent units and valid values. The result is a planning aid; review the assumptions above and verify the method fits your situation before relying on it.

✓ Free to use
✓ No account required
✓ Inputs stay in your browser
✓ Formula shown

Related calculators and articles

Compare methods and explore more free tools in math.

Browse the full math category →

3D distance calculator — Point 1 — x, Point 1 — y, Point 1 — z and calculation method
3D distance calculator: inputs and calculation method.

How to use this calculator

Find straight-line Euclidean distance between two points in three-dimensional coordinates.

  1. Enter Point 1 — x, Point 1 — y, Point 1 — z, Point 2 — x, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

3D distance calculator

Find straight-line Euclidean distance between two points in three-dimensional coordinates.

Inputs and units

  • Point 1 — x: Coordinate of the first point on the named Cartesian axis; keep all six coordinate values in one unit.
  • Point 1 — y: Coordinate of the first point on the named Cartesian axis; keep all six coordinate values in one unit.
  • Point 1 — z: Coordinate of the first point on the named Cartesian axis; keep all six coordinate values in one unit.
  • Point 2 — x: Coordinate of the second point on the same axis and scale as point 1.
  • Point 2 — y: Coordinate of the second point on the same axis and scale as point 1.
  • Point 2 — z: Coordinate of the second point on the same axis and scale as point 1.

Formula and method

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

Worked example

From (1,2,3) to (5,6,7), d=√(4²+4²+4²)=√48≈6.928 units.

Interpreting the result

This is displacement magnitude, not a path length; identical points correctly produce zero.

Assumptions and limits

Coordinates must be finite and share the same Cartesian coordinate system and units.

Sources and method

Frequently asked questions

What does this 3d distance result tell me?

This is displacement magnitude, not a path length; identical points correctly produce zero.

What assumptions should I check?

Coordinates must be finite and share the same Cartesian coordinate system and units.

How do I use the 3D distance calculator?

Enter Point 1 — x, Point 1 — y, Point 1 — z, Point 2 — x, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of 3D distance?

From (1,2,3) to (5,6,7), d=√(4²+4²+4²)=√48≈6.928 units.

What does the 3D distance calculator calculate?

Find straight-line Euclidean distance between two points in three-dimensional coordinates.