This is for flat (2D) coordinates. For two places on the Earth’s surface, the straight-line midpoint on a map is not the same as the true midpoint over the globe.
Frequently asked questions
What is the midpoint formula?
Average the coordinates: midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).
Is the midpoint on the line between the points?
Yes. It sits exactly halfway along the straight segment that joins them.
Does it work with negative numbers?
Yes. Negative coordinates are averaged in the same way.