Skip to content

Indonesia vs Morocco statistics compared

Updated on by Georank team

Indonesia has a population of 283M (ranked 4/197), compared with 38.1M in Morocco (ranked 39/197). Indonesia's land area is 730,720 sq mi versus 172,317 sq mi for Morocco (ranked 14th vs. 55th).

By GDP, Indonesia ranks 16/197 ($1.4T) and Morocco ranks 58/197 ($161B). By GDP per capita, Indonesia ranks 121/197 ($4,925), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Indonesia Morocco
Population
288551776
38871720
Population rank 4/197 41/197
GDP
$1.4T
2024
$161B
2024
GDP rank 16/197 58/197
GDP per capita
$4,925
2024
$4,218
2024
GDP per capita rank 121/197 127/197
GDP per capita, PPP
$16,448
2024
$10,415
2024
Government debt
$561B
2024
$109B
2024
Debt-to-GDP ratio
40.2%
2024
67.7%
2024
Government debt per person
$1,978
2024
$2,857
2024
Government debt per person rank 120/185 104/185
Average annual personal income after taxes
$3,371
2026
$5,678
2026
Land area 730,720 sq mi 172,317 sq mi
Population density
394 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
2.13
2023
2.23
2023
Median age
31.1 years
2024
30.5 years
2024
Life expectancy
71.6 years
2026
75.9 years
2026

Indonesia and Morocco: Comparison Charts

Indonesia and Morocco economies compared

GDP
Indonesia

Morocco
1x
Year GDP
Indonesia Morocco
2024 $1,396,300,098,191 $160,610,994,055
2023 $1,371,169,301,564 $146,036,093,667
2022 $1,319,101,183,380 $131,245,312,804
2021 $1,186,509,691,087 $142,022,058,447
2020 $1,059,054,842,698 $121,353,645,057
2019 $1,119,099,871,350 $128,920,266,409
2018 $1,042,271,532,989 $127,341,147,582
2017 $1,015,618,744,160 $118,540,573,368
2016 $931,877,364,038 $111,572,947,005
2015 $860,854,232,686 $110,413,823,842
2014 $890,814,755,534 $119,130,841,412
2013 $912,524,136,718 $115,739,287,305
2012 $917,869,913,333 $106,937,392,311
2011 $892,969,104,563 $110,080,631,332
2010 $755,094,157,622 $100,865,329,473
2009 $539,580,085,612 $101,154,952,241
2008 $510,228,634,992 $101,822,906,949
2007 $432,216,737,775 $86,947,913,287
2006 $364,570,515,618 $75,883,823,301
2005 $285,868,619,196 $68,852,658,069
2004 $256,836,875,295 $66,114,145,451
2003 $234,772,463,824 $58,029,363,354
2002 $195,660,611,165 $47,077,192,188
2001 $160,446,947,785 $43,831,480,208
2000 $165,021,012,078 $43,017,455,402
1999 $140,001,351,215 $46,266,428,648
1998 $95,445,547,873 $46,497,608,725
1997 $215,748,998,610 $39,147,844,526
1996 $227,369,679,375 $43,161,571,528
1995 $202,132,028,723 $39,030,285,468
1994 $176,892,143,932 $35,604,137,423
1993 $158,006,700,302 $31,655,473,664
1992 $128,026,966,580 $33,711,069,431
1991 $116,621,996,217 $32,285,573,574
1990 $106,140,727,334 $30,179,954,775
1989 $94,451,427,877 $26,314,313,191
1988 $84,300,174,486 $25,705,296,184
1987 $75,929,617,558 $21,765,195,948
1986 $79,954,072,545 $19,462,085,540
1985 $85,289,488,375 $14,991,283,216
1984 $84,853,700,028 $14,824,667,954
1983 $81,052,283,384 $16,251,408,128
1982 $90,158,449,295 $17,692,276,734
1981 $85,518,233,419 $17,788,185,479
1980 $72,482,337,397 $21,728,516,153
1979 $51,400,186,343 $15,911,994,817
1978 $51,455,719,076 $13,236,946,234
1977 $45,808,915,663 $11,049,783,872
1976 $37,269,156,627 $9,584,297,284
1975 $30,463,855,422 $8,984,853,005
1974 $25,802,409,639 $7,675,466,449
1973 $16,273,253,012 $6,242,145,880
1972 $10,997,590,361 $5,074,117,545
1971 $9,333,536,370 $4,356,669,034
1970 $9,150,684,932 $3,956,336,244
1969 $8,337,423,313 $3,651,622,669
1968 $7,076,465,300 $3,271,422,333
1967 $5,667,756,628 $3,046,345,314
1966 - $2,876,401,297
1965 - $2,948,331,090
1964 - $2,798,345,299
1963 - $2,657,252,578
1962 - $2,379,611,125
1961 - $2,025,693,540
1960 - $2,037,154,742

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

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

