Skip to content

Hungary vs Morocco statistics compared

Updated on by Georank team

Hungary has a population of 9.56M (ranked 97/197), compared with 38.1M in Morocco (ranked 39/197). Hungary's land area is 35,236 sq mi versus 172,317 sq mi for Morocco (ranked 109th vs. 55th).

By GDP, Hungary ranks 55/197 ($223B) and Morocco ranks 58/197 ($161B). By GDP per capita, Hungary ranks 55/197 ($23,292), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Hungary Morocco
Population
9475525
38871720
Population rank 98/197 41/197
GDP
$223B
2024
$161B
2024
GDP rank 55/197 58/197
GDP per capita
$23,292
2024
$4,218
2024
GDP per capita rank 55/197 127/197
GDP per capita, PPP
$48,552
2024
$10,415
2024
Government debt
$164B
2024
$109B
2024
Debt-to-GDP ratio
73.5%
2024
67.7%
2024
Government debt per person
$17,109
2024
$2,857
2024
Government debt per person rank 37/185 104/185
Average annual personal income after taxes
$16,996
2026
$5,678
2026
Land area 35,236 sq mi 172,317 sq mi
Population density
268.9 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
1.51
2023
2.23
2023
Median age
44.6 years
2024
30.5 years
2024
Life expectancy
77.5 years
2026
75.9 years
2026

Hungary and Morocco: Comparison Charts

Hungary and Morocco economies compared

GDP
Hungary

Morocco
1x
Year GDP
Hungary Morocco
2024 $222,722,738,926 $160,610,994,055
2023 $213,240,316,635 $146,036,093,667
2022 $177,002,580,544 $131,245,312,804
2021 $183,282,685,440 $142,022,058,447
2020 $158,468,487,754 $121,353,645,057
2019 $164,936,682,034 $128,920,266,409
2018 $161,184,691,014 $127,341,147,582
2017 $143,335,098,992 $118,540,573,368
2016 $128,983,560,865 $111,572,947,005
2015 $125,244,126,623 $110,413,823,842
2014 $141,128,696,412 $119,130,841,412
2013 $135,646,053,779 $115,739,287,305
2012 $128,470,269,690 $106,937,392,311
2011 $141,712,804,954 $110,080,631,332
2010 $131,898,737,241 $100,865,329,473
2009 $130,807,441,076 $101,154,952,241
2008 $158,228,265,916 $101,822,906,949
2007 $140,123,326,896 $86,947,913,287
2006 $115,604,111,412 $75,883,823,301
2005 $113,098,237,571 $68,852,658,069
2004 $104,015,363,080 $66,114,145,451
2003 $85,190,469,121 $58,029,363,354
2002 $67,636,468,625 $47,077,192,188
2001 $53,800,068,066 $43,831,480,208
2000 $47,275,954,429 $43,017,455,402
1999 $49,160,204,397 $46,266,428,648
1998 $48,784,412,624 $46,497,608,725
1997 $47,398,564,799 $39,147,844,526
1996 $46,833,767,124 $43,161,571,528
1995 $46,577,614,589 $39,030,285,468
1994 $43,307,949,890 $35,604,137,423
1993 $40,256,233,360 $31,655,473,664
1992 $38,857,339,125 $33,711,069,431
1991 $34,867,307,353 $32,285,573,574
1990 $34,478,360,679 $30,179,954,775
1989 $30,422,508,938 $26,314,313,191
1988 $29,799,838,597 $25,705,296,184
1987 $27,232,016,527 $21,765,195,948
1986 $24,778,163,812 $19,462,085,540
1985 $21,510,643,750 $14,991,283,216
1984 $21,242,726,264 $14,824,667,954
1983 $21,910,365,258 $16,251,408,128
1982 $24,141,667,188 $17,692,276,734
1981 $23,705,883,892 $17,788,185,479
1980 $23,116,977,148 $21,728,516,153
1979 $19,959,731,325 $15,911,994,817
1978 $17,286,744,154 $13,236,946,234
1977 $14,783,674,055 $11,049,783,872
1976 $13,235,612,079 $9,584,297,284
1975 $11,420,392,515 $8,984,853,005
1974 $10,016,338,179 $7,675,466,449
1973 $9,138,292,402 $6,242,145,880
1972 $7,379,313,742 $5,074,117,545
1971 $6,291,568,221 $4,356,669,034
1970 $5,780,929,203 $3,956,336,244
1969 $5,429,812,387 $3,651,622,669
1968 $4,886,222,555 $3,271,422,333
1967 - $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/hungary/morocco | CC BY

