Skip to content

Indonesia vs Spain statistics compared

Updated on by Georank team

Indonesia has a population of 283M (ranked 4/197), compared with 48.8M in Spain (ranked 32/197). Indonesia's land area is 730,720 sq mi versus 192,934 sq mi for Spain (ranked 14th vs. 51st).

By GDP, Indonesia ranks 16/197 ($1.4T) and Spain ranks 15/197 ($1.73T). By GDP per capita, Indonesia ranks 121/197 ($4,925), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Indonesia Spain
Population
288551776
48806901
Population rank 4/197 32/197
GDP
$1.4T
2024
$1.73T
2024
GDP rank 16/197 15/197
GDP per capita
$4,925
2024
$35,327
2024
GDP per capita rank 121/197 32/197
GDP per capita, PPP
$16,448
2024
$57,965
2024
Government debt
$561B
2024
$1.75T
2024
Debt-to-GDP ratio
40.2%
2024
101.6%
2024
Government debt per person
$1,978
2024
$35,909
2024
Government debt per person rank 120/185 20/185
Average annual personal income after taxes
$3,371
2026
$25,470
2026
Land area 730,720 sq mi 192,934 sq mi
Population density
394 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
2.13
2023
1.12
2023
Median age
31.1 years
2024
46.4 years
2024
Life expectancy
71.6 years
2026
84.1 years
2026

Indonesia and Spain: Comparison Charts

Indonesia and Spain economies compared

GDP
Indonesia

Spain
1x
Year GDP
Indonesia Spain
2024 $1,396,300,098,191 $1,725,671,652,742
2023 $1,371,169,301,564 $1,619,481,980,720
2022 $1,319,101,183,380 $1,448,850,658,407
2021 $1,186,509,691,087 $1,461,244,901,853
2020 $1,059,054,842,698 $1,289,783,836,971
2019 $1,119,099,871,350 $1,403,496,387,686
2018 $1,042,271,532,989 $1,431,642,809,327
2017 $1,015,618,744,160 $1,321,754,088,819
2016 $931,877,364,038 $1,243,015,667,917
2015 $860,854,232,686 $1,206,164,777,553
2014 $890,814,755,534 $1,380,244,561,362
2013 $912,524,136,718 $1,362,186,923,158
2012 $917,869,913,333 $1,330,994,811,670
2011 $892,969,104,563 $1,487,568,659,241
2010 $755,094,157,622 $1,427,989,078,917
2009 $539,580,085,612 $1,496,587,590,848
2008 $510,228,634,992 $1,636,115,447,613
2007 $432,216,737,775 $1,476,746,276,855
2006 $364,570,515,618 $1,261,846,683,275
2005 $285,868,619,196 $1,154,667,551,776
2004 $256,836,875,295 $1,069,829,382,515
2003 $234,772,463,824 $907,963,217,058
2002 $195,660,611,165 $708,938,227,244
2001 $160,446,947,785 $627,798,682,379
2000 $165,021,012,078 $598,102,854,756
1999 $140,001,351,215 $634,394,904,387
1998 $95,445,547,873 $618,731,484,575
1997 $215,748,998,610 $589,739,772,727
1996 $227,369,679,375 $642,251,412,058
1995 $202,132,028,723 $614,170,002,669
1994 $176,892,143,932 $530,183,651,720
1993 $158,006,700,302 $524,700,572,624
1992 $128,026,966,580 $630,465,353,486
1991 $116,621,996,217 $576,753,902,322
1990 $106,140,727,334 $536,175,326,477
1989 $94,451,427,877 $414,460,794,097
1988 $84,300,174,486 $375,891,716,898
1987 $75,929,617,558 $318,520,253,335
1986 $79,954,072,545 $251,141,555,186
1985 $85,289,488,375 $180,664,322,896
1984 $84,853,700,028 $171,979,977,230
1983 $81,052,283,384 $170,829,074,246
1982 $90,158,449,295 $195,856,752,991
1981 $85,518,233,419 $202,663,023,968
1980 $72,482,337,397 $232,600,556,974
1979 $51,400,186,343 $214,448,666,336
1978 $51,455,719,076 $160,484,969,618
1977 $45,808,915,663 $132,354,665,936
1976 $37,269,156,627 $118,422,534,195
1975 $30,463,855,422 $114,695,060,870
1974 $25,802,409,639 $97,204,522,642
1973 $16,273,253,012 $78,583,355,226
1972 $10,997,590,361 $59,090,176,029
1971 $9,333,536,370 $46,586,119,760
1970 $9,150,684,932 $40,963,715,237
1969 $8,337,423,313 $37,090,689,288
1968 $7,076,465,300 $32,394,326,464
1967 $5,667,756,628 $32,570,905,397
1966 - $29,559,436,183
1965 - $25,479,619,607
1964 - $21,966,876,027
1963 - $19,631,714,760
1962 - $16,609,632,791
1961 - $14,238,126,760
1960 - $12,424,514,014

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Indonesia and Spain economies compared

