📏 Cairo to Nairobi

Advertisement
3,534 km · 2,196 mi
Great-circle (haversine, R = 6371.0088 km)3,533.7 km
Miles (international)2,195.7 mi
Nautical miles1,908.0 nmi
Initial true bearing169.4° S
Flight at 900 km/h (no climb, taxi or wind)236 min
Drive at 80 km/h, non-stop44.2 h
Latitude change-31.3300°
Longitude change5.5800°
ℹ️ What this tool does & how it works

The air line between the two is 3,534 km (2,196 statute miles, 1,908 nautical miles). It comes from the haversine formula on the two coordinate pairs the page carries — Cairo at 30.0400° N, 31.2400° E and Nairobi at -1.2900° S, 36.8200° E — using the IUGG mean Earth radius of 6371.0088 km. Leaving Cairo toward Nairobi you start on a true bearing of 169.4° (S); because the Earth curves, that heading drifts as you go.

How the Cairo and Nairobi 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 Cairo–Nairobi 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 3,534 km line becomes roughly 4,594 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 236 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 31.33° shift in latitude is about 3,482 km, while the same number of degrees in longitude shrinks with the cosine of the latitude.

Both positions, exactly

Cairo, Egypt (Africa): 30° 02′ 24.0″ N, 31° 14′ 24.0″ E — decimal 30.04, 31.24, GeoHash stq4yus78. Nairobi, Kenya (Africa): 1° 17′ 24.0″ S, 36° 49′ 12.0″ E — decimal -1.29, 36.82, GeoHash kzf0tv5t0. 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.

Part of Everyday Tools. Like everything on tukuk.org: free, no account, no tracking.

Advertisement
Advertisement