Beginner

Midpoint Calculator

Calculate the midpoint of the segment joining two points.
Midpoint: (4, 5)
Midpoint x
4
Midpoint y
5
ABMidpoint
Step by step
  1. 1

    Sum of x-coordinates

    2 + 6 = 8
  2. 2

    Midpoint x

    8 ÷ 2 = 4
  3. 3

    Sum of y-coordinates

    3 + 7 = 10
  4. 4

    Midpoint y

    10 ÷ 2 = 5
    The same averaging process applied independently to the y-axis.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Formula
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
How this is calculated

The calculator takes four numbers: the coordinates of two points in a 2D plane, point A as (x₁, y₁) and point B as (x₂, y₂). Each coordinate is treated as a pure real number, so the units are whatever you use consistently for both points (pixels, meters, grid squares) — the calculator does not assume any particular unit and never mixes them.

The midpoint is found by averaging each axis independently. It adds the two x-values and divides by 2 to get the midpoint x, then adds the two y-values and divides by 2 to get the midpoint y. This works because the average of two numbers always lands exactly halfway between them, so the resulting point sits at the center of the straight segment joining A and B and splits it into two equal lengths.

The formula is symmetric: swapping A and B gives the same answer. It handles negative, decimal, and identical coordinates — if both points are the same, the midpoint equals that point. It is purely geometric, ignoring any path, curvature, or distance; it only locates the center of the straight line between the two endpoints.

Examples
InputResult
(2, 3) and (6, 7)M = (4, 5)

About this calculator

The midpoint of a line segment is the point exactly halfway between its two endpoints. To find it, you average the x-coordinates and average the y-coordinates: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). The result is a single coordinate pair that lies on the segment and divides it into two equal halves.

The midpoint formula is essential in geometry for finding centers of segments, the center of a circle from a diameter, or the balance point between two locations. It works for any real coordinates and is symmetric — swapping the two points gives the same midpoint.

Frequently asked questions

Add the two x-coordinates and divide by 2 to get the midpoint x, then do the same with the y-coordinates. The pair (avg x, avg y) is the midpoint.

Yes. The midpoint lies exactly halfway along the straight segment connecting the two points, splitting it into two equal pieces.

Yes. If you know the midpoint and one endpoint, double the midpoint coordinate and subtract the known endpoint coordinate to find the other endpoint.

Also known as

midpoint formula
midpoint between two points
coordinate midpoint
center point calculator
midpoint of segment
find midpoint

APA

TG we-Calculate Editorial Team. (2026). Midpoint Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/midpoint-calculator

Chicago

TG we-Calculate Editorial Team. "Midpoint Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/midpoint-calculator.

IEEE

TG we-Calculate Editorial Team, "Midpoint Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/midpoint-calculator

BibTeX

@misc{wecalculate_midpoint_calculator, title = {Midpoint Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/midpoint-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?