GDP per capita
Indonesia

Spain
1x
Year GDP per capita
Indonesia Spain
2024 $4,925 $35,327
2023 $4,876 $33,493
2022 $4,731 $30,319
2021 $4,287 $30,799
2020 $3,854 $27,234
2019 $4,107 $29,787
2018 $3,861 $30,602
2017 $3,799 $28,381
2016 $3,521 $26,756
2015 $3,288 $25,982
2014 $3,441 $29,708
2013 $3,567 $29,229
2012 $3,632 $28,456
2011 $3,579 $31,825
2010 $3,066 $30,659
2009 $2,218 $32,280
2008 $2,125 $35,603
2007 $1,823 $32,652
2006 $1,558 $28,422
2005 $1,238 $26,451
2004 $1,127 $24,925
2003 $1,043 $21,522
2002 $881 $17,111
2001 $732 $15,368
2000 $764 $14,743
1999 $657 $15,708
1998 $455 $15,382
1997 $1,045 $14,722
1996 $1,119 $16,101
1995 $1,011 $15,461
1994 $900 $13,406
1993 $817 $13,330
1992 $674 $16,101
1991 $624 $14,801
1990 $578 $13,795
1989 $524 $10,674
1988 $477 $9,696
1987 $438 $8,234
1986 $470 $6,509
1985 $511 $4,696
1984 $520 $4,487
1983 $508 $4,475
1982 $578 $5,156
1981 $561 $5,367
1980 $487 $6,204
1979 $353 $5,766
1978 $362 $4,353
1977 $331 $3,625
1976 $275.7 $3,277
1975 $231.1 $3,208
1974 $200.7 $2,748
1973 $129.9 $2,246
1972 $90.1 $1,708
1971 $78.5 $1,361
1970 $79.1 $1,211
1969 $74.1 $1,109
1968 $64.7 $978
1967 $53.2 $997
1966 - $916
1965 - $797
1964 - $695
1963 - $627
1962 - $535
1961 - $463
1960 - $408

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Indonesia vs. Spain life expectancy calculator

Life expectancy
Indonesia

Spain
1x
Year Life expectancy, years
Indonesia Spain
2026 71.6 84.1
2025 71.4 84
2024 71.3 83.8
2023 71.1 83.7
2022 70.9 82.4
2021 67.5 83
2020 68.8 82.2
2019 70.3 83.5
2018 70.1 83.1
2017 70 83
2016 69.7 83
2015 69.5 82.6
2014 69.3 82.8
2013 69.1 82.7
2012 68.9 82.2
2011 68.6 82.2
2010 68.4 82
2009 68.3 81.6
2008 68.1 81.3
2007 67.9 81
2006 67.7 81
2005 67.5 80.3
2004 65.5 80.3
2003 67.1 79.7
2002 67 79.8
2001 66.6 79.7
2000 66.3 79.4
1999 66 78.9
1998 65.9 78.9
1997 65.8 78.9
1996 65.5 78.3
1995 65.3 78.2
1994 65 78.1
1993 64.9 77.7
1992 64.2 77.6
1991 63.7 77.1
1990 63.2 77
1989 62.9 77
1988 62.4 76.9
1987 62.1 77
1986 61.7 76.7
1985 61.4 76.4
1984 60.9 76.5
1983 60.3 76.1
1982 59.7 76.3
1981 59.1 75.7
1980 58.7 75.5
1979 58.2 75
1978 57.6 74.5
1977 57.1 74.3
1976 56.4 73.8
1975 56 73.5
1974 55.4 73.1
1973 54.9 72.7
1972 54.4 73
1971 53.8 71.7
1970 53.3 72.1
1969 52.6 71.1
1968 51.9 71.7
1967 51.3 71.3
1966 48.4 71.2
1965 42.8 70.9
1964 49.4 70.5
1963 48.7 69.8
1962 48.1 69.6
1961 47.4 69.6
1960 46.8 69.2
1959 46.2 68.7
1958 45.4 68.8
1957 45 66.6
1956 44.3 66.8
1955 43.6 66.7
1954 42.9 66.9
1953 42.2 65.7
1952 41.5 64.8
1951 40.8 61.5
1950 40.2 61.8

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

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