Indonesia and Morocco economies compared

GDP per capita
Indonesia

Morocco
1x
Year GDP per capita
Indonesia Morocco
2024 $4,925 $4,218
2023 $4,876 $3,872
2022 $4,731 $3,516
2021 $4,287 $3,843
2020 $3,854 $3,317
2019 $4,107 $3,560
2018 $3,861 $3,553
2017 $3,799 $3,344
2016 $3,521 $3,186
2015 $3,288 $3,190
2014 $3,441 $3,483
2013 $3,567 $3,425
2012 $3,632 $3,206
2011 $3,579 $3,345
2010 $3,066 $3,107
2009 $2,218 $3,158
2008 $2,125 $3,222
2007 $1,823 $2,788
2006 $1,558 $2,466
2005 $1,238 $2,268
2004 $1,127 $2,207
2003 $1,043 $1,962
2002 $881 $1,612
2001 $732 $1,521
2000 $764 $1,513
1999 $657 $1,651
1998 $455 $1,683
1997 $1,045 $1,439
1996 $1,119 $1,610
1995 $1,011 $1,478
1994 $900 $1,369
1993 $817 $1,236
1992 $674 $1,337
1991 $624 $1,302
1990 $578 $1,238
1989 $524 $1,099
1988 $477 $1,094
1987 $438 $944
1986 $470 $861
1985 $511 $678
1984 $520 $687
1983 $508 $772
1982 $578 $862
1981 $561 $890
1980 $487 $1,117
1979 $353 $839
1978 $362 $716
1977 $331 $613
1976 $275.7 $545
1975 $231.1 $524
1974 $200.7 $459
1973 $129.9 $382
1972 $90.1 $319
1971 $78.5 $280.6
1970 $79.1 $261.5
1969 $74.1 $247.8
1968 $64.7 $228
1967 $53.2 $218.1
1966 - $211.5
1965 - $222.7
1964 - $216.9
1963 - $211.3
1962 - $194.2
1961 - $169.8
1960 - $175.2

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

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

Indonesia vs. Morocco life expectancy calculator

Life expectancy
Indonesia

