Skip to content

San Marino vs Somalia statistics compared

Updated on by Georank team

San Marino has a population of 34K (ranked 193/197), compared with 19M in Somalia (ranked 68/197). San Marino's land area is 23.2 sq mi versus 242,217 sq mi for Somalia (ranked 193rd vs. 42nd).

By GDP, San Marino ranks 180/197 ($2.03B) and Somalia ranks 150/197 ($12B). By GDP per capita, San Marino ranks 15/197 ($59,880), while Somalia ranks 192/197 ($630).

Main facts and rankings

San Marino Somalia
Population
33967
20503678
Population rank 193/197 66/197
GDP
$2.03B
2023
$12B
2024
GDP rank 180/197 150/197
GDP per capita
$59,880
2023
$630
2024
GDP per capita rank 15/197 192/197
GDP per capita, PPP
$78,745
2023
$1,602
2024
Government debt
$1.39B
2023
n/a
Debt-to-GDP ratio
63.9%
2024
n/a
Government debt per person
$40,919
2023
n/a
Government debt per person rank 13/185 n/a
Average annual personal income after taxes
$45,474
2026
$1,885
2026
Land area 23.2 sq mi 242,217 sq mi
Population density
1,466 ppl/mi²
2026
83.9 ppl/mi²
2026
Fertility rate
1.15
2023
6.13
2023
Median age
49 years
2024
16.6 years
2024
Life expectancy
86 years
2026
59.3 years
2026

San Marino and Somalia: Comparison Charts

San Marino and Somalia economies compared

GDP
San Marino

Somalia
1x
Year GDP
San Marino Somalia
2024 - $11,967,000,000
2023 $2,027,527,228 $10,958,000,000
2022 $1,829,211,864 $10,203,000,000
2021 $1,855,652,786 $9,483,000,000
2020 $1,541,248,249 $8,628,000,000
2019 $1,616,340,692 $8,656,000,000
2018 $1,655,353,653 $7,873,000,000
2017 $1,528,620,346 $7,621,501,710
2016 $1,468,343,140 $6,613,743,070
2015 $1,419,401,071 $6,152,149,100
2014 $1,673,911,426 $5,728,399,720
2013 $1,678,741,475 $5,062,881,600
2012 $1,604,701,299 $4,364,670,160
2011 $1,813,717,439 $2,906,000,097
2010 $1,881,191,925 $2,687,807,004
2009 $2,064,277,126 $2,948,594,552
2008 $2,403,213,305 $5,913,620,293
2007 $2,188,654,628 $5,430,713,729
2006 $1,909,765,165 $5,026,743,282
2005 $1,786,514,058 $4,683,246,454
2004 $1,715,340,543 $3,859,592,813
2003 $1,462,590,267 $2,836,724,352
2002 $1,148,872,072 $2,192,684,135
2001 $1,059,529,812 $2,252,847,465
2000 $1,007,661,367 $3,412,797,450
1999 $1,109,473,368 $3,045,751,528
1998 $1,048,316,226 $2,962,047,564
1997 $976,606,911 $2,191,749,014
1996 - $1,792,234,297
1995 - $1,534,756,135
1994 - $1,481,205,098
1993 - $1,260,132,956
1992 - $709,297,579
1991 - $717,974,930
1990 - $1,031,282,081
1989 - $1,181,360,844
1988 - $1,051,596,967
1987 - $1,018,972,664
1986 - $916,590,786
1985 - $875,702,247
1984 - $787,434,542
1983 - $735,408,642
1982 - $774,578,932
1981 - $699,302,473
1980 - $602,515,548
1979 - $589,566,929
1978 - $564,571,823
1977 - $498,550,725
1976 - $871,344,245
1975 - $757,015,879
1974 - $572,504,036
1973 - $483,699,611
1972 - $447,883,941
1971 - $347,039,446
1970 - $347,985,394
1969 - $306,357,285
1968 - $286,719,885
1967 - $271,781,887
1966 - $257,375,897
1965 - $243,725,898
1964 - $229,529,913
1963 - $216,145,936
1962 - $203,531,928
1961 - $191,659,914
1960 - $180,459,937

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

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

San Marino and Somalia economies compared

GDP per capita
San Marino

