Map of Shanghai, China
Shanghai is the administrative centre of Shanghai, China, with a population of about 24,874,500. It lies at 31.2222°N, 121.4581°E. Shanghai is about 1,068 km (664 mi) southeast of Beijing, the capital. The nearest city on our map is Xuhui, 3 km to the south.
Shanghai at a glance
Country
Region
Shanghai
Population
24,874,500GeoNames
Coordinates
31.2222, 121.458131°13′20″N 121°27′29″E
Time zone
Asia/ShanghaiUTC+08:00
Local time
–
Distance to Beijing
1,068 km (664 mi)
Where is Shanghai?
- The largest city in China by recorded population.
- Located in the Northern and Eastern hemispheres.
- Daylight ranges from about 10 h 07 min on the shortest day to 14 h 11 min on the longest day (around 21 December and 21 June).
Cities near Shanghai
- Xuhui — 3 km south
- Changning — 4 km west
- Hongkou — 4 km northeast
- Yangpu — 7 km northeast
- Baoshan — 21 km north
- Songjiang — 31 km southwest
- Xiayang — 34 km west
- Zhujiajiao — 40 km west
- Taicang — 43 km northwest
- Kunshan — 51 km west
Largest cities in Shanghai
- Baoshan — 2,265,900
- Yangpu — 1,210,800
- Xuhui — 1,109,800
- Changning — 694,900
- Hongkou — 687,500
- Xiayang — 137,321
- Songjiang — 130,218
- Zhujiajiao — 60,000
Largest cities in China
- Beijing — 18,960,744
- Guangzhou — 18,676,605
- Shenzhen — 17,494,398
- Tianjin — 13,866,009
- Wuhan — 13,739,000
- Chengdu — 13,568,357
- Xi’an — 12,952,907
- Hangzhou — 11,936,010
- Dongguan — 9,644,871
- Nanjing — 9,314,685
Map of China and all its cities →
Sources: place names, coordinates, populations and time zones from GeoNames (CC BY 4.0, data retrieved October 2026). Population figures are the latest values recorded in GeoNames; depending on the country they refer to the city proper, a municipality or a wider urban area, so they can differ from census or metro-area figures. Map © OpenStreetMap contributors.