EN RO

Distance from Shanghai to Nairobi

Straight line

9,578 km
5,951 mi · 5,171 NM

By road

9,183 km
5,706 mi

Travel time

119 h 34 min
flight ≈ 12 h 28 min

Direction

W 266°
initial bearing

Open in the calculator (stops, directions, fuel cost) → Nairobi → Shanghai

How far is Shanghai from Nairobi?

Shanghai (China) and Nairobi (Kenya) are very far apart: 9,578 km in a straight line, that is 5,951 miles or 5,171 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Shanghai to Nairobi is 9,183 km (5,706 miles), about 119 h 34 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.

From Shanghai, Nairobi lies to the west (initial bearing 266°). The route crosses from China into Kenya. The halfway point is at 19.8350°, 75.0774°.

A direct flight would take about 12 h 28 min (800 km/h cruise plus take-off and landing). The road distance and driving time are calculated on the map from OpenStreetMap roads.

Frequently asked questions

How far is Shanghai from Nairobi?

By road it is 9,183 km (5,706 miles) from Shanghai to Nairobi; in a straight line it is 9,578 km (5,951 miles).

How long is the drive from Shanghai to Nairobi?

About 119 h 34 min on the fastest route (9,183 km), without traffic or stops.

In which direction is Nairobi from Shanghai?

Nairobi is to the west of Shanghai, at an initial bearing of 266°.

How long is the flight from Shanghai to Nairobi?

A direct flight would take about 12 h 28 min at an average cruising speed of 800 km/h.

How is the distance calculated?

The straight-line distance is computed on the WGS84 ellipsoid with the Vincenty formula, accurate to the metre. The road distance comes from OpenStreetMap roads.