Calcamaze

Midpoint Calculator

Find the midpoint between two points on a graph, or the missing endpoint when you know the midpoint.

Result

Midpoint
(5, 7)
Segment length
10
Distance from each end to the midpoint
5
Slope
1.333333

The midpoint of a line segment is the point exactly halfway between its two ends. Enter the coordinates of both points to find it, or switch to “A missing endpoint” if you know one end and the midpoint. The segment’s length and slope are shown too.

The midpoint is the average of the two points: average the x-coordinates and average the y-coordinates. You can also work backwards from a midpoint and one end to find the missing end.

What is the midpoint of a line segment?

The midpoint of a line segment is the point that divides it into two equal halves. On a coordinate plane it is found by averaging the coordinates of the two endpoints: M = ((x₁ + x₂)/2, (y₁ + y₂)/2). The same idea extends to three dimensions by also averaging the z-coordinates.

Midpoints are used to find the center of a circle from the ends of a diameter, to draw perpendicular bisectors, to locate the halfway point between two places on a grid map, and in geometry proofs. Running the formula backwards — doubling the midpoint and subtracting one endpoint — recovers the other endpoint.

How to use the midpoint calculator

  1. Choose whether to find the midpoint or a missing endpoint.
  2. Enter the coordinates you know.
  3. Read the midpoint, or the other endpoint.

Formula

M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)

The midpoint’s x-coordinate is the average of the two x-coordinates, and its y-coordinate is the average of the two y-coordinates.

Working backwards, the missing endpoint is x₂ = 2·Mx − x₁ and y₂ = 2·My − y₁.

Worked examples

Midpoint of two points

Find
The midpoint of two points
x₁ (first point)
-4
y₁ (first point)
6
x₂ (second point)
10
y₂ (second point)
-2
Midpoint
(3, 2)
Segment length
16.124515
Distance from each end to the midpoint
8.062258

Average each coordinate: x = (−4 + 10) ÷ 2 = 3 and y = (6 + (−2)) ÷ 2 = 2, so the midpoint is (3, 2).

Finding the missing endpoint

Find
A missing endpoint
x₁ (first point)
1
y₁ (first point)
-3
Midpoint x
4
Midpoint y
2
Second endpoint (x₂, y₂)
(7, 7)
Segment length
11.661904
Distance from each end to the midpoint
5.830952

One end is (1, −3) and the midpoint is (4, 2). The other end is (2 × 4 − 1, 2 × 2 − (−3)) = (7, 7).

Midpoint examples

Point 1Point 2Midpoint
(0, 0)(4, 6)(2, 3)
(2, 3)(8, 11)(5, 7)
(-4, 6)(10, -2)(3, 2)
(-5, -5)(5, 5)(0, 0)
(1.5, 2)(4.5, -3)(3, -0.5)
(-7, 0)(3, 9)(-2, 4.5)

Midpoints in practice

The center of a circle is the midpoint of any diameter, so if you know two opposite points on the edge you can find the center. The midpoint is also a fair meeting spot on a map grid: halfway between (2, 8) and (10, 2) is (6, 5).

Common mistakes

  • Subtracting the coordinates instead of adding them. The midpoint averages the coordinates; subtracting gives the change used in the distance and slope formulas.
  • Mixing up x and y values, such as averaging x₁ with y₂.
  • Losing a minus sign when finding an endpoint: 2 × 2 − (−3) is 7, not 1.
  • Subtracting the coordinates instead of adding them. The midpoint is (x₁ + x₂) ÷ 2, not (x₂ − x₁) ÷ 2.

Frequently asked questions

How do I find the midpoint of two points?

Average the x-coordinates and average the y-coordinates. The midpoint of (2, 3) and (8, 11) is ((2 + 8) ÷ 2, (3 + 11) ÷ 2) = (5, 7).

How do I find an endpoint from the midpoint?

Double the midpoint and subtract the known endpoint. With midpoint (5, 7) and endpoint (2, 3), the other end is (2·5 − 2, 2·7 − 3) = (8, 11).

How do I find the midpoint in 3D?

Average each coordinate, including z: the midpoint of (1, 2, 3) and (5, 6, 9) is (3, 4, 6).

Is the midpoint the same as the average?

Yes, it is the average of the two points, coordinate by coordinate.

Sources

  1. Midpoint, Wolfram MathWorld
  2. College Algebra 2e, 2.1 The Rectangular Coordinate Systems and Graphs, OpenStax, Rice University

Last updated · Calculations checked by automated tests· Editorial policy