← All calculators / Geometry

Distance between points

Euclidean distance in a flat two-dimensional plane.

01 / Your inputsBrowser-only calculation
Distance between points
—
How it works

The formula

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

Example inputs

x₁: 0 · y₁: 0 · x₂: 3 · y₂: 4

Result: 5 · Distance in coordinate units

What the Distance between points works out

The Distance between points turns the figures below into distance between points, using the formula √((x₂ − x₁)² + (y₂ − y₁)²). Euclidean distance in a flat two-dimensional plane.

What each field means

x₁
A number; the example uses 0.
y₁
A number; the example uses 0.
x₂
A number; the example uses 3.
y₂
A number; the example uses 4.

A worked example

With the values this page opens on — x₁ 0, y₁ 0, x₂ 3, y₂ 4 — the answer is 5. The supporting detail reads: Distance in coordinate units. Reset restores exactly these numbers.

Reading the result

The headline number is distance between points. Change any field and the figure, along with the graph beside it, is recomputed from the values you typed — nothing is rounded before the arithmetic runs.

Assumptions and limits

Euclidean distance in a flat two-dimensional plane. Coordinates must use the same units.

Your privacy

Nothing you type leaves your browser.

Related calculators

Days between dates ↗ · Volume ↗ · Surface area ↗ · Right triangle ↗