How to Find the Midpoint Between Two Points

Find a midpoint step by step: add the x-values and halve, add the y-values and halve. Worked examples with negatives, fractions and 3D, plus a graph check.

How to Find the Midpoint: The Common Mistake and the Correct Method

A common wrong assumption is that you can average coordinates from three or more points and call that a midpoint. That is a centroid, a different geometric concept. To learn how to find the midpoint correctly, step by step, with examples that include negatives, fractions, and a 3D case, the core idea is simple: the midpoint is the average of the coordinates of the two endpoints.

For two points in 2D, the equation is M = ((x₁ + x₂)/2, (y₁ + y₂)/2). In 3D, you add the z-coordinate: M = ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2). That is all there is to it. The most common error is dividing by the number of points when that number is not 2. For a midpoint, you always divide by 2.

Below are four worked examples. Read them in order. They build from simple to challenging.

Find the midpoint of two points

x-coordinate of the first point
y-coordinate of the first point
x-coordinate of the second point
y-coordinate of the second point

Midpoint formula: M = ((x₁ + x₂)/2, (y₁ + y₂)/2)

The Three Steps to Calculate a Midpoint by Hand

  1. Identify the coordinates. Write down the two points clearly. Label them Point A and Point B. For a 2D problem, you have pairs like (x, y). For 3D, triplets like (x, y, z).
  2. Add the corresponding coordinates. Add the x-values together. Add the y-values together. If 3D, add the z-values together. Keep x with x, y with y, z with z. Do not mix them.
  3. Divide each sum by 2. The number 2 comes from the two endpoints. The result for x is the x-coordinate of the midpoint. Same for y and z. Combine them into a coordinate pair or triplet.

That is the entire method. The next three examples show it working with negatives, fractions, and a third dimension.

Example With Negative Coordinates

Problem: Find the midpoint between Point A (-4, 7) and Point B (2, -9).

  • Step 1: Coordinates are A = (-4, 7), B = (2, -9).
  • Step 2: Add x: -4 + 2 = -2. Add y: 7 + (-9) = -2.
  • Step 3: Divide by 2. x = -2 / 2 = -1. y = -2 / 2 = -1.

Midpoint: (-1, -1). The most common mistake here is a sign error. For example, a reader might treat 7 + (-9) as 7 - 9 = -2, which is correct, but then think the answer is positive 2. Double-check the sign of each sum before dividing. The segment from (-4, 7) to (2, -9) crosses through (-1, -1) exactly.

If you want to verify, plug the midpoint and one endpoint into the missing endpoint formula: x₂ = 2Mx - x₁. For x: 2(-1) - (-4) = -2 + 4 = 2, which matches B's x. For y: 2(-1) - 7 = -2 - 7 = -9, which matches B's y. That check confirms the midpoint is correct.

Example With Fractional Coordinates

Problem: Find the midpoint between Point A (1/2, 3/4) and Point B (5/2, 9/4).

  • Step 1: A = (1/2, 3/4), B = (5/2, 9/4).
  • Step 2: Add x: 1/2 + 5/2 = 6/2 = 3. Add y: 3/4 + 9/4 = 12/4 = 3.
  • Step 3: Divide by 2. x = 3 / 2 = 3/2. y = 3 / 2 = 3/2.

Midpoint: (3/2, 3/2), which is (1.5, 1.5). The fraction case is straightforward because the denominators matched. If they do not match, find a common denominator before adding. For example, if one y-coordinate is 1/3 and the other is 1/2, convert to 2/6 and 3/6, add to get 5/6, then divide by 2 to get 5/12. The method does not change.

This example also shows that the midpoint can have coordinates that are not whole numbers. That is fine. The midpoint is the exact center, not a rounded value.

3D Example: Midpoint With Three Dimensions

Problem: Find the midpoint between Point P (-2, 4, 6) and Point Q (8, -6, 10).

  • Step 1: P = (-2, 4, 6), Q = (8, -6, 10).
  • Step 2: Add x: -2 + 8 = 6. Add y: 4 + (-6) = -2. Add z: 6 + 10 = 16.
  • Step 3: Divide by 2. x = 6/2 = 3, y = -2/2 = -1, z = 16/2 = 8.

