The midpoint (also known as class mark in relation to histogram) is the middle point of a line segment. It is equidistant from both endpoints. The formula for determining the midpoint of a segment in the plane, with endpoints and is
In three-dimensional Cartesian space, the midpoint formula is