Skip to content

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

Updated on by Georank

The latest officially reported population of San Marino was 34,109 in 2025 vs 49,355,143 people in Spain in 2025. In 2026, based on the adjusted UN estimation, the current San Marino's population is 34,159 people compared to 49,323,658 in Spain.

Population statistics:

  • Spain's population is 1,444 times bigger than San Marino's.
  • San Marino is ranked the 193rd most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.59% of the world: 0.0004% for San Marino vs 0.59% for Spain.
  • For the last 10 years, San Marino has had an average growth rate of +0.4% per year vs +0.55% in Spain.
  • Since 2006, the population of San Marino has increased from 30.2K people to 34.2K (13.2% growth), while Spain has grown from 44.4M to 49.3M (11.1% growth).

San Marino vs Spain: population by year and forecast

San Marino
Factual

Projection
Spain
Factual

Projection
1x
Year Population
San Marino Spain
2100 31,687 34,221,514
2099 31,708 34,400,373
2098 31,720 34,577,450
2097 31,762 34,751,199
2096 31,780 34,917,831
2095 31,761 35,087,012
2094 31,755 35,251,362
2093 31,726 35,415,082
2092 31,748 35,577,396
2091 31,736 35,741,351
2090 31,747 35,912,083
2089 31,733 36,086,009
2088 31,725 36,257,546
2087 31,710 36,424,826
2086 31,683 36,594,101
2085 31,636 36,771,456
2084 31,623 36,951,760
2083 31,612 37,138,777
2082 31,596 37,327,720
2081 31,555 37,527,142
2080 31,573 37,732,838
2079 31,569 37,949,144
2078 31,566 38,171,047
2077 31,579 38,405,329
2076 31,612 38,654,221
2075 31,653 38,913,733
2074 31,703 39,188,284
2073 31,762 39,469,767
2072 31,825 39,765,059
2071 31,896 40,062,070
2070 31,965 40,372,388
2069 32,058 40,682,818
2068 32,160 41,005,148
2067 32,290 41,326,772
2066 32,395 41,654,672
2065 32,527 41,983,104
2064 32,664 42,321,736
2063 32,782 42,655,212
2062 32,918 42,993,328
2061 33,047 43,328,037
2060 33,170 43,648,753
2059 33,310 43,967,376
2058 33,447 44,273,756
2057 33,584 44,579,723
2056 33,717 44,885,952
2055 33,829 45,164,935
2054 33,954 45,434,986
2053 34,068 45,702,038
2052 34,161 45,951,973
2051 34,235 46,179,119
2050 34,268 46,397,620
2049 34,324 46,616,167
2048 34,382 46,812,693
2047 34,421 47,002,591
2046 34,463 47,182,235
2045 34,497 47,354,908
2044 34,546 47,514,076
2043 34,552 47,657,627
2042 34,521 47,801,904
2041 34,525 47,936,819
2040 34,534 48,066,825
2039 34,520 48,190,225
2038 34,483 48,304,880
2037 34,430 48,418,168
2036 34,403 48,528,778
2035 34,368 48,633,960
2034 34,347 48,730,594
2033 34,341 48,823,356
2032 34,316 48,914,944
2031 34,308 49,008,735
2030 34,289 49,094,273
2029 34,267 49,163,780
2028 34,215 49,223,677
2027 34,175 49,274,441
2026 34,144 49,323,658
2025 34,109 49,355,143
2024 33,977 48,848,840
2023 33,860 48,352,528
2022 33,755 47,786,102
2021 34,252 47,443,821
2020 34,770 47,359,424
2019 34,663 47,118,501
2018 34,522 46,782,011
2017 33,825 46,571,232
2016 33,101 46,458,139
2015 32,897 46,422,303
2014 32,655 46,460,733
2013 33,041 46,604,197
2012 33,469 46,773,055
2011 32,620 46,742,697
2010 33,270 46,576,897
2009 33,066 46,362,946
2008 31,662 45,954,106
2007 31,211 45,226,803
2006 30,184 44,397,319
2005 29,836 43,653,155
2004 29,457 42,921,895
2003 27,843 42,187,645
2002 27,491 41,431,558
2001 27,143 40,850,412
2000 26,799 40,567,864
1999 26,459 40,386,875
1998 26,125 40,223,509
1997 25,800 40,057,389
1996 25,482 39,889,852
1995 25,158 39,724,050
1994 24,823 39,549,108
1993 24,472 39,361,262
1992 24,125 39,157,685
1991 23,797 38,966,376
1990 23,475 38,867,322
1989 23,154 38,827,764
1988 22,843 38,766,939
1987 22,686 38,684,815
1986 22,636 38,584,624
1985 22,485 38,469,512
1984 22,346 38,330,364
1983 22,229 38,171,525
1982 22,055 37,986,012
1981 21,840 37,758,631
1980 21,585 37,491,165
1979 21,320 37,191,330
1978 21,026 36,864,898
1977 20,017 36,511,638
1976 19,110 36,137,812
1975 19,046 35,757,900
1974 19,030 35,373,335
1973 18,992 34,988,947
1972 18,787 34,604,469
1971 18,419 34,224,490
1970 18,168 33,814,531
1969 18,026 33,441,054
1968 17,861 33,113,134
1967 17,688 32,682,947
1966 17,523 32,283,194
1965 17,305 31,954,292
1964 16,977 31,609,195
1963 16,580 31,296,651
1962 16,183 31,023,366
1961 15,799 30,739,250
1960 15,428 30,455,000

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/spain | CC BY

