Midpoint Calculator
Mode
The midpoint between (2, 4) and (8, 10) is (5, 7). A midpoint is the point exactly halfway between two endpoints, so each coordinate is just the average of the matching coordinates.
How to find a midpoint
Midpoint formula explained
Why midpoint is just an average
The midpoint formula works because the halfway point on a segment is halfway in the x-direction and halfway in the y-direction at the same time. That means you do not need a complicated geometry rule here. You just average the endpoint coordinates. This is why the midpoint formula looks simple and still gives an exact geometric answer.
The graph makes that relationship easier to see. The midpoint marker sits on the segment between the endpoints, and its ordered pair is shown beside it. That visual link matters because many users remember the formula better when they see that midpoint really does divide the segment into two equal parts.
| Use case | Formula | When to use it |
|---|---|---|
| Midpoint formula | M = ((x1 + x2) / 2, (y1 + y2) / 2) | Use this when both endpoints are known and you want the point exactly halfway between them. |
| Endpoint formula | x2 = 2Mx - x1 and y2 = 2My - y1 | Use this when the midpoint and one endpoint are known and you need the missing endpoint. |
What the midpoint calculator gives you
In Find midpoint mode, enter both endpoints and get the midpoint as an ordered pair, a step-by-step working, and a visual on a coordinate plane. In Find missing endpoint mode, enter one endpoint and the midpoint to recover the missing coordinate.
Both modes use the same basic formulas - the midpoint formula averages each coordinate, and the endpoint formula reverses that operation. The page defaults to midpoint mode since that covers most use cases, but the endpoint mode is available with a single mode switch for when you are solving backward from a known midpoint.
How to use the midpoint calculator
- Choose Find midpoint if you know both endpoints.
- Enter x1, y1, x2, and y2, then press Calculate.
- Read the ordered pair result and use the graph to confirm the midpoint sits on the segment.
- Choose Find missing endpoint only when you already know the midpoint and one endpoint.
- Use Example to load a valid case instantly or Reset to clear the current mode.
Midpoint vs endpoint formula
The midpoint formula averages each coordinate pair: Mx = (x1 + x2) / 2, My = (y1 + y2) / 2. The endpoint formula reverses this: if you know the midpoint M and one endpoint, the missing endpoint is x2 = 2Mx - x1.
Both use the same arithmetic relationship - midpoint mode divides, endpoint mode doubles and subtracts. Choose midpoint mode when you have two endpoints and need the center. Choose endpoint mode when you have the midpoint and one endpoint and need the other corner.
Worked examples
Example 1
Midpoint = (5, 7)
The midpoint between (2, 4) and (8, 10) is (5, 7).
A midpoint is the point exactly halfway between two endpoints, so each coordinate is just the average of the matching coordinates.
Example 2
Midpoint = (1, 3)
The midpoint between (-3, 7) and (5, -1) is (1, 3).
A midpoint is the point exactly halfway between two endpoints, so each coordinate is just the average of the matching coordinates.
Example 3
Missing endpoint = (7, 8)
Given midpoint (4, 3) and endpoint (1, -2), the missing endpoint is (7, 8).
The midpoint sits halfway between both endpoints, so doubling the midpoint coordinate and subtracting the known endpoint recovers the missing one.
The examples mix midpoint and endpoint cases on purpose. That makes it easier to compare the forward formula with the reverse formula and see that both are just coordinate relationships on the same segment.
Common mistakes
Averaging all four numbers together
The midpoint formula averages x-values together and y-values together. A common mistake is adding all four coordinates and dividing by 2 or 4. That destroys the structure of the ordered pair.
Mixing x with y
Another common mistake is pairing x1 with y2 or y1 with x2 by accident. The page keeps each coordinate field labeled clearly so the averaging stays aligned.
Using endpoint mode for a midpoint problem
Endpoint mode is useful, but only when the midpoint is already known. If the goal is to find the point halfway between two endpoints, midpoint mode is the simpler and correct path.
Why midpoint matters in coordinate geometry
Midpoint is one of the most useful coordinate ideas because it connects simple arithmetic to geometric structure. It tells you where a segment is split evenly, which matters in geometry proofs, graphing, line analysis, construction layouts, and symmetry problems. The formula is short, but the concept is powerful because it gives a precise center point for any segment in the plane.
That is also why the graph matters here. A midpoint is not just a pair of averaged numbers. It is the center of a segment. Seeing the point on the segment makes that meaning more concrete and helps users check whether the result feels right before they move on.
Frequently Asked Questions
Quick tips for midpoint and endpoint problems
- The midpoint formula averages the x-coordinates and the y-coordinates separately - it does not average all four numbers together.
- To find a missing endpoint, double each midpoint coordinate and subtract the known endpoint: x2 = 2 * Mx - x1.
- Use the SVG graph to confirm the midpoint sits exactly halfway along the segment, not just in the middle of the number range.
- The result is an ordered pair - write it as (x, y) with the x-coordinate first.