Distance between the points A = (x_1,y_1), B = (x_2,y_2)} find from the formula d = √((x_2 - x_1)^2 + (y_2-y_1)^2). Example. The distance between the points A = (2,5) and B = (5,9) is |AB| = √((5-2)^2 + (9-5)^2 = √(3^2+4^2) = √(9+16) = √25 = 5. The distance between points A and B is 5.