Midpoint Formula — Definition, Derivation, and Examples

#Geometry
TL;DR
The midpoint formula finds the exact centre of a line segment by averaging the coordinates of its two endpoints: $M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$. This article defines the midpoint, derives the formula from a simple average, and works through examples with positive, negative, and fractional coordinates.
BT
Bhanzu TeamLast updated on July 14, 20268 min read

The midpoint formula gives the coordinates of the point exactly halfway between two endpoints. For points $A(x1, y1)$ and $B(x2, y2)$, the midpoint is the average of the two x-coordinates paired with the average of the two y-coordinates:

$$M = \left(\frac{x1 + x2}{2}, \ \frac{y1 + y2}{2}\right)$$

Here $(x1, y1)$ is one endpoint, $(x2, y2)$ is the other, and $M$ is the midpoint. The formula divides the segment in a 1:1 ratio — two equal halves. It lives on the coordinate plane, the same grid where you plot points and lines.

Where Does the Midpoint Formula Come From?

The formula is not a rule to memorise blindly — it is just an average, applied to each coordinate separately.

Start on a number line. The midpoint of $5$ and $9$ is their average: $\frac{5 + 9}{2} = 7$, and $7$ sits exactly between them. The coordinate plane is two number lines at right angles, so you average each direction on its own — the x-values give the horizontal centre, the y-values give the vertical centre.

$$x\text{-coordinate of midpoint} = \frac{x_1 + x_2}{2}, \qquad y\text{-coordinate of midpoint} = \frac{y_1 + y_2}{2}$$

That is the whole derivation: the midpoint is the average point. The closely related distance formula measures how far apart the endpoints are, while the midpoint formula finds the centre between them, and the two are often used together.

The Midpoint On A Number Line

Before the two-coordinate version, it helps to see the one-dimensional case. On a number line, the midpoint of two values $a$ and $b$ is simply their average:

$$\text{midpoint} = \frac{a + b}{2}$$

So the midpoint of $3$ and $11$ is $\frac{3 + 11}{2} = 7$. The coordinate-plane formula is this same average applied twice — once across, once up.

The midpoint is the simplest member of a small family of "in-between point" formulas.

  • Section formula. The midpoint divides a segment in the ratio $1:1$. The more general section formula finds a point dividing a segment in any ratio $m:n$, and reduces to the midpoint formula when $m = n$.

  • Centroid of a triangle. Averaging three vertices instead of two gives the centroid, $\left(\frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3}\right)$ — the same averaging idea extended to a triangle.

Examples Of The Midpoint Formula

These build from clean integers, through negatives and fractions, to a reverse problem where you know the midpoint and one endpoint.

Example 1

Find the midpoint of $A(2, 1)$ and $B(6, 3)$.

Average the x-values and the y-values.

$$M = \left(\frac{2 + 6}{2}, \frac{1 + 3}{2}\right) = \left(\frac{8}{2}, \frac{4}{2}\right) = (4, 2)$$

Final answer: The midpoint is $(4, 2)$.

Example 2

A student finds the midpoint of $(-3, 0)$ and $(0, -5)$ by subtracting the coordinates instead of averaging. Where does this go wrong?

The intuitive move, when one coordinate is negative, is to "find the gap" by subtracting — giving something like $(-3, 5)$.

Test it. The midpoint must sit between the two points. Subtracting does not land between them; it measures a difference, not a centre. A quick sketch shows $(-3, 5)$ is nowhere near the middle of the segment.

The rescue: average, do not subtract. Add the two coordinates (keeping their signs) and divide by two.

$$M = \left(\frac{-3 + 0}{2}, \frac{0 + (-5)}{2}\right) = \left(-\frac{3}{2}, -\frac{5}{2}\right) = (-1.5, -2.5)$$

Final answer: The midpoint is $(-1.5, -2.5)$.

Example 3

The endpoints of a circle's diameter are $(2, -3)$ and $(-6, 5)$. Find the centre of the circle.

The centre of a circle is the midpoint of any diameter.

$$M = \left(\frac{2 + (-6)}{2}, \frac{-3 + 5}{2}\right) = \left(\frac{-4}{2}, \frac{2}{2}\right) = (-2, 1)$$

Final answer: The centre is $(-2, 1)$.

Example 4

Find the midpoint of $A(6, 8)$ and $B(3, 1)$.

$$M = \left(\frac{6 + 3}{2}, \frac{8 + 1}{2}\right) = \left(\frac{9}{2}, \frac{9}{2}\right) = (4.5, 4.5)$$

A fractional midpoint is perfectly normal — it just means the centre falls between gridlines.

Final answer: The midpoint is $(4.5, 4.5)$.

Example 5

The midpoint of segment $PQ$ is $(4, 4)$. One endpoint is $P(1, 2)$. Find the other endpoint $Q$.

This reverses the formula. If $Q = (x, y)$, then the average of $P$ and $Q$ must equal $(4, 4)$.

$$\frac{1 + x}{2} = 4 \implies 1 + x = 8 \implies x = 7$$

$$\frac{2 + y}{2} = 4 \implies 2 + y = 8 \implies y = 6$$

