EN RO

Distance from Rabat to Shanghai

Straight line

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

By road

…
calculating

Travel time

…
flight ≈ 14 h 14 min

Direction

NE 43°
initial bearing

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

How far is Rabat from Shanghai?

Rabat (Morocco) and Shanghai (China) 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 Rabat, Shanghai lies to the north-east (initial bearing 43°). The route crosses from Morocco into China. 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 Rabat from Shanghai?

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

In which direction is Shanghai from Rabat?

Shanghai is to the north-east of Rabat, at an initial bearing of 43°.

How long is the flight from Rabat to Shanghai?

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.