Midpoint: (3, -1, 8). The z-coordinate works exactly like x and y. A common error is to forget the z-coordinate entirely and give a 2D answer. If the problem gives three coordinates, you must output three coordinates. The midpoint equation generalises to n dimensions: you average each coordinate independently.

The distance formula can also be used to check the 3D midpoint. The distance from P to (3, -1, 8) should equal the distance from (3, -1, 8) to Q. That test confirms the midpoint is correct.

Check Your Midpoint by Graphing

After you calculate the midpoint, graph the two endpoints and the midpoint on a coordinate plane. Draw the line segment connecting the endpoints. The midpoint should lie exactly halfway along that segment. If it does not, you made an arithmetic error.

For the negative example above, plot (-4, 7) and (2, -9). The midpoint (-1, -1) should be visibly centered between them. Use graph paper or an online coordinate tool for precision. This visual check catches sign errors and forgotten divisions faster than re-reading the arithmetic.

If you are working in 3D, you cannot easily graph on paper. Use the distance formula check instead. Calculate the Euclidean distance from the midpoint to each endpoint. The two distances must be equal. If they differ by even 0.01, redo the addition and division.

Mistakes: Subtracting Instead of Adding

The most frequent error in finding a midpoint is subtracting the coordinates instead of adding them. The midpoint is an average, and an average starts with a sum. If you subtract x₁ from x₂, you get the vector from point A to point B, not the midpoint. That vector is half the length of the segment, but it is not the midpoint coordinate.

Example of the mistake: For points (3, 5) and (7, 1), a wrong calculation does 7 - 3 = 4 and 1 - 5 = -4, then divides by 2 to get (2, -2). The correct midpoint is (5, 3). The wrong point (2, -2) is not even on the segment. It is the endpoint of a vector from (3,5) to (7,1) after moving half the distance, but that vector starts at the origin, not at point A.

Another common error: dividing by the number of points when that number is not 2. If you have three points, you average them to get the centroid. That centroid is not the midpoint of any of the three segments between pairs. If you need the midpoint, you work with exactly two points. If you need the center of three points, you need a centroid calculator, not this method.

Watch for sign errors too. When adding -5 and 3, the sum is -2, not 8. Write the addition out in full: -5 + 3 = -2. Then divide by 2 to get -1. A single misplaced negative sign shifts the midpoint to the wrong side of the coordinate plane.

A Honest Caveat About the Midpoint

The method here works for points on a flat Cartesian plane or in 3D Euclidean space. If you are calculating a geographic midpoint between two locations on Earth (latitude and longitude), the simple averaging of coordinates does not work. The Earth is a sphere, and the correct method uses the Haversine formula. The geographic midpoint is the halfway point along the great-circle path, and its calculation involves trigonometric functions, not just addition and division by 2. For everyday distances under a few hundred kilometres, the error from using the flat-plane formula is small, but for long distances it becomes significant. Use a dedicated geographic midpoint tool for that purpose.

More in this guide

Midpoint Calculator Frequently Asked QuestionsFind the Midpoint Between Two Locations.

Common Questions

What is the formula for finding the midpoint?

For two points (x1, y1) and (x2, y2) in 2D, the midpoint is ((x1+x2)/2, (y1+y2)/2). In 3D, add (z1+z2)/2. The formula is the average of the coordinates of the two endpoints.

Can I use the midpoint formula for three points?

No. Three points give a centroid, not a midpoint. The midpoint is defined only between two endpoints of a line segment. Averaging three or more coordinate pairs is a different geometric concept.

What should I do if the coordinates are fractions?

Same method. Add the fractions (use a common denominator if needed), then divide the sum by 2. The answer may be a fraction. That is the exact midpoint.

How do I check if my midpoint is correct?

Graph the two endpoints and the midpoint on a coordinate plane. The midpoint should lie exactly halfway along the segment. Alternatively, use the distance formula: the distance from the midpoint to each endpoint must be equal.

What is the most common mistake when calculating a midpoint?

Subtracting coordinates instead of adding them. The midpoint is an average, so you must add the corresponding coordinates first, then divide by 2. Subtracting gives a vector, not a midpoint.