EN RO

Distance from Barcelona to Shanghai

Straight line

9,845 km
6,118 mi · 5,316 NM

By road

11,931 km
7,414 mi

Travel time

139 h 22 min
flight ≈ 12 h 48 min

Direction

NE 48°
initial bearing

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

How far is Barcelona from Shanghai?

Barcelona (Spain) and Shanghai (China) are very far apart: 9,845 km in a straight line, that is 6,118 miles or 5,316 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Barcelona to Shanghai is 11,931 km (7,414 miles), about 139 h 22 min by car on the fastest route, without traffic or stops. The road is 21% longer than the straight line.

From Barcelona, Shanghai lies to the north-east (initial bearing 48°). The route crosses from Spain into China. The halfway point is at 55.3168°, 68.1774°.

A direct flight would take about 12 h 48 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 Barcelona from Shanghai?

By road it is 11,931 km (7,414 miles) from Barcelona to Shanghai; in a straight line it is 9,845 km (6,118 miles).

How long is the drive from Barcelona to Shanghai?

About 139 h 22 min on the fastest route (11,931 km), without traffic or stops.

In which direction is Shanghai from Barcelona?

Shanghai is to the north-east of Barcelona, at an initial bearing of 48°.

How long is the flight from Barcelona to Shanghai?

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