EN RO

Distance from Shanghai to Rabat

Straight line

10,983 km
6,825 mi · 5,931 NM

By road

…
calculating

Travel time

…
flight ≈ 14 h 14 min

Direction

NW 319°
initial bearing

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

How far is Shanghai from Rabat?

Shanghai (China) and Rabat (Morocco) are very far apart: 10,983 km in a straight line, that is 6,825 miles or 5,931 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

From Shanghai, Rabat lies to the north-west (initial bearing 319°). The route crosses from China into Morocco. The halfway point is at 55.7145°, 59.1554°.

A direct flight would take about 14 h 14 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 Rabat?

The straight-line distance between Shanghai and Rabat is 10,983 km (6,825 miles). The road distance is longer and is calculated on the map.

In which direction is Rabat from Shanghai?

Rabat is to the north-west of Shanghai, at an initial bearing of 319°.

How long is the flight from Shanghai to Rabat?

A direct flight would take about 14 h 14 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.