Halfway between two points on a graph sits one special point: the one that is exactly the same distance from both ends. This free midpoint calculator finds it for you. Type in the coordinates of your two points and it gives you the midpoint of two points instantly, shows the working line so you can see exactly where the answer came from, and adds the distance between the two points as a bonus figure, because the two questions so often arrive together. Decimals and negative coordinates both work. Everything runs in your browser, with nothing to download or sign up for.
Quick answer: the midpoint is found by averaging the two x-coordinates and averaging the two y-coordinates. Add the two x values and divide by 2, then add the two y values and divide by 2. For the points (2, 3) and (8, 7): ((2 + 8) ÷ 2, (3 + 7) ÷ 2) = (5, 5). Enter your own points above and the calculator does the adding and dividing for you.
How to use this midpoint calculator
- Enter your first point: its x-coordinate (across) in the x1 box and its y-coordinate (up) in the y1 box. The boxes start with the example points (2, 3) and (8, 7) — just type over them.
- Enter your second point the same way, in the x2 and y2 boxes. Decimals like 1.5 and negatives like −4 both work; include the minus sign where it belongs.
- Press “Find the Midpoint” — you get the midpoint in large type, the full working line with your own numbers filled in, and the distance between the two points underneath.
Point 1
Point 2
Decimals and negative numbers both work — type them exactly as they appear in your question, minus signs included. The two points can be entered in either order; the midpoint is the same either way.
— the midpoint
— distance between the two points (bonus)
How the midpoint calculator works
A midpoint is an average, taken one direction at a time. The x-coordinate of the midpoint is simply the average of the two x-coordinates, and the y-coordinate is the average of the two y-coordinates. Written out, the midpoint formula is:
Midpoint = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2)
That is the whole of how to find the midpoint, and it is why this page also works as a midpoint formula calculator: whatever two points you enter, the same two averages produce the answer. The reason it works is balance. In coordinate geometry, the midpoint of a line segment is its balance point — the point where the segment would balance if it were a seesaw — sitting exactly halfway along the segment, the same distance from each endpoint. Averaging the coordinates finds that balance point because the halfway position across is halfway between the two x values, and the halfway position up is halfway between the two y values.
The bonus figure uses the distance formula, a close cousin: the distance between the two points is √((x2 − x1)² + (y2 − y1)²), the straight-line length of the segment itself. The midpoint tells you where the middle is; the distance tells you how long the whole segment is. Both come from the same four numbers.
A worked example
Say your two points are (2, 3) and (8, 7), and you need the midpoint between two points for a homework question.
Step 1: average the x-coordinates. (2 + 8) ÷ 2 = 10 ÷ 2 = 5.
Step 2: average the y-coordinates. (3 + 7) ÷ 2 = 10 ÷ 2 = 5.
Step 3: write the two averages as a point. The midpoint is (5, 5).
The bonus distance for the same points is √((8 − 2)² + (7 − 3)²) = √(36 + 16) = √52 ≈ 7.21.
Negative coordinates work exactly the same way — the signs simply travel through the adding. For the points (−4, −2) and (2, 6): the x average is (−4 + 2) ÷ 2 = −2 ÷ 2 = −1, and the y average is (−2 + 6) ÷ 2 = 4 ÷ 2 = 2, so the midpoint is (−1, 2). Nothing about the method changes when a point sits on the negative side of the graph.
Common mistakes
- Adding an x to a y by mistake. The two averages are kept strictly separate: x values are averaged with x values, y values with y values. The moment an x and a y get added together, the answer is a point that is not on the segment at all. Writing the working in the ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2) shape keeps the pairs apart.
- Forgetting to divide by 2. Adding the coordinates and stopping gives you a point twice as far along — for (2, 3) and (8, 7) it would give (10, 10), which is not even between the two points. The midpoint is an average, and an average of two numbers always needs the division.
- Dropping a minus sign with negative coordinates. With the points (−4, −2) and (2, 6), the x sum is −4 + 2 = −2, not −6 and not 6 — a negative and a positive partly cancel. Losing the minus sign at this step moves the midpoint to the wrong side of the graph, so write the signed numbers into the working exactly as they appear in the question.
Pro tips
- Check any midpoint by measuring from both ends. A true midpoint is the same distance from each endpoint, and that distance is exactly half the distance between the two points. This calculator shows the full distance as its bonus figure, so halve it in your head and compare: the distance from your midpoint to point 1 and from your midpoint to point 2 should both equal that half. If they do not match, a coordinate was typed in wrong.
- Run the formula backwards to find a missing endpoint. If you know one endpoint and the midpoint, the other endpoint is 2 × midpoint − known endpoint, done coordinate by coordinate. Say the midpoint is (5, 5) and one endpoint is (2, 3): the missing endpoint is (2 × 5 − 2, 2 × 5 − 3) = (8, 7). This turns up constantly in exam questions, and it is just the averaging undone — the midpoint sits halfway, so the known endpoint’s distance from it is mirrored on the far side.
Frequently asked questions
What is the midpoint formula?
The midpoint formula is Midpoint = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2). In words: add the two x-coordinates and divide by 2 to get the midpoint’s x-coordinate, then add the two y-coordinates and divide by 2 to get its y-coordinate. It is nothing more than an average taken in each direction separately, which is why the midpoint always sits exactly halfway between the two points.
How do I find the midpoint of two points?
Take the two x-coordinates, add them, and divide by 2. Then take the two y-coordinates, add them, and divide by 2. Write the two results together as a point. For (2, 3) and (8, 7): (2 + 8) ÷ 2 = 5 and (3 + 7) ÷ 2 = 5, so the midpoint is (5, 5). The calculator above does both averages for you and shows the working line with your own numbers.
Can the midpoint have decimals?
Yes — whenever the two coordinates in a pair add up to an odd number, their average lands on a half. The midpoint of (0, 0) and (3, 4) is (1.5, 2), because (0 + 3) ÷ 2 = 1.5. Decimal inputs produce decimal midpoints too: (1.5, 2.5) and (4.5, 6.5) have the midpoint (3, 4.5). A decimal midpoint is a perfectly ordinary point on the graph, sitting between the grid lines rather than on one.
How do I find an endpoint if I know the midpoint?
Work the formula backwards: the missing endpoint is 2 × midpoint − known endpoint, coordinate by coordinate. If the midpoint is (5, 5) and one endpoint is (2, 3), the other endpoint is (2 × 5 − 2, 2 × 5 − 3) = (8, 7). It works because the midpoint is exactly halfway, so the gap from the known endpoint to the midpoint repeats itself on the other side.
Does it matter which point is point 1 and which is point 2?
No. Adding works the same in either order — (2 + 8) and (8 + 2) both give 10 — so swapping the two points cannot change the midpoint. Enter them in whichever order your question lists them. The same is true of the distance figure: the segment is the same length measured from either end.
What is the difference between the midpoint and the distance?
The midpoint is a place: the point exactly halfway between your two points, written as a pair of coordinates like (5, 5). The distance is a length: how far apart the two points are, written as a single number, 7.21 for the points (2, 3) and (8, 7). This calculator gives you both — the midpoint as the main answer, and the distance underneath as a bonus, since the two are so often asked for together.
More calculators
Working with decimals that need to become fractions instead? The Decimal to Fraction Calculator converts any decimal into its simplest fraction and mixed number, with the working shown step by step. And for very large or very small numbers, the Scientific Notation Calculator converts between ordinary numbers and scientific notation in both directions. Or go back to the homepage to see the full list of free calculators, including the date, time, education and finance tools.