Indonesia and Spain population clocks and comparison

Population
Indonesia

Spain
1x
Year Population
Indonesia Spain
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: World Bank | Health (1960–2024, retrieved 2026-04-06).

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

Fertility rates in Indonesia and Spain

Fertility rate
Indonesia

Spain
1x
Year Fertility rate
Indonesia Spain
2023 2.13 1.12
2022 2.15 1.16
2021 2.17 1.18
2020 2.19 1.18
2019 2.21 1.23
2018 2.22 1.26
2017 2.25 1.31
2016 2.31 1.33
2015 2.35 1.33
2014 2.39 1.32
2013 2.44 1.27
2012 2.51 1.32
2011 2.52 1.34
2010 2.46 1.37
2009 2.44 1.38
2008 2.44 1.45
2007 2.48 1.38
2006 2.46 1.36
2005 2.45 1.33
2004 2.42 1.31
2003 2.41 1.3
2002 2.44 1.25
2001 2.47 1.23
2000 2.5 1.22
1999 2.57 1.17
1998 2.66 1.13
1997 2.74 1.15
1996 2.78 1.14
1995 2.81 1.16
1994 2.85 1.19
1993 2.9 1.26
1992 2.95 1.31
1991 3.06 1.33
1990 3.11 1.36
1989 3.25 1.4
1988 3.35 1.45
1987 3.42 1.49
1986 3.53 1.56
1985 3.73 1.64
1984 3.96 1.73
1983 4.11 1.8
1982 4.25 1.94
1981 4.36 2.04
1980 4.5 2.22
1979 4.63 2.37
1978 4.73 2.54
1977 4.81 2.65
1976 4.92 2.77
1975 5.03 2.77
1974 5.09 2.88
1973 5.25 2.84
1972 5.32 2.87
1971 5.4 2.9
1970 5.49 2.84
1969 5.55 2.86
1968 5.57 2.87
1967 5.58 2.94
1966 5.59 2.91
1965 5.59 2.94
1964 5.57 3.01
1963 5.55 2.88
1962 5.53 2.8
1961 5.52 2.77
1960 5.51 2.86

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

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

Indonesia and Spain demographics compared

Median age
Indonesia

Spain
1x
Year Median age, years
Indonesia Spain
2024 31.1 46.4
2023 30.8 45.9
2022 30.6 45.4
2021 30.3 44.9
2020 30.1 44.5
2019 29.9 44.1
2018 29.6 43.8
2017 29.4 43.5
2016 29.1 43.1
2015 28.9 42.7
2014 28.6 42.2
2013 28.3 41.7
2012 28.1 41.1
2011 27.9 40.6
2010 27.6 40.2
2009 27.3 39.8
2008 27.1 39.4
2007 26.8 39.2
2006 26.5 39
2005 26.2 38.8
2004 25.9 38.5
2003 25.6 38.3
2002 25.2 38.1
2001 24.9 37.8
2000 24.6 37.4
1999 24.3 37
1998 24 36.6
1997 23.7 36.2
1996 23.5 35.7
1995 23.2 35.3
1994 22.9 34.9
1993 22.6 34.6
1992 22.3 34.2
1991 22 33.9
1990 21.7 33.6
1989 21.4 33.2
1988 21.1 32.9
1987 20.9 32.5
1986 20.6 32.2
1985 20.3 31.9
1984 20.1 31.6
1983 19.9 31.4
1982 19.7 31.1
1981 19.6 30.9
1980 19.4 30.7
1979 19.3 30.6
1978 19.2 30.4
1977 19.1 30.2
1976 19 30.1
1975 18.9 30
1974 18.9 30
1973 18.8 30
1972 18.8 30
1971 18.9 30.1
1970 19 30.1
1969 19.1 30.2
1968 19.3 30.4
1967 19.4 30.4
1966 19.6 30.3
1965 19.8 30.2
1964 19.9 30.1
1963 20 29.9
1962 20.1 29.7
1961 20.1 29.6
1960 20.1 29.4

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

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

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Indonesia and Spain.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Indonesia Spain
GNI, Atlas method
$1.39T
2024
$1.64T
2024
Government expenditure, % of GDP
16.8%
2024
45.3%
2024
Education expenditure, % of GDP
1.28%
2023
4.59%
2022
Military expenditure, % of GDP
0.78%
2024
1.43%
2024
Armed forces personnel
676,000
2020
199,000
2020
Deficit/surplus, % of GDP
-2.3%
2024
-3.15%
2024
Unemployment rate
3.31%
2023
11.3%
2024
Services, % of GDP
43.8%
2024
68.9%
2024
Industry, % of GDP
39.3%
2024
19.5%
2024
Economic freedom index
65.1
2026
66.8
2026
Income share by richest 10%
28.8%
2024
24.5%
2023
Income share by poorest 10%
3.5%
2024
2.2%
2023
Number of millionaires
178,605
2025
1,202,000
2025
Percentage of millionaires
0.09%
2025
3.01%
2025
Number of billionaires
33
2025
34
2025
Percentage of billionaires
0.00002%
2025
0.00009%
2025
Listed domestic companies
903
2023
277
2024
Market capitalization of domestic companies
$758B
2023
$754B
2024
Total reserves including gold
$156B
2024
$108B
2024
Personal remittances received
$16B
2024
$6.33B
2024
International tourist arrivals
4,053,000
2020
36,410,000
2020
International tourism as share of exports
1.98%
2020
19.8%
1998
Banked people share
56.3%
2024
98.4%
2024

