The distance formula is used to find the distance between two points on a plane. The two coordinate points may be (x1, y1) and (x2, y2). Here is the formula to find the distance between two points.
The distance formula is derived from the Pythagoras theorem. A right triangle with base b, height x will Have hypotenuse b equal to square root of the sum of b2 and x2. From this, distance between between two points is √x2^2 – x1^2 + y2^2-y1^2.