Demographics of Shanghai

Historical population
YearPop.±%
1953 5,258,210    
1964 6,423,017+22.2%
1982 6,320,829−1.6%
1990 8,348,299+32.1%
2000 14,489,919+73.6%
2010 20,555,098+41.9%
2020 22,209,380+8.0%
Source: Census in China
Resident foreigners in Shanghai
Country of originPopulation (2012)Population (2013)Population (2017)
 Japan39,09137,67128,870
 United States26,00026,27921,903
 South Korea20,45620,57820,823
 France9,4729,8288,659
 Germany8,6808,9487,583
 Canada7,6697,8327,439
 Australia6,5456,9176,995
 United Kingdom6,1966,5475,993
 Singapore6,9356,7175,786

The 2010 census put Shanghai's total population at 23,019,148, a growth of 37.53% from 16,737,734 in 2000. 20.6 million of the total population, or 89.3%, are urban, and 2.5 million (10.7%) are rural. Based on population of total administrative area, Shanghai is the second largest of the four direct-controlled municipalities of China, behind Chongqing, but is generally considered the largest Chinese city because Chongqing's urban population is much smaller.