Midpoint Formula: Definition Derivation and Examples

#Midpoint Formula
TL;DR
The midpoint formula finds the point exactly halfway between two points by averaging their x-coordinates and their y-coordinates. Below: why averaging works, how to run it backwards, and six worked examples.
Mythri K MΒ·reviewed byShikha SharmaLast updated on December 2, 202613 min read

Key Points

  • For A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), the midpoint is M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right).
  • It is an average, done once across and once up. Nothing is subtracted.
  • Half the run and half the rise from A also reach M, splitting the segment into two identical halves.
  • Run it backwards to find a missing endpoint: B=2Mβˆ’AB = 2M - A, coordinate by coordinate.
  • Midpoints find circle centres, test parallelograms and split segments in constructions.

Splitting a Line in Half Without a Ruler

Two friends live at opposite ends of a straight road and want to meet exactly halfway.

  • On a map with coordinates, nobody needs to walk the road with a tape measure.
  • Add the two positions, halve the result, and the meeting point appears.
  • That is the whole midpoint formula: an average.

It is one of the most reused ideas in coordinate geometry, because "the middle of something" turns up everywhere, from the centre of a circle to the balance point of a triangle.

the midpoint formula puts M(4, 2) halfway along the segment from A(2, 1) to B(6, 3)
A grid with A(2, 1) and B(6, 3) joined by a segment, blue from A to the midpoint M(4, 2) and orange from M to B, each half carrying one tick mark.

What Is the Midpoint Formula?

The midpoint of a line segment is the point on it that is the same distance from both ends. The midpoint formula gives its coordinates.

M=(x1+x22,Β y1+y22)M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2}\right)
  • (x1,y1)(x_1, y_1) is one endpoint, (x2,y2)(x_2, y_2) is the other, and MM is the midpoint.
  • Read it as two separate averages: the x-coordinates averaged, paired with the y-coordinates averaged.
  • For A(2, 1) and B(6, 3): M=(2+62,1+32)=(4,2)M = \left(\frac{2 + 6}{2}, \frac{1 + 3}{2}\right) = (4, 2).
  • The midpoint divides the segment in the ratio 1:11 : 1, two equal halves. A segment bisector crosses the segment there.

Where Does the Midpoint Formula Come From?

The formula is not a rule to memorise blindly. It is an average, applied to each coordinate separately, and there are two ways to see why that works.

Way 1: average each direction on its own

Start on a number line, where the midpoint of two values aa and bb is their average, a+b2\frac{a + b}{2}.

  • The point halfway between 2 and 6 is 4, which is 2+62\frac{2 + 6}{2}. The midpoint of 3 and 11 is 3+112=7\frac{3 + 11}{2} = 7.
  • An average always sits exactly between two numbers: it is as far above the smaller as below the larger.
  • The coordinate plane is two number lines at right angles.
  • Drop A, B and M onto the x-axis and their shadows land at 2, 6 and 4. On the y-axis they land at 1, 3 and 2. Each coordinate of M is the halfway value on its own axis.
the midpoint's x-coordinate is the average of 2 and 6 and its y-coordinate is the average of 1 and 3
A grid with A(2, 1), B(6, 3) and M(4, 2). Dashed lines drop each point onto the axes: on the x-axis 2, 4 and 6, on the y-axis 1, 2 and 3, with M's values in purple halfway between.

Way 2: half the run and half the rise

Going from A to B takes a run of x2βˆ’x1x_2 - x_1 and a rise of y2βˆ’y1y_2 - y_1. Take half of each step:

(x1+x2βˆ’x12,Β y1+y2βˆ’y12)=(x1+x22,Β y1+y22)\left(x_1 + \tfrac{x_2 - x_1}{2},\ y_1 + \tfrac{y_2 - y_1}{2}\right) = \left(\tfrac{x_1 + x_2}{2},\ \tfrac{y_1 + y_2}{2}\right)
  • The algebra lands on the same formula.
  • The trips A to M and M to B are two right triangles with the same run and rise, so they are congruent.
  • Their hypotenuses AM and MB are equal and point the same way, so M lies on the segment, in the middle.
  • Swapping A and B changes nothing, because addition does not care about order.
