Midpoint Calculator
This midpoint calculator finds the exact center between two points the moment you type their coordinates. It uses the midpoint formula, M = ((x₁ + x₂)/2, (y₁ + y₂)/2), and it doesn't stop there: you'll also get the distance between the points and the slope of the segment, since those three go hand in hand in coordinate geometry. A live coordinate plane plots both points and marks the midpoint, so you can see the answer, not just read it.
- Midpoint formula
- Distance too
- Slope too
- Live coordinate plane
- Negative coordinates
Last updated June 18, 2026 Method: midpoint formula Reviewed by the Calcowa math team
Enter all four coordinates to see the midpoint.
M = ((2 + 8)/2, (3 + 11)/2) = (5, 7)
What is the midpoint formula?
The midpoint formula is M = ((x₁ + x₂)/2, (y₁ + y₂)/2). It finds the point exactly halfway between two points by averaging their x-coordinates and averaging their y-coordinates. For (2, 3) and (8, 11), the midpoint is (5, 7).
It's really just two averages, one for each axis, so there's nothing to memorize beyond "average the x's, average the y's." The result is the center of the line segment joining the points, the spot that's the same distance from both ends. That's why it doesn't matter which point you call the first one; you'll get the same midpoint either way.
How do you find the midpoint between two points?
It's two quick averages. Here's the full sequence, and you'll have it down after one try:
- 1
Write down both pointsLabel them (x₁, y₁) and (x₂, y₂) so you keep the coordinates straight.
- 2
Average the x-valuesAdd x₁ and x₂, then divide by 2. That gives the midpoint x.
- 3
Average the y-valuesAdd y₁ and y₂, then divide by 2. That gives the midpoint y.
- 4
Write the midpointPair them as (Mₓ, Mₙ), and that point is your answer.
- 5
Check it on the plotThe midpoint should sit dead-center between the two points, so it's easy to eyeball.
Distance and slope between the points
The midpoint usually travels with two close relatives. The distance between the points comes from the Pythagorean theorem, d = √((x₂ - x₁)² + (y₂ - y₁)²), and it tells you how long the segment is. For (2, 3) and (8, 11), that's √(36 + 64) = 10. The slope, (y₂ - y₁)/(x₂ - x₁), tells you how steep the line is, which here is about 1.33.
This calculator shows all three together because they almost always turn up in the same problem. If you want a deeper dive on just the slope, the Slope Calculator graphs the line and gives the equation, and the Pythagorean Theorem Calculator handles the distance side on its own.
Midpoint examples
A few worked pairs so you can see the pattern. Notice how negative coordinates and vertical segments behave, since those are the cases that trip people up.
| Two points | Midpoint | Good to know |
|---|---|---|
| (0, 0) and (10, 0) | (5, 0) | Halfway along a flat line |
| (2, 3) and (8, 11) | (5, 7) | Distance 10, slope 1.33 |
| (-4, 2) and (4, -2) | (0, 0) | Midpoint lands on the origin |
| (1, 1) and (1, 9) | (1, 5) | A vertical segment, slope undefined |
| (-3, -3) and (5, 7) | (1, 2) | Works with negative coordinates |
Frequently asked questions
Is the midpoint always on the line between the two points?
Yes, the midpoint always sits exactly on the segment joining the two points, right at its center. It's the one point that's the same distance from both ends, so it splits the segment into two equal halves. You'll see it land dead-center on the plot above every time.
The midpoint formula is M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2). You average the two x-coordinates to get the midpoint's x, and average the two y-coordinates to get its y. It's the exact center of the line segment joining the two points, and that's all there is to it.
Add the two x-values and divide by 2, then do the same with the two y-values. For (2, 3) and (8, 11), the midpoint is ((2 + 8)/2, (3 + 11)/2), which is (5, 7). This midpoint calculator does both averages at once and plots the result, so you can check it visually.
The midpoint is the point halfway between two points, while the distance is how far apart they are. The midpoint uses averaging, and the distance uses the Pythagorean theorem: d = √((x₂ - x₁)² + (y₂ - y₁)²). This tool shows both at the same time, since they often come up together in coordinate geometry.
Yes, it works with any real numbers, positive or negative. Averaging handles the signs for you, so the midpoint of (-4, 2) and (4, -2) is (0, 0). Just enter the coordinates with their signs and the calculator takes care of the rest.
If you know one endpoint and the midpoint, you can find the other. Double the midpoint coordinate and subtract the known endpoint: x₂ = 2 × Mₓ - x₁. So if one end is (2, 3) and the midpoint is (5, 7), the other end is (8, 11). It's the midpoint formula rearranged.
It shows up all over geometry and beyond: finding the center of a line segment, the center of a circle from a diameter's endpoints, the balance point of a shape, and the middle of a data range. Surveyors, designers, and game developers all lean on it whenever they need the exact center between two positions.
Related calculators
Working in coordinate geometry? These pair well with the midpoint calculator.
Slope, intercept, and the line equation.
Pythagorean theoremDistance and missing sides of a triangle.
All math toolsPercentages, fractions, algebra, and more.
Need a quick midpoint?
Try the calculator above, or browse every math tool in the hub.