Distance. The distance between two points is the length of a straight line segment that links them. The distance of a point from a line is the length of the shortest line segment from the point to the line.