Skip to content

Morocco vs San Marino statistics compared

Updated on by Georank team

Morocco has a population of 38.1M (ranked 39/197), compared with 34K in San Marino (ranked 193/197). Morocco's land area is 172,317 sq mi versus 23.2 sq mi for San Marino (ranked 55th vs. 193rd).

By GDP, Morocco ranks 58/197 ($161B) and San Marino ranks 180/197 ($2.03B). By GDP per capita, Morocco ranks 127/197 ($4,218), while San Marino ranks 15/197 ($59,880).

Main facts and rankings

Morocco San Marino
Population
38871720
33967
Population rank 41/197 193/197
GDP
$161B
2024
$2.03B
2023
GDP rank 58/197 180/197
GDP per capita
$4,218
2024
$59,880
2023
GDP per capita rank 127/197 15/197
GDP per capita, PPP
$10,415
2024
$78,745
2023
Government debt
$109B
2024
$1.39B
2023
Debt-to-GDP ratio
67.7%
2024
63.9%
2024
Government debt per person
$2,857
2024
$40,919
2023
Government debt per person rank 104/185 13/185
Average annual personal income after taxes
$5,678
2026
$45,474
2026
Land area 172,317 sq mi 23.2 sq mi
Population density
225.1 ppl/mi²
2026
1,466 ppl/mi²
2026
Fertility rate
2.23
2023
1.15
2023
Median age
30.5 years
2024
49 years
2024
Life expectancy
75.9 years
2026
86 years
2026

Morocco and San Marino: Comparison Charts

Morocco and San Marino economies compared

GDP
Morocco

San Marino
1x
Year GDP
Morocco San Marino
2024 $160,610,994,055 -
2023 $146,036,093,667 $2,027,527,228
2022 $131,245,312,804 $1,829,211,864
2021 $142,022,058,447 $1,855,652,786
2020 $121,353,645,057 $1,541,248,249
2019 $128,920,266,409 $1,616,340,692
2018 $127,341,147,582 $1,655,353,653
2017 $118,540,573,368 $1,528,620,346
2016 $111,572,947,005 $1,468,343,140
2015 $110,413,823,842 $1,419,401,071
2014 $119,130,841,412 $1,673,911,426
2013 $115,739,287,305 $1,678,741,475
2012 $106,937,392,311 $1,604,701,299
2011 $110,080,631,332 $1,813,717,439
2010 $100,865,329,473 $1,881,191,925
2009 $101,154,952,241 $2,064,277,126
2008 $101,822,906,949 $2,403,213,305
2007 $86,947,913,287 $2,188,654,628
2006 $75,883,823,301 $1,909,765,165
2005 $68,852,658,069 $1,786,514,058
2004 $66,114,145,451 $1,715,340,543
2003 $58,029,363,354 $1,462,590,267
2002 $47,077,192,188 $1,148,872,072
2001 $43,831,480,208 $1,059,529,812
2000 $43,017,455,402 $1,007,661,367
1999 $46,266,428,648 $1,109,473,368
1998 $46,497,608,725 $1,048,316,226
1997 $39,147,844,526 $976,606,911
1996 $43,161,571,528 -
1995 $39,030,285,468 -
1994 $35,604,137,423 -
1993 $31,655,473,664 -
1992 $33,711,069,431 -
1991 $32,285,573,574 -
1990 $30,179,954,775 -
1989 $26,314,313,191 -
1988 $25,705,296,184 -
1987 $21,765,195,948 -
1986 $19,462,085,540 -
1985 $14,991,283,216 -
1984 $14,824,667,954 -
1983 $16,251,408,128 -
1982 $17,692,276,734 -
1981 $17,788,185,479 -
1980 $21,728,516,153 -
1979 $15,911,994,817 -
1978 $13,236,946,234 -
1977 $11,049,783,872 -
1976 $9,584,297,284 -
1975 $8,984,853,005 -
1974 $7,675,466,449 -
1973 $6,242,145,880 -
1972 $5,074,117,545 -
1971 $4,356,669,034 -
1970 $3,956,336,244 -
1969 $3,651,622,669 -
1968 $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/morocco/san-marino | CC BY

Morocco and San Marino economies compared

GDP per capita
Morocco

