Midpoint Formula

GEOMETRY

Midpoint formula

The midpoint formula finds the exact point halfway between two points on a coordinate plane. It simply averages the x-coordinates and averages the y-coordinates.

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

  • M = the midpoint between the two points
  • (x₁, y₁) = the first point
  • (x₂, y₂) = the second point

Averaging the coordinates

The midpoint is just the average of the two points, taken one coordinate at a time. Add the two x-values and halve them for the midpoint x; add the two y-values and halve them for the midpoint y. The result lands exactly between the original points.

Worked example

  1. Take the points (2, 4) and (6, 8).
  2. Average the x-values: (2 + 6) / 2 = 4.
  3. Average the y-values: (4 + 8) / 2 = 6.
  4. The midpoint is (4, 6).

Related tools

See the Distance Formula for the gap between points, or use the math calculators.

FAQ

What is the midpoint formula?

M = ((x₁ + x₂)/2, (y₁ + y₂)/2), the average of the two x-coordinates and the two y-coordinates.

Does the order of the points matter?

No. Addition is the same in any order, so you get the same midpoint regardless of which point you list first.

Using the midpoint

The midpoint of a line segment is the average of its endpoints. For the points (2, 4) and (8, 10), the x value is (2 + 8) divided by 2, which is 5, and the y value is (4 + 10) divided by 2, which is 7, so the midpoint is (5, 7). The formula works in any quadrant, including with negative numbers, and extends to three dimensions by averaging the z values too.

Where it is used

Midpoints are used to find the center of a line, to split a distance evenly, to locate the center of a circle when you know the ends of a diameter, and to check layouts on drawings and maps. If you know one endpoint and the midpoint, you can find the other endpoint by doubling the midpoint and subtracting the known point. The midpoint is not the same as the distance between the points, which uses a different formula.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.