Distance Calculator

Free online distance calculator. Find the straight-line distance between two points in a 2D coordinate system.

Calculator not found.

How It Works

  1. 1

    Enter the coordinates of two points: (x₁, y₁) and (x₂, y₂).

  2. 2

    The calculator applies the distance formula: √((x₂−x₁)² + (y₂−y₁)²).

  3. 3

    This is the Pythagorean theorem applied to coordinate geometry — the straight-line distance.

Formula

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

Examples

Points (1,2) and (4,6)

d = √((4−1)² + (6−2)²) = √(9+16) = √25 = 5 units.

Map coordinates (0,0) and (3,4)

d = √(9+16) = 5. If each unit represents 1 km, the points are 5 km apart.

Frequently Asked Questions