The formulae to find a distance is

What is the distance?
Distance is a measure of how far apart two things or points are, either numerically or occasionally qualitatively. Distance can refer to a physical length or an estimate based on other factors in physics or common usage.

Whereby
= coordinates of the first point
= coordinates of the second point