Overview

The midpoint is the point exactly halfway between two points on a graph. This finds it from their coordinates and also gives the distance between them.

Enter the x and y values of both points. They can be negative or decimal.

Worked examples

InputsResult
x10y10x26y24Midpoint: (3, 2)Distance: 7.21
Show 2 more examples
x1-2y13x24y27Midpoint: (1, 5)Distance: 7.21
x11.5y1-2x28y26Midpoint: (4.75, 2)Distance: 10.31

How it works

Each midpoint coordinate is the average of the matching coordinates of the two points. The distance comes from the Pythagorean theorem, using the horizontal and vertical gaps as the two shorter sides of a right triangle.

The formula

M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
(x₁, y₁)The first point
(x₂, y₂)The second point

Common mistakes

  • Averaging x with y instead of x with x and y with y.
  • Forgetting negative signs.
  • Rounding too early in coordinate geometry problems.

Practical tips

  • The midpoint of (0, 0) and (6, 4) is (3, 2), and the points are about 7.21 apart.
  • The order of the points doesn't matter. You get the same midpoint either way.
  • To find a missing endpoint, double the midpoint and subtract the known endpoint.

Frequently asked questions

What is the midpoint formula?

Midpoint = ((x1 + x2) / 2, (y1 + y2) / 2).

Can the midpoint have decimals?

Yes. If the coordinate sums are odd or non-integers, the midpoint can be decimal or fractional.

Does order of the points matter?

No. Swapping the two points gives the same midpoint.

How do I find an endpoint from the midpoint?

x₂ = 2 × Mx − x₁ and y₂ = 2 × My − y₁.

Does it work with negative coordinates?

Yes. The midpoint of (−2, 3) and (4, 7) is (1, 5).

Is the midpoint always a whole number?

No. If the sum of the coordinates is odd, you get a half, such as 2.5.