Somalia
1x
Year GDP per capita
San Marino Somalia
2024 - $630
2023 $59,880 $597
2022 $54,191 $573
2021 $54,176 $549
2020 $44,327 $518
2019 $46,630 $540
2018 $47,951 $509
2017 $45,192 $511
2016 $44,359 $461
2015 $43,147 $446
2014 $51,260 $429
2013 $50,808 $393
2012 $47,946 $350
2011 $55,601 $235.3
2010 $56,543 $219.2
2009 $62,429 $246.5
2008 $75,902 $507
2007 $70,124 $480
2006 $63,271 $458
2005 $59,878 $440
2004 $58,232 $375
2003 $52,530 $286.3
2002 $41,791 $229.6
2001 $39,035 $244.9
2000 $37,601 $386
1999 $41,932 $359
1998 $40,127 $363
1997 $37,853 $280.1
1996 - $237.2
1995 - $210.7
1994 - $210.8
1993 - $188.6
1992 - $109.2
1991 - $105.4
1990 - $145.6
1989 - $166
1988 - $145.3
1987 - $141
1986 - $131.4
1985 - $130.8
1984 - $122.5
1983 - $118.6
1982 - $129
1981 - $116.9
1980 - $101.5
1979 - $108.2
1978 - $117.3
1977 - $111.2
1976 - $199.6
1975 - $177.8
1974 - $137.9
1973 - $119.6
1972 - $113.7
1971 - $90.4
1970 - $93.1
1969 - $84.1
1968 - $80.8
1967 - $78.7
1966 - $76.5
1965 - $74.4
1964 - $71.9
1963 - $69.5
1962 - $67.2
1961 - $64.9
1960 - $62.7

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

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

San Marino vs. Somalia life expectancy calculator

Life expectancy
San Marino

Somalia
1x
Year Life expectancy, years
San Marino Somalia
2026 86 59.3
2025 85.9 59.1
2024 85.8 59
2023 85.7 58.8
2022 85.7 53.9
2021 83.5 55.7
2020 82.6 57.1
2019 85.3 57.2
2018 85.1 54.8
2017 84.9 52.2
2016 84.8 55.3
2015 84.6 55.1
2014 84.4 54.4
2013 84.2 54
2012 83.9 49.1
2011 83.7 32.5
2010 83.5 48.9
2009 83.2 52.1
2008 82.9 51.5
2007 82.6 50.9
2006 82.3 50.9
2005 81.9 50.9
2004 81.6 50.7
2003 81.3 50.7
2002 81.1 50.8
2001 80.8 50.8
2000 80.5 50.7
1999 80.2 50.6
1998 79.9 50.8
1997 79.7 50.3
1996 79.3 50.5
1995 79 50.6
1994 78.7 50.3
1993 78.4 50.6
1992 78.1 25
1991 77.9 25.4
1990 77.8 46.9
1989 77.6 46.6
1988 77.5 43.9
1987 77.5 49
1986 77.4 48.4
1985 77.3 48.3
1984 77.2 48.4
1983 77 48.2
1982 76.8 48
1981 76.6 47.8
1980 76.4 47.6
1979 76.1 47.4
1978 75.9 47
1977 75.6 47
1976 75.4 44.7
1975 75.3 44.5
1974 75.1 44.3
1973 74.8 46.2
1972 74.6 46
1971 74.4 45.8
1970 74.3 45.6
1969 74.2 45.5
1968 74.1 45.3
1967 73.9 45.1
1966 73.8 44.8
1965 73.7 44.6
1964 73.7 44.4
1963 73.6 44.2
1962 73.5 44
1961 73.4 43.7
1960 73.2 43.5
1959 73 43.3
1958 72.8 43.1
1957 72.7 42.9
1956 72.5 42.7
1955 72.4 42.5
1954 72.2 42.3
1953 72 42.1
1952 71.9 41.9
1951 71.7 41.7
1950 71.6 41.5

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

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

San Marino and Somalia population clocks and comparison

Population
San Marino

