How to use the distance between two 3d points calculator
Find the distance between points in 3D. Enter x₁, y₁, z₁, x₂, y₂, z₂ in the fields above; the distance is computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- x1 — x₁
- y1 — y₁
- z1 — z₁
- x2 — x₂
- y2 — y₂
- z2 — z₂
Worked example
With x₁ = 0, y₁ = 0, z₁ = 0, x₂ = 3, y₂ = 4, z₂ = 12, the calculator gives distance ≈ 13.
Frequently asked questions
What is the formula for the distance between two 3d points calculation?
Distance = √((x2-x1)^2+(y2-y1)^2+(z2-z1)^2). Here x1 is x₁, y1 is y₁, z1 is z₁, x2 is x₂, y2 is y₂, z2 is z₂.
What inputs do I need for the distance between two 3d points calculator?
You need x₁, y₁, z₁, x₂, y₂, z₂. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.