Skip to content

Population in San Marino compared to Somalia: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of San Marino was 34,109 in 2025 vs 19,654,739 people in Somalia in 2025. In 2026, based on the adjusted UN estimation, the current San Marino's population is 34,159 people compared to 20,653,532 in Somalia.

Population statistics:

  • Somalia's population is 605 times bigger than San Marino's.
  • San Marino is ranked the 193rd most populous country in the world, while Somalia is the 66th.
  • The countries together account for 0.25% of the world: 0.0004% for San Marino vs 0.25% for Somalia.
  • For the last 10 years, San Marino has had an average growth rate of +0.4% per year vs +3.59% in Somalia.
  • Since 2006, the population of San Marino has increased from 30.2K people to 34.2K (13.2% growth), while Somalia has grown from 11M to 20.7M (88.2% growth).

San Marino vs Somalia: population by year and forecast

San Marino
Factual

Projection
Somalia
Factual

Projection
1x
Year Population
San Marino Somalia
2100 31,687 68,341,587
2099 31,708 67,997,987
2098 31,720 67,660,056
2097 31,762 67,320,374
2096 31,780 66,931,214
2095 31,761 66,544,181
2094 31,755 66,138,594
2093 31,726 65,719,626
2092 31,748 65,283,569
2091 31,736 64,812,444
2090 31,747 64,322,633
2089 31,733 63,882,977
2088 31,725 63,424,502
2087 31,710 62,947,792
2086 31,683 62,408,129
2085 31,636 61,835,054
2084 31,623 61,280,718
2083 31,612 60,723,949
2082 31,596 60,150,487
2081 31,555 59,639,547
2080 31,573 59,064,099
2079 31,569 58,441,001
2078 31,566 57,816,490
2077 31,579 57,176,183
2076 31,612 56,567,204
2075 31,653 55,970,712
2074 31,703 55,295,699
2073 31,762 54,617,874
2072 31,825 53,944,923
2071 31,896 53,250,824
2070 31,965 52,540,460
2069 32,058 51,845,897
2068 32,160 51,165,760
2067 32,290 50,461,574
2066 32,395 49,748,163
2065 32,527 48,994,126
2064 32,664 48,235,809
2063 32,782 47,492,758
2062 32,918 46,756,776
2061 33,047 46,008,848
2060 33,170 45,192,338
2059 33,310 44,370,279
2058 33,447 43,631,825
2057 33,584 42,870,700
2056 33,717 42,095,303
2055 33,829 41,292,441
2054 33,954 40,487,904
2053 34,068 39,720,236
2052 34,161 38,967,888
2051 34,235 38,205,058
2050 34,268 37,448,393
2049 34,324 36,717,019
2048 34,382 35,962,583
2047 34,421 35,196,924
2046 34,463 34,440,935
2045 34,497 33,696,593
2044 34,546 32,957,131
2043 34,552 32,227,622
2042 34,521 31,517,627
2041 34,525 30,775,671
2040 34,534 30,013,616
2039 34,520 29,294,623
2038 34,483 28,565,580
2037 34,430 27,821,304
2036 34,403 27,097,563
2035 34,368 26,368,985
2034 34,347 25,671,628
2033 34,341 25,002,924
2032 34,316 24,323,435
2031 34,308 23,642,617
2030 34,289 22,951,436
2029 34,267 22,285,719
2028 34,215 21,638,095
2027 34,175 20,978,784
2026 34,144 20,310,008
2025 34,109 19,654,739
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: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

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

From 2006 to 2016, the population of San Marino increased by 2,917 people (a 9.66% growth), while Somalia gained 3,373,238 people (a 30.7% growth).

For the next 10 years, from 2016 to 2026, San Marino gained 1,058 people (a 3.2% growth), while Somalia's population increased by 6,304,792 people (a 43.9% growth).

San Marino was ranked 193rd most populous country in 2006 and is still 193rd in 2026. Somalia was ranked 75th in 2006 and ranked 66th now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) San Marino's population will grow by 0.32% to 34,268 people with a rank change from 193rd to 192nd. The population of Somalia will increase by 81.3% to 37,448,393 people and rank change from 66th to 57th.

Somalia is projected to reach its peak in 2100 at 68.3M people, while San Marino's population already peaked in 2020 at 34.8K people and is projected to decrease to 31.7K people by 2100.

Population growth rate by year

San Marino
Factual

Projection
Somalia
Factual