Somalia
1x
Year Population
San Marino Somalia
2024 33,977 19,009,151
2023 33,860 18,358,615
2022 33,755 17,801,897
2021 34,252 17,271,431
2020 34,770 16,651,191
2019 34,663 16,030,971
2018 34,522 15,452,487
2017 33,825 14,916,629
2016 33,101 14,348,740
2015 32,897 13,806,963
2014 32,655 13,339,491
2013 33,041 12,869,594
2012 33,469 12,461,160
2011 32,620 12,348,830
2010 33,270 12,261,756
2009 33,066 11,961,201
2008 31,662 11,663,084
2007 31,211 11,322,582
2006 30,184 10,975,502
2005 29,836 10,644,228
2004 29,457 10,280,998
2003 27,843 9,909,157
2002 27,491 9,550,063
2001 27,143 9,198,493
2000 26,799 8,838,713
1999 26,459 8,492,059
1998 26,125 8,155,417
1997 25,800 7,824,525
1996 25,482 7,554,474
1995 25,158 7,285,007
1994 24,823 7,026,797
1993 24,472 6,681,399
1992 24,125 6,495,107
1991 23,797 6,813,760
1990 23,475 7,082,811
1989 23,154 7,114,817
1988 22,843 7,235,360
1987 22,686 7,228,302
1986 22,636 6,974,788
1985 22,485 6,693,289
1984 22,346 6,428,389
1983 22,229 6,198,430
1982 22,055 6,003,840
1981 21,840 5,982,849
1980 21,585 5,936,154
1979 21,320 5,449,117
1978 21,026 4,814,892
1977 20,017 4,484,050
1976 19,110 4,365,812
1975 19,046 4,257,535
1974 19,030 4,151,842
1973 18,992 4,045,592
1972 18,787 3,939,436
1971 18,419 3,837,691
1970 18,168 3,738,448
1969 18,026 3,641,015
1968 17,861 3,546,590
1967 17,688 3,454,537
1966 17,523 3,365,106
1965 17,305 3,277,874
1964 16,977 3,192,796
1963 16,580 3,110,361
1962 16,183 3,030,091
1961 15,799 2,952,054
1960 15,428 2,876,331

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

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

Fertility rates in San Marino and Somalia

Fertility rate
San Marino

Somalia
1x
Year Fertility rate
San Marino Somalia
2023 1.15 6.13
2022 1.14 6.26
2021 1.13 6.35
2020 1.11 6.45
2019 1.1 6.56
2018 1.08 6.66
2017 1.05 6.77
2016 1.13 6.88
2015 1.2 6.98
2014 1.26 7.06
2013 1.48 7.14
2012 1.29 7.21
2011 1.46 7.27
2010 1.46 7.32
2009 1.36 7.38
2008 1.52 7.42
2007 1.26 7.46
2006 1.24 7.49
2005 1.2 7.53
2004 1.3 7.57
2003 1.3 7.6
2002 1.43 7.63
2001 1.52 7.64
2000 1.4 7.65
1999 1.29 7.66
1998 1.26 7.66
1997 1.24 7.66
1996 1.21 7.62
1995 1.17 7.58
1994 1.14 7.54
1993 1.12 7.53
1992 1.15 7.5
1991 1.17 7.47
1990 1.16 7.44
1989 1.15 7.42
1988 1.14 7.4
1987 1.14 7.37
1986 1.15 7.35
1985 1.17 7.33
1984 1.2 7.3
1983 1.25 7.28
1982 1.3 7.25
1981 1.41 7.23
1980 1.53 7.18
1979 1.63 7.16
1978 1.77 7.13
1977 1.87 7
1976 1.95 7.02
1975 2.05 7.03
1974 2.13 7.06
1973 2.23 7.09
1972 2.29 7.12
1971 2.33 7.15
1970 2.32 7.18
1969 2.31 7.21
1968 2.3 7.23
1967 2.31 7.25
1966 2.33 7.26
1965 2.33 7.26
1964 2.37 7.26
1963 2.4 7.26
1962 2.43 7.26
1961 2.68 7.25
1960 2.43 7.25

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

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

San Marino and Somalia demographics compared

Median age
San Marino