half the run and half the rise from A reach the midpoint, making two congruent triangles
A grid with A(1, 1), M(4, 3) and B(7, 5). A blue right triangle with run 3 and rise 2 joins A to M, and an identical green one joins M to B.

Try It Yourself

In the coordinate lab, drag A and B anywhere on the grid; the purple dot M follows at exactly halfway. Try the "Horizontal" preset, A(βˆ’4, 2) and B(3, 2): M's x-coordinate is βˆ’4+32=βˆ’0.5\frac{-4 + 3}{2} = -0.5, and its y-coordinate stays at the shared height, 2.

Edge Cases Worth Knowing

Once the formula is clear, a few situations look odd but follow the same rule.

  • Horizontal and vertical segments. If both points share a y-coordinate, so does the midpoint; only the x-coordinates need averaging.
  • Fractions are normal. When x1+x2x_1 + x_2 is odd, the midpoint lands on a half, such as (4.5,4.5)(4.5, 4.5). That is correct, not an error.
  • Different quadrants. Negative coordinates stay negative inside the sum: the midpoint of (βˆ’6,2)(-6, 2) and (2,4)(2, 4) has x=βˆ’6+22=βˆ’2x = \frac{-6 + 2}{2} = -2.
  • Three dimensions. Add a third average for the z-coordinates.
  • Curved surfaces break it. For two cities far apart on the globe, averaging latitudes and longitudes does not give the halfway point of the shortest route.

How the Midpoint Connects to Other Ideas

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

  • The section formula. The midpoint divides a segment in the ratio 1:11 : 1. The section formula handles any ratio m:nm : n and reduces to the midpoint formula when m=nm = n.
  • The centroid. Average three vertices instead of two to get the centroid of a triangle, (x1+x2+x33,y1+y2+y33)\left(\frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3}\right).
  • Medians and the midpoint theorem. A median of a triangle ends at a side's midpoint. The midpoint theorem says the segment joining two such midpoints is parallel to the third side and half as long.
  • The distance formula. The midpoint finds the centre of a segment; the distance formula measures its length. Together they give a circle's centre and radius from one diameter.

Euclid bisected a segment with no coordinates at all. Book I, Proposition 10 of the Elements finds the midpoint with compass and straightedge. About two thousand years later, RenΓ© Descartes joined algebra to geometry in La GΓ©omΓ©trie (1637), and the construction became one line of arithmetic.

Examples of the Midpoint Formula

These climb from whole numbers, through negatives and fractions, to running the formula backwards.

Example 1

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

  1. Average the x-values: 2+62=4\frac{2 + 6}{2} = 4.
  2. Average the y-values: 1+32=2\frac{1 + 3}{2} = 2.

Final answer: M = (4, 2).

Example 2

Find the midpoint of (βˆ’3, 0) and (0, βˆ’5).

  1. A minus sign tempts many students to "find the gap" by subtracting: (0βˆ’(βˆ’3),Β βˆ’5βˆ’0)=(3,βˆ’5)(0 - (-3),\ -5 - 0) = (3, -5).
  2. Sketch it. The segment runs through the third quadrant, but (3,βˆ’5)(3, -5) sits right of the y-axis. It is not between the points at all.
  3. Subtraction measures how far apart the points are, not where their middle is. Average instead, keeping each sign.
  4. M=(βˆ’3+02,0+(βˆ’5)2)=(βˆ’32,βˆ’52)M = \left(\frac{-3 + 0}{2}, \frac{0 + (-5)}{2}\right) = \left(-\frac{3}{2}, -\frac{5}{2}\right).

Final answer: M = (βˆ’1.5, βˆ’2.5).

averaging gives a point on the segment while subtracting gives a point off it
A grid with the segment from (βˆ’3, 0) to (0, βˆ’5). A green dot on the segment marks the midpoint (βˆ’1.5, βˆ’2.5) with a tick, and an orange dot well to the right at (3, βˆ’5) marks the difference, with a cross.

Example 3

