List of cities proper by population

Table columns:
Rank
City
Image
Population
Definition
Total area (km²)
Population density (/km²)
Country

Table rows:
cells: 1
Shanghai
24,183,300[6]
City
6,340.5[7]
3,814
China
cells: 2
Beijing
20,794,000[8]
City
16,411[9]
1,267
China
cells: 3
Karachi
14,910,352[10]
City[11]
3,780
3,944
Pakistan
cells: 4
Shenzhen
13,723,000[12]
City
1,493.32[13]
9,190
China
cells: 5
Guangzhou
13,081,000[14]
City
1,347.81[15]
9,705
China
cells: 6
Mumbai
12,442,373[16]
City[17]
465.78
27,223
India
cells: 7
Istanbul
12,661,000[18]
City
620.29[19]
20,411
Turkey
cells: 8
Moscow
12,229,000[20]
City[21][22]
1,021.75[23]
11,969
Russia
cells: 9
São Paulo
12,038,000[24]
City[25]
1,081.05
11,199
Brazil
cells: 10
Kinshasa
11,462,000[26][27]
City[28]
473.73[29]
24,195
Democratic Republic of the Congo
cells: 11
Tianjin
11,249,000[30]
City
1,331.83[31]
8,446
China
cells: 12
Lahore
11,126,000[32]
City
502.55[26]
22,139
Pakistan
cells: 13
Delhi
11,034,555[33]
City
461.83
2,457
India
cells: 14
Jakarta
10,624,000[34]
City[35]
661.50
16,060
Indonesia
cells: 15
Dongguan
10,615,000[36]
City
1,721.34
6,167
China
cells: 16
Lagos
10,552,000[37]
City
433.34[38]
24,350
Nigeria
cells: 17
Seoul
9,806,000[39]
City
605.25[40]
16,202
South Korea
cells: 18
Foshan
9,279,000[41][42]
City
1,325.88[43]
6,998
China
cells: 19
Tokyo
9,273,000[44]
City
626.99[44]
14,790
Japan
cells: 20
Chengdu
9,012,000[45]
City
970.84[14]
9,283
China
cells: 21
Lima
8,894,000[46]
City[47]
215.74
41,226
Peru
cells: 22
Mexico City
8,875,000[48]
City
607.22[49]
14,616
Mexico
cells: 23
London
8,787,892[50]
City[51]
1,572
5,590
United Kingdom
cells: 24
Tehran
8,694,000[52]
City[53]
574.13[54]
15,143
Iran
cells: 25
New York
8,622,698[55]
City[56]
786.30
10,966
United States
cells: 26
Bangalore
8,443,675[57]
City
709
11,909
India
cells: 27
Dhaka
8,063,000[58]
City
337.54[59]
23,888
Bangladesh
cells: 28
Wuhan
8,035,000[60]
City[61]
898.86[62]
8,939
China
cells: 29
Bogotá
7,963,000[63]
City[64]
428.26[65][66]
18,594
Colombia
cells: 30
Cairo
7,740,000[67]
City[68]
302.56[69]
25,582
Egypt
cells: 31
Hyderabad
7,491,790[70]
City
651.75[71]
11,494
India
cells: 32
Ho Chi Minh City
7,431,000[72]
City
453.60[72]
16,382
Vietnam
cells: 33
Nanjing
7,260,000[73]
City
886.81
8,187
China
cells: 34
Chongqing
7,247,000[a]
City[b]
831.80[c]
8,712
China
cells: 37
Hong Kong
7,298,600[78]
Special Administrative Region[79]
1,104.43[80]
6,608
China
cells: 35
Hangzhou
7,035,000[81]
City
850.83[81]
8,268
China
cells: 36
Ahmedabad
7,021,000[82]
City
351.21
19,991
India
cells: 37
Baghdad
6,793,000[83]
City[84]
424.53[85]
16,001
Iraq
cells: 38
Riyadh
6,694,000[86]
City[87]
410.97[88]
16,288
Saudi Arabia
cells: 39
Shenyang
6,519,000[89]
City
649.22
10,041
China
cells: 40
Rio de Janeiro
6,520,000[90]
City
751.44[91]
8,677
Brazil
cells: 41
Xi'an
6,220,000[92]
City[93]
765.08
8,130
China
cells: 42
Suzhou
5,983,000[94]
City[95]
995.24[96]
6,012
China
cells: 43
Surat
5,868,000[97]
City
210.20[98]
27,916
India
cells: 44
Bangkok
5,782,000[99]
City[100]
764.73
7,561
Thailand
cells: 45
Santiago
5,561,000[101]
City[102]
595.49
9,339
Chile
cells: 46
Singapore
5,607,000[103]
City
602.75[103]
9,302
Singapore
cells: 47
Harbin
5,299,000[104][105]
City
614.31[106]
8,626
China
cells: 48
Dar es Salaam
5,257,000[107]
City[108]
330.52[109]
15,905
Tanzania
cells: 49
Saint Petersburg
5,132,000[110]
City
463.11[23]
11,082
Russia
cells: 50
Johannesburg
4,949,000[111]
City
432.84
11,434
South Africa
cells: 51
Xiamen
3,531,347[112]
Sub-provincial City
1,699
2,078
China
cells: 52
Chennai
6,727,000[113]
Municipal Corporation[114]
426.51[115]
15,772
India
cells: 54
Yangon
5,214,000[26]
Metropolitan Municipality-Province[116]
598.75[117]
8,708
Myanmar
cells: 55
Hefei
3,352,076[118]
Prefecture-level City[119]
838.52
3,998
China
cells: 57
Abidjan
4,765,000[26]
Department/City District
2,119[120]
2,249
Ivory Coast
cells: 58
Zhengzhou
4,122,087[121]
Sub-provincial City[122]
1,015.66
4,059
China
cells: 59
Ankara
4,470,800[123]
Metropolitan Municipality-Province[124]
1,910.92[125][126]
2,340
Turkey
cells: 60
Kolkata
4,496,694[127]
Municipal corporation
185
24,306
India
cells: 63
Jeddah
3,456,259[128]
Municipality City
1,765[129]
1,958
Saudi Arabia
cells: 64
Casablanca
3,359,818[130]
Prefecture
230
14,608
Morocco
cells: 65
Nairobi
3,138,369[131]
Capital District
694.9
4,829
Kenya
cells: 67
Zhongshan
3,121,275[132]
Prefecture-level City
1,783.67
1,750
China
cells: 68
Shantou
5,391,028[133]
Prefecture-level City
2,064.42
2,611
China
cells: 69
Alexandria
4,616,625[134]
Governorate
2,300[135][136]
2,007
Egypt
cells: 70
Cape Town
3,740,026[111]
Municipality City
2,444.97
1,530
South Africa
cells: 71
Los Angeles
3,976,322[55]
Municipality City[137]
1,213.85
3,276
United States
cells: 72
New Taipei City
3,954,929[138]
Special Municipality
2,052.57[139]
1,927
Taiwan
cells: 73
Changsha
7,044,118[140]
Prefecture-level City[141]
11,819
596
China
cells: 75
Kabul
3,414,100[142]
Municipality City
275
12,415
Afghanistan
cells: 77
Yokohama
3,726,167[44]
Designated City
437.49
8,517
Japan
cells: 79
Wenzhou
3,039,439[143]
Prefecture-level City[144]
1,187.88
2,559
China
cells: 80
Durban
3,442,361[111]
Municipality City
2,291.31
1,502
South Africa
cells: 82
Busan
3,590,000[145]
Metropolitan City
347.49[145]
10,331
South Korea
cells: 84
Berlin
3,671,000[146]
City State
891.75
4,117
Germany
cells: 85
Jaipur
3,073,350[82]
Municipal corporation
485
6,337
India
cells: 87
Pune
3,115,431[82]
Municipal corporation
450.69
6,913
India
cells: 90
Ekurhuleni
3,178,470[111]
Municipality City
1,975.31
1,609
South Africa
cells: 91
Addis Ababa
3,103,673[147]
Metropolitan Municipality-Province[148]
526.99
5,889
Ethiopia
cells: 93
Ningbo
7,605,689[149]
Sub-provincial city
9,816.23
775
China
cells: 95
Pyongyang
3,255,388[150]
Direct-controlled Municipality
2,113[151]
1,541
North Korea
cells: 96
Madrid
3,207,247[152]
Municipality City
605.77
5,294
Spain
cells: 97
Faisalabad
3,203,846[153]
City District
214
14,971
Pakistan
cells: 102
Hanoi
7,232,700[72]
Metropolitan Municipality-Province
3,324.5[72]
2,176
Vietnam
cells: 103
Incheon
3,002,645[154]
Metropolitan City
328.55
9,139
South Korea
cells: 104
Buenos Aires
3,054,300[155]
Federal District
203
15,046
Argentina
cells: 106
Giza
4,239,988[156]
Governorate[157]
289.08
14,667
Egypt

Questions about this table:
originalText: what's the most populated city on earth
answer: answerTexts: Shanghai