Beijing to Shanghai

1068 km (664 miles)

Straight-line distance between Beijing, CN and Shanghai, CN. This is the shortest distance between the two cities as the crow flies.

Route Overview

Direct path from Beijing to Shanghai

Loading map...

Travel Information

Flight Time
~1h 11m
Driving Time
~13h 21m
Walking Time
~8d 21h

Interesting Facts

🌍

Great Circle Distance

This 1068 km distance follows the shortest path on Earth's surface.

🚶

Walking Challenge

Walking non-stop at 5 km/h would take 214 hours.

🌎

Earth Comparison

This distance is 2.7% of Earth's circumference.

Note about travel times:

These are approximate estimates based on straight-line distance. Actual travel times will vary significantly based on routes, traffic, weather, connections, and other factors.

Distance Details

Kilometers: 1068 km
Miles: 664 mi
Nautical Miles: 577 nmi

Beijing

Country: CN
Population: 18,960,744
Coordinates: °, °

Shanghai

Country: CN
Population: 24,874,500
Coordinates: °, °

Calculate More Distances

Explore distances from Beijing to other cities, or calculate any route worldwide.

About This Distance Calculation

The distance between Beijing and Shanghai is calculated using the Haversine formula, which determines the great-circle distance between two points on a sphere given their latitude and longitude coordinates. This represents the shortest distance over the earth's surface, giving an "as-the-crow-flies" distance of approximately 1068 kilometers (664 miles).

This calculation assumes the Earth is a perfect sphere (it's actually slightly flattened at the poles), but the Haversine formula is accurate to within 0.5% for distances between most points on Earth. The coordinates used are:

  • Beijing: °N, °W
  • Shanghai: °N, °W

Keep in mind that actual travel distances by car, train, or ship will be longer due to the need to follow roads, railways, shipping routes, and navigate around geographical obstacles. Flight paths may also differ from the great circle route due to air traffic control requirements, weather conditions, and airline-specific routing policies.