📏 Casablanca to Cape Town
| Great-circle (haversine, R = 6371.0088 km) | 7,980.6 km |
| Miles (international) | 4,958.9 mi |
| Nautical miles | 4,309.2 nmi |
| Initial true bearing | 157.5° SSE |
| Flight at 900 km/h (no climb, taxi or wind) | 532 min |
| Drive at 80 km/h, non-stop | 99.8 h |
| Latitude change | -67.4900° |
| Longitude change | 26.0100° |
ℹ️ What this tool does & how it works
The air line between the two is 7,981 km (4,959 statute miles, 4,309 nautical miles). It comes from the haversine formula on the two coordinate pairs the page carries — Casablanca at 33.5700° N, -7.5900° W and Cape Town at -33.9200° S, 18.4200° E — using the IUGG mean Earth radius of 6371.0088 km. Leaving Casablanca toward Cape Town you start on a true bearing of 157.5° (SSE); because the Earth curves, that heading drifts as you go.
How the Casablanca and Cape Town distance is worked out
Two points on a sphere are separated by the shorter arc of the great circle that passes through both of them, and the haversine formula is the numerically stable way to get its length: it converts the latitude difference and the longitude difference into a single chord ratio, takes its square root, and multiplies by twice the radius. Written that way it stays accurate even for pairs a few kilometres apart, which is why it is still the standard in navigation code. The radius used here is 6371.0088 km, the IUGG mean radius; on the true WGS84 ellipsoid the same Casablanca–Cape Town arc differs by a few tenths of a per cent depending on the route's orientation, which is well inside the error of a city-centre coordinate.
What that number means for an actual trip
It is the distance a bird flies. A 7,981 km line becomes roughly 10,375 km of road once hills, borders, river crossings and bypasses are counted — the 1.2 to 1.4 multiplier is the usual empirical range, and this page does not pretend to know the road you would take. Air distance is closer to the figure above, though airline routings, wind and holding add time to the 532 minutes a perfect 900 km/h cruise would take. Rail sits between the two. The latitude and longitude changes in the table show why the line is not simply "north" or "east": a 67.49° shift in latitude is about 7,500 km, while the same number of degrees in longitude shrinks with the cosine of the latitude.
Both positions, exactly
Casablanca, Morocco (Africa): 33° 34′ 12.0″ N, 7° 35′ 24.0″ W — decimal 33.57, -7.59, GeoHash evfwgr1pk. Cape Town, South Africa (Africa): 33° 55′ 12.0″ S, 18° 25′ 12.0″ E — decimal -33.92, 18.42, GeoHash k3vp51j19. Those two pairs are all this page needs, and everything above is derived from them; nothing is fetched, and the coordinates you can edit in the form are recalculated by your own browser, so a different pair costs nothing and stays on your device.