Last updated: August 1, 2026
Midpoint Calculator
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Quick Answer
This midpoint calculator finds the point exactly halfway between two 2D coordinates by averaging the x-values and y-values. It also reports the segment length between the original points so the geometry can be checked quickly.
The midpoint between the two points is ({midpointX}, {midpointY}).
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Formula
midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2)
Where:
- x₁=X-coordinate of the first point
- y₁=Y-coordinate of the first point
- x₂=X-coordinate of the second point
- y₂=Y-coordinate of the second point
- M=Midpoint of the segment
Worked Examples
Points (1, 2) and (5, 6)
The midpoint is the coordinate-wise average.
- 1Average the x-values: (1 + 5)/2 = 3.
- 2Average the y-values: (2 + 6)/2 = 4.
- 3Midpoint = (3, 4).
Points (-4, 7) and (2, -1)
Negative coordinates work naturally.
- 1Midpoint x = (-4 + 2)/2 = -1.
- 2Midpoint y = (7 + -1)/2 = 3.
- 3Midpoint = (-1, 3).
Points (0, 0) and (1, 1)
Diagonal endpoints create fractional-style averages.
- 1Midpoint x = 0.5.
- 2Midpoint y = 0.5.
- 3Midpoint = (0.5, 0.5).
Points (3.5, -2) and (8.5, 4)
Decimals are averaged directly.
- 1Midpoint x = (3.5 + 8.5)/2 = 6.
- 2Midpoint y = (-2 + 4)/2 = 1.
- 3Midpoint = (6, 1).
Introduction
The midpoint of a segment is the coordinate that sits exactly halfway between two endpoints. This calculator averages the x-values and y-values separately, then also returns the full segment length so you can confirm the geometry of the original pair.
Why averaging works
The midpoint must split a segment into two equal parts. In the coordinate plane, the halfway location is found by averaging each coordinate independently.
Average x-values for the midpoint x-coordinate.
Average y-values for the midpoint y-coordinate.
The midpoint stays on the segment joining the two points.
Manual midpoint method
Write down the two points, add the x-values, divide by 2, then add the y-values and divide by 2. The calculator mirrors those exact arithmetic steps.
Add first, then divide.
Treat x and y coordinates separately.
Negative values and decimals follow the same rule.
Why segment length is included
The distance between the two original points is useful context because the midpoint should sit half that distance away from each endpoint.
Midpoint is equidistant from both endpoints.
Distance helps verify scale on a graph.
The segment length uses the standard distance formula.
Special cases
If both points are the same, the midpoint is that same point and the segment length is zero. Horizontal and vertical segments still average cleanly.
Identical points return the same coordinate.
Horizontal segments average only the x-values meaningfully.
Vertical segments average only the y-values meaningfully.
Common errors
A frequent mistake is dividing only one coordinate sum by 2 or averaging the x-value from one point with the y-value from the other.
Keep ordered pairs matched correctly.
Divide both coordinate sums by 2.
Do not mix midpoint with line-segment length.
Applications
Midpoints appear in coordinate proofs, construction layouts, graphic positioning, and center-finding tasks across geometry and design.
Bisecting a segment in geometry.
Finding a center point in layouts.
Supporting slope and line-equation work.
FAQs
Can the midpoint have decimal coordinates?
Yes. If the coordinate sums are odd or non-integer, the midpoint coordinates can be fractional or decimal.
What if the two points are identical?
Then the midpoint is that same point, and the segment length becomes zero.
Does the midpoint always lie on the segment?
Yes. In Euclidean geometry, the midpoint is always on the segment connecting the two endpoints.
Why is segment length useful here?
It gives context for the original endpoints and confirms that the midpoint is half the distance from each side.
Can I use negative coordinates?
Absolutely. Midpoint formulas work with any real coordinates.
How do I check the answer by hand?
Average the x-values, average the y-values, and optionally confirm that each endpoint is the same distance from the midpoint.