Hungary and Morocco economies compared

GDP per capita
Hungary

Morocco
1x
Year GDP per capita
Hungary Morocco
2024 $23,292 $4,218
2023 $22,231 $3,872
2022 $18,428 $3,516
2021 $19,031 $3,843
2020 $16,387 $3,317
2019 $17,013 $3,560
2018 $16,605 $3,553
2017 $14,736 $3,344
2016 $13,216 $3,186
2015 $12,783 $3,190
2014 $14,353 $3,483
2013 $13,739 $3,425
2012 $12,950 $3,206
2011 $14,211 $3,345
2010 $13,190 $3,107
2009 $13,051 $3,158
2008 $15,763 $3,222
2007 $13,935 $2,788
2006 $11,478 $2,466
2005 $11,212 $2,268
2004 $10,291 $2,207
2003 $8,410 $1,962
2002 $6,658 $1,612
2001 $5,281 $1,521
2000 $4,630 $1,513
1999 $4,802 $1,651
1998 $4,752 $1,683
1997 $4,606 $1,439
1996 $4,542 $1,610
1995 $4,509 $1,478
1994 $4,187 $1,369
1993 $3,887 $1,236
1992 $3,747 $1,337
1991 $3,361 $1,302
1990 $3,324 $1,238
1989 $2,902 $1,099
1988 $2,812 $1,094
1987 $2,566 $944
1986 $2,331 $861
1985 $2,020 $678
1984 $1,991 $687
1983 $2,050 $772
1982 $2,255 $862
1981 $2,213 $890
1980 $2,158 $1,117
1979 $1,865 $839
1978 $1,618 $716
1977 $1,388 $613
1976 $1,249 $545
1975 $1,083 $524
1974 $956 $459
1973 $876 $382
1972 $710 $319
1971 $607 $280.6
1970 $559 $261.5
1969 $527 $247.8
1968 $476 $228
1967 - $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/hungary/morocco | CC BY

Hungary vs. Morocco life expectancy calculator

Life expectancy
Hungary

Morocco
1x
Year Life expectancy, years
Hungary Morocco
2026 77.5 75.9
2025 77.3 75.7
2024 77.2 75.5
2023 77 75.3
2022 76.2 75.2
2021 74.2 73.4
2020 75.7 73.1
2019 76.5 74.2
2018 76.2 73.9
2017 76 73.6
2016 76.2 73.2
2015 75.7 72.9
2014 75.8 72.5
2013 75.7 72.1
2012 75.2 71.7
2011 74.9 71.3
2010 74.5 70.8
2009 74.2 70.5
2008 74 70.1
2007 73.4 69.6
2006 73.3 69.2
2005 72.9 68.7
2004 72.9 68.3
2003 72.5 68
2002 72.5 67.6
2001 72.4 67.2
2000 71.8 66.8
1999 71 66.4
1998 70.9 66
1997 71 65.6
1996 70.6 65.2
1995 70 64.7
1994 69.6 64.3
1993 69.2 63.9
1992 69.2 63.4
1991 69.4 62.9
1990 69.4 62.4
1989 69.4 61.8
1988 69.9 61.2
1987 69.6 60.6
1986 69.1 60
1985 68.9 59.2
1984 69 58.4
1983 68.9 57.7
1982 69.4 56.9
1981 69.2 56
1980 69.1 55.2
1979 69.7 54.4
1978 69.5 53.6
1977 69.9 52.8
1976 69.7 52
1975 69.4 51.4
1974 69.3 50.8
1973 69.6 50.2
1972 69.7 49.7
1971 69.1 49.2
1970 69.2 48.7
1969 69.4 48.2
1968 69.3 47.7
1967 69.5 47.1
1966 69.9 46.5
1965 69.1 45.9
1964 69.5 45.3
1963 68.9 44.8
1962 67.9 44.2
1961 69 43.7
1960 68.1 41.7
1959 67.3 42.7
1958 67.4 42.2
1957 66.3 41.7
1956 66 41.2
1955 66.9 40.8
1954 65.4 40.4
1953 63.9 40
1952 63.9 39.6
1951 62.5 39.1
1950 62.1 38.8

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

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

