The distance formula is derived from the Pythagorean theorem. Distance between two points in a plane is calculated with the 2 coordinates (x1, y1) and (x2,y2). Draw a right angled triangle with the line formed by the points. The distance between the two points can be calculated by finding the horizontal (x2 - x1) and vertical distances (y2 - y1). Enter the coordinate values into this online Distance Between Two Points Calculator and find the length between the two points.
The co-ordinate points are (2,5) and (3,1).
Substituting the values in the formula, √ [(3-2)2 + (1-5)2]
Simplifying, √ [12 + (-4)2] = √17
4.12311 is the distance between 2 points.