The distance between two points on an XY plane is calculated using the distance formula, which is employed in coordinate geometry or Euclidean geometry. The x-coordinate, often known as the abscissa, is a point's separation from the y-axis. The y-coordinate, often known as the ordinate, refers to a point's separation from the x-axis. A point on the x-axis has coordinates of the form (x, 0), and a point on the y-axis has coordinates of the form (0, y). We utilize the Pythagoras theorem in this case to determine the separation between any two points in a plane.