Skip to content

Population in Indonesia compared to Spain: Trends, Charts, Rankings

Updated on by Georank team

The latest officially reported population of Indonesia was 283,487,931 in 2024 vs 48,848,840 people in Spain in 2024. In 2026, based on the adjusted UN estimation, the current Indonesia's population is 288,551,776 people compared to 48,806,901 in Spain.

Population statistics:

  • Indonesia's population is 5.91 times bigger than Spain's.
  • Indonesia is ranked the 4th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 4.07% of the world: 3.48% for Indonesia vs 0.59% for Spain.
  • For the last 10 years, Indonesia has had an average growth rate of +0.94% per year vs +0.43% in Spain.
  • Since 2006, the population of Indonesia has increased from 234M people to 289M (23.3% growth), while Spain has grown from 44.4M to 48.8M (9.93% growth).

Indonesia vs Spain: population by year and forecast

Indonesia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Indonesia Spain
2100 297,263,579 33,862,981
2099 298,386,561 34,039,965
2098 299,496,396 34,215,187
2097 300,596,542 34,387,116
2096 301,680,965 34,552,002
2095 302,745,817 34,719,411
2094 303,798,670 34,882,039
2093 304,837,512 35,044,043
2092 305,857,297 35,204,657
2091 306,853,321 35,366,895
2090 307,827,852 35,535,838
2089 308,775,620 35,707,942
2088 309,700,566 35,877,681
2087 310,605,359 36,043,209
2086 311,483,180 36,210,710
2085 312,332,996 36,386,207
2084 313,155,965 36,564,622
2083 313,952,990 36,749,680
2082 314,719,759 36,936,644
2081 315,453,880 37,133,976
2080 316,158,503 37,337,517
2079 316,839,281 37,551,557
2078 317,487,448 37,771,135
2077 318,105,938 38,002,963
2076 318,684,532 38,249,247
2075 319,239,982 38,506,040
2074 319,759,087 38,777,715
2073 320,251,181 39,056,249
2072 320,709,370 39,348,447
2071 321,136,059 39,642,346
2070 321,534,979 39,949,413
2069 321,908,058 40,256,590
2068 322,252,027 40,575,543
2067 322,566,642 40,893,798
2066 322,849,032 41,218,263
2065 323,098,730 41,543,254
2064 323,318,973 41,878,338
2063 323,506,247 42,208,320
2062 323,662,911 42,542,893
2061 323,784,985 42,874,096
2060 323,865,045 43,191,452
2059 323,904,988 43,506,737
2058 323,894,318 43,809,907
2057 323,837,237 44,112,668
2056 323,721,448 44,415,689
2055 323,552,405 44,691,749
2054 323,324,404 44,958,971
2053 323,032,528 45,223,225
2052 322,677,809 45,470,541
2051 322,252,898 45,695,307
2050 321,749,772 45,911,520
2049 321,169,163 46,127,777
2048 320,507,607 46,322,244
2047 319,778,332 46,510,152
2046 318,970,565 46,687,914
2045 318,077,606 46,858,778
2044 317,100,688 47,016,278
2043 316,041,251 47,158,325
2042 314,905,847 47,301,091
2041 313,692,611 47,434,593
2040 312,407,319 47,563,236
2039 311,049,484 47,685,343
2038 309,626,850 47,798,797
2037 308,137,773 47,910,899
2036 306,592,068 48,020,350
2035 304,988,219 48,124,430
2034 303,322,890 48,220,051
2033 301,599,483 48,311,842
2032 299,828,261 48,402,470
2031 298,003,267 48,495,278
2030 296,127,253 48,579,920
2029 294,190,935 48,648,699
2028 292,188,833 48,707,969
2027 290,114,110 48,758,200
2026 287,972,484 48,806,901
2025 285,765,617 48,838,057
2024 283,487,931 48,848,840
2023 281,190,067 48,352,528
2022 278,830,529 47,786,102
2021 276,758,053 47,443,821
2020 274,814,866 47,359,424
2019 272,489,381 47,118,501
2018 269,951,846 46,782,011
2017 267,346,658 46,571,232
2016 264,627,418 46,458,139
2015 261,799,249 46,422,303
2014 258,877,399 46,460,733
2013 255,852,467 46,604,197
2012 252,698,525 46,773,055
2011 249,470,032 46,742,697
2010 246,305,322 46,576,897
2009 243,220,028 46,362,946
2008 240,157,903 45,954,106
2007 237,062,337 45,226,803
2006 233,951,652 44,397,319
2005 230,871,650 43,653,155
2004 227,926,649 42,921,895
2003 225,048,008 42,187,645
2002 222,088,495 41,431,558
2001 219,097,902 40,850,412
2000 216,077,790 40,567,864
1999 213,004,668 40,386,875
1998 209,826,788 40,223,509
1997 206,536,095 40,057,389
1996 203,204,348 39,889,852
1995 199,888,057 39,724,050
1994 196,591,828 39,549,108
1993 193,305,168 39,361,262
1992 190,043,744 39,157,685
1991 186,778,238 38,966,376
1990 183,501,098 38,867,322
1989 180,201,630 38,827,764
1988 176,855,065 38,766,939
1987 173,511,154 38,684,815
1986 170,175,065 38,584,624
1985 166,776,185 38,469,512
1984 163,251,124 38,330,364
1983 159,651,381 38,171,525
1982 156,052,152 37,986,012
1981 152,485,035 37,758,631
1980 148,950,540 37,491,165
1979 145,434,834 37,191,330
1978 141,953,163 36,864,898
1977 138,533,541 36,511,638
1976 135,173,655 36,137,812
1975 131,843,848 35,757,900
1974 128,555,045 35,373,335
1973 125,288,515 34,988,947
1972 122,039,841 34,604,469
1971 118,833,702 34,224,490
1970 115,657,495 33,814,531
1969 112,517,639 33,441,054
1968 109,450,006 33,113,134
1967 106,526,393 32,682,947
1966 103,792,754 32,283,194
1965 101,365,130 31,954,292
1964 98,833,749 31,609,195
1963 96,051,424 31,296,651
1962 93,375,850 31,023,366
1961 90,791,249 30,739,250
1960 88,296,070 30,455,000