From 2006 to 2016, the population of San Marino increased by 2,917 people (a 9.66% growth), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, San Marino gained 1,058 people (a 3.2% growth), while Spain's population increased by 2,865,519 people (a 6.17% growth).

San Marino was ranked 193rd most populous country in 2006 and is still 193rd in 2026. Spain was ranked 28th in 2006 and ranked 32nd 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 Spain will decrease by 5.93% to 46,397,620 people and rank change from 32nd to 46th.

Both countries are in a period of decline and in 50 years are projected to lose 7.46% of the population in San Marino and 21.6% in Spain.

Population growth rate by year

San Marino
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
San Marino Spain
2100 -0.06% -0.52%
2099 -0.04% -0.51%
2098 -0.13% -0.5%
2097 -0.05% -0.48%
2096 0.06% -0.48%
2095 0.02% -0.47%
2094 0.09% -0.46%
2093 -0.07% -0.46%
2092 0.04% -0.46%
2091 -0.04% -0.48%
2090 0.04% -0.48%
2089 0.03% -0.47%
2088 0.05% -0.46%
2087 0.08% -0.46%
2086 0.15% -0.48%
2085 0.04% -0.49%
2084 0.04% -0.5%
2083 0.05% -0.51%
2082 0.13% -0.53%
2081 -0.06% -0.55%
2080 0.01% -0.57%
2079 0.01% -0.58%
2078 -0.04% -0.61%
2077 -0.1% -0.64%
2076 -0.13% -0.67%
2075 -0.16% -0.7%
2074 -0.19% -0.71%
2073 -0.2% -0.74%
2072 -0.22% -0.74%
2071 -0.22% -0.77%
2070 -0.29% -0.76%
2069 -0.32% -0.79%
2068 -0.4% -0.78%
2067 -0.32% -0.79%
2066 -0.41% -0.78%
2065 -0.42% -0.8%
2064 -0.36% -0.78%
2063 -0.41% -0.79%
2062 -0.39% -0.77%
2061 -0.37% -0.73%
2060 -0.42% -0.72%
2059 -0.41% -0.69%
2058 -0.41% -0.69%
2057 -0.39% -0.68%
2056 -0.33% -0.62%
2055 -0.37% -0.59%
2054 -0.33% -0.58%
2053 -0.27% -0.54%
2052 -0.21% -0.49%
2051 -0.1% -0.47%
2050 -0.16% -0.47%
2049 -0.17% -0.42%
2048 -0.11% -0.4%
2047 -0.12% -0.38%
2046 -0.1% -0.36%
2045 -0.14% -0.33%
2044 -0.02% -0.3%
2043 0.09% -0.3%
2042 -0.01% -0.28%
2041 -0.03% -0.27%
2040 0.04% -0.26%
2039 0.11% -0.24%
2038 0.15% -0.23%
2037 0.08% -0.23%
2036 0.1% -0.22%
2035 0.06% -0.2%
2034 0.02% -0.19%
2033 0.07% -0.19%
2032 0.02% -0.19%
2031 0.05% -0.17%
2030 0.07% -0.14%
2029 0.15% -0.12%
2028 0.12% -0.1%
2027 0.09% -0.1%
2026 0.1% -0.06%
2025 0.39% 1.04%
2024 0.35% 1.03%
2023 0.31% 1.19%
2022 -1.45% 0.72%
2021 -1.49% 0.18%
2020 0.31% 0.51%
2019 0.41% 0.72%
2018 2.06% 0.45%
2017 2.19% 0.24%
2016 0.62% 0.08%
2015 0.74% -0.08%
2014 -1.17% -0.31%
2013 -1.28% -0.36%
2012 2.6% 0.06%
2011 -1.95% 0.36%
2010 0.62% 0.46%
2009 4.43% 0.89%
2008 1.45% 1.61%
2007 3.4% 1.87%
2006 1.17% 1.7%
2005 1.29% 1.7%
2004 5.8% 1.74%
2003 1.28% 1.82%
2002 1.28% 1.42%
2001 1.28% 0.7%
2000 1.29% 0.45%
1999 1.28% 0.41%
1998 1.26% 0.41%
1997 1.25% 0.42%
1996 1.29% 0.42%
1995 1.35% 0.44%
1994 1.43% 0.48%
1993 1.44% 0.52%
1992 1.38% 0.49%
1991 1.37% 0.25%
1990 1.39% 0.1%
1989 1.36% 0.16%
1988 0.69% 0.21%
1987 0.22% 0.26%
1986 0.67% 0.3%
1985 0.62% 0.36%
1984 0.53% 0.42%
1983 0.79% 0.49%
1982 0.98% 0.6%
1981 1.18% 0.71%
1980 1.24% 0.81%
1979 1.4% 0.89%
1978 5.04% 0.97%
1977 4.75% 1.03%
1976 0.34% 1.06%
1975 0.08% 1.09%
1974 0.2% 1.1%
1973 1.09% 1.11%
1972 2% 1.11%
1971 1.38% 1.21%
1970 0.79% 1.12%
1969 0.92% 0.99%
1968 0.98% 1.32%
1967 0.94% 1.24%
1966 1.26% 1.03%
1965 1.93% 1.09%
1964 2.39% 1%
1963 2.45% 0.88%
1962 2.43% 0.92%
1961 2.4% 0.93%

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/spain | CC BY

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

