EN RO

Distance from Hangzhou to Shanghai

Straight line

161 km
100 mi · 87 NM

By road

171 km
106 mi

Travel time

2 h 5 min
flight ≈ 42 min

Direction

NE 50°
initial bearing

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

How far is Hangzhou from Shanghai?

Hangzhou (China) and Shanghai (China) are a medium distance apart: 161 km in a straight line, that is 100 miles or 87 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Hangzhou to Shanghai is 171 km (106 miles), about 2 h 5 min by car on the fastest route, without traffic or stops. The road is 6% longer than the straight line.

From Hangzhou, Shanghai lies to the north-east (initial bearing 50°). Both cities are in China. The halfway point is at 30.7595°, 120.8066°.

A direct flight would take about 42 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 Hangzhou from Shanghai?

By road it is 171 km (106 miles) from Hangzhou to Shanghai; in a straight line it is 161 km (100 miles).

How long is the drive from Hangzhou to Shanghai?

About 2 h 5 min on the fastest route (171 km), without traffic or stops.

In which direction is Shanghai from Hangzhou?

Shanghai is to the north-east of Hangzhou, at an initial bearing of 50°.

How long is the flight from Hangzhou to Shanghai?

A direct flight would take about 42 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.