San Marino
1x
Year GDP per capita
Morocco San Marino
2024 $4,218 -
2023 $3,872 $59,880
2022 $3,516 $54,191
2021 $3,843 $54,176
2020 $3,317 $44,327
2019 $3,560 $46,630
2018 $3,553 $47,951
2017 $3,344 $45,192
2016 $3,186 $44,359
2015 $3,190 $43,147
2014 $3,483 $51,260
2013 $3,425 $50,808
2012 $3,206 $47,946
2011 $3,345 $55,601
2010 $3,107 $56,543
2009 $3,158 $62,429
2008 $3,222 $75,902
2007 $2,788 $70,124
2006 $2,466 $63,271
2005 $2,268 $59,878
2004 $2,207 $58,232
2003 $1,962 $52,530
2002 $1,612 $41,791
2001 $1,521 $39,035
2000 $1,513 $37,601
1999 $1,651 $41,932
1998 $1,683 $40,127
1997 $1,439 $37,853
1996 $1,610 -
1995 $1,478 -
1994 $1,369 -
1993 $1,236 -
1992 $1,337 -
1991 $1,302 -
1990 $1,238 -
1989 $1,099 -
1988 $1,094 -
1987 $944 -
1986 $861 -
1985 $678 -
1984 $687 -
1983 $772 -
1982 $862 -
1981 $890 -
1980 $1,117 -
1979 $839 -
1978 $716 -
1977 $613 -
1976 $545 -
1975 $524 -
1974 $459 -
1973 $382 -
1972 $319 -
1971 $280.6 -
1970 $261.5 -
1969 $247.8 -
1968 $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/morocco/san-marino | CC BY

Morocco vs. San Marino life expectancy calculator

Life expectancy
Morocco

San Marino
1x
Year Life expectancy, years
Morocco San Marino
2026 75.9 86
2025 75.7 85.9
2024 75.5 85.8
2023 75.3 85.7
2022 75.2 85.7
2021 73.4 83.5
2020 73.1 82.6
2019 74.2 85.3
2018 73.9 85.1
2017 73.6 84.9
2016 73.2 84.8
2015 72.9 84.6
2014 72.5 84.4
2013 72.1 84.2
2012 71.7 83.9
2011 71.3 83.7
2010 70.8 83.5
2009 70.5 83.2
2008 70.1 82.9
2007 69.6 82.6
2006 69.2 82.3
2005 68.7 81.9
2004 68.3 81.6
2003 68 81.3
2002 67.6 81.1
2001 67.2 80.8
2000 66.8 80.5
1999 66.4 80.2
1998 66 79.9
1997 65.6 79.7
1996 65.2 79.3
1995 64.7 79
1994 64.3 78.7
1993 63.9 78.4
1992 63.4 78.1
1991 62.9 77.9
1990 62.4 77.8
1989 61.8 77.6
1988 61.2 77.5
1987 60.6 77.5
1986 60 77.4
1985 59.2 77.3
1984 58.4 77.2
1983 57.7 77
1982 56.9 76.8
1981 56 76.6
1980 55.2 76.4
1979 54.4 76.1
1978 53.6 75.9
1977 52.8 75.6
1976 52 75.4
1975 51.4 75.3
1974 50.8 75.1
1973 50.2 74.8
1972 49.7 74.6
1971 49.2 74.4
1970 48.7 74.3
1969 48.2 74.2
1968 47.7 74.1
1967 47.1 73.9
1966 46.5 73.8
1965 45.9 73.7
1964 45.3 73.7
1963 44.8 73.6
1962 44.2 73.5
1961 43.7 73.4
1960 41.7 73.2
1959 42.7 73
1958 42.2 72.8
1957 41.7 72.7
1956 41.2 72.5
1955 40.8 72.4
1954 40.4 72.2
1953 40 72
1952 39.6 71.9
1951 39.1 71.7
1950 38.8 71.6

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

GeoRank.org/facts/morocco/san-marino | CC BY

Morocco and San Marino population clocks and comparison

Population
Morocco

San Marino
1x
Year Population
Morocco San Marino
2024 38,081,173 33,977
2023 37,712,505 33,860
2022 37,329,064 33,755
2021 36,954,442 34,252
2020 36,584,208 34,770
2019 36,210,898 34,663
2018 35,839,760 34,522
2017 35,446,392 33,825
2016 35,023,457 33,101
2015 34,607,588 32,897
2014 34,204,780 32,655
2013 33,787,571 33,041
2012 33,355,241 33,469
2011 32,912,588 32,620
2010 32,467,016 33,270
2009 32,030,778 33,066
2008 31,606,767 31,662
2007 31,186,468 31,211
2006 30,771,178 30,184
2005 30,358,144 29,836
2004 29,953,018 29,457
2003 29,571,415 27,843
2002 29,198,142 27,491
2001 28,814,643 27,143
2000 28,423,435 26,799
1999 28,027,179 26,459
1998 27,621,648 26,125
1997 27,213,337 25,800
1996 26,808,107 25,482
1995 26,399,429 25,158
1994 26,000,822 24,823
1993 25,614,586 24,472
1992 25,212,468 24,125
1991 24,799,014 23,797
1990 24,375,551 23,475
1989 23,939,414 23,154
1988 23,500,524 22,843
1987 23,054,392 22,686
1986 22,600,803 22,636
1985 22,113,953 22,485
1984 21,593,778 22,346
1983 21,060,696 22,229
1982 20,520,318 22,055
1981 19,985,401 21,840
1980 19,459,943 21,585
1979 18,955,589 21,320
1978 18,477,385 21,026
1977 18,014,756 20,017
1976 17,574,182 19,110
1975 17,150,786 19,046
1974 16,733,842 19,030
1973 16,326,269 18,992
1972 15,924,692 18,787
1971 15,527,225 18,419
1970 15,129,449 18,168
1969 14,734,255 18,026
1968 14,347,899 17,861
1967 13,968,175 17,688
1966 13,597,065 17,523
1965 13,239,171 17,305
1964 12,898,886 16,977
1963 12,577,502 16,580
1962 12,253,092 16,183
1961 11,931,085 15,799
1960 11,624,933 15,428

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

