Skip to content

Distance Formula Calculator

Calculate the distance between two points on a coordinate plane with the distance formula, plus the midpoint and the working.

  • Free, no sign-up
  • Runs in your browser
  • Reviewed Nov 8, 2026

How to use the Distance Formula Calculator

  1. Enter x and y for each point.
  2. Read the distance, the midpoint and the working.

How it works

d = √((x₂ − x₁)² + (y₂ − y₁)²). The midpoint is ((x₁ + x₂)/2, (y₁ + y₂)/2).

Worked examples

(−2, 1) to (4, 9)

√(6² + 8²) = √100 = 10. Midpoint (1, 5).

Frequently asked questions

Why does it look like Pythagoras?

It is: the horizontal and vertical changes are the legs of a right triangle and the distance is the hypotenuse.

G

Built and reviewed by Guru G

Calculation logic is covered by automated tests against known values. Last reviewed Nov 8, 2026. Found a problem? Let us know — see our editorial policy.