Skip to content
ENExplore Calculators

Distance Between Two Points Calculator

Work out distance between two points instantly with clear inputs, formula shown and shareable results.

About Distance Between Two Points Calculator

The distance formula is Pythagoras applied to the horizontal and vertical separations: d = √((x₂ − x₁)² + (y₂ − y₁)²).

Formulas

Distance formula

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

Midpoint

M = ((x₁ + x₂)/2, (y₁ + y₂)/2)

Worked example

With the default values below, Distance Between Two Points Calculator returns Distance of 10.00000000. Change any input above and every figure here is recalculated in your browser.

Inputs used

x₁
1
y₁
2
x₂
7
y₂
10

Results

Distance
10.00000000
Change in x
6.000000
Change in y
8.000000
Midpoint
(4, 6)

Step by step

  1. 1Values used
  2. 2Distance formula
  3. 3Midpoint
  4. 4Distance= 10.00000000
  5. 5Change in x= 6.000000
  6. 6Change in y= 8.000000
  7. 7Midpoint= (4, 6)

Assumptions and limits

  • The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Distance from (1, 2) to (7, 10)?

√(36 + 64) = 10, and the midpoint is (4, 6).

Does the order of the points matter?

No. The differences are squared, so swapping the points leaves the distance unchanged.

Distance Between Two Points Calculator | Calcrivo