Live population counters

San Marino Spain
Current population
34159
49323658
Population rank 193/197 32/197
Percent of world population 0.0004% 0.59%
One net population change
2.77 days
1.04 minutes
One birth every
2.57 days
1.66 minutes
One death every
1.44 days
1.21 minutes
Daily growth/decline +0 +1,387
Annual growth/decline +132 +506,303
Annual growth/decline rate +0.39% +1.04%
Population growth rate rank 140/197 98/197
One migration net change every
3 days
5.45 minutes
Annual migration change +122 +96,630
Net migration rank 72/196 17/196
Foreign-born residents 5,838 8,870,527
Foreign-born residents rank 183/195 6/195
Foreign-born share of population 17.4% 18.5%
Foreign-born share rank 35/195 32/195

Natural population change vs migration

San Marino
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
San Marino Spain
Natural Migration Natural Migration
2025 - 122 - 96,630
2024 -112 37 -117,237 111,674
2023 -92 -190 -116,046 119,099
2022 -58 -403 -133,801 299,779
2021 -99 -368 -113,865 144,385
2020 -122 247 -151,551 236,854
2019 -17 187 -56,542 464,783
2018 -11 172 -56,139 337,467
2017 -51 234 -32,600 201,135
2016 10 291 0 106,474
2015 36 273 -4,642 -1,979
2014 46 74 32,522 -97,870
2013 73 57 37,284 -250,741
2012 54 143 51,450 -153,486
2011 105 2,325 84,137 60,761
2010 126 592 102,469 69,406
2009 145 311 106,635 129,557
2008 159 268 133,267 434,135
2007 69 314 108,545 772,317
2006 75 310 110,994 659,720
2005 66 314 78,576 629,803
2004 121 285 85,844 661,158
2003 79 277 54,844 658,428
2002 112 241 53,861 737,880
2001 132 215 44,936 181,307
2000 107 233 36,512 176,269
1999 80 256 8,077 178,559
1998 74 257 4,022 182,926
1997 71 255 20,028 165,345
1996 63 257 11,967 162,704
1995 51 262 15,889 162,434
1994 43 300 31,639 160,407
1993 38 325 47,234 160,907
1992 42 285 62,652 177,544
1991 45 278 58,450 122,841
1990 41 289 66,075 -30,684
1989 36 285 81,538 -25,892
1988 34 268 100,794 -17,663
1987 31 -20 116,054 -12,681
1986 40 44 131,188 -13,540
1985 44 166 146,184 -589
1984 46 32 172,487 2,754
1983 54 115 183,223 1,241
1982 61 117 231,714 -7,384
1981 76 169 237,879 2,563
1980 90 169 281,184 20,166
1979 104 164 312,407 -5,929
1978 121 199 339,157 -2,504
1977 117 1,577 361,465 -1,332
1976 126 0 375,834 2,804
1975 141 -133 371,882 -218
1974 153 -131 396,182 105,838
1973 167 -124 374,381 8,624
1972 173 191 391,030 7,935
1971 174 201 369,625 7,363
1970 173 -39 378,723 -60,580
1969 173 -29 367,851 -49,956
1968 171 8 387,423 -46,088
1967 171 -3 402,001 -42,344
1966 173 -9 397,084 -41,467
1965 169 99 405,819 -42,476
1964 163 233 429,885 -41,461
1963 158 242 394,338 -44,446
1962 155 238 384,690 -45,211
1961 174 206 396,537 -46,517
1960 139 229 398,960 -154,869

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

GeoRank.org/population/san-marino/spain | 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 Spain 27.9% is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 people).

As of 2024, 5,838 residents or 17.4% of the population were not native-born in San Marino, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

San Marino
City Population
Dogana 7K
San Marino 4.04K
Spain
City Population
Madrid 3.51M
Barcelona 1.73M
Tenerife 955K
Valencia 841K
Zaragoza 693K
Seville 689K
Malaga 599K
Palma de Mallorca 435K
Las Palmas 382K
Alicante 366K

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/spain | 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.