Midpoint Calculator

Enter two points to find the midpoint halfway between them, or switch modes to find a missing endpoint. For example, the midpoint of (2, 3) and (8, −5) is (5, −1): average the x-values and average the y-values.

  • Free
  • No sign-up
  • Shows the working
  • Works on phones
Find
Endpoint A (x₁, y₁)
Endpoint B (x₂, y₂)

Whole numbers, decimals, negatives or fractions like 1/2 all work.

Try:
Midpoint
M = (5, −1)
A (2, 3)B (8, −5)M (5, −1) grid = 2
Endpoint A
(2, 3)
Endpoint B
(8, −5)
Midpoint M
(5, −1)
Length of AB
10
A to M (half)
5

Step by step

  1. Use the midpoint formula: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).
  2. Add the x-coordinates and halve: (2 + 8) ÷ 2 = 10 ÷ 2 = 5
  3. Add the y-coordinates and halve: (3 + (−5)) ÷ 2 = −2 ÷ 2 = −1
  4. So the midpoint is (5, −1). It is the average of the two points.

How to find the midpoint of two points

  1. Label the points (x₁, y₁) and (x₂, y₂).
  2. Add the x-coordinates and divide by 2.
  3. Add the y-coordinates and divide by 2.
  4. Write the two answers as a point: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).

What is the midpoint?

The midpoint of a line segment is the point exactly halfway between its two endpoints. It is the same distance from both ends and splits the segment into two equal parts. Its coordinates are the averages of the endpoints' coordinates.

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

How do you find the midpoint of two points?

Add the x-coordinates and halve the total, then do the same with the y-coordinates. For A(2, 3) and B(8, −5):

  • x: (2 + 8) ÷ 2 = 10 ÷ 2 = 5
  • y: (3 + (−5)) ÷ 2 = −2 ÷ 2 = −1

So the midpoint is (5, −1). A quick check: from A to M, x goes up 3 and y goes down 4. From M to B, x again goes up 3 and y goes down 4.

How do you find a missing endpoint?

If you know one endpoint and the midpoint, the midpoint is the same step away from each end. Rearranging the midpoint formula gives:

x₂ = 2·x_M − x₁ y₂ = 2·y_M − y₁

With endpoint A(2, 3) and midpoint M(5, −1): x₂ = 2 × 5 − 2 = 8 and y₂ = 2 × (−1) − 3 = −5, so the missing endpoint is (8, −5).

Midpoint examples

PointsMidpoint
(0, 0) and (6, 4)(3, 2)
(1, 2) and (7, 10)(4, 6)
(−3, 4) and (5, −2)(1, 1)
(1, 2) and (4, 7)(2.5, 4.5)
(−6, −1) and (−2, −9)(−4, −5)
(0.5, 3) and (2.5, −1)(1.5, 1)
(0.5, 1/3) and (1.5, 2/3)(1, 0.5)

Where is the midpoint used?

The midpoint shows up across geometry and in everyday problems:

  • Meeting halfway: if two friends live at (1, 4) and (7, 2) on a town grid, the fair meeting point is (4, 3).
  • Circles: the center of a circle is the midpoint of any diameter.
  • Bisectors: the perpendicular bisector of a segment passes through its midpoint.
  • Parallelograms: the diagonals of a parallelogram cut each other at their shared midpoint, which is a quick way to prove a shape is a parallelogram.

Common mistakes

  • Subtracting instead of adding. The midpoint uses x₁ + x₂. Subtracting belongs to the slope and distance formulas.
  • Mixing x and y. Keep x with x and y with y.
  • Sign slips with negatives. 3 + (−5) = −2, not 8.
  • Halving the endpoint instead of doubling the midpoint. For a missing endpoint, double the midpoint first, then subtract.

The midpoint, the slope and the distance between two points are the three basic facts about a line segment in coordinate geometry.

Frequently asked questions

What is the midpoint formula?

The midpoint of (x₁, y₁) and (x₂, y₂) is ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). You average the x-coordinates and average the y-coordinates. For (2, 3) and (8, −5), the midpoint is (5, −1).

How do you find a missing endpoint from the midpoint?

Double the midpoint and subtract the endpoint you know: x₂ = 2x_M − x₁ and y₂ = 2y_M − y₁. With endpoint (2, 3) and midpoint (5, −1), the other endpoint is (2 × 5 − 2, 2 × (−1) − 3) = (8, −5).

Can a midpoint have fractions or decimals?

Yes. If the sum of the coordinates is odd, the midpoint is a half. The midpoint of (1, 2) and (4, 7) is (2.5, 4.5).

Is the midpoint the same distance from both endpoints?

Yes. The midpoint splits the segment into two equal halves, so its distance to each endpoint is half the length of the segment. The distance formula calculator finds that length.

How do you find the midpoint in 3D?

Average each coordinate, including z: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2, (z₁ + z₂) ÷ 2). The midpoint of (1, 2, 3) and (5, 6, 7) is (3, 4, 5).

How is the midpoint used to find a perpendicular bisector?

The perpendicular bisector of a segment passes through its midpoint and has a slope that is the negative reciprocal of the segment's slope. Find the midpoint here and the slope with the slope calculator.

Last reviewed November 27, 2026 by the ChalkStation team.