Somalia
1x
Year Median age, years
San Marino Somalia
2024 49 16.6
2023 48.3 16.5
2022 47.7 16.5
2021 47.2 16.4
2020 46.8 16.3
2019 46.3 16.3
2018 45.8 16.2
2017 45.3 16.2
2016 44.9 16.1
2015 44.5 16.1
2014 44 16
2013 43.7 16
2012 43.3 16
2011 42.8 15.8
2010 42.4 15.7
2009 42 15.6
2008 41.6 15.6
2007 41.2 15.6
2006 40.8 15.7
2005 40.4 15.9
2004 40.1 16
2003 39.7 16.1
2002 39.3 16.2
2001 39 16.2
2000 38.7 16.3
1999 38.4 16.3
1998 38.1 16.4
1997 37.9 16.4
1996 37.7 16.5
1995 37.4 16.6
1994 37.2 16.7
1993 36.8 16.8
1992 36.5 16.7
1991 36.1 16.5
1990 35.8 16.5
1989 35.5 16.7
1988 35.1 16.8
1987 34.8 17
1986 34.5 17.1
1985 34.2 17.2
1984 33.9 17.3
1983 33.6 17.4
1982 33.3 17.4
1981 33 17.5
1980 32.7 17.6
1979 32.5 17.6
1978 32.3 17.7
1977 32 17.7
1976 31.7 17.7
1975 31.5 17.7
1974 31.3 17.7
1973 31.2 17.6
1972 31 17.6
1971 30.8 17.6
1970 30.8 17.5
1969 30.9 17.5
1968 30.9 17.5
1967 30.9 17.5
1966 30.9 17.5
1965 30.9 17.5
1964 30.9 17.6
1963 30.8 17.7
1962 30.8 17.8
1961 30.9 17.9
1960 31 18.1

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

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

Interactive Maps

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

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

National statistics comparison

Finance

San Marino Somalia
GNI, Atlas method
$1.82B
2023
$11.7B
2024
Government expenditure, % of GDP
21%
2024
13%
2025
Education expenditure, % of GDP
2.9%
2022
0.000008%
2023
Military expenditure, % of GDP n/a
1.59%
2024
Armed forces personnel n/a
14,000
2020
Deficit/surplus, % of GDP
-0.53%
2024
-5.47%
2025
Unemployment rate
4.91%
2022
11.1%
2022
Services, % of GDP
56.9%
2023
n/a
Industry, % of GDP
35.8%
2023
9.66%
1986
Economic freedom index
76
2025
29
2025
Total reserves including gold
$759M
2024
$23.1M
1989
Personal remittances received
$21M
2024
$2.12B
2024
International tourist arrivals
1,904,000
2019
n/a
Banked people share n/a
38.7%
2014

Energy

San Marino Somalia
Carbon dioxide (CO2) emissions n/a
0.87 megatons
2024
CO2 emissions per capita n/a
0.05 tons
2024
Renewable energy use share n/a
95.4%
2022
Renewable electricity output share n/a
11.2%
2021
Hydroelectric share n/a
0%
2021
Nuclear share n/a
0%
2021
Electricity access
100%
2023
50.3%
2023

Society

San Marino Somalia
% of world population
0.0004%
2024
0.23%
2024
Annual migration change
+122
2025
+12,077
2025
Urban population
97.2%
2024
54.6%
2024
Male:Female ratio
49.2:50.8
2024
50.1:49.9
2024
Average male height n/a
5.62 ft
2025
Average female height n/a
5.25 ft
2025
Quality of life index
89.3
2026
8.53
2026
Corruption Perceptions Index
80
2025
9
2025
Higher education index
9
2026
11
2026
Homicides per 100K people
0
2011
4.31
2015
Road traffic mortality per 100K people
0
2016
27.4
2019
Visa free countries
159
2025
43
2025
Adult literacy rate
99.9%
2022
54.1%
2022
English speaking
7%
2025
2%
2025
People using the Internet
87%
2023
27.6%
2022

Health

San Marino Somalia
Government health expenditure per capita
$3,924
2023
$22.4
2023
Out-of-pocket health expenditure per capita
$514
2023
$6.89
2023
Life expectancy
86 years
2026
59.3 years
2026
Foreign aid share of health expenditure n/a
54.4%
2023
Physicians per 1,000 people
4.63
2023
0.05
2014
Age at first childbirth
31.5 years
2022
n/a
Maternal mortality per 100K births
8
2023
563
2023
Mortality rate before reaching 5 years of age
1.4
2023
104
2023
Obesity rate n/a
14.9%
2022
Diabetes prevalence
8.6%
2024
5.8%
2024
Air quality index
61
2026
35
2026
Pure alcohol consumption per capita n/a
0 liters
2020

Territory

San Marino Somalia
% of world land
0.00004%
2026
0.42%
2026
Land area per capita
682 sq mi
2024
12,742 sq mi
2024
Agricultural land area
8.88 sq mi
2026
170,384 sq mi
2026
Forest area
3.86 sq mi
2026
22,200 sq mi
2026
Roads length
181.4 mi
2006
9,321 mi
2018

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–2025, 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)

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.