The midpoint of a segment represents the point that is located exactly in the middle of the two endpoints of the segment. The midpoint can be found by dividing the sum of the *x*-coordinates by 2 and dividing the sum of the *y*-coordinates by 2.

Here, we will learn about the formula that we can use to calculate the midpoint of a segment. Also, we will use that formula to solve some practice examples.

## What is the midpoint?

The midpoint is a point that is located exactly in the middle of a line segment that joins two points. For example, if we have two points and we join them with a line segment, the midpoint will be located in the middle of that segment and will be equidistant from both points.

In the following diagram, we have points A and B, which are joined by a segment. Point C is the midpoint since it is exactly in the middle of the segment. To calculate the location of the midpoint, we simply have to measure the length of the segment and divide it by 2.

A midpoint can be calculated only when we have a segment that joins two points since it has a defined location. The midpoint cannot be calculated for a line or a ray since a line has two ends that extend indefinitely and a ray has one end that extends indefinitely.

## Formula for the midpoint of a line segment

The formula for the midpoint of a line segment is derived using the coordinates of the endpoints of the segment. The midpoint is equal to half the sum of the *x*-coordinates of the points and half the *y*-coordinates of the points.

Therefore, if we have points A and B with the coordinates and , the formula for the midpoint is:

Formula for the midpoint |

The midpoint will be expressed as the coordinates .

## Midpoint of a line segment – Examples with answers

The following examples are solved using the formula for the midpoint of a line segment. Try to solve the problems yourself before looking at the answer.

**EXAMPLE 1**

Find the midpoint of a line segment that joins the points (2, 5) and (6, 9).

##### Solution

We have the following coordinates:

Now, we use the midpoint formula with the given coordinates:

The midpoint is .

**EXAMPLE 2**

What is the midpoint of a line segment joining the points (4, 7) and (9, 10)?

##### Solution

We can write as follows:

Applying the midpoint formula with the given coordinates, we have:

The midpoint is .

Start now: Explore our additional Mathematics resources

**EXAMPLE 3**

If we have the points (-4, -2) and (6, 5) joined by a line segment, what is their midpoint?

##### Solution

We have the following values:

In this case, we have negative coordinates, however, we simply apply the midpoint formula as in the previous exercises:

The midpoint has the coordinates .

**EXAMPLE 4**

The diameter of a circle has the endpoints (-4, 2) and (2, 8). What are the coordinates of the center of the circle?

##### Solution

The center of the circle divides the diameter into two equal parts. That means that to find the center, we have to find the coordinates of the midpoint of the diameter. Therefore, we start with the coordinates:

Now, we apply the midpoint formula with these coordinates:

The coordinates of the center of the circle are .

**EXAMPLE 5**

The endpoints of a segment are (*p*, 4) and (8, 10). Find the value of *p* if the midpoint is (3, 7).

##### Solution

We write the given coordinates:

Now, we can apply the midpoint formula with the known values:

In this case, we have to find the value of *p* which is part of the *x* coordinates of the midpoint. Therefore, we just consider the *x* component, we form an equation and solve for *p.* We know that the *x* coordinate of the midpoint is 3, so we have

The value of *p* is -2.

## Midpoint of a line segment – Practice problems

Solve the following problems applying what you have learned about the midpoint of a line segment. If you need help with this, you can look at the solved examples above.

## See also

Interested in learning more about distance, midpoint, and slope on the plane? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**