GeoRank.org/facts/morocco/san-marino | CC BY

Fertility rates in Morocco and San Marino

Fertility rate
Morocco

San Marino
1x
Year Fertility rate
Morocco San Marino
2023 2.23 1.15
2022 2.26 1.14
2021 2.29 1.13
2020 2.32 1.11
2019 2.34 1.1
2018 2.35 1.08
2017 2.38 1.05
2016 2.4 1.13
2015 2.41 1.2
2014 2.42 1.26
2013 2.48 1.48
2012 2.54 1.29
2011 2.6 1.46
2010 2.63 1.46
2009 2.62 1.36
2008 2.61 1.52
2007 2.62 1.26
2006 2.61 1.24
2005 2.61 1.2
2004 2.61 1.3
2003 2.61 1.3
2002 2.62 1.43
2001 2.69 1.52
2000 2.77 1.4
1999 2.88 1.29
1998 3.04 1.26
1997 3.15 1.24
1996 3.23 1.21
1995 3.3 1.17
1994 3.41 1.14
1993 3.55 1.12
1992 3.76 1.15
1991 3.95 1.17
1990 4.06 1.16
1989 4.22 1.15
1988 4.39 1.14
1987 4.58 1.14
1986 4.77 1.15
1985 4.99 1.17
1984 5.2 1.2
1983 5.41 1.25
1982 5.6 1.3
1981 5.71 1.41
1980 5.78 1.53
1979 5.85 1.63
1978 5.91 1.77
1977 6.04 1.87
1976 6.18 1.95
1975 6.3 2.05
1974 6.4 2.13
1973 6.48 2.23
1972 6.55 2.29
1971 6.62 2.33
1970 6.68 2.32
1969 6.73 2.31
1968 6.79 2.3
1967 6.85 2.31
1966 6.89 2.33
1965 6.93 2.33
1964 6.97 2.37
1963 7.01 2.4
1962 7.05 2.43
1961 6.97 2.68
1960 6.89 2.43

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

GeoRank.org/facts/morocco/san-marino | CC BY

Morocco and San Marino demographics compared

Median age
Morocco

San Marino
1x
Year Median age, years
Morocco San Marino
2024 30.5 49
2023 30.2 48.3
2022 29.9 47.7
2021 29.5 47.2
2020 29.2 46.8
2019 28.9 46.3
2018 28.5 45.8
2017 28.2 45.3
2016 27.8 44.9
2015 27.5 44.5
2014 27.1 44
2013 26.7 43.7
2012 26.4 43.3
2011 26.1 42.8
2010 25.7 42.4
2009 25.4 42
2008 25 41.6
2007 24.7 41.2
2006 24.3 40.8
2005 24 40.4
2004 23.7 40.1
2003 23.4 39.7
2002 23.1 39.3
2001 22.8 39
2000 22.5 38.7
1999 22.2 38.4
1998 21.9 38.1
1997 21.6 37.9
1996 21.3 37.7
1995 21 37.4
1994 20.6 37.2
1993 20.3 36.8
1992 20 36.5
1991 19.7 36.1
1990 19.4 35.8
1989 19.2 35.5
1988 18.9 35.1
1987 18.7 34.8
1986 18.5 34.5
1985 18.3 34.2
1984 18.1 33.9
1983 18 33.6
1982 17.8 33.3
1981 17.7 33
1980 17.6 32.7
1979 17.4 32.5
1978 17.3 32.3
1977 17.2 32
1976 17.1 31.7
1975 16.9 31.5
1974 16.9 31.3
1973 16.8 31.2
1972 16.7 31
1971 16.7 30.8
1970 16.6 30.8
1969 16.6 30.9
1968 16.6 30.9
1967 16.7 30.9
1966 16.8 30.9
1965 16.9 30.9
1964 17 30.9
1963 17.2 30.8
1962 17.4 30.8
1961 17.6 30.9
1960 17.9 31

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

