EN RO

Distance from Nairobi to Shanghai

Straight line

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

By road

…
calculating

Travel time

…
flight ≈ 12 h 28 min

Direction

ENE 59°
initial bearing

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

How far is Nairobi from Shanghai?

Nairobi (Kenya) and Shanghai (China) 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.

From Nairobi, Shanghai lies to the north-east (initial bearing 59°). The route crosses from Kenya into China. 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 Nairobi from Shanghai?

The straight-line distance between Nairobi and Shanghai is 9,578 km (5,951 miles). The road distance is longer and is calculated on the map.

In which direction is Shanghai from Nairobi?

Shanghai is to the north-east of Nairobi, at an initial bearing of 59°.

How long is the flight from Nairobi to Shanghai?

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.