Data sources: United Nations | World Population Prospects (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

GeoRank.org/population/indonesia/spain | CC BY

From 2006 to 2016, the population of Indonesia increased by 30,675,766 people (a 13.1% growth), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, Indonesia gained 23,924,358 people (a 9.04% growth), while Spain's population increased by 2,348,762 people (a 5.06% growth).

Indonesia was ranked 4th most populous country in 2006 and is still 4th in 2026. Spain was ranked 28th in 2006 and ranked 32nd now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Indonesia's population will grow by 11.5% to 321,749,772 people with a rank change from 4th to 6th. The population of Spain will decrease by 5.93% to 45,911,520 people and rank change from 32nd to 47th.

Indonesia is projected to reach its peak in 2059 at 324M people, while Spain's population already peaked in 2024 at 48.8M people and is projected to decrease to 33.9M people by 2100.

Population growth rate by year

Indonesia
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
Indonesia Spain
2100 -0.38% -0.52%
2099 -0.37% -0.51%
2098 -0.37% -0.5%
2097 -0.36% -0.48%
2096 -0.35% -0.48%
2095 -0.35% -0.47%
2094 -0.34% -0.46%
2093 -0.33% -0.46%
2092 -0.32% -0.46%
2091 -0.32% -0.48%
2090 -0.31% -0.48%
2089 -0.3% -0.47%
2088 -0.29% -0.46%
2087 -0.28% -0.46%
2086 -0.27% -0.48%
2085 -0.26% -0.49%
2084 -0.25% -0.5%
2083 -0.24% -0.51%
2082 -0.23% -0.53%
2081 -0.22% -0.55%
2080 -0.21% -0.57%
2079 -0.2% -0.58%
2078 -0.19% -0.61%
2077 -0.18% -0.64%
2076 -0.17% -0.67%
2075 -0.16% -0.7%
2074 -0.15% -0.71%
2073 -0.14% -0.74%
2072 -0.13% -0.74%
2071 -0.12% -0.77%
2070 -0.12% -0.76%
2069 -0.11% -0.79%
2068 -0.1% -0.78%
2067 -0.09% -0.79%
2066 -0.08% -0.78%
2065 -0.07% -0.8%
2064 -0.06% -0.78%
2063 -0.05% -0.79%
2062 -0.04% -0.77%
2061 -0.02% -0.73%
2060 -0.01% -0.72%
2059 0.003% -0.69%
2058 0.02% -0.69%
2057 0.04% -0.68%
2056 0.05% -0.62%
2055 0.07% -0.59%
2054 0.09% -0.58%
2053 0.11% -0.54%
2052 0.13% -0.49%
2051 0.16% -0.47%
2050 0.18% -0.47%
2049 0.21% -0.42%
2048 0.23% -0.4%
2047 0.25% -0.38%
2046 0.28% -0.36%
2045 0.31% -0.33%
2044 0.34% -0.3%
2043 0.36% -0.3%
2042 0.39% -0.28%
2041 0.41% -0.27%
2040 0.44% -0.26%
2039 0.46% -0.24%
2038 0.48% -0.23%
2037 0.5% -0.23%
2036 0.53% -0.22%
2035 0.55% -0.2%
2034 0.57% -0.19%
2033 0.59% -0.19%
2032 0.61% -0.19%
2031 0.63% -0.17%
2030 0.66% -0.14%
2029 0.69% -0.12%
2028 0.72% -0.1%
2027 0.74% -0.1%
2026 0.77% -0.06%
2025 0.8% -0.02%
2024 0.82% 1.03%
2023 0.85% 1.19%
2022 0.75% 0.72%
2021 0.71% 0.18%
2020 0.85% 0.51%
2019 0.94% 0.72%
2018 0.97% 0.45%
2017 1.03% 0.24%
2016 1.08% 0.08%
2015 1.13% -0.08%
2014 1.18% -0.31%
2013 1.25% -0.36%
2012 1.29% 0.06%
2011 1.28% 0.36%
2010 1.27% 0.46%
2009 1.28% 0.89%
2008 1.31% 1.61%
2007 1.33% 1.87%
2006 1.33% 1.7%
2005 1.29% 1.7%
2004 1.28% 1.74%
2003 1.33% 1.82%
2002 1.36% 1.42%
2001 1.4% 0.7%
2000 1.44% 0.45%
1999 1.51% 0.41%
1998 1.59% 0.41%
1997 1.64% 0.42%
1996 1.66% 0.42%
1995 1.68% 0.44%
1994 1.7% 0.48%
1993 1.72% 0.52%
1992 1.75% 0.49%
1991 1.79% 0.25%
1990 1.83% 0.1%
1989 1.89% 0.16%
1988 1.93% 0.21%
1987 1.96% 0.26%
1986 2.04% 0.3%
1985 2.16% 0.36%
1984 2.25% 0.42%
1983 2.31% 0.49%
1982 2.34% 0.6%
1981 2.37% 0.71%
1980 2.42% 0.81%
1979 2.45% 0.89%
1978 2.47% 0.97%
1977 2.49% 1.03%
1976 2.53% 1.06%
1975 2.56% 1.09%
1974 2.61% 1.1%
1973 2.66% 1.11%
1972 2.7% 1.11%
1971 2.75% 1.21%
1970 2.79% 1.12%
1969 2.8% 0.99%
1968 2.74% 1.32%
1967 2.63% 1.24%
1966 2.39% 1.03%
1965 2.56% 1.09%
1964 2.9% 1%
1963 2.87% 0.88%
1962 2.85% 0.92%
1961 2.83% 0.93%

Data sources: United Nations | World Population Prospects (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

GeoRank.org/population/indonesia/spain | CC BY

In 2024, the population of Indonesia grew by 0.82%, while Spain's population grew by 1.03%.

Live population counters

Indonesia Spain
Current population
288551776
48806901
Population rank 4/197 32/197
Percent of world population 3.48% 0.59%
One net population change
13.7 seconds
1.06 minutes
One birth every
7.04 seconds
1.62 minutes
One death every
14.9 seconds
1.21 minutes
Daily growth/decline +6,296 +1,360
Annual growth/decline +2,297,864 +496,312
Annual growth/decline rate +0.82% +1.03%
Population growth rate rank 115/197 100/197
One migration net change every
13.3 minutes
5.45 minutes
Annual migration change -39,509 +96,630
Net migration rank 171/196 17/196
Foreign-born residents 445,726 8,870,527
Foreign-born residents rank 86/195 6/195
Foreign-born share of population 0.2% 18.5%
Foreign-born share rank 188/195 32/195

Natural population change vs migration

Indonesia
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
Indonesia Spain
Natural Migration Natural Migration
2025 - -39,509 - 96,630
2024 - -38,469 - 111,674
2023 2,364,808 -37,501 -111,211 119,099
2022 2,429,171 -37,501 -133,801 299,779
2021 1,764,332 -11,248 -113,865 144,385
2020 2,152,076 -18,743 -151,551 236,854
2019 2,548,048 -30,421 -56,542 464,783
2018 2,587,219 -29,911 -56,139 337,467
2017 2,682,556 -29,467 -32,600 201,135
2016 2,814,578 -28,991 0 106,474
2015 2,899,165 -28,487 -4,642 -1,979
2014 3,000,907 -27,988 32,522 -97,870
2013 3,104,258 -27,507 37,284 -250,741
2012 3,259,811 -28,869 51,450 -153,486
2011 3,266,560 -40,543 84,137 60,761
2010 3,161,082 -57,752 102,469 69,406
2009 3,140,944 -73,655 106,635 129,557
2008 3,138,143 -81,364 133,267 434,135
2007 3,211,484 -77,338 108,545 772,317
2006 3,163,026 -75,829 110,994 659,720
2005 3,149,551 -76,784 78,576 629,803
2004 2,894,440 -77,002 85,844 661,158
2003 3,037,698 -97,732 54,844 658,428
2002 3,063,044 -83,985 53,861 737,880
2001 3,066,275 -64,255 44,936 181,307
2000 3,080,621 -42,697 36,512 176,269
1999 3,137,133 -28,799 8,077 178,559
1998 3,258,820 -11,356 4,022 182,926
1997 3,338,243 -4,334 20,028 165,345
1996 3,331,535 -1,854 11,967 162,704
1995 3,304,550 -1,643 15,889 162,434
1994 3,292,127 -2,575 31,639 160,407
1993 3,287,348 -3,485 47,234 160,907
1992 3,241,576 -2,609 62,652 177,544
1991 3,288,791 3,096 58,450 122,841
1990 3,250,906 11,539 66,075 -30,684
1989 3,316,792 19,905 81,538 -25,892
1988 3,331,242 25,383 100,794 -17,663
1987 3,304,520 26,705 116,054 -12,681
1986 3,309,905 30,988 131,188 -13,540
1985 3,419,412 37,451 146,184 -589
1984 3,549,570 43,693 172,487 2,754
1983 3,558,949 47,375 183,223 1,241
1982 3,545,504 46,792 231,714 -7,384
1981 3,497,244 44,710 237,879 2,563
1980 3,484,846 42,254 281,184 20,166
1979 3,460,621 43,900 312,407 -5,929
1978 3,412,980 45,911 339,157 -2,504
1977 3,334,779 45,610 361,465 -1,332
1976 3,291,479 48,010 375,834 2,804
1975 3,263,794 56,386 371,882 -218
1974 3,196,136 61,188 396,182 105,838
1973 3,210,643 64,991 374,381 8,624
1972 3,149,726 72,007 391,030 7,935
1971 3,111,304 79,264 369,625 7,363
1970 3,080,421 81,368 378,723 -60,580
1969 3,034,825 82,955 367,851 -49,956
1968 2,961,608 55,731 387,423 -46,088
1967 2,909,981 -80,138 402,001 -42,344
1966 2,715,011 -77,645 397,084 -41,467
1965 2,278,891 -61,145 405,819 -42,476
1964 2,700,138 144,819 429,885 -41,461
1963 2,609,526 110,166 394,338 -44,446
1962 2,525,163 106,264 384,690 -45,211
1961 2,434,113 103,628 396,537 -46,517
1960 2,350,971 101,631 398,960 -154,869

Data sources: World Bank | Health (1960–2025, retrieved 2026-04-06).

GeoRank.org/population/indonesia/spain | CC BY

Over the last 10 years, 98.9% of the population change in Indonesia is from natural causes (a gain of 25,242,860 people) and 1.1% is from migration (a loss of 280,258 people). In Spain 25.8% is from natural causes (a loss of 627,829 people) and 74.2% is from migration (a gain of 1,810,127 people).

As of 2024, 445,726 residents or 0.2% of the population were not native-born in Indonesia, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

Indonesia
City Population
Jakarta 11.1M
Bali 4.36M
Surabaya 3.01M
Bandung 2.88M
Bekasi 2.38M
Depok 2.33M
Tangerang 2.24M
Medan 2.11M
South Tangerang 1.64M
Semarang 1.62M
Spain
City Population
Madrid 3.51M
Barcelona 1.73M
Tenerife 955K
Valencia 841K
Zaragoza 693K
Seville 689K
Malaga 599K
Palma de Mallorca 435K
Las Palmas 382K
Alicante 366K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

GeoRank.org/population/indonesia/spain | CC BY

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Health (1960–2025, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.