About the Distance Calculator
The straight-line distance between two points comes from the Pythagorean theorem. Leave z at 0 for a flat (2D) problem.
Formula
d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²).
Distance between two points in 2D or 3D.
The straight-line distance between two points comes from the Pythagorean theorem. Leave z at 0 for a flat (2D) problem.
d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²).
Questions
d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²). Results update as you type.
Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.
Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.
How we keep it that way