everydaycalc
Maths

Distance between points Calculator

Use the free distance between points calculator. Enter x1, y1, x2, y2 to get a result, with a formula and worked example.

How to calculate distance between points

This tool calculates distance between points from X1, Y1, X2, Y2. Enter each quantity in its labelled field, then use the formula below to check the calculation.

Formula

√((x2−x1)² + (y2−y1)²)

Worked example

X1
0
Y1
0
X2
3
Y2
4

Applying the formula to these values gives 5 .

What should I check?

Calculate powers, roots, logarithms, ratios, slopes and trigonometric functions. Trigonometric angles are entered in degrees.

Use the reset button to restore this example. Your inputs are processed in this browser and are not included in a shared calculator link. See our methodology and limitations.