Distance Between Two Points Calculator

Apply the distance formula in 2D — with midpoint included.

The formula behind it

d = √((x₂−x₁)² + (y₂−y₁)²)
Δx, Δy
the horizontal and vertical gaps

The distance formula is the Pythagorean theorem in disguise: the gap between the points is the hypotenuse of a right triangle whose legs are Δx and Δy.

How to use this calculator

  1. 1

    Enter both points.

  2. 2

    Press Calculate.

  3. 3

    The midpoint row is handy for circle centres and bisectors.

Worked examples

Map distance

From (1, 2) to (4, 6): √(9 + 16) = 5 grid units.

Screen coordinates

Diagonal length of a 1920×1080 box from corner to corner: √(1920² + 1080²) ≈ 2202.9.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...