Coordinate geometry

Midpoint Calculator

Use this midpoint calculator to find the point exactly halfway between two coordinate endpoints, or switch to endpoint mode to recover a missing endpoint when you already know the midpoint and one coordinate. Enter x1, y1, x2, y2 and get the ordered pair result with full step-by-step working, the midpoint formula calculator, and a labeled SVG coordinate plane.

Mode

Current setup: Use two endpoints to find the point halfway between them. The graph marks the midpoint separately so you can see the segment split visually instead of relying on coordinates alone.
Final answer
(5, 7)
Midpoint ordered pair
Midpoint x
5
Midpoint y
7
Endpoint 1
(2, 4)
Endpoint 2
(8, 10)
Ordered pair result
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.

How to find a midpoint

1Write the midpoint formula
M = ((x1 + x2) / 2, (y1 + y2) / 2)
Average the x-values and y-values separately.
2Average the x-coordinates
(2 + 8) / 2 = 5
Midpoint x-coordinate = 5
3Average the y-coordinates
(4 + 10) / 2 = 7
Midpoint y-coordinate = 7
4Write the ordered pair
M = (5, 7)
Midpoint = (5, 7)

Midpoint formula explained

P1P2M

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 caseFormulaWhen to use it
Midpoint formulaM = ((x1 + x2) / 2, (y1 + y2) / 2)Use this when both endpoints are known and you want the point exactly halfway between them.
Endpoint formulax2 = 2Mx - x1 and y2 = 2My - y1Use 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

  1. Choose Find midpoint if you know both endpoints.
  2. Enter x1, y1, x2, and y2, then press Calculate.
  3. Read the ordered pair result and use the graph to confirm the midpoint sits on the segment.
  4. Choose Find missing endpoint only when you already know the midpoint and one endpoint.
  5. 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

Q
How do you find midpoint between two points?
Average the x-values and average the y-values. The midpoint formula is ((x1 + x2) / 2, (y1 + y2) / 2). This page applies that directly and writes the result as an ordered pair so it can be used immediately in graphing or geometry work.
Q
What does midpoint mean in geometry?
The midpoint is the point exactly halfway along a segment. It splits the segment into two equal parts, which is why each coordinate is the average of the endpoint coordinates.
Q
Can this midpoint calculator find a missing endpoint too?
Yes. The default mode is midpoint from two endpoints, but the page also includes a secondary endpoint formula mode. If you know the midpoint and one endpoint, it solves the missing endpoint without sending you to a separate page.
Q
Why is averaging coordinates the right method?
Because halfway on a segment means halfway on the x-direction and halfway on the y-direction at the same time. Averaging each coordinate separately captures that exact geometric meaning.
Q
Can I use decimals or negative values?
Yes. The calculator accepts positive, negative, and decimal coordinates. The output is formatted clearly so you can still read the ordered pair without losing precision.
Q
What is the endpoint formula?
If M is the midpoint and one endpoint is known, you can solve the other endpoint with x2 = 2Mx - x1 and y2 = 2My - y1. The page includes this as a secondary helper because it is useful, but it does not replace the simpler midpoint-first workflow.

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.