Distance from Rabat to Shanghai
The distance between Rabat, Morocco and Shanghai, China is 10,962 km (6,811 miles) in a straight line. If a road route exists, expect roughly 13702 km (8514 miles) by car — around 171 h 17 min of driving.
| Measure | Value |
|---|---|
| Straight-line distance | 10,962 km / 6,811 mi |
| Road distance (estimate) | ≈ 13702 km / 8514 mi |
| Driving time (estimate) | ≈ 171 h 17 min |
| Flight time (estimate) | ≈ 13 h 24 min |
Road distance and travel times are estimates based on the straight-line distance (road factor 1.25, average speed 80 km/h) — actual routes vary.
| Place | Latitude | Longitude |
|---|---|---|
| Rabat, Morocco | 34.0219907 | -6.837616 |
| Shanghai, China | 31.22222 | 121.45806 |
Frequently asked questions
How far is Shanghai from Rabat?
The straight-line (air) distance from Rabat, Morocco to Shanghai, China is 10,962 km (6,811 miles). By road it is roughly 13702 km (8514 miles), depending on the route.
How long does it take to drive from Rabat to Shanghai?
Approximately 171 h 17 min, assuming an 80 km/h average over an estimated road distance of 13702 km. Actual time depends on the route, traffic and border crossings.
How long is the flight from Rabat to Shanghai?
A direct flight covers 10,962 km in about 13 h 24 min at typical cruise speed, plus airport time. Not all city pairs have direct flights.
How do I calculate distances for a whole list of locations?
Upload a CSV or Excel spreadsheet to the batch distance calculator — it computes the distance for every origin–destination row at once. The first records are free to try.
Related distances
Distance from Shanghai to Rabat (reverse route)