Morocco
1x
Year Life expectancy, years
Indonesia Morocco
2026 71.6 75.9
2025 71.4 75.7
2024 71.3 75.5
2023 71.1 75.3
2022 70.9 75.2
2021 67.5 73.4
2020 68.8 73.1
2019 70.3 74.2
2018 70.1 73.9
2017 70 73.6
2016 69.7 73.2
2015 69.5 72.9
2014 69.3 72.5
2013 69.1 72.1
2012 68.9 71.7
2011 68.6 71.3
2010 68.4 70.8
2009 68.3 70.5
2008 68.1 70.1
2007 67.9 69.6
2006 67.7 69.2
2005 67.5 68.7
2004 65.5 68.3
2003 67.1 68
2002 67 67.6
2001 66.6 67.2
2000 66.3 66.8
1999 66 66.4
1998 65.9 66
1997 65.8 65.6
1996 65.5 65.2
1995 65.3 64.7
1994 65 64.3
1993 64.9 63.9
1992 64.2 63.4
1991 63.7 62.9
1990 63.2 62.4
1989 62.9 61.8
1988 62.4 61.2
1987 62.1 60.6
1986 61.7 60
1985 61.4 59.2
1984 60.9 58.4
1983 60.3 57.7
1982 59.7 56.9
1981 59.1 56
1980 58.7 55.2
1979 58.2 54.4
1978 57.6 53.6
1977 57.1 52.8
1976 56.4 52
1975 56 51.4
1974 55.4 50.8
1973 54.9 50.2
1972 54.4 49.7
1971 53.8 49.2
1970 53.3 48.7
1969 52.6 48.2
1968 51.9 47.7
1967 51.3 47.1
1966 48.4 46.5
1965 42.8 45.9
1964 49.4 45.3
1963 48.7 44.8
1962 48.1 44.2
1961 47.4 43.7
1960 46.8 41.7
1959 46.2 42.7
1958 45.4 42.2
1957 45 41.7
1956 44.3 41.2
1955 43.6 40.8
1954 42.9 40.4
1953 42.2 40
1952 41.5 39.6
1951 40.8 39.1
1950 40.2 38.8

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

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

Indonesia and Morocco population clocks and comparison

Population
Indonesia

Morocco
1x
Year Population
Indonesia Morocco
2024 283,487,931 38,081,173
2023 281,190,067 37,712,505
2022 278,830,529 37,329,064
2021 276,758,053 36,954,442
2020 274,814,866 36,584,208
2019 272,489,381 36,210,898
2018 269,951,846 35,839,760
2017 267,346,658 35,446,392
2016 264,627,418 35,023,457
2015 261,799,249 34,607,588
2014 258,877,399 34,204,780
2013 255,852,467 33,787,571
2012 252,698,525 33,355,241
2011 249,470,032 32,912,588
2010 246,305,322 32,467,016
2009 243,220,028 32,030,778
2008 240,157,903 31,606,767
2007 237,062,337 31,186,468
2006 233,951,652 30,771,178
2005 230,871,650 30,358,144
2004 227,926,649 29,953,018
2003 225,048,008 29,571,415
2002 222,088,495 29,198,142
2001 219,097,902 28,814,643
2000 216,077,790 28,423,435
1999 213,004,668 28,027,179
1998 209,826,788 27,621,648
1997 206,536,095 27,213,337
1996 203,204,348 26,808,107
1995 199,888,057 26,399,429
1994 196,591,828 26,000,822
1993 193,305,168 25,614,586
1992 190,043,744 25,212,468
1991 186,778,238 24,799,014
1990 183,501,098 24,375,551
1989 180,201,630 23,939,414
1988 176,855,065 23,500,524
1987 173,511,154 23,054,392
1986 170,175,065 22,600,803
1985 166,776,185 22,113,953
1984 163,251,124 21,593,778
1983 159,651,381 21,060,696
1982 156,052,152 20,520,318
1981 152,485,035 19,985,401
1980 148,950,540 19,459,943
1979 145,434,834 18,955,589
1978 141,953,163 18,477,385
1977 138,533,541 18,014,756
1976 135,173,655 17,574,182
1975 131,843,848 17,150,786
1974 128,555,045 16,733,842
1973 125,288,515 16,326,269
1972 122,039,841 15,924,692
1971 118,833,702 15,527,225
1970 115,657,495 15,129,449
1969 112,517,639 14,734,255
1968 109,450,006 14,347,899
1967 106,526,393 13,968,175
1966 103,792,754 13,597,065
1965 101,365,130 13,239,171
1964 98,833,749 12,898,886
1963 96,051,424 12,577,502
1962 93,375,850 12,253,092
1961 90,791,249 11,931,085
1960 88,296,070 11,624,933

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

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

Fertility rates in Indonesia and Morocco

Fertility rate
Indonesia

