Distance Between Two Points Calculator

Find the straight-line distance between two points on a graph.

Negative numbers and fractions work.
Distance Between Two Points
Slope (m)
Equation
Standard form
Midpoint
Distance
Angle from the x-axis
Work

Saved Calculations

Items you add are saved in this browser.

NameCalculationResultRemove

Distance Between Two Points Formula

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

It’s the Pythagorean theorem: the run and rise are the legs of a right triangle and the distance is the hypotenuse.

Worked Example

Tips

Fractions work in the boxes (1/2). The graph marks both points and the midpoint (hollow circle); the dashed lines show the run and rise.