Hungary and Morocco population clocks and comparison

Population
Hungary

Morocco
1x
Year Population
Hungary Morocco
2024 9,562,065 38,081,173
2023 9,592,186 37,712,505
2022 9,605,074 37,329,064
2021 9,630,932 36,954,442
2020 9,670,419 36,584,208
2019 9,694,824 36,210,898
2018 9,706,964 35,839,760
2017 9,726,756 35,446,392
2016 9,759,755 35,023,457
2015 9,797,755 34,607,588
2014 9,833,038 34,204,780
2013 9,872,734 33,787,571
2012 9,920,362 33,355,241
2011 9,971,727 32,912,588
2010 10,000,023 32,467,016
2009 10,022,650 32,030,778
2008 10,038,188 31,606,767
2007 10,055,780 31,186,468
2006 10,071,370 30,771,178
2005 10,087,065 30,358,144
2004 10,107,146 29,953,018
2003 10,129,552 29,571,415
2002 10,158,608 29,198,142
2001 10,187,576 28,814,643
2000 10,210,971 28,423,435
1999 10,237,530 28,027,179
1998 10,266,570 27,621,648
1997 10,290,486 27,213,337
1996 10,311,238 26,808,107
1995 10,328,965 26,399,429
1994 10,343,355 26,000,822
1993 10,357,523 25,614,586
1992 10,369,341 25,212,468
1991 10,373,400 24,799,014
1990 10,373,988 24,375,551
1989 10,481,719 23,939,414
1988 10,596,487 23,500,524
1987 10,612,741 23,054,392
1986 10,630,564 22,600,803
1985 10,648,713 22,113,953
1984 10,668,095 21,593,778
1983 10,689,463 21,060,696
1982 10,705,535 20,520,318
1981 10,711,848 19,985,401
1980 10,711,122 19,459,943
1979 10,704,152 18,955,589
1978 10,684,822 18,477,385
1977 10,648,031 18,014,756
1976 10,598,677 17,574,182
1975 10,540,525 17,150,786
1974 10,478,720 16,733,842
1973 10,432,055 16,326,269
1972 10,398,489 15,924,692
1971 10,367,537 15,527,225
1970 10,337,910 15,129,449
1969 10,298,723 14,734,255
1968 10,255,815 14,347,899
1967 10,216,604 13,968,175
1966 10,178,653 13,597,065
1965 10,147,935 13,239,171
1964 10,119,835 12,898,886
1963 10,087,947 12,577,502
1962 10,060,825 12,253,092
1961 10,027,958 11,931,085
1960 9,983,512 11,624,933

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

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

Fertility rates in Hungary and Morocco

Fertility rate
Hungary