Energy

Indonesia Spain
Energy use, kg of oil equivalent per capita
977 kg
2023
2,294 kg
2023
GDP PPP per kg equivalent of energy use
$15.8
2023
$24.3
2023
Carbon dioxide (CO2) emissions
812 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
2.87 tons
2024
4.51 tons
2024
Fossil fuel energy use share
77.2%
2022
68.5%
2023
Renewable energy use share
20.2%
2021
19%
2021
Alternative and nuclear energy use share
11.5%
2023
25.2%
2023
Net energy imports use share
-89.5%
2023
77%
2023
Electric power consumption per capita
1,445 kWh
2023
5,118 kWh
2023
Renewable electricity output share
15.5%
2021
47%
2021
Hydroelectric share
5.67%
2023
10.9%
2023
Nuclear share
0%
2021
19.9%
2023
Electricity access
99.4%
2023
100%
2023

Society

Indonesia Spain
% of world population
3.49%
2024
0.6%
2024
Annual migration change
-39,509
2025
+96,630
2025
Urban population
58.8%
2024
80.3%
2024
Male:Female ratio
50.2:49.8
2024
49.1:50.9
2024
Average male height
5.46 ft
2025
5.78 ft
2025
Average female height
5.07 ft
2025
5.31 ft
2025
Quality of life index
48.9
2026
82.5
2026
Corruption Perceptions Index
34
2025
55
2025
Higher education index
72
2026
90
2026
Homicides per 100K people
0.31
2022
0.69
2023
Road traffic mortality per 100K people
11.3
2019
3.9
2019
Visa free countries
88
2025
173
2025
Adult literacy rate
96%
2020
99.7%
2021
English speaking
30.8%
2023
22%
2023
People using the Internet
72.8%
2024
95.8%
2024

Health

Indonesia Spain
Government health expenditure per capita
$131.8
2023
$3,107
2023
Out-of-pocket health expenditure per capita
$41
2023
$648
2023
Life expectancy
71.6 years
2026
84.1 years
2026
Foreign aid share of health expenditure
0.56%
2023
n/a
Physicians per 1,000 people
0.52
2023
4.29
2022
Age at first childbirth
22.4 years
2025
31.5 years
2023
Maternal mortality per 100K births
140
2023
3
2023
Mortality rate before reaching 5 years of age
20.6
2023
3.1
2023
Obesity rate
11.5%
2022
16.2%
2022
Diabetes prevalence
11.3%
2024
9.7%
2024
Air quality index
17
2026
77
2026
Tobacco use prevalence
38.2%
2022
28.4%
2022
Pure alcohol consumption per capita
0.07 liters
2020
9.16 liters
2020

Territory

Indonesia Spain
% of world land
1.27%
2026
0.34%
2026
Land area per capita
2,578 sq mi
2024
3,950 sq mi
2024
Agricultural land area
212,828 sq mi
2026
95,648 sq mi
2026
Forest area
348,714 sq mi
2026
71,757 sq mi
2026
Roads length
340,572 mi
2025
424,505 mi
2020

In-depth comparisons

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 (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2025, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  11. EduRank (2026, retrieved 2025-10-13)
  12. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)

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.