Distance from Nanjing to Shanghai
The straight-line distance from Nanjing, China to Shanghai, China is 270 km (168 miles).Shanghai is ESE of Nanjing.
Distance (km)
270
straight line
Distance (miles)
168
straight line
Flight Time
48 min
estimated direct
Direction
ESE
109° bearing
Transport Comparison: Nanjing to Shanghai
| 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.
Nanjing to Shanghai: Key Details
| From | Nanjing, China |
| To | Shanghai, China |
| Straight-line Distance | 270 km (168 miles) |
| Bearing | 109° (ESE) |
| Coordinates (Nanjing) | 32.0603°, 118.7969° |
| Coordinates (Shanghai) | 31.2304°, 121.4737° |
Country Profiles
Frequently Asked Questions
How far is Nanjing from Shanghai?
The straight-line (as the crow flies) distance from Nanjing to Shanghai is 270 km (168 miles). Shanghai is ESE of Nanjing.
How long is the flight from Nanjing to Shanghai?
A direct flight from Nanjing to Shanghai 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 Nanjing to Shanghai?
Driving from Nanjing to Shanghai 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 Shanghai from Nanjing?
Shanghai is ESE (109 degrees) from Nanjing.
What is the distance from Shanghai to Nanjing?
The distance from Shanghai to Nanjing 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.