Morocco
1x
Year Fertility rate
Hungary Morocco
2023 1.51 2.23
2022 1.56 2.26
2021 1.61 2.29
2020 1.59 2.32
2019 1.55 2.34
2018 1.55 2.35
2017 1.54 2.38
2016 1.53 2.4
2015 1.45 2.41
2014 1.44 2.42
2013 1.35 2.48
2012 1.34 2.54
2011 1.23 2.6
2010 1.25 2.63
2009 1.32 2.62
2008 1.35 2.61
2007 1.32 2.62
2006 1.34 2.61
2005 1.31 2.61
2004 1.28 2.61
2003 1.27 2.61
2002 1.3 2.62
2001 1.31 2.69
2000 1.32 2.77
1999 1.28 2.88
1998 1.32 3.04
1997 1.37 3.15
1996 1.46 3.23
1995 1.57 3.3
1994 1.64 3.41
1993 1.68 3.55
1992 1.77 3.76
1991 1.87 3.95
1990 1.87 4.06
1989 1.82 4.22
1988 1.81 4.39
1987 1.82 4.58
1986 1.84 4.77
1985 1.85 4.99
1984 1.75 5.2
1983 1.75 5.41
1982 1.8 5.6
1981 1.88 5.71
1980 1.91 5.78
1979 2.01 5.85
1978 2.06 5.91
1977 2.15 6.04
1976 2.23 6.18
1975 2.35 6.3
1974 2.27 6.4
1973 1.93 6.48
1972 1.93 6.55
1971 1.93 6.62
1970 1.98 6.68
1969 2.04 6.73
1968 2.06 6.79
1967 2.01 6.85
1966 1.89 6.89
1965 1.82 6.93
1964 1.82 6.97
1963 1.82 7.01
1962 1.79 7.05
1961 1.94 6.97
1960 2.02 6.89

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

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

Hungary and Morocco demographics compared

Median age
Hungary

Morocco
1x
Year Median age, years
Hungary Morocco
2024 44.6 30.5
2023 44.2 30.2
2022 43.9 29.9
2021 43.6 29.5
2020 43.3 29.2
2019 43 28.9
2018 42.8 28.5
2017 42.6 28.2
2016 42.3 27.8
2015 41.9 27.5
2014 41.5 27.1
2013 41.2 26.7
2012 40.9 26.4
2011 40.4 26.1
2010 39.9 25.7
2009 39.6 25.4
2008 39.4 25
2007 39.2 24.7
2006 39.1 24.3
2005 39 24
2004 38.9 23.7
2003 38.8 23.4
2002 38.7 23.1
2001 38.6 22.8
2000 38.4 22.5
1999 38.3 22.2
1998 38.1 21.9
1997 37.9 21.6
1996 37.7 21.3
1995 37.5 21
1994 37.2 20.6
1993 37 20.3
1992 36.9 20
1991 36.7 19.7
1990 36.5 19.4
1989 36.1 19.2
1988 35.8 18.9
1987 35.5 18.7
1986 35.3 18.5
1985 35.1 18.3
1984 34.9 18.1
1983 34.7 18
1982 34.5 17.8
1981 34.4 17.7
1980 34.3 17.6
1979 34.3 17.4
1978 34.2 17.3
1977 34.2 17.2
1976 34.2 17.1
1975 34.3 16.9
1974 34.3 16.9
1973 34.3 16.8
1972 34.3 16.7
1971 34.2 16.7
1970 34.1 16.6
1969 34.1 16.6
1968 34 16.6
1967 33.8 16.7
1966 33.7 16.8
1965 33.4 16.9
1964 33.2 17
1963 32.9 17.2
1962 32.6 17.4
1961 32.4 17.6
1960 32.1 17.9

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Hungary Morocco
GNI, Atlas method
$199B
2024
$149B
2024
Government expenditure, % of GDP
46.9%
2024
33%
2024
Education expenditure, % of GDP
3.81%
2022
6.02%
2023
Military expenditure, % of GDP
2.16%
2024
3.52%
2024
Armed forces personnel
46,000
2020
246,000
2020
Deficit/surplus, % of GDP
-4.92%
2024
-3.92%
2024
Unemployment rate
4.47%
2024
11.8%
2022
Services, % of GDP
59.5%
2024
52.7%
2024
Industry, % of GDP
23.7%
2024
25.6%
2024
Economic freedom index
62.5
2026
61.8
2026
Income share by richest 10%
24.4%
2022
31.9%
2013
Income share by poorest 10%
2.8%
2022
2.7%
2013
Number of millionaires
24,692
2025
n/a
Percentage of millionaires
0.32%
2025
n/a
Number of billionaires
4
2025
3
2025
Percentage of billionaires
0.00005%
2025
0.00001%
2025
Listed domestic companies
68
2024
76
2024
Market capitalization of domestic companies
$41.5B
2024
$74.5B
2024
Total reserves including gold
$46.4B
2024
$37.1B
2024
Personal remittances received
$5.48B
2024
$12.5B
2024
International tourist arrivals
31,641,000
2020
2,802,000
2020
International tourism as share of exports
3.4%
2020
12%
2020
Banked people share
87%
2024
44.4%
2024

