Distance Calculator

Use this free distance calculator to enter two points and find straight-line distance, delta x, delta y, midpoint, and formula steps.

All tools
Formula steps Examples included Copy results Private history
Point distance5 cm
Delta x
3
Delta y
4
Midpoint
(2.5, 4)

Steps

  1. Find delta x: 4 - 1 = 3.
  2. Find delta y: 6 - 2 = 4.
  3. Use the distance formula: d = sqrt((x2-x1)^2 + (y2-y1)^2).
  4. The distance is 5 cm.

How to use the distance calculator

  1. Enter the first point as x1 and y1.
  2. Enter the second point as x2 and y2.
  3. Press Calculate distance to see distance, delta x, delta y, and midpoint.
  4. Use examples, recent answers, or copy the result while checking coordinate geometry.

Common uses

Find straight-line distance between two coordinate points.

Calculate midpoint while checking coordinate geometry problems.

Compare distance with slope for the same pair of points.

Copy distance formula steps into notes or homework.

Examples

3-4-5 distance (1, 2) to (4, 6)

5 units

Origin to point (0, 0) to (8, 15)

17 units

Negative coordinates (-3, 4) to (5, -2)

10 units

Frequently asked questions

Quick answers about formulas, units, valid measurements, examples, copying, and private in-browser history.

What formula does the Distance Calculator use?

It uses d = sqrt((x2 - x1)^2 + (y2 - y1)^2), the standard distance formula for two points in a plane.

Does it show midpoint?

Yes. It shows midpoint as ((x1 + x2) / 2, (y1 + y2) / 2).

Can I use negative coordinates?

Yes. Negative x and y values are accepted as long as each coordinate is a valid number.

Should I use this or the Slope Calculator?

Use Distance Calculator for length between points. Use Slope Calculator for steepness, rise, run, and line equations.

What units does the answer use?

The answer uses the unit label you enter. If your coordinates are in meters, the distance is in meters.

Is my distance history private?

Yes. Recent distance answers stay only in the current browser tab while you use the page. They are not sent to a server.

Related tools