Why Is the Midpoint the Average of Two Coordinates?

Coordinate Geometry · Formula Explained

The midpoint formula is not an arbitrary recipe. It locates the point reached after exactly half of a straight segment’s horizontal and vertical change.

Quick Answer

The midpoint of A = (x₁, y₁) and B = (x₂, y₂) is M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Starting at A, move half the horizontal change and half the vertical change toward B. This gives x₁ + (x₂ − x₁)/2 and y₁ + (y₂ − y₁)/2, which simplify to the two averages. OpenStax states the midpoint formula in this form.

Why Does Averaging Work on a Number Line?

On a number line, the distance from a to b is b − a when b is to the right. Halfway from a is a + (b − a)/2. Distributing the division gives (2a + b − a)/2 = (a + b)/2. For a = 2 and b = 10, the average is 6: it lies four units from each endpoint. The same algebra still works when a is negative or when the endpoints are reversed.

The Midpoint of A and B Is Halfway Along Their Coordinate ChangesA coordinate plane shows A at negative 4, 2; B at 6, 8; and midpoint M at 1, 5. Horizontal change from A to B is 10, so A to M changes by 5. Vertical change is 6, so A to M changes by 3.A (−4, 2)M (1, 5)B (6, 8)Half of Δx = 10 is 5; half of Δy = 6 is 3.
The plotted values satisfy M = ((−4 + 6)/2, (2 + 8)/2) = (1, 5). The drawing is explanatory; calculations establish exactness.

Why Do You Average X and Y Separately?

A straight segment changes two coordinates at once. From A = (x₁, y₁) to B = (x₂, y₂), the horizontal change is Δx = x₂ − x₁ and the vertical change is Δy = y₂ − y₁. At half the segment, both changes are halved: M = (x₁ + Δx/2, y₁ + Δy/2). Simplifying each component produces the coordinate averages. Averaging both coordinates, rather than the total distance or only one coordinate, keeps the point on the segment.

How Does the Formula Handle Negative Coordinates?

Let A = (−4, 2) and B = (6, 8). The midpoint is ((−4 + 6)/2, (2 + 8)/2) = (1, 5). The horizontal movement from −4 to 1 is five units, exactly half of the ten-unit movement from −4 to 6. The vertical movement from 2 to 5 is three units, half of the six-unit movement from 2 to 8. A frequent mistake is to drop the minus sign in −4 or average an x-coordinate with a y-coordinate.

How Can You Verify That the Two Halves Are Equal?

Subtract A from M: (1 − (−4), 5 − 2) = (5, 3). Subtract M from B: (6 − 1, 8 − 5) = (5, 3). Both half-segments have the same horizontal and vertical change, so each has length √(5² + 3²) = √34. The entire segment has length √(10² + 6²) = √136 = 2√34. The Distance Formula Calculator can check those lengths; the Midpoint Calculator reports the location directly.

What Does This Midpoint Formula Actually Describe?

It describes the center of the straight segment between two coordinate points in a flat Cartesian plane. It does not identify the halfway point along a curved route. It also is not a geographic midpoint on the curved Earth unless a map projection and its limitations are addressed. When both endpoints are the same, their average is that same point; a zero-length segment still has a midpoint. Reversing the endpoints changes neither coordinate average.

Check a Pair of Endpoints

Enter two points, compare the midpoint with your coordinate averages, then verify the equal half-distances.

Open the Midpoint CalculatorBrowse Algebra Tools
Mathematics Reference