What is the midpoint of a line segment?
The midpoint is the point exactly halfway between the two endpoints of a line segment. It splits the segment into two equal parts, so each endpoint is the same distance from it. On a graph, its coordinates are the averages of the endpoints’ coordinates.
The midpoint formula
| Case | Formula |
|---|---|
| Midpoint in 2D | M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2) |
| Midpoint in 3D | M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2, (z₁ + z₂) ÷ 2) |
| Missing endpoint | (x₂, y₂) = (2xₘ − x₁, 2yₘ − y₁) |
How to find the midpoint step by step
- Write down both points, for example (2, 3) and (8, 7).
- Add the two x-coordinates and divide by 2: (2 + 8) ÷ 2 = 5.
- Add the two y-coordinates and divide by 2: (3 + 7) ÷ 2 = 5.
- In 3D, do the same with the z-coordinates.
- Write the result as an ordered pair: (5, 5).
- Check that the distance from each endpoint to the midpoint is the same.
Worked examples
Positive coordinates: (2, 3) and (8, 7)
The midpoint is ((2 + 8) ÷ 2, (3 + 7) ÷ 2) = (5, 5).
Negative coordinates: (−4, 6) and (2, −2)
The x-value is (−4 + 2) ÷ 2 = −1, and the y-value is (6 + −2) ÷ 2 = 2. The midpoint is (−1, 2).
Decimals: (1.5, 2) and (4.5, −3)
The x-value is 6 ÷ 2 = 3, and the y-value is −1 ÷ 2 = −0.5. The midpoint is (3, −0.5).
In 3D: (1, 2, 3) and (5, 6, 7)
Average each coordinate to get (3, 4, 5).
A missing endpoint
If the midpoint is (3, 4) and one endpoint is (1, 2), the other endpoint is (2 × 3 − 1, 2 × 4 − 2) = (5, 6). The midpoint is the average, so doubling it and subtracting the known endpoint recovers the other.
Where the midpoint is used
The midpoint gives the center of a circle when you know the endpoints of a diameter, and it locates the foot of a perpendicular bisector. It also marks the halfway meeting point between two places on a flat map grid, and the center of a side in geometry proofs. To measure how far apart the endpoints are, use the distance formula calculator, and for the line that passes through both, use the equation of a line calculator.
Common midpoint mistakes
The most common error is adding the coordinates and forgetting to divide by 2. Another is mixing x and y values, so keep each axis separate. Negative numbers need care: (−4 + 2) is −2, not −6. For a missing endpoint, double the midpoint first; subtracting the known endpoint from the midpoint alone gives the wrong answer. The slope, distance and midpoint calculator shows all three results together.
Frequently asked questions
What is the midpoint formula?
The midpoint of two points is the average of their coordinates: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). In 3D, add the average of the z-values. The result is the point exactly halfway along the line segment joining the two points.
How do you find the midpoint of a line segment?
Add the x-coordinates of the endpoints and divide by 2, then add the y-coordinates and divide by 2. For (2, 3) and (8, 7), that gives (5, 5). Check the answer by confirming that both endpoints are the same distance from it.
How do you find a missing endpoint?
Double each midpoint coordinate and subtract the matching coordinate of the known endpoint. With midpoint (3, 4) and endpoint (1, 2), the other endpoint is (2 × 3 − 1, 2 × 4 − 2) = (5, 6). This is the midpoint formula rearranged.
Is the midpoint the same as the average of two points?
Yes. Each coordinate of the midpoint is the mean of the two matching coordinates. That is why the midpoint formula adds two numbers and divides by 2, exactly as you would to find the average of two values.
Does the midpoint formula work in 3D?
Yes. Average the z-coordinates as well as the x and y values. The midpoint of (1, 2, 3) and (5, 6, 7) is (3, 4, 5). The same idea extends to any number of dimensions, because each coordinate is averaged separately.
More Geometry calculators
- Area Calculator
- Volume Calculator
- Circle Calculator
- Pythagorean Theorem Calculator
- Slope, Distance and Midpoint Calculator
- Distance Formula Calculator
- Equation of a Line Calculator
Browse every geometry calculator.
Other calculators
- Percentage Calculator
- Quadratic Formula Calculator
- Fraction Calculator
- GCF and LCM Calculator
- Mean, Median, Mode Calculator
- Standard Deviation Calculator
- Linear Equation Calculator
- Exponent and Root Calculator
- System of Equations Calculator
- Order of Operations Calculator
- Scientific Calculator with Steps
- Z-Score Calculator
- Permutation and Combination Calculator
- Percentage Change Calculator
- Percent Error Calculator
- Variance Calculator
Related topics on this page: midpoint formula, line segment, endpoint, 3D midpoint, missing endpoint, center of a segment, bisector