Morocco
1x
Year Fertility rate
Indonesia Morocco
2023 2.13 2.23
2022 2.15 2.26
2021 2.17 2.29
2020 2.19 2.32
2019 2.21 2.34
2018 2.22 2.35
2017 2.25 2.38
2016 2.31 2.4
2015 2.35 2.41
2014 2.39 2.42
2013 2.44 2.48
2012 2.51 2.54
2011 2.52 2.6
2010 2.46 2.63
2009 2.44 2.62
2008 2.44 2.61
2007 2.48 2.62
2006 2.46 2.61
2005 2.45 2.61
2004 2.42 2.61
2003 2.41 2.61
2002 2.44 2.62
2001 2.47 2.69
2000 2.5 2.77
1999 2.57 2.88
1998 2.66 3.04
1997 2.74 3.15
1996 2.78 3.23
1995 2.81 3.3
1994 2.85 3.41
1993 2.9 3.55
1992 2.95 3.76
1991 3.06 3.95
1990 3.11 4.06
1989 3.25 4.22
1988 3.35 4.39
1987 3.42 4.58
1986 3.53 4.77
1985 3.73 4.99
1984 3.96 5.2
1983 4.11 5.41
1982 4.25 5.6
1981 4.36 5.71
1980 4.5 5.78
1979 4.63 5.85
1978 4.73 5.91
1977 4.81 6.04
1976 4.92 6.18
1975 5.03 6.3
1974 5.09 6.4
1973 5.25 6.48
1972 5.32 6.55
1971 5.4 6.62
1970 5.49 6.68
1969 5.55 6.73
1968 5.57 6.79
1967 5.58 6.85
1966 5.59 6.89
1965 5.59 6.93
1964 5.57 6.97
1963 5.55 7.01
1962 5.53 7.05
1961 5.52 6.97
1960 5.51 6.89

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

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

Indonesia and Morocco demographics compared

Median age
Indonesia

Morocco
1x
Year Median age, years
Indonesia Morocco
2024 31.1 30.5
2023 30.8 30.2
2022 30.6 29.9
2021 30.3 29.5
2020 30.1 29.2
2019 29.9 28.9
2018 29.6 28.5
2017 29.4 28.2
2016 29.1 27.8
2015 28.9 27.5
2014 28.6 27.1
2013 28.3 26.7
2012 28.1 26.4
2011 27.9 26.1
2010 27.6 25.7
2009 27.3 25.4
2008 27.1 25
2007 26.8 24.7
2006 26.5 24.3
2005 26.2 24
2004 25.9 23.7
2003 25.6 23.4
2002 25.2 23.1
2001 24.9 22.8
2000 24.6 22.5
1999 24.3 22.2
1998 24 21.9
1997 23.7 21.6
1996 23.5 21.3
1995 23.2 21
1994 22.9 20.6
1993 22.6 20.3
1992 22.3 20
1991 22 19.7
1990 21.7 19.4
1989 21.4 19.2
1988 21.1 18.9
1987 20.9 18.7
1986 20.6 18.5
1985 20.3 18.3
1984 20.1 18.1
1983 19.9 18
1982 19.7 17.8
1981 19.6 17.7
1980 19.4 17.6
1979 19.3 17.4
1978 19.2 17.3
1977 19.1 17.2
1976 19 17.1
1975 18.9 16.9
1974 18.9 16.9
1973 18.8 16.8
1972 18.8 16.7
1971 18.9 16.7
1970 19 16.6
1969 19.1 16.6
1968 19.3 16.6
1967 19.4 16.7
1966 19.6 16.8
1965 19.8 16.9
1964 19.9 17
1963 20 17.2
1962 20.1 17.4
1961 20.1 17.6
1960 20.1 17.9

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Indonesia Morocco
GNI, Atlas method
$1.39T
2024
$149B
2024
Government expenditure, % of GDP
16.8%
2024
33%
2024
Education expenditure, % of GDP
1.28%
2023
6.02%
2023
Military expenditure, % of GDP
0.78%
2024
3.52%
2024
Armed forces personnel
676,000
2020
246,000
2020
Deficit/surplus, % of GDP
-2.3%
2024
-3.92%
2024
Unemployment rate
3.31%
2023
11.8%
2022
Services, % of GDP
43.8%
2024
52.7%
2024
Industry, % of GDP
39.3%
2024
25.6%
2024
Economic freedom index
65.1
2026
61.8
2026
Income share by richest 10%
28.8%
2024
31.9%
2013
Income share by poorest 10%
3.5%
2024
2.7%
2013
Number of millionaires
178,605
2025
n/a
Percentage of millionaires
0.09%
2025
n/a
Number of billionaires
33
2025
3
2025
Percentage of billionaires
0.00002%
2025
0.00001%
2025
Listed domestic companies
903
2023
76
2024
Market capitalization of domestic companies
$758B
2023
$74.5B
2024
Total reserves including gold
$156B
2024
$37.1B
2024
Personal remittances received
$16B
2024
$12.5B
2024
International tourist arrivals
4,053,000
2020
2,802,000
2020
International tourism as share of exports
1.98%
2020
12%
2020
Banked people share
56.3%
2024
44.4%
2024

