EN RO

Distance from Xi’an to Rabat

Straight line

9,919 km
6,163 mi · 5,356 NM

By road

11,690 km
7,264 mi

Travel time

136 h 38 min
flight ≈ 12 h 54 min

Direction

NW 312°
initial bearing

Open in the calculator (stops, directions, fuel cost) → Rabat → Xi’an

How far is Xi’an from Rabat?

Xi’an (China) and Rabat (Morocco) are very far apart: 9,919 km in a straight line, that is 6,163 miles or 5,356 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Xi’an to Rabat is 11,690 km (7,264 miles), about 136 h 38 min by car on the fastest route, without traffic or stops. The road is 18% longer than the straight line.

From Xi’an, Rabat lies to the north-west (initial bearing 312°). The route crosses from China into Morocco. The halfway point is at 51.8949°, 50.9157°.

A direct flight would take about 12 h 54 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 Xi’an from Rabat?

By road it is 11,690 km (7,264 miles) from Xi’an to Rabat; in a straight line it is 9,919 km (6,163 miles).

How long is the drive from Xi’an to Rabat?

About 136 h 38 min on the fastest route (11,690 km), without traffic or stops.

In which direction is Rabat from Xi’an?

Rabat is to the north-west of Xi’an, at an initial bearing of 312°.

How long is the flight from Xi’an to Rabat?

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