Using the Pythagorean theorem formula, the distance can be calculated as:.
Distance Separating Points [A(x1, y1), B (x2, y2)] = √[(x2 - x1)2 + (y2 - y1)2]
the coordinates of both the points must be known. Then, using the formula, the distance can be calculated.