African City Distance Calculator

Straight-line distances, approximate flight times and route notes between 18 of Africa's largest cities – over 300 city-to-city pages. For any other pair of places, use the interactive distance calculator.

Distances are great-circle (straight-line) distances between city centres, calculated with the haversine formula. Flight times are estimates for a nonstop flight at an average of 800 km/h plus about 30 minutes for take-off and landing; real schedules vary, and some pairs have no nonstop service. Road distances, where given on route pages, are approximate.

Popular African Routes

The most-searched routes, sorted by distance. Each page covers flights, road routes and border crossings, airports and time differences.

RouteDistanceMilesNonstop flight (approx.)
Accra to Lagos407 km253 mi1 h
Abidjan to Accra424 km263 mi1 h
Johannesburg to Maputo454 km282 mi1 h 05 min
Nairobi to Kampala505 km314 mi1 h 10 min
Kinshasa to Luanda538 km334 mi1 h 10 min
Algiers to Tunis634 km394 mi1 h 20 min
Nairobi to Dar es Salaam667 km414 mi1 h 20 min
Abidjan to Lagos827 km514 mi1 h 30 min
Addis Ababa to Khartoum984 km611 mi1 h 45 min
Casablanca to Algiers1,030 km640 mi1 h 45 min
Dar es Salaam to Kampala1,082 km672 mi1 h 50 min
Nairobi to Addis Ababa1,167 km725 mi2 h
Addis Ababa to Kampala1,182 km734 mi2 h
Johannesburg to Cape Town1,262 km784 mi2 h 05 min
Cairo to Khartoum1,623 km1,008 mi2 h 30 min
Cape Town to Maputo1,624 km1,009 mi2 h 30 min
Dakar to Abidjan1,802 km1,120 mi2 h 45 min
Cairo to Tunis2,088 km1,297 mi3 h 05 min
Casablanca to Dakar2,321 km1,442 mi3 h 25 min
Johannesburg to Nairobi2,925 km1,818 mi4 h 10 min
Cairo to Casablanca3,668 km2,279 mi5 h 05 min
Lagos to Nairobi3,811 km2,368 mi5 h 15 min
Cairo to Lagos3,913 km2,431 mi5 h 25 min
Accra to Addis Ababa4,309 km2,677 mi5 h 55 min
Johannesburg to Lagos4,508 km2,801 mi6 h 10 min
Cairo to Johannesburg6,264 km3,892 mi8 h 20 min
Cairo to Cape Town7,239 km4,498 mi9 h 35 min

Distances from Abidjan, Ivory Coast

Distances from Accra, Ghana

Distances from Addis Ababa, Ethiopia

Distances from Algiers, Algeria

Distances from Cairo, Egypt

Distances from Cape Town, South Africa

Distances from Casablanca, Morocco

Distances from Dakar, Senegal

Distances from Dar es Salaam, Tanzania

Distances from Johannesburg, South Africa

Distances from Kampala, Uganda

Distances from Khartoum, Sudan

Distances from Kinshasa, DR Congo

Distances from Lagos, Nigeria

Distances from Luanda, Angola

Distances from Maputo, Mozambique

Distances from Nairobi, Kenya

Distances from Tunis, Tunisia

About African City Distances

Africa is the world's second-largest continent, and distances between its major cities can be enormous — Casablanca and Cape Town are about 7,980 km apart in a straight line, while Accra and Lagos are only about 410 km apart. Every page uses the same method, so distances can be compared directly. Remember that the shortest line is not always the practical route: some borders are closed (Algeria–Morocco since 1994), and travel through Sudan, the Sahel and parts of Central Africa is currently unsafe.

If you're planning a multi-city trip, comparing aviation routes, or simply curious about how far apart two African capitals are, browse the hubs above. Each city has 17 outbound routes covering the continent's primary destinations.