Midpoint Calculator

Find the center of a line segment by averaging matching coordinates, x with x and y with y, regardless of which endpoint is entered first.

Average matching coordinates, not all numbers

A midpoint is two separate averages: horizontal position and vertical position. Keep each point in (x, y) order so the result is a coordinate pair, not a blend of unrelated numbers.

How to use the coordinates

  1. Enter point A.
  2. Enter point B.
  3. Average the x-values.
  4. Average the y-values.
  5. Read the answer as (x, y).

Loading tool...

Segment midpoint formula

The midpoint is halfway from both endpoints and lies on the segment between them.

x midpointx midpoint=x1+x22
y midpointy midpoint=y1+y22
Coordinate pairmidpoint=x1+x22,y1+y22
Example-4,6and8,-22,2

How to interpret the midpoint

  • It lies on the segment.
  • It is equally far from both endpoints.
  • It works with negative and decimal coordinates.
  • It is useful for maps, drawings, screen layouts, CAD, and geometry checks.

FAQ

Does it matter which point I enter first?

No. The midpoint uses addition, so swapping the two endpoints gives the same coordinate pair.

Is the midpoint always on the line segment?

Yes. The midpoint is the center of the segment between the two input points, so it is halfway from each endpoint.