Shanghai in Numbers

Population, economy, income, urbanization and births in Shanghai, how it ranks among the 31 provincial-level regions, and which countries it is comparable to. Every number shows its official source and year.

Population

#22 of 31

24.8 million

10th lowest in China · full ranking

Population by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, population at year-end by region

GDP

#9 of 31

$749 billion

9th highest in China · full ranking

GDP by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, gross regional product, converted from yuan at the year's average exchange rate (World Bank PA.NUS.FCRF)

$30,169

2nd highest in China · full ranking

GDP per capita by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, per capita gross regional product, converted from yuan at the year's average exchange rate (World Bank PA.NUS.FCRF)

$12,277

highest in China · full ranking

Disposable income per capita by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, per capita disposable income of residents, converted from yuan at the year's average exchange rate (World Bank PA.NUS.FCRF)

89.9%

highest in China · full ranking

Urban population by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, share of urban population by region

78.2%

2nd highest in China · full ranking

Services share of GDP by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, tertiary industry value added divided by gross regional product

If Shanghai were a country

Population like

🇲🇱 Mali

Shanghai has about as many people as Mali: 24.8 million vs 25.2 million.

Shanghai vs Mali →

Economy like

🇨🇭 Switzerland

Shanghai's economy is roughly the size of Switzerland's: $749 billion vs about $756 billion.

Shanghai vs Switzerland →

Country figures are 2025 estimates from Gapminder. Country GDP is measured in international dollars (purchasing power parity), while province GDP is in current prices, so treat the economy match as a rough size comparison.

More about Shanghai

Birth rate

#28 of 31

4.8 per 1,000

4th lowest in China · full ranking

Birth rate by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, birth rate by region

Death rate

#27 of 31

6.3 per 1,000

5th lowest in China · full ranking

Death rate by year →

2024 · National Bureau of Statistics of China, China Statistical Yearbook, death rate by region

How Shanghai ranks

Frequently Asked Questions About Shanghai

What is the population of Shanghai?▾

Shanghai had 24.8 million people in 2024, the 10th lowest of the 31 provincial-level regions. Source: National Bureau of Statistics of China.

What is the GDP of Shanghai?▾

Shanghai's GDP was $749 billion in 2024 (current dollars), the 9th highest in China. Source: National Bureau of Statistics of China.

Which country has a similar population to Shanghai?▾

Shanghai has about as many people as Mali: 24.8 million vs 25.2 million.

Where is Shanghai?

Map showing where Shanghai is in China
Shanghai on the map of the provinces of China. Free to reuse under CC BY 4.0 with a link to this page.Open full sizeDownload PNG

Compare Shanghai with another province

Explore More

Cite this page

Geo Factbook. (n.d.). Shanghai in Numbers. Retrieved November 27, 2026, from https://geofactbook.com/countries/china/provinces/shanghai

The figures on this page come from National Bureau of Statistics of China. For academic work, cite the original source as well.