The latest officially reported population of San Marino was 33,977 in 2024 vs 48,848,840 people in Spain in 2024. In 2026, based on the adjusted UN estimation, the current San Marino's population is 33,967 people compared to 48,806,901 in Spain.
Population statistics:
- Spain's population is 1,437 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.26% per year vs +0.43% in Spain.
- Since 2006, the population of San Marino has increased from 30.2K people to 34K (12.5% growth), while Spain has grown from 44.4M to 48.8M (9.93% growth).
San Marino vs Spain: population by year and forecast
| Year | Population | |
|---|---|---|
|
|
|
|
| 2100 | 31,516 | 33,862,981 |
| 2099 | 31,536 | 34,039,965 |
| 2098 | 31,548 | 34,215,187 |
| 2097 | 31,591 | 34,387,116 |
| 2096 | 31,608 | 34,552,002 |
| 2095 | 31,590 | 34,719,411 |
| 2094 | 31,583 | 34,882,039 |
| 2093 | 31,554 | 35,044,043 |
| 2092 | 31,576 | 35,204,657 |
| 2091 | 31,564 | 35,366,895 |
| 2090 | 31,575 | 35,535,838 |
| 2089 | 31,561 | 35,707,942 |
| 2088 | 31,553 | 35,877,681 |
| 2087 | 31,538 | 36,043,209 |
| 2086 | 31,512 | 36,210,710 |
| 2085 | 31,465 | 36,386,207 |
| 2084 | 31,452 | 36,564,622 |
| 2083 | 31,441 | 36,749,680 |
| 2082 | 31,425 | 36,936,644 |
| 2081 | 31,384 | 37,133,976 |
| 2080 | 31,402 | 37,337,517 |
| 2079 | 31,398 | 37,551,557 |
| 2078 | 31,395 | 37,771,135 |
| 2077 | 31,409 | 38,002,963 |
| 2076 | 31,441 | 38,249,247 |
| 2075 | 31,481 | 38,506,040 |
| 2074 | 31,532 | 38,777,715 |
| 2073 | 31,591 | 39,056,249 |
| 2072 | 31,653 | 39,348,447 |
| 2071 | 31,723 | 39,642,346 |
| 2070 | 31,792 | 39,949,413 |
| 2069 | 31,885 | 40,256,590 |
| 2068 | 31,986 | 40,575,543 |
| 2067 | 32,115 | 40,893,798 |
| 2066 | 32,219 | 41,218,263 |
| 2065 | 32,351 | 41,543,254 |
| 2064 | 32,487 | 41,878,338 |
| 2063 | 32,605 | 42,208,320 |
| 2062 | 32,740 | 42,542,893 |
| 2061 | 32,868 | 42,874,096 |
| 2060 | 32,991 | 43,191,452 |
| 2059 | 33,129 | 43,506,737 |
| 2058 | 33,266 | 43,809,907 |
| 2057 | 33,402 | 44,112,668 |
| 2056 | 33,535 | 44,415,689 |
| 2055 | 33,646 | 44,691,749 |
| 2054 | 33,770 | 44,958,971 |
| 2053 | 33,883 | 45,223,225 |
| 2052 | 33,976 | 45,470,541 |
| 2051 | 34,049 | 45,695,307 |
| 2050 | 34,083 | 45,911,520 |
| 2049 | 34,138 | 46,127,777 |
| 2048 | 34,196 | 46,322,244 |
| 2047 | 34,234 | 46,510,152 |
| 2046 | 34,277 | 46,687,914 |
| 2045 | 34,310 | 46,858,778 |
| 2044 | 34,359 | 47,016,278 |
| 2043 | 34,365 | 47,158,325 |
| 2042 | 34,334 | 47,301,091 |
| 2041 | 34,338 | 47,434,593 |
| 2040 | 34,348 | 47,563,236 |
| 2039 | 34,333 | 47,685,343 |
| 2038 | 34,296 | 47,798,797 |
| 2037 | 34,243 | 47,910,899 |
| 2036 | 34,217 | 48,020,350 |
| 2035 | 34,182 | 48,124,430 |
| 2034 | 34,162 | 48,220,051 |
| 2033 | 34,155 | 48,311,842 |
| 2032 | 34,130 | 48,402,470 |
| 2031 | 34,122 | 48,495,278 |
| 2030 | 34,104 | 48,579,920 |
| 2029 | 34,082 | 48,648,699 |
| 2028 | 34,030 | 48,707,969 |
| 2027 | 33,990 | 48,758,200 |
| 2026 | 33,959 | 48,806,901 |
| 2025 | 33,924 | 48,838,057 |
| 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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).
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 866 people (a 2.62% growth), while Spain's population increased by 2,348,762 people (a 5.06% 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.34% to 34,083 people with a rank change from 193rd to 192nd. The population of Spain will decrease by 5.93% to 45,911,520 people and rank change from 32nd to 47th.
Both countries are in a period of decline and in 50 years are projected to lose 7.44% of the population in San Marino and 21.6% in Spain.
Population growth rate by year
| Year | Growth rate | |
|---|---|---|
|
|
|
|
| 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.15% | -0.02% |
| 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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).
GeoRank.org/population/san-marino/spain | CC BY
In 2024, the population of San Marino grew by 0.35%, while Spain's population grew by 1.03%.
Live population counters
|
|
|
|
|---|---|---|
| Current population |
33967
|
48806901
|
| Population rank | 193/197 | 32/197 |
| Percent of world population | 0.0004% | 0.59% |
| One net population change |
3.12 days
|
1.06 minutes
|
| One birth every |
1.93 days
|
1.62 minutes
|
| One death every |
1.3 days
|
1.21 minutes
|
| Daily growth/decline | +0 | +1,360 |
| Annual growth/decline | +117 | +496,312 |
| Annual growth/decline rate | +0.35% | +1.03% |
| Population growth rate rank | 145/197 | 100/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
| Year | Population change | |||
|---|---|---|---|---|
|
|
|
|||
| Natural | Migration | Natural | Migration | |
| 2025 | - | 122 | - | 96,630 |
| 2024 | - | 37 | - | 111,674 |
| 2023 | -92 | -190 | -111,211 | 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-04-06).
GeoRank.org/population/san-marino/spain | CC BY
Over the last 10 years, 40.9% of the population change in San Marino is from natural causes (a loss of 358 people) and 59.1% is from migration (a gain of 517 people). In Spain 25.8% is from natural causes (a loss of 627,829 people) and 74.2% is from migration (a gain of 1,810,127 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
|
|
|
|---|---|
| City | Population |
| Dogana | 7K |
| San Marino | 4.04K |
|
|
|
|---|---|
| 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 differences between San Marino and Spain
|
|
|
|
|---|---|---|
| Life expectancy | 86 years | 84.1 years |
| Average age | 46.1 years | 44.7 years |
| Median age | 49 years | 46.4 years |
| Male:Female ratio | 49.2:50.8 | 49.1:50.9 |
| Fertility rate | 1.15 births per woman | 1.12 births per woman |
| Population density | 1,466 ppl/mi² | 253 ppl/mi² |
Population map with other countries
Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).
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:
- World Bank | Health (1960–2025, retrieved 2026-04-06)
- United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
- U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
- Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
- Wikidata (2026, retrieved 2026-02-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.