Skip to content

Distance Formula

Distance between two points in the plane.

Variables

d
Distance
(x₁, y₁), (x₂, y₂)
The two points

Explanation

This is the Pythagorean theorem applied to the right triangle formed by the horizontal and vertical differences.

Example

From to : .

Try it: Slope Calculator

Find the slope, equation of the line, distance and midpoint between two points.

Open calculator

Related formulas