The midpoint is the spot that is the same distance from both ends of a journey, measured along the surface of the Earth rather than on a flat map.
For two points on opposite sides of the Earth there is no single midpoint; every point on the equator between them is equally halfway.
Averaging the two latitudes and longitudes gives the wrong answer on long routes, because the Earth curves. This calculator works on the sphere, so the London to New York midpoint lands correctly in the Atlantic, south of Greenland.