Shanghai, China
Megacity · Population 24.9M
Shanghai is the largest city in China with a population of approximately 24,874,500 people as of 2026. This makes it the 1st largest city in the world, accounting for 1.77% of China's total population of 1.41B. Shanghai is classified as a megacity and operates in the Asia/Shanghai timezone. The average annual temperature is 17.6°C with 1,588 mm of rainfall per year. The city sits at an elevation of 7 meters above sea level.
Population
24,874,500
Global Rank
#1
Country Rank
#1
% of China
1.77%
Avg Temperature
17.6°C
Annual Rainfall
1,588 mm
Elevation
7 m
Timezone
Asia/Shanghai
Shanghai on the Map
Climate in Shanghai
Shanghai's warmest month is Aug and the coldest is Jan. The wettest month is Jun with 363 mm of rainfall.
Average Monthly Temperature
Monthly Rainfall
China at a Glance
Country Population
1,408,280,000
Capital
Beijing
Region
Eastern Asia
Major Cities
640
GDP per Capita
$13,303
Life Expectancy
78.0 years
Urban Population
65.9%
Growth Rate
0.00%
Other Major Cities in China
Nearest Major Cities
Closest cities to Shanghai with over 100,000 people
| City | Population | Distance |
|---|---|---|
| Zhabei | 840,000 | 4 km |
| Pengpu | 152,725 | 7 km |
| Changzheng | 229,925 | 9 km |
| Qibao | 283,352 | 12 km |
| Songjiang | 130,218 | 31 km |
| Taicang | 831,113 | 43 km |
| Kunshan | 2,092,496 | 51 km |
| Jiashan | 137,112 | 66 km |
Frequently Asked Questions
What is the population of Shanghai?
The population of Shanghai, China is approximately 24,874,500 people, making it the 1st largest city in the world and the 1st largest in China.
Is Shanghai the capital of China?
No, the capital of China is Beijing. Shanghai is the 1st largest city in the country.
What is the climate like in Shanghai?
Shanghai has an average annual temperature of 17.6°C and receives 1,588 mm of rainfall per year. The warmest month is Aug and the coldest is Jan.
What timezone is Shanghai in?
Shanghai is in the Asia/Shanghai timezone.