The Midpoint Formula

Before we actually delve and learn how to apply or use the midpoint formula to solve problems, let’s pause for a moment and have a practical understanding of it. Think of the midpoint as the “halfway” or middle point of a line segment. This so-called center point divides the line segment into two equal or congruent parts.

line segment AC has a midpoint at B and endpoints at A and C

NOTE: The midpoint of line segment AC denoted by the symbol \overline {AC} is located at point B. This implies that line segment AB, written as \overline {AB} , and line segment BC, written also as \overline {BC} , have equal measure. Therefore, \overline {AB} = \overline {BC} .

In a nutshell, the formula to find the midpoint of two given points is the following.

The Midpoint Formula

The line segment with endpoints A and B is shown on the XY-plane. The center point is (4,3).

The midpoint M of the line segment with endpoints A\left( {{x_1},{y_1}} \right) and B\left( {{x_2},{y_2}} \right) is calculated as follows:

M= [ (x1+x2)/2 , (y1+y2)/2 ]


a) The x-coordinate of the midpoint is the average of the x-values from the given points.

b) The y-coordinate of the midpoint is the average of the y-values from the given points.

Examples on How to Use the Midpoint Formula

Let’s go over five (5) different examples to see the midpoint formula in action!

Example 1: Find the midpoint of the line segment joined by the endpoints (–3, 3) and (5, 3).

When you plot the points in the xy-axis and join them with a ruler, the line segment is obviously horizontal because the y-coordinates of points are equal. In doing so, it is easy to approximate or guess the midpoint even without the midpoint formula. You can do just that by counting the same number of units from both sides of the endpoints until it reaches the center.

However, let’s work it out using the formula to find the midpoint.

Let (–3, 3) be the first point so {x_1} = - 3 and {y_1} = 3. In the same manner if (5, 3) is the second point then {x_2} = 5 and {y_2} = 3.  Substitute these values in the formula, and simplify to get the midpoint.

midpoint is located at (1,3)

Here are the points plotted in the Cartesian plane, together with the calculated value of the midpoint.

The line segment on a graph with endpoints (-3,3) and (5,3) is shown to have a midpoint at (1,3).

Example 2: Find the center point of the line segment joined by the endpoints (1, 5) and (1, –1) using the midpoint formula.

This particular line segment is clearly vertical because the two points have the same x-coordinates. More so, plotting the points in the xy-axis verifies the case. Like in our previous example, the midpoint of this vertical line segment can easily be approximated by counting the same number of units from both sides of the endpoints.

Anyway, let’s solve this using the formula.

midpoint (1,2)

Here’s how it looks on the graph.

The endpoints are represented by blue dots while the point that partitions the line segment into two equal lengths is represented by the red dot.

Example 3: Find the midpoint of the line segment joined by the endpoints (–4, 5) and (2, –3).

Notice that when you plot the line segment generated by the given endpoints, the resulting line segment is neither horizontal nor vertical, unlike the last two examples. You instead get a diagonal line segment. This time around, it is more difficult to guess or approximate the midpoint. However, with the use of the formula, this should not be a problem.

We can let \left( {{x_1},{y_1}} \right) = \left( { - 4,5} \right) and \left( {{x_2},{y_2}} \right) = \left( {2, - 3} \right).

Now, substitute and evaluate the values in the midpoint formula.

midpoint (-1,1)

Here’s the graph.

the red dot is located at the middle of the line segment

Example 4: Find the missing value of h in the points (5, 7) and (1, h) if its midpoint is at (3, -2).

Since the midpoint is actually given to us, start by setting the formula equal to the numerical value of the midpoint. Just like this…

midpont is located at x=3 and y=-2

We let \left( {{x_1},{y_1}} \right) = \left( {5,7} \right) and \left( {{x_2},{y_2}} \right) = \left( {1,h} \right). Then substitute these values in the formula.


If you observe, two points are equal whenever their corresponding coordinates are the same. That is, the x-values are equal, and the y-values are equal as well.

Notice, that the x-values are both equal to 3. Great!

But we want to do the same thing with the y-coordinates by setting them equal to each other. By doing so, we created a simple equation that can be solved for the missing value of h.

solving for h, (7+h)/2 = -2 → 7+h = -4 → h=-11

Example 5:  Find the center of a circle whose diameter has endpoints (–1, –5) and (5, –1).

If you think about it, the center of a circle is just the midpoint of the diameter. This problem is simply reduced to solving the midpoint of the line segment with endpoints (–1, –5) and (5, –1).

I am sure that you already know how to do this. Just a word of caution though, be very careful when adding or subtracting numbers with the same or different signs. This is where silly mistakes happen because students tend to “relax” when performing basic arithmetic operations. So don’t be.

center of diameter = center of circle = (2,-3)

Here’s the graph of the circle showing its diameter and center.

the middle point is located at x=2 and y=-3

You might also be interested in:

Distance Formula