A diameter of a circle runs from (2, βˆ’3) to (βˆ’6, 5). Find the centre and the radius.

  1. The centre of a circle is the midpoint of every diameter: (2+(βˆ’6)2,βˆ’3+52)=(βˆ’2,1)\left(\frac{2 + (-6)}{2}, \frac{-3 + 5}{2}\right) = (-2, 1).
  2. The radius is the distance from the centre to either end: (2βˆ’(βˆ’2))2+(βˆ’3βˆ’1)2=32\sqrt{(2 - (-2))^2 + (-3 - 1)^2} = \sqrt{32}.
  3. 32=42β‰ˆ5.66\sqrt{32} = 4\sqrt{2} \approx 5.66.

Final answer: Centre (βˆ’2, 1), radius 42β‰ˆ5.664\sqrt{2} \approx 5.66.

the centre of the circle is the midpoint of the diameter, (βˆ’2, 1)
A circle on a grid with the diameter from (βˆ’6, 5) to (2, βˆ’3) drawn in orange, double tick marks on each half, and the centre (βˆ’2, 1) marked in purple.

Example 4

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

  1. M=(6+32,8+12)=(92,92)M = \left(\frac{6 + 3}{2}, \frac{8 + 1}{2}\right) = \left(\frac{9}{2}, \frac{9}{2}\right).
  2. Both sums are odd, so the midpoint falls between gridlines. That is normal.

Final answer: M = (4.5, 4.5).

Example 5

The midpoint of PQβ€Ύ\overline{PQ} is M(4, 4) and P is (1, 2). Find Q.

  1. Run the formula backwards. If Q = (x, y), each average must equal M's coordinate.
  2. 1+x2=4\frac{1 + x}{2} = 4, so 1+x=81 + x = 8 and x=7x = 7.
  3. 2+y2=4\frac{2 + y}{2} = 4, so 2+y=82 + y = 8 and y=6y = 6.
  4. Shortcut: Q=2Mβˆ’PQ = 2M - P. In steps, P to M is 3 across and 2 up, and Q is the same step again from M.

Final answer: Q = (7, 6).

the missing endpoint Q(7, 6) is one more identical step past the midpoint
A grid with P(1, 2), M(4, 4) and Q(7, 6). A blue step of +3 across and +2 up goes from P to M, and the same green step continues from M to Q.

Example 6

Is A(1, 1), B(5, 2), C(6, 5), D(2, 4) a parallelogram?

  1. A quadrilateral is a parallelogram exactly when its diagonals bisect each other, that is, share a midpoint.
  2. Midpoint of AC: (1+62,1+52)=(3.5,3)\left(\frac{1 + 6}{2}, \frac{1 + 5}{2}\right) = (3.5, 3).
  3. Midpoint of BD: (5+22,2+42)=(3.5,3)\left(\frac{5 + 2}{2}, \frac{2 + 4}{2}\right) = (3.5, 3).
  4. They match. Two midpoint calculations replaced four slope checks.

Final answer: Yes, ABCD is a parallelogram.

both diagonals have midpoint (3.5, 3), so ABCD is a parallelogram
The quadrilateral A(1, 1), B(5, 2), C(6, 5), D(2, 4) on a grid with an orange diagonal AC and a green diagonal BD crossing at their shared midpoint (3.5, 3).

Why the Halfway Point Earns Its Keep

"The centre of a segment, found by averaging." The formula looks small, but it is a building block that surveyors, mapmakers and graphics engineers use constantly.

  • Meeting halfway. On a city grid, homes at (1, 1) and (9, 6) have midpoint (5, 3.5). Each home is 4 blocks across and 2.5 blocks up or down from it: 6.5 blocks of walking either way.
  • Finding centres. The centre of a circle is the midpoint of a diameter; the centre of a rectangle is the midpoint of either diagonal. Designers locate holes, hinges and supports this way.
  • Bisecting segments. The midpoint is where a perpendicular bisector crosses a segment, which leads to a triangle's circumcenter.
  • Splitting intervals. The bisection method for solving equations cuts an interval at its midpoint again and again, keeping the half that holds the answer.
  • Computer graphics. Animation finds in-between positions of a moving object, and smooth curves are often drawn by taking midpoints of midpoints.
two friends meet at the midpoint (5, 3.5) of their homes on a city map
A street grid with home A at (1, 1) and home B at (9, 6), joined by a dashed orange line, and a purple dot at the meeting point (5, 3.5) halfway along it.

