Geometry & Trigonometry
Basic

Midpoint Formula

Midpoint of a line segment.

Formula

M=(x1+x22,y1+y22)M = \left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}\right)

Variables

x_1,y_1,x_2,y_2Endpoint coordinates

Example

Midpoint of (2, 4) and (6, 8) is ((2+6)/2, (4+8)/2) = (4, 6).

Did You Know?

The midpoint formula is just the average of the endpoints — halfway in x and halfway in y.