Final answer: $Q = (7, 6)$.

Example 6

A triangle has vertices at $A(0, 0)$, $B(8, 0)$, and $C(4, 6)$. Find the midpoint of side $AB$, then check it lies on the line $y = 0$.

Midpoint of $AB$:

$$M = \left(\frac{0 + 8}{2}, \frac{0 + 0}{2}\right) = (4, 0)$$

Since its y-coordinate is $0$, the midpoint lies on the x-axis, $y = 0$. This midpoint is also where the median of a triangle from vertex $C$ would meet side $AB$.

Final answer: The midpoint of $AB$ is $(4, 0)$, which lies on $y = 0$.

Why The Halfway Point Earns Its Keep

"The centre of a segment — found by averaging."

The midpoint formula looks small, but it is a building block. Surveyors, mapmakers, and computer-graphics engineers all need the exact centre of a span constantly, and averaging coordinates is how machines find it.

  • Finding a centre. The centre of a circle is the midpoint of its diameter; the centre of a rectangle is the midpoint of its diagonal. Geometry leans on this everywhere.

  • Bisecting a segment. The midpoint is where a perpendicular bisector crosses a segment — so the midpoint formula feeds directly into finding a triangle's circumcenter.

  • Smooth motion in graphics. Animation and games interpolate positions between two frames; the midpoint is the simplest case of finding an in-between point, scaled to any fraction.

The idea of placing geometry on a numbered grid — which is what makes averaging coordinates possible — came from René Descartes in the 1630s, joining algebra to geometry (René Descartes, MacTutor).

Mistakes With The Midpoint Formula

Mistake 1: Subtracting coordinates instead of averaging

Where it slips in: When one or both coordinates are negative and "finding the difference" feels right.

Don't do this: Compute $x_2 - x_1$ and call it the midpoint coordinate. That gives a length, not a centre.

The correct way: Always add the two coordinates and divide by two. The first-instinct error is reaching for subtraction the moment a minus sign appears — averaging keeps the signs and divides the sum.

Mistake 2: Mixing up which coordinate goes with which

Where it slips in: When the points are written out of order or the reader pairs an x with a y by accident.

Don't do this: Average $x_1$ with $y_2$. The x-coordinates average together; the y-coordinates average together — never crossed.

The correct way: Keep the two averages in separate columns. The memorizer who chants "add and divide" without tracking which axis is which will sometimes pair the wrong values; writing the two fractions side by side prevents it.

Mistake 3: Forgetting the formula reverses for "find the other endpoint" problems

Where it slips in: When the midpoint is given and an endpoint is unknown.

Don't do this: Plug the midpoint straight into the formula as if it were an endpoint.

The correct way: Set the average of the known endpoint and the unknown equal to the given midpoint, then solve — as in Example 5. The second-guesser often knows the formula but freezes when the unknown is an endpoint rather than the midpoint.

A real-world echo of Mistake 1 lives in navigation and mapping: software that computes a "centre point" between two GPS coordinates by subtracting rather than averaging would place a meeting point far from the true halfway location — a small algebra slip with a visibly wrong result on the map.

Conclusion

  • The midpoint formula is $M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$, averaging the x-values and the y-values.

  • It comes straight from the idea of an average, applied to each coordinate separately.

  • A fractional or negative midpoint is normal; the centre simply falls between gridlines or in another quadrant.

  • For "find the other endpoint" problems, set the average equal to the given midpoint and solve.

  • The midpoint formula finds circle centres, bisects segments, and feeds into the circumcenter and median constructions.

To take coordinate geometry further with a teacher, explore Bhanzu's geometry tutor sessions or a high school math tutor, and the structured math classes online build the coordinate-plane toolkit from the ground up.

Practice These To Solidify Your Understanding

Work through these, then check by sketching the segment.

  1. Find the midpoint of $(1, 7)$ and $(5, 3)$. (Answer to Question 1: $(3, 5)$.)

  2. Find the midpoint of $(-4, 2)$ and $(2, -6)$. (Answer to Question 2: $(-1, -2)$.)

  3. The midpoint of $RS$ is $(0, 0)$ and $R = (-3, 4)$. Find $S$. (Answer to Question 3: $(3, -4)$.)

If you get stuck on Question 3, return to Example 5 and set each average equal to the given midpoint.

Want a live Bhanzu trainer to walk through coordinate geometry with you? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the midpoint formula in coordinate geometry?
It is $M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$, the average of the two endpoints' coordinates, giving the point exactly halfway between them.
Can a midpoint be a fraction or a decimal?
Yes. Whenever the endpoint coordinates do not both add to an even number, the midpoint lands on a half-value like $(4.5, 4.5)$. That is correct, not an error.
How is the midpoint formula different from the distance formula?
The midpoint formula finds the centre between two points; the distance formula finds how far apart they are. One averages; the other uses the Pythagorean theorem.
Why is the midpoint formula important?
It locates centres — of segments, diameters, and diagonals — and it bisects segments, which is the starting point for constructions like the perpendicular bisector and the triangle's circumcenter.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →