Midpoint Calculator
Find the midpoint between two coordinate points
Midpoint
How we calculated it
About the Midpoint Calculator
The midpoint of two points lies exactly halfway between them in coordinate space. It is useful for geometry, mapping and finding the centre of a line segment.
Because the midpoint is found coordinate by coordinate, it works the same way whether the segment slopes upward, downward or is horizontal or vertical. The method also extends naturally into three dimensions by averaging the z-coordinates as well.
How to Use the Midpoint Calculator
- Enter the coordinates of the first point.
- Enter the coordinates of the second point.
- Calculate the midpoint.
- Keep x-values paired with x-values and y-values paired with y-values.
How the Calculation Works
For two-dimensional points (x₁,y₁) and (x₂,y₂), the midpoint is M = ((x₁+x₂)/2, (y₁+y₂)/2). The x-coordinates are averaged together and the y-coordinates are averaged together because the halfway position is determined independently along each axis.
The same idea extends to three dimensions by averaging the z-coordinates as well: ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). This coordinate-by-coordinate averaging places the result at equal straight-line distance from both endpoints.
Worked examples
Midpoint Calculator Worked Examples
Default
The midpoint of (2, 4) and (8, 10) is (5, 7). Δx is 6 and Δy is 6.
Negative coordinates
The midpoint of (−3, 5) and (7, −1) is (2, 2).
Missing endpoint
If the midpoint is (5, 7) and one end is (2, 4), the other end is (8, 10).
Midpoints between two points
Midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).
| Point 1 | Point 2 | Midpoint |
|---|---|---|
| (2, 4) | (8, 10) | (5, 7) |
| (0, 0) | (10, 0) | (5, 0) |
| (-3, 5) | (7, -1) | (2, 2) |
| (1.5, 2.5) | (4.5, 6.5) | (3, 4.5) |
| (-4, -4) | (4, 4) | (0, 0) |
| (100, 200) | (300, 500) | (200, 350) |
How the calculator works
The midpoint is the average of the two x-coordinates and the average of the two y-coordinates: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). It lies exactly halfway along the straight line joining the points. The calculator also shows the horizontal and vertical changes Δx and Δy.
Using midpoints
Midpoints locate the centre of a line segment, the centre of a circle from the two ends of a diameter, or a fair meeting point on a map grid. The perpendicular bisector of a segment passes through its midpoint at right angles. To find an endpoint when you know the midpoint and the other end, use x₂ = 2 × midpoint x − x₁, and the same for y.
Common Mistakes
- Subtracting instead of adding. The midpoint averages the coordinates.
- Mixing x and y. Average x values together and y values together.
- Sign errors. Take care with negative coordinates.
Result guide
Understanding Your Midpoint Calculator Result
The midpoint is equidistant from the two endpoints along the straight segment connecting them.
Before you rely on the answer
Assumptions and Limitations
- Coordinates use the same coordinate system and scale.
- Points are interpreted in ordinary Cartesian geometry.
- Units are consistent when coordinates represent physical distances.
Practical tip
Using This Result in Practice
A quick check is that each midpoint coordinate should fall between the corresponding endpoint coordinates unless the endpoints are equal in that axis. If the result is being used in a drawing or map, keep the coordinate scale unchanged; averaging coordinates from different scales would not identify the geometric halfway point.
Related calculations
Useful Calculations to Continue With
If you also need the length of the line segment, use the Distance Between Two Points Calculator.
If you need the line’s direction or rate of change, use the Slope Calculator.
Common questions
Midpoint Calculator FAQ
What is the midpoint formula?
((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).
Does order matter?
No. Swapping points gives the same midpoint.
How do I find an endpoint?
Double the midpoint and subtract the known endpoint.
Does it work in 3D?
Yes. Average the z-coordinates too.
What is the distance to each end?
Half the distance between the points.
