Skip to content

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

Updated on by Georank

The latest officially reported population of Indonesia was 285,721,236 in 2025 vs 49,355,143 people in Spain in 2025. In 2026, based on the adjusted UN estimation, the current Indonesia's population is 289,027,659 people compared to 49,323,658 in Spain.

Population statistics:

  • Indonesia's population is 5.86 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.9% per year vs +0.55% in Spain.
  • Since 2006, the population of Indonesia has increased from 234M people to 289M (23.5% growth), while Spain has grown from 44.4M to 49.3M (11.1% growth).

Indonesia vs Spain: population by year and forecast

Indonesia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Indonesia Spain
2100 297,217,412 34,221,514
2099 298,340,219 34,400,373
2098 299,449,882 34,577,450
2097 300,549,857 34,751,199
2096 301,634,112 34,917,831
2095 302,698,798 35,087,012
2094 303,751,488 35,251,362
2093 304,790,169 35,415,082
2092 305,809,796 35,577,396
2091 306,805,664 35,741,351
2090 307,780,044 35,912,083
2089 308,727,665 36,086,009
2088 309,652,467 36,257,546
2087 310,557,120 36,424,826
2086 311,434,804 36,594,101
2085 312,284,488 36,771,456
2084 313,107,329 36,951,760
2083 313,904,231 37,138,777
2082 314,670,881 37,327,720
2081 315,404,888 37,527,142
2080 316,109,402 37,732,838
2079 316,790,074 37,949,144
2078 317,438,140 38,171,047
2077 318,056,534 38,405,329
2076 318,635,038 38,654,221
2075 319,190,402 38,913,733
2074 319,709,426 39,188,284
2073 320,201,444 39,469,767
2072 320,659,562 39,765,059
2071 321,086,184 40,062,070
2070 321,485,042 40,372,388
2069 321,858,064 40,682,818
2068 322,201,979 41,005,148
2067 322,516,545 41,326,772
2066 322,798,892 41,654,672
2065 323,048,550 41,983,104
2064 323,268,759 42,321,736
2063 323,456,004 42,655,212
2062 323,612,644 42,993,328
2061 323,734,699 43,328,037
2060 323,814,746 43,648,753
2059 323,854,683 43,967,376
2058 323,844,015 44,273,756
2057 323,786,943 44,579,723
2056 323,671,172 44,885,952
2055 323,502,155 45,164,935
2054 323,274,189 45,434,986
2053 322,982,358 45,702,038
2052 322,627,695 45,951,973
2051 322,202,850 46,179,119
2050 321,699,802 46,397,620
2049 321,119,283 46,616,167
2048 320,457,830 46,812,693
2047 319,728,668 47,002,591
2046 318,921,027 47,182,235
2045 318,028,206 47,354,908
2044 317,051,440 47,514,076
2043 315,992,168 47,657,627
2042 314,856,940 47,801,904
2041 313,643,892 47,936,819
2040 312,358,800 48,066,825
2039 311,001,176 48,190,225
2038 309,578,763 48,304,880
2037 308,089,917 48,418,168
2036 306,544,452 48,528,778
2035 304,940,852 48,633,960
2034 303,275,782 48,730,594
2033 301,552,643 48,823,356
2032 299,781,696 48,914,944
2031 297,956,985 49,008,735
2030 296,081,262 49,094,273
2029 294,145,245 49,163,780
2028 292,143,454 49,223,677
2027 290,069,053 49,274,441
2026 287,927,760 49,323,658
2025 285,721,236 49,355,143
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

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 24,400,241 people (a 9.22% growth), while Spain's population increased by 2,865,519 people (a 6.17% 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.3% to 321,699,802 people with a rank change from 4th to 6th. The population of Spain will decrease by 5.93% to 46,397,620 people and rank change from 32nd to 46th.

Indonesia is projected to reach its peak in 2059 at 324M people, while Spain's population already peaked in 2025 at 49.4M people and is projected to decrease to 34.2M 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.79% 1.04%
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

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

In 2025, the population of Indonesia grew by 0.79%, while Spain's population grew by 1.04%.

Live population counters

Indonesia Spain
Current population
289027659
49323658
Population rank 4/197 32/197
Percent of world population 3.48% 0.59%
One net population change
14.2 seconds
1.04 minutes
One birth every
7.06 seconds
1.66 minutes
One death every
14.6 seconds
1.21 minutes
Daily growth/decline +6,119 +1,387
Annual growth/decline +2,233,305 +506,303
Annual growth/decline rate +0.79% +1.04%
Population growth rate rank 112/197 98/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 2,307,025 -38,469 -117,237 111,674
2023 2,364,808 -37,501 -116,046 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-07-08).

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

Over the last 10 years, 98.8% of the population change in Indonesia is from natural causes (a gain of 24,548,978 people) and 1.17% is from migration (a loss of 290,739 people). In Spain 27.9% is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 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–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

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-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)

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.