Skip to content
All models

Spatial geometry

3D coordinate span

Inputs

First point, x coordinate.
First point, y coordinate.
First point, z coordinate.
Second point, x coordinate.
Second point, y coordinate.
Second point, z coordinate.

Results

x displacementΔx

300

y displacementΔy

400

z displacementΔz

120

Straight-line spand

514.2

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

A first-pass number, not a code check, certification, or approval. Read the method and its limits below. What this is and is not.

Nearby: Section geometry · Right-triangle frame · Cylinder geometry · Circular arc & segment

Method

Formula, when it applies, and when it does not

Inspect a displacement vector and straight-line span between two three-dimensional points in a coordinate unit.

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

When

  • Cartesian coordinates
  • Common coordinate unit
  • Straight-line distance

Don’t

  • Coordinates must share one origin, axis convention, and unit. The result is a straight-line geometric span, not a routed path or a tolerance analysis.

Elementary geometry — standard results