WorldCrisp
City profile · China

Shanghai Population, rankings, climate and local time

  • RegionShanghai
  • CountryChina
  • ContinentAsia
  • Coordinates31.2222° N, 121.4581° E
  • Time zoneAsia/Shanghai
City population (GeoNames)24.87 millionGeoNames
Urban area population, 202529.56 million
Estimate2025
United Nations, DESA, Population Division
Urban area annual growth, 2025+1.31%
Estimate2025
United Nations, DESA, Population Division
Urban area population, 205034.91 million
Projection2050
United Nations, DESA, Population Division
World rank, UN urban areas (2025)#5of 12,138
Calculated2025
WorldCrisp calculation
01/Population

How many people live in Shanghai?

Urban area population, 1975–2050

EstimateProjection
010.0M20.0M30.0M40.0M1975200020252050Projections →4.5M29.6M34.9M1975: 4,542,787 (Estimate)1980: 4,922,471 (Estimate)1985: 6,276,781 (Estimate)1990: 7,783,199 (Estimate)1995: 10,567,164 (Estimate)2000: 14,034,558 (Estimate)2005: 17,111,107 (Estimate)2010: 20,525,275 (Estimate)2015: 23,830,644 (Estimate)2020: 27,654,481 (Estimate)2025: 29,558,908 (Estimate)2030: 31,297,216 (Projection)2035: 32,573,019 (Projection)2040: 33,759,030 (Projection)2045: 34,447,640 (Projection)2050: 34,912,186 (Projection)
  1. 19754.5M
  2. 19804.9M
  3. 19856.3M
  4. 19907.8M
  5. 199510.6M
  6. 200014.0M
  7. 200517.1M
  8. 201020.5M
  9. 201523.8M
  10. 202027.7M
  11. 202529.6M
  12. 203031.3M
  13. 203532.6M
  14. 204033.8M
  15. 204534.4M
  16. 205034.9M
02/Rankings

Where Shanghai ranks

World rank, GeoNames city population#1of 31,799Position by population among all GeoNames cities of 15,000+
Rank in China, GeoNames city population#1of 2,105Position by population among GeoNames cities in China
World rank, UN urban areas (2025)#5of 12,138Position by 2025 estimate among all UN urban areas
Rank in China, UN urban areas (2025)#1of 2,082Position by 2025 estimate among UN urban areas in China
Share of China’s population living in the urban area2.1%UN urban-area estimate divided by China’s total population from the World Bank
03/Geography

Location and land

Shanghai lies at 31.2222° N, 121.4581° E, in the Shanghai region of China. GeoNames classes it as: seat of a first-order administrative division. The ground is about 12 m above sea level, according to a satellite elevation model. Clocks follow the Asia/Shanghai time zone. The nearest city of 500,000+ people is Kunshan, 51 km away; the largest nearby is Suzhou (6.72 million), 83 km away.

First-level regionShanghai
Place typeSeat of a first-order administrative division
Coordinates31.2222° N, 121.4581° E
Terrain height (digital elevation model)12 mGeoNames “dem” field (SRTM3 or GTOPO30 elevation model)
Time zoneAsia/Shanghai
Country context · China

The World Bank publishes land area and density for whole countries only, so these are national figures, not the city’s.

China land area9,388,210 km²Excludes inland water bodies. City land area is not published by a free commercial-use source.
China population density150 per km²National average: midyear population ÷ land area. Not the density of the city.

Nearby large cities

GeoNames cities of 500,000+ people more than 50 km away (closer places are often districts of the same city). Straight-line distance calculated from GeoNames coordinates.

  1. Kunshan51 km away2.1M
  2. Suzhou83 km away6.7M
  3. Changshu83 km away1.7M
  4. Jiaxing85 km away1.2M
  5. Nantong105 km away2.3M
  6. Zhangjiagang113 km away1.4M
  7. Wuxi118 km away4.4M
  8. Cixi118 km away1.5M
04/Climate

Weather through the year

Average monthly temperature and rainfall

Temperature (°C)Rainfall (mm, calculated)
Jan: 67 mmJanFeb: 78 mmFebMar: 88 mmMarApr: 95 mmAprMay: 104 mmMayJun: 195 mmJunJul: 148 mmJulAug: 173 mmAugSep: 137 mmSepOct: 77 mmOctNov: 71 mmNovDec: 53 mmDec4°6°10°15°21°24°28°28°25°19°14°7°
JanFebMarAprMayJunJulAugSepOctNovDec
Mean temperature (°C)4.46.19.915.320.624.528.528.524.619.313.66.7
Rainfall (mm per day)2.162.772.833.173.376.514.765.574.552.482.371.71
Rainfall (mm per month, calculated)67788895104195148173137777153
Solar energy (kWh/m² per day)2.252.723.834.534.824.245.134.994.083.462.562.23
Average annual temperature16.8 °CMean of the 12 monthly averages of T2M (air temperature at 2 m)
Warmest monthAug · 28.5 °C
Coolest monthJan · 4.4 °C
Annual rainfall1,286 mmNASA POWER PRECTOTCORR (mm per day) × days in each month, summed
Wettest monthJun · 195 mmDaily average × days in the month

Shanghai averages 16.8 °C across the year. August is the warmest month at 28.5 °C and January the coolest at 4.4 °C, a swing of 24.0 °C. About 1,286 mm of rain falls in a typical year; June is the wettest month (195 mm) and December the driest (53 mm). These are long-term averages from NASA’s satellite and weather-model data for the nearest grid point, not readings from a local weather station.

05/Sources

Sources

More cities in China

All cities in China