Science Academy
☰✕

Distance Between Two Points Calculator

📈 Coordinates & graphs. Use the Distance between two points formula to find distance, x₁, y₁, x₂, y₂: pick the value you want, type the others, and the answer updates as you go.

d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
Distance5

Pick the ○ next to the value you want to find, fill in the others, and it solves as you type.

What each letter means

QuantityUnit
Distanceno unit
x₁no unit
y₁no unit
x₂no unit
y₂no unit

Worked example

Find the distance when x₁ = 1, y₁ = 2, x₂ = 4, y₂ = 6.

Using d = √((x2 - x1)² + (y2 - y1)²): Distance = 5.

Frequently asked questions

What is the formula for Distance between two points?

d = √((x2 - x1)² + (y2 - y1)²).

What do the letters stand for, and what units are used?

Distance, x₁, y₁, x₂, y₂.

How do you calculate distance?

Put the values into d = √((x2 - x1)² + (y2 - y1)²). For example, with x₁ = 1, y₁ = 2, x₂ = 4, y₂ = 6, distance = 5.

Can I solve for a different value?

Yes. In the calculator above, pick the circle next to any value (distance, x₁, y₁, x₂, y₂) and fill in the others: it rearranges the formula for you.

All maths formulas in the Maths Formulas