Energy

Indonesia Morocco
Energy use, kg of oil equivalent per capita
977 kg
2023
601 kg
2023
GDP PPP per kg equivalent of energy use
$15.8
2023
$16.7
2023
Carbon dioxide (CO2) emissions
812 megatons
2024
70 megatons
2024
CO2 emissions per capita
2.87 tons
2024
1.84 tons
2024
Fossil fuel energy use share
77.2%
2022
90.1%
2022
Renewable energy use share
20.2%
2021
10.9%
2021
Alternative and nuclear energy use share
11.5%
2023
4.92%
2023
Net energy imports use share
-89.5%
2023
93.6%
2023
Electric power consumption per capita
1,445 kWh
2023
997 kWh
2023
Renewable electricity output share
15.5%
2021
19.3%
2021
Hydroelectric share
5.67%
2023
1.18%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
99.4%
2023
100%
2023

Society

Indonesia Morocco
% of world population
3.49%
2024
0.47%
2024
Annual migration change
-39,509
2025
-56,254
2025
Urban population
58.8%
2024
62.8%
2024
Male:Female ratio
50.2:49.8
2024
50.4:49.6
2024
Average male height
5.46 ft
2025
5.79 ft
2025
Average female height
5.07 ft
2025
5.29 ft
2025
Quality of life index
48.9
2026
51.1
2026
Corruption Perceptions Index
34
2025
39
2025
Higher education index
72
2026
54
2026
Homicides per 100K people
0.31
2022
1.69
2024
Road traffic mortality per 100K people
11.3
2019
17
2019
Visa free countries
88
2025
83
2025
Adult literacy rate
96%
2020
77.3%
2022
English speaking
30.8%
2023
18.4%
2023
People using the Internet
72.8%
2024
91%
2023

Health

Indonesia Morocco
Government health expenditure per capita
$131.8
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$41
2023
$86.5
2023
Life expectancy
71.6 years
2026
75.9 years
2026
Foreign aid share of health expenditure
0.56%
2023
0.62%
2023
Physicians per 1,000 people
0.52
2023
0.74
2021
Age at first childbirth
22.4 years
2025
n/a
Maternal mortality per 100K births
140
2023
70
2023
Mortality rate before reaching 5 years of age
20.6
2023
16.6
2023
Obesity rate
11.5%
2022
22.5%
2022
Diabetes prevalence
11.3%
2024
11.9%
2024
Air quality index
17
2026
75
2026
Tobacco use prevalence
38.2%
2022
13%
2022
Pure alcohol consumption per capita
0.07 liters
2020
0.5 liters
2020

Territory

Indonesia Morocco
% of world land
1.27%
2026
0.3%
2026
Land area per capita
2,578 sq mi
2024
4,525 sq mi
2024
Agricultural land area
212,828 sq mi
2026
115,013 sq mi
2026
Forest area
348,714 sq mi
2026
22,293 sq mi
2026
Roads length
340,572 mi
2025
35,626 mi
2022

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)

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.