Midpoint Calculator

Midpoint—
Midpoint x—
Midpoint y—

How Midpoint Calculator is calculated: Midpoint = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2)

What is a midpoint?

The midpoint of two points is the point exactly halfway between them — the centre of the straight line segment that joins them. For the points (2, 4) and (6, 10), the midpoint is (4, 7): it sits 2 units across and 3 units up from the first point, and the same distance back from the second.

This midpoint calculator takes two points and returns their midpoint, with the x and y of the midpoint shown separately. The answer updates live as you type. It is the same averaging idea as finding the middle of two numbers, done once for x and once for y.

Midpoints turn up wherever something needs to be split evenly. A builder finds the centre of a wall to hang a picture, a designer finds the centre of a shape to place a logo, and a student finds the midpoint to draw a median of a triangle. Any time two ends are known and the middle is needed, this is the calculation.

How the midpoint formula works

The formula is midpoint = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2). Average the two x-values to get the midpoint's x, and average the two y-values to get its y. For the defaults (2, 4) and (6, 10), the x is (2 + 6) ÷ 2 = 4 and the y is (4 + 10) ÷ 2 = 7, so the midpoint is (4, 7).

The idea is the same as an average: the middle of 2 and 6 is 4, because 4 is as far from 2 as it is from 6. The midpoint does that twice, once in each direction, and the result is the point that is equally far from both ends. An average calculator does the same one-number averaging for a whole list.

The midpoint is always on the segment between the two points, never outside it. Its x always lies between x1 and x2, and its y always lies between y1 and y2. If your answer falls outside that range, a number was typed wrong — that range check is the fastest way to catch a mistake.

The two points: the input people get wrong

The only input is two points, and the slip people make is averaging the wrong pair — adding x1 to y1, or x1 to y2. The rule is strict: x averages with x, and y averages with y. Mixing the two gives a point that is neither the midpoint nor anything meaningful.

Decimals are the second trap. The midpoint of (1, 1) and (2, 2) is (1.5, 1.5), and the .5 matters — rounding it to (2, 2) or (1, 1) puts the point at one end instead of the middle. Keep the halves: a midpoint is often a half-number even when both endpoints are whole numbers.

Negative coordinates work the same way, but the signs need care. The midpoint of (−4, 2) and (6, −2) is ((−4 + 6) ÷ 2, (2 + (−2)) ÷ 2) = (1, 0). Adding a negative is subtracting, so write the sum out in full or let the calculator handle it rather than guessing the sign in your head.

A worked example: three midpoints

Start with the defaults, (2, 4) and (6, 10). Average the x-values: (2 + 6) ÷ 2 = 4. Average the y-values: (4 + 10) ÷ 2 = 7. The midpoint is (4, 7). Check it: from (2, 4) to (4, 7) is 2 across and 3 up, and from (4, 7) to (6, 10) is the same 2 across and 3 up, so the point is exactly in the middle.

Try (0, 0) and (10, 4). The midpoint x is (0 + 10) ÷ 2 = 5 and the midpoint y is (0 + 4) ÷ 2 = 2, so the midpoint is (5, 2). The segment runs 10 units across and 4 up, and the midpoint is 5 across and 2 up from the start — exactly half the journey in each direction.

A third pair, (1, 1) and (2, 2), gives (1.5, 1.5). The segment is short, just 1 across and 1 up, so its middle is half a unit in from each end. Halves like this are normal for midpoints, and they are the reason the calculator keeps two decimals instead of rounding to whole numbers.

Where midpoints get used

In school geometry, the midpoint is the starting point for medians, perpendicular bisectors, and the centre of a circle drawn through two points. Finding the midpoint of a triangle's side is the first step in drawing a median, and the midpoint of a diameter gives the centre of the circle.

In design and building, the midpoint is the centre mark. Hanging a shelf, centring a heading on a page, or placing a post halfway between two corners all need the middle of two known points. The maths is the same whether the points are on graph paper or on a wall measured in centimetres.

In mapping, the midpoint is the meeting point. Two friends at different places who want to meet halfway use the midpoint of their locations as the fair meeting spot. Paired with the distance between points calculator, it answers both halves of the question: how far apart are we, and where is halfway?

Midpoint calculator vs slope and distance calculators

Midpoint, slope, and distance all start from the same two points, but they answer different questions. The midpoint gives the centre point of the segment. The slope calculator gives the steepness of the line through the points. Distance gives the length of the segment.

Use the midpoint when you need a position — the centre, the halfway mark, the meeting point. Use distance when you need a length, and slope when you need a direction or a rate of change. A geometry problem often needs more than one: the midpoint of a side, the distance along it, and the slope to check for a right angle.

The midpoint is the only one of the three that returns a point rather than a number. That makes it the natural partner of the ratio calculator when a segment must be split in a ratio other than 1:1 — the midpoint is the 1:1 case, and the ratio tool handles the rest.

Common midpoint mistakes

The first mistake is averaging x with y — adding x1 to y1 instead of x1 to x2. The result looks like a point but means nothing. Keep the coordinates in their own lanes: x with x, y with y, every time.

The second mistake is forgetting to divide by 2. Adding the coordinates gives (8, 14) for the defaults, which is a point far beyond both ends of the segment. The sum is only halfway to the answer; the division is what puts the point in the middle.

The third mistake is rounding away the halves. A midpoint of (1.5, 1.5) rounded to (2, 2) is not the midpoint at all — it is one of the endpoints. And the fourth mistake is swapping the result's coordinates, writing (7, 4) instead of (4, 7). The calculator shows the x and y separately, so check them against the two averages.

How to use this midpoint calculator

Type the first point into x1 and y1, and the second point into x2 and y2. The midpoint, and its x and y separately, update live as you type. Decimals and negative numbers both work.

Check the result with the range rule: the midpoint's x must sit between x1 and x2, and its y between y1 and y2. For the defaults, 4 sits between 2 and 6, and 7 sits between 4 and 10. If either value falls outside its range, a coordinate was typed wrong.

Everything runs in your browser — no account, no upload, and your numbers never leave your device. Use it for geometry homework, centre marks, or meeting points, and keep the slope and distance calculators nearby for the rest of coordinate geometry.

Frequently Asked Questions

Average the x-values and average the y-values: midpoint = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2). For (2, 4) and (6, 10), that is ((2 + 6) ÷ 2, (4 + 10) ÷ 2) = (4, 7). The midpoint is the point exactly halfway between the two points.

The midpoint is (5, 2). The x is (0 + 10) ÷ 2 = 5 and the y is (0 + 4) ÷ 2 = 2. It is exactly half the journey from the first point to the second in each direction.

Yes, very often. The midpoint of (1, 1) and (2, 2) is (1.5, 1.5). Whenever the two x-values add to an odd number, or the two y-values do, the midpoint has a .5 in that coordinate. Rounding it away puts the point at the wrong place, so keep the halves.

Yes — the midpoint is the average of the two points, done once per coordinate. Average the x-values for the midpoint's x, and average the y-values for its y. It is the same averaging idea as finding the middle of two numbers, applied in two directions at once.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.