Energy

Hungary Morocco
Energy use, kg of oil equivalent per capita
2,515 kg
2023
601 kg
2023
GDP PPP per kg equivalent of energy use
$18.5
2023
$16.7
2023
Carbon dioxide (CO2) emissions
42.6 megatons
2024
70 megatons
2024
CO2 emissions per capita
4.46 tons
2024
1.84 tons
2024
Fossil fuel energy use share
64.2%
2023
90.1%
2022
Renewable energy use share
15.3%
2021
10.9%
2021
Alternative and nuclear energy use share
21.1%
2023
4.92%
2023
Net energy imports use share
62.5%
2023
93.6%
2023
Electric power consumption per capita
4,605 kWh
2023
997 kWh
2023
Renewable electricity output share
19.1%
2021
19.3%
2021
Hydroelectric share
0.62%
2023
1.18%
2023
Nuclear share
44.8%
2023
0%
2021
Electricity access
100%
2023
100%
2023

Society

Hungary Morocco
% of world population
0.12%
2024
0.47%
2024
Annual migration change
-16,331
2025
-56,254
2025
Urban population
70.5%
2024
62.8%
2024
Male:Female ratio
48:52
2024
50.4:49.6
2024
Average male height
5.79 ft
2025
5.79 ft
2025
Average female height
5.33 ft
2025
5.29 ft
2025
Quality of life index
70.6
2026
51.1
2026
Corruption Perceptions Index
40
2025
39
2025
Higher education index
80
2026
54
2026
Homicides per 100K people
0.77
2023
1.69
2024
Road traffic mortality per 100K people
7.7
2019
17
2019
Visa free countries
171
2025
83
2025
Adult literacy rate
99.1%
2021
77.3%
2022
English speaking
25.3%
2023
18.4%
2023
People using the Internet
93.8%
2024
91%
2023

Health

Hungary Morocco
Government health expenditure per capita
$1,420
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$327
2023
$86.5
2023
Life expectancy
77.5 years
2026
75.9 years
2026
Foreign aid share of health expenditure
0%
2023
0.62%
2023
Physicians per 1,000 people
3.46
2022
0.74
2021
Age at first childbirth
28.8 years
2023
n/a
Maternal mortality per 100K births
12
2023
70
2023
Mortality rate before reaching 5 years of age
3.8
2023
16.6
2023
Obesity rate
32.5%
2022
22.5%
2022
Diabetes prevalence
8.3%
2024
11.9%
2024
Air quality index
59
2026
75
2026
Tobacco use prevalence
32.2%
2022
13%
2022
Pure alcohol consumption per capita
9.93 liters
2020
0.5 liters
2020

Territory

Hungary Morocco
% of world land
0.06%
2026
0.3%
2026
Land area per capita
3,685 sq mi
2024
4,525 sq mi
2024
Agricultural land area
19,626 sq mi
2026
115,013 sq mi
2026
Forest area
7,910 sq mi
2026
22,293 sq mi
2026
Roads length
130,979 mi
2018
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–2019, 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.