Distance Calculator

Calculate the distance between two points, midpoint, slope, and horizontal or vertical change with this free distance calculator.

Calculate Distance

d = √((8 - 2)² + (11 - 3)²)
d = √(6² + 8²)
Your result will appear here.

How distance is calculated

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

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

Horizontal change:
Δx = x₂ − x₁

Vertical change:
Δy = y₂ − y₁

Why distance matters

Distance is used in geometry, graphing, mapping, physics, engineering, and design to measure how far apart two points are.

It also helps with midpoint, slope, and coordinate-plane relationships.

What your result means

Your result shows the straight-line distance between two points or from horizontal and vertical change. It also includes midpoint and slope information when point coordinates are used.

This makes it easier to understand both the size and direction of the change on the coordinate plane.

Distance calculator tips

Frequently asked questions

What is the distance formula?

The distance formula is d = √((x₂ − x₁)² + (y₂ − y₁)²).

What is the midpoint of two points?

The midpoint is the point exactly halfway between two coordinates.

Why does the distance formula use a square root?

It comes from the Pythagorean theorem, which relates the legs and hypotenuse of a right triangle.

Can distance ever be negative?

No. Distance measures length, so it is always zero or positive.