Distance from Shanghai to Nanjing
The straight-line distance from Shanghai, China to Nanjing, China is 270 km (168 miles).Nanjing is WNW of Shanghai.
Distance (km)
270
straight line
Distance (miles)
168
straight line
Flight Time
48 min
estimated direct
Direction
WNW
291° bearing
Transport Comparison: Shanghai to Nanjing
| Mode | Estimated Time | Distance | Notes |
|---|---|---|---|
| Flight | 48 min | 270 km | Direct flight at 800 km/h avg cruise speed |
| Driving | 4 hr 24 min | ~351 km | Avg 80 km/h, +30% route factor |
| Train | 2 hr 42 min | ~324 km | Estimated, 120 km/h avg (where available) |
All times are estimates based on straight-line distance. Actual travel times vary by route, stops, and conditions.
Shanghai to Nanjing: Key Details
| From | Shanghai, China |
| To | Nanjing, China |
| Straight-line Distance | 270 km (168 miles) |
| Bearing | 291° (WNW) |
| Coordinates (Shanghai) | 31.2304°, 121.4737° |
| Coordinates (Nanjing) | 32.0603°, 118.7969° |
Country Profiles
Frequently Asked Questions
How far is Shanghai from Nanjing?
The straight-line (as the crow flies) distance from Shanghai to Nanjing is 270 km (168 miles). Nanjing is WNW of Shanghai.
How long is the flight from Shanghai to Nanjing?
A direct flight from Shanghai to Nanjing takes approximately 48 min, based on an average cruising speed of 800 km/h plus time for takeoff and landing.
How long does it take to drive from Shanghai to Nanjing?
Driving from Shanghai to Nanjing takes approximately 4 hr 24 min. This estimate assumes an average speed of 80 km/h with a 30% route factor for indirect roads. Actual time will vary based on road conditions, traffic, and the specific route taken.
What direction is Nanjing from Shanghai?
Nanjing is WNW (291 degrees) from Shanghai.
What is the distance from Nanjing to Shanghai?
The distance from Nanjing to Shanghai is the same: 270 km (168 miles). Distance between two points is the same in either direction.
Other Distance Calculations
Distances calculated using the Haversine formula (great-circle distance). Travel time estimates are approximate.
Coordinates sourced from public geographic databases.