EN RO

Distance from Shanghai to Beijing

Straight line

1,067 km
663 mi · 576 NM

By road

…
calculating

Travel time

…
flight ≈ 1 h 50 min

Direction

NNW 336°
initial bearing

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

How far is Shanghai from Beijing?

Shanghai (China) and Beijing (China) are quite far apart: 1,067 km in a straight line, that is 663 miles or 576 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

From Shanghai, Beijing lies to the north-west (initial bearing 336°). Both cities are in China. The halfway point is at 35.5912°, 119.0651°.

A direct flight would take about 1 h 50 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 Beijing?

The straight-line distance between Shanghai and Beijing is 1,067 km (663 miles). The road distance is longer and is calculated on the map.

In which direction is Beijing from Shanghai?

Beijing is to the north-west of Shanghai, at an initial bearing of 336°.

How long is the flight from Shanghai to Beijing?

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