Distance Calculator

Calculate the straight-line (Euclidean) distance between two points in 2D or 3D space.

Points

Formula

2D: d = √[(x2 − x1)² + (y2 − y1)²] · 3D: d = √[(x2 − x1)² + (y2 − y1)² + (z2 − z1)²]