GeoRank.org/facts/morocco/san-marino | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Morocco San Marino
GNI, Atlas method
$149B
2024
$1.82B
2023
Government expenditure, % of GDP
33%
2024
21%
2024
Education expenditure, % of GDP
6.02%
2023
2.9%
2022
Military expenditure, % of GDP
3.52%
2024
n/a
Armed forces personnel
246,000
2020
n/a
Deficit/surplus, % of GDP
-3.92%
2024
-0.53%
2024
Unemployment rate
11.8%
2022
4.91%
2022
Services, % of GDP
52.7%
2024
56.9%
2023
Industry, % of GDP
25.6%
2024
35.8%
2023
Economic freedom index
61.8
2026
76
2025
Income share by richest 10%
31.9%
2013
n/a
Income share by poorest 10%
2.7%
2013
n/a
Number of billionaires
3
2025
n/a
Percentage of billionaires
0.00001%
2025
n/a
Listed domestic companies
76
2024
n/a
Market capitalization of domestic companies
$74.5B
2024
n/a
Total reserves including gold
$37.1B
2024
$759M
2024
Personal remittances received
$12.5B
2024
$21M
2024
International tourist arrivals
2,802,000
2020
1,904,000
2019
International tourism as share of exports
12%
2020
n/a
Banked people share
44.4%
2024
n/a

Energy

Morocco San Marino
Energy use, kg of oil equivalent per capita
601 kg
2023
n/a
GDP PPP per kg equivalent of energy use
$16.7
2023
n/a
Carbon dioxide (CO2) emissions
70 megatons
2024
n/a
CO2 emissions per capita
1.84 tons
2024
n/a
Fossil fuel energy use share
90.1%
2022
n/a
Renewable energy use share
10.9%
2021
n/a
Alternative and nuclear energy use share
4.92%
2023
n/a
Net energy imports use share
93.6%
2023
n/a
Electric power consumption per capita
997 kWh
2023
n/a
Renewable electricity output share
19.3%
2021
n/a
Hydroelectric share
1.18%
2023
n/a
Nuclear share
0%
2021
n/a
Electricity access
100%
2023
100%
2023

Society

Morocco San Marino
% of world population
0.47%
2024
0.0004%
2024
Annual migration change
-56,254
2025
+122
2025
Urban population
62.8%
2024
97.2%
2024
Male:Female ratio
50.4:49.6
2024
49.2:50.8
2024
Average male height
5.79 ft
2025
n/a
Average female height
5.29 ft
2025
n/a
Quality of life index
51.1
2026
89.3
2026
Corruption Perceptions Index
39
2025
80
2025
Higher education index
54
2026
9
2026
Homicides per 100K people
1.69
2024
0
2011
Road traffic mortality per 100K people
17
2019
0
2016
Visa free countries
83
2025
159
2025
Adult literacy rate
77.3%
2022
99.9%
2022
English speaking
18.4%
2023
7%
2025
People using the Internet
91%
2023
87%
2023

Health

Morocco San Marino
Government health expenditure per capita
$232.2
2023
$3,924
2023
Out-of-pocket health expenditure per capita
$86.5
2023
$514
2023
Life expectancy
75.9 years
2026
86 years
2026
Foreign aid share of health expenditure
0.62%
2023
n/a
Physicians per 1,000 people
0.74
2021
4.63
2023
Age at first childbirth n/a
31.5 years
2022
Maternal mortality per 100K births
70
2023
8
2023
Mortality rate before reaching 5 years of age
16.6
2023
1.4
2023
Obesity rate
22.5%
2022
n/a
Diabetes prevalence
11.9%
2024
8.6%
2024
Air quality index
75
2026
61
2026
Tobacco use prevalence
13%
2022
n/a
Pure alcohol consumption per capita
0.5 liters
2020
n/a

Territory

Morocco San Marino
% of world land
0.3%
2026
0.00004%
2026
Land area per capita
4,525 sq mi
2024
682 sq mi
2024
Agricultural land area
115,013 sq mi
2026
8.88 sq mi
2026
Forest area
22,293 sq mi
2026
3.86 sq mi
2026
Roads length
35,626 mi
2022
181.4 mi
2006

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 (2023–2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. Passport Index (2025, retrieved 2026-02-08)
  8. EduRank (2026, retrieved 2025-10-13)
  9. United Nations Economic Commission for Europe (UNECE) (2022, retrieved 2026-03-10)
  10. World Obesity Federation (2022, retrieved 2026-02-08)
  11. Transparency International (2025, retrieved 2026-02-10)
  12. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)

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.