Projection
1x
Year Growth rate
San Marino Somalia
2100 -0.06% 0.51%
2099 -0.04% 0.5%
2098 -0.13% 0.5%
2097 -0.05% 0.58%
2096 0.06% 0.58%
2095 0.02% 0.61%
2094 0.09% 0.64%
2093 -0.07% 0.67%
2092 0.04% 0.73%
2091 -0.04% 0.76%
2090 0.04% 0.69%
2089 0.03% 0.72%
2088 0.05% 0.76%
2087 0.08% 0.86%
2086 0.15% 0.93%
2085 0.04% 0.9%
2084 0.04% 0.92%
2083 0.05% 0.95%
2082 0.13% 0.86%
2081 -0.06% 0.97%
2080 0.01% 1.07%
2079 0.01% 1.08%
2078 -0.04% 1.12%
2077 -0.1% 1.08%
2076 -0.13% 1.07%
2075 -0.16% 1.22%
2074 -0.19% 1.24%
2073 -0.2% 1.25%
2072 -0.22% 1.3%
2071 -0.22% 1.35%
2070 -0.29% 1.34%
2069 -0.32% 1.33%
2068 -0.4% 1.4%
2067 -0.32% 1.43%
2066 -0.41% 1.54%
2065 -0.42% 1.57%
2064 -0.36% 1.56%
2063 -0.41% 1.57%
2062 -0.39% 1.63%
2061 -0.37% 1.81%
2060 -0.42% 1.85%
2059 -0.41% 1.69%
2058 -0.41% 1.78%
2057 -0.39% 1.84%
2056 -0.33% 1.94%
2055 -0.37% 1.99%
2054 -0.33% 1.93%
2053 -0.27% 1.93%
2052 -0.21% 2%
2051 -0.1% 2.02%
2050 -0.16% 1.99%
2049 -0.17% 2.1%
2048 -0.11% 2.18%
2047 -0.12% 2.2%
2046 -0.1% 2.21%
2045 -0.14% 2.24%
2044 -0.02% 2.26%
2043 0.09% 2.25%
2042 -0.01% 2.41%
2041 -0.03% 2.54%
2040 0.04% 2.45%
2039 0.11% 2.55%
2038 0.15% 2.68%
2037 0.08% 2.67%
2036 0.1% 2.76%
2035 0.06% 2.72%
2034 0.02% 2.67%
2033 0.07% 2.79%
2032 0.02% 2.88%
2031 0.05% 3.01%
2030 0.07% 2.99%
2029 0.15% 2.99%
2028 0.12% 3.14%
2027 0.09% 3.29%
2026 0.1% 3.33%
2025 0.39% 3.4%
2024 0.35% 3.54%
2023 0.31% 3.13%
2022 -1.45% 3.07%
2021 -1.49% 3.72%
2020 0.31% 3.87%
2019 0.41% 3.74%
2018 2.06% 3.59%
2017 2.19% 3.96%
2016 0.62% 3.92%
2015 0.74% 3.5%
2014 -1.17% 3.65%
2013 -1.28% 3.28%
2012 2.6% 0.91%
2011 -1.95% 0.71%
2010 0.62% 2.51%
2009 4.43% 2.56%
2008 1.45% 3.01%
2007 3.4% 3.16%
2006 1.17% 3.11%
2005 1.29% 3.53%
2004 5.8% 3.75%
2003 1.28% 3.76%
2002 1.28% 3.82%
2001 1.28% 4.07%
2000 1.29% 4.08%
1999 1.28% 4.13%
1998 1.26% 4.23%
1997 1.25% 3.57%
1996 1.29% 3.7%
1995 1.35% 3.67%
1994 1.43% 5.17%
1993 1.44% 2.87%
1992 1.38% -4.68%
1991 1.37% -3.8%
1990 1.39% -0.45%
1989 1.36% -1.67%
1988 0.69% 0.1%
1987 0.22% 3.63%
1986 0.67% 4.21%
1985 0.62% 4.12%
1984 0.53% 3.71%
1983 0.79% 3.24%
1982 0.98% 0.35%
1981 1.18% 0.79%
1980 1.24% 8.94%
1979 1.4% 13.2%
1978 5.04% 7.38%
1977 4.75% 2.71%
1976 0.34% 2.54%
1975 0.08% 2.55%
1974 0.2% 2.63%
1973 1.09% 2.69%
1972 2% 2.65%
1971 1.38% 2.65%
1970 0.79% 2.68%
1969 0.92% 2.66%
1968 0.98% 2.66%
1967 0.94% 2.66%
1966 1.26% 2.66%
1965 1.93% 2.66%
1964 2.39% 2.65%
1963 2.45% 2.65%
1962 2.43% 2.64%
1961 2.4% 2.63%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

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

