Midpoint Calculator
This midpoint calculator finds the point halfway between two points by averaging their coordinates: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). The midpoint of (2, 3) and (8, 11) is (5, 7).
Sources: OpenStax Algebra and Trigonometry 2e Updated
Calculate the midpoint, distance, and slope between two points in a coordinate plane.
Enter Coordinates
The midpoint formula
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
The midpoint is the average of the two x-values and the average of the two y-values. It works the same in every quadrant and with negative coordinates, as in the coordinate chapter of OpenStax Algebra and Trigonometry.
How to find the midpoint of (2, 3) and (8, 11)
- Add the x-values and halve the sum: (2 + 8) ÷ 2 = 5.
- Add the y-values and halve the sum: (3 + 11) ÷ 2 = 7.
- Write the two results as a point: M = (5, 7).
The calculator gives two more results from the same points. The distance is √((8 − 2)² + (11 − 3)²) = √(36 + 64) = √100 = 10, which the distance between two points calculator works out on its own. The slope is (11 − 3) ÷ (8 − 2) = 8 ÷ 6 ≈ 1.3333, with the full working in the slope calculator.
Finding an endpoint from the midpoint
Turn the formula around: each coordinate of the missing end is twice the midpoint minus the known end. With M = (5, 7) and one end at (2, 3), the other end is (10 − 2, 14 − 3) = (8, 11).
To check a midpoint, measure to both ends. (5, 7) is 5 units from (2, 3) and 5 units from (8, 11), half of the distance of 10.
Vertical and horizontal segments
If both points have the same x-value, the segment is vertical. The midpoint and distance still work, but the slope divides by zero, so the calculator reports it as undefined (vertical line).
The slope between two points is also the average rate of change of whatever the coordinates measure, such as distance over time.
Midpoint Calculator: FAQ
What is the midpoint formula?
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Add the two x-values and halve the sum, then do the same with the two y-values.
Can a midpoint have fractions or decimals?
Yes. When a sum is odd, half of it is a half: the midpoint of (1, 2) and (4, 7) is (2.5, 4.5).
How do you find an endpoint when you know the midpoint?
Double the midpoint and subtract the endpoint you know, for x and for y. With midpoint (5, 7) and one end at (2, 3), the other end is (2 × 5 − 2, 2 × 7 − 3) = (8, 11).
Sources
- OpenStax Algebra and Trigonometry 2e, 2.1 The Rectangular Coordinate Systems and Graphs — the midpoint formula and the distance formula (checked October 16, 2026)