What is the formula for finding the distance between 2 pairs of coordinant points?

if the points are in a rectangular coordinate system, and we have the points (x1, y1) and (x2,y2) the distance between the two points will be:

((x2-x1)^2 + (y2-y1)^2)^0.5 I will advice you to learn from where it comes instead of learning it by heart. It is to solve for a rectangle triangle the hypotenuse knowing the other two sides.