In 2025, the population of San Marino grew by 0.39%, while Somalia's population grew by 3.4%.

Live population counters

San Marino Somalia
Current population
34159
20653532
Population rank 193/197 66/197
Percent of world population 0.0004% 0.25%
One net population change
2.77 days
49 seconds
One birth every
2.57 days
39.2 seconds
One death every
1.44 days
2.84 minutes
Daily growth/decline +0 +1,769
Annual growth/decline +132 +645,588
Annual growth/decline rate +0.39% +3.4%
Population growth rate rank 140/197 8/197
One migration net change every
3 days
43.6 minutes
Annual migration change +122 +12,077
Net migration rank 72/196 40/196
Foreign-born residents 5,838 77,972
Foreign-born residents rank 183/195 140/195
Foreign-born share of population 17.4% 0.4%
Foreign-born share rank 35/195 180/195

Natural population change vs migration

San Marino
Natural

Migration
Somalia
Natural

Migration
1x
Year Population change
San Marino Somalia
Natural Migration Natural Migration
2025 - 122 - 12,077
2024 -112 37 619,793 26,859
2023 -92 -190 608,203 46,217
2022 -58 -403 551,450 -92,434
2021 -99 -368 566,399 35,506
2020 -122 247 561,311 77,259
2019 -17 187 548,756 53,124
2018 -11 172 514,244 40,844
2017 -51 234 478,556 38,067
2016 10 291 495,132 124,017
2015 36 273 481,573 -17,178
2014 46 74 464,481 6,065
2013 73 57 448,518 20,723
2012 54 143 399,468 -51,833
2011 105 2,325 203,213 -326,192
2010 126 592 385,571 -88,448
2009 145 311 405,784 -101,795
2008 159 268 394,258 -102,035
2007 69 314 380,303 8,476
2006 75 310 372,597 -67,200
2005 66 314 363,117 -5,955
2004 121 285 351,959 17,353
2003 79 277 341,192 33,174
2002 112 241 331,215 12,603
2001 132 215 319,059 40,274
2000 107 233 306,651 53,580
1999 80 256 295,523 37,548
1998 74 257 284,779 55,426
1997 71 255 271,894 49,692
1996 63 257 264,807 -46,291
1995 51 262 254,509 65,888
1994 43 300 246,950 -50,921
1993 38 325 232,960 261,815
1992 42 285 57,495 -179,675
1991 45 278 53,052 -568,166
1990 41 289 225,162 -248,155
1989 36 285 225,255 -266,281
1988 34 268 215,599 -415,660
1987 31 -20 231,580 -17,391
1986 40 44 218,416 74,424
1985 44 166 207,960 62,183
1984 46 32 199,017 60,630
1983 54 115 190,775 9,505
1982 61 117 182,793 6,115
1981 76 169 185,211 -332,129
1980 90 169 174,790 65,519
1979 104 164 151,016 582,746
1978 121 199 132,689 402,005
1977 117 1,577 124,818 2,170
1976 126 0 113,319 -3,831
1975 141 -133 108,998 -1,934
1974 153 -131 104,813 -495
1973 167 -124 108,038 143
1972 173 191 104,493 -351
1971 174 201 101,196 -1,850
1970 173 -39 98,025 1,104
1969 173 -29 95,045 690
1968 171 8 92,208 906
1967 171 -3 89,497 1,498
1966 173 -9 86,930 941
1965 169 99 84,448 2,142
1964 163 233 82,042 1,518
1963 158 242 79,859 1,449
1962 155 238 77,737 1,496
1961 174 206 75,513 1,336
1960 139 229 73,850 750

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).

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

Over the last 10 years, 51.8% of the population change in San Marino is from natural causes (a loss of 516 people) and 48.2% is from migration (a gain of 480 people). In Somalia 94.2% is from natural causes (a gain of 5,425,417 people) and 5.77% is from migration (a gain of 332,281 people).

As of 2024, 5,838 residents or 17.4% of the population were not native-born in San Marino, compared to 77,972 people or 0.4% in Somalia.

Biggest cities by population

San Marino
City Population
Dogana 7K
San Marino 4.04K
Somalia
City Population
Mogadishu 2.12M
Hargeisa 1.23M
Baidoa 1.2M
Borama 68.1K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

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

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-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
  5. Wikidata (2026, retrieved 2026-07-08)

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.