Mistakes With the Midpoint Formula

Three slips cause most wrong midpoints, and a quick sketch catches all of them.

Mistake 1: Subtracting instead of averaging

Where it slips in: A negative coordinate appears, and "finding the difference" feels like the natural move.

Don't do this: Write x2βˆ’x1x_2 - x_1 as the midpoint's x-coordinate. That is a run, a length, not a position.

The correct way: Add the two coordinates, signs and all, and divide by 2. Then check that the answer sits between the endpoints.

Mistake 2: Crossing the coordinates

Where it slips in: A student who remembers "add and halve" but not what to add pairs x1x_1 with y2y_2, especially when the points are written in a jumble.

Don't do this: Average an x with a y.

The correct way: Write two separate fractions, the x's over 2 and the y's over 2, before putting any numbers in.

Mistake 3: Treating the midpoint as an endpoint

Where it slips in: The midpoint is given and an endpoint is missing, as in Example 5.

Don't do this: Average the midpoint with the known endpoint. For M(4, 4) and P(1, 2) that gives (2.5, 3), a point between them, not beyond M.

The correct way: Set each average equal to M and solve, or use B=2Mβˆ’AB = 2M - A. The missing endpoint is always on the far side of M.

Conclusion

  • The midpoint formula is M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right): an average across, an average up.
  • It works because an average sits halfway on each axis, and half the run plus half the rise makes two identical halves.
  • A fractional or negative midpoint is normal; check that every answer sits between the endpoints.
  • To find a missing endpoint, step past the midpoint by the same amount: B=2Mβˆ’AB = 2M - A.
  • Midpoints locate circle centres, test parallelograms and start constructions like the perpendicular bisector.

Practice These to Solidify Your Understanding

Sketch each segment first, then check.

  1. Find the midpoint of (1, 7) and (5, 3).
  2. Find the midpoint of (βˆ’4, 2) and (2, βˆ’6).
  3. The midpoint of RSβ€Ύ\overline{RS} is (0, 0) and R is (βˆ’3, 4). Find S.

Answer to Question 1: (3, 5).

Answer to Question 2: (βˆ’1, βˆ’2).

Answer to Question 3: (3, βˆ’4). If this went wrong, return to Example 5 and use S=2Mβˆ’RS = 2M - R.

To practise coordinate geometry with a teacher, explore Bhanzu's math classes online.

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

Read More

Research Behind This Article

  1. OpenStax, College Algebra 2e, Section 2.1: The Rectangular Coordinate Systems and Graphs (the midpoint formula). openstax.org
  2. D. E. Joyce, Clark University, Euclid's Elements, Book I, Proposition 10 (to bisect a given finite straight line). mathcs.clarku.edu
  3. J. J. O'Connor and E. F. Robertson, RenΓ© Descartes, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
  4. OpenStax, Calculus Volume 3, Section 2.2: Vectors in Three Dimensions (midpoints in three dimensions). openstax.org

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the midpoint formula in coordinate geometry?
M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right), the point exactly halfway between (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2).
Can a midpoint have fractions or decimals?
Yes. Whenever two coordinates add to an odd number, the midpoint lands on a half, like (4.5, 4.5). That is correct, not an error.
How is the midpoint formula different from the distance formula?
The midpoint formula gives a point, the centre of the segment. The distance formula gives a number, its length, by squaring the differences and using Pythagoras.
Does the midpoint formula work in three dimensions?
Yes: (x1+x22,y1+y22,z1+z22)\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2}\right).
Why is the midpoint formula important?
It locates centres of segments, diameters and diagonals, and it is the first step in constructions like the perpendicular bisector and a triangle's circumcenter.
✍️ Written By
Mythri K M
Mythri K M
Subject Matter Expert
Mythri K M is a mathematics educator and curriculum designer with a Master's degree in Mathematics and over 10 years of teaching experience. She has taught and written on topics ranging from Algebra, Geometry and Trigonometry to Calculus, Number Theory and mathematical reasoning, with a particular interest in how children develop mathematical thinking. As a teacher and parent, she believes learning works best when it is curious and joyful rather than stressful, and she shares ideas and activities that help students build confidence and support parents along the way.
πŸ”¬ Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now β†’