Skip to content

Population in Spain compared to Sri Lanka: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Spain was 49,355,143 in 2025 vs 21,756,000 people in Sri Lanka in 2025. In 2026, based on the adjusted UN estimation, the current Spain's population is 49,323,658 people compared to 21,926,160 in Sri Lanka.

Population statistics:

  • Spain's population is 2.25 times bigger than Sri Lanka's.
  • Spain is ranked the 32nd most populous country in the world, while Sri Lanka is the 63rd.
  • The countries together account for 0.86% of the world: 0.59% for Spain vs 0.26% for Sri Lanka.
  • For the last 10 years, Spain has had an average growth rate of +0.55% per year vs +0.42% in Sri Lanka.
  • Since 2006, the population of Spain has increased from 44.4M people to 49.3M (11.1% growth), while Sri Lanka has grown from 20.4M to 21.9M (7.73% growth).

Spain vs Sri Lanka: population by year and forecast

Spain
Factual

Projection
Sri Lanka
Factual

Projection
1x
Year Population
Spain Sri Lanka
2100 34,221,514 20,009,380
2099 34,400,373 20,121,095
2098 34,577,450 20,234,513
2097 34,751,199 20,345,619
2096 34,917,831 20,456,607
2095 35,087,012 20,566,246
2094 35,251,362 20,674,019
2093 35,415,082 20,780,946
2092 35,577,396 20,886,274
2091 35,741,351 20,990,047
2090 35,912,083 21,095,968
2089 36,086,009 21,198,788
2088 36,257,546 21,299,229
2087 36,424,826 21,398,269
2086 36,594,101 21,496,892
2085 36,771,456 21,594,661
2084 36,951,760 21,687,323
2083 37,138,777 21,778,597
2082 37,327,720 21,866,395
2081 37,527,142 21,954,337
2080 37,732,838 22,038,953
2079 37,949,144 22,122,744
2078 38,171,047 22,200,069
2077 38,405,329 22,274,355
2076 38,654,221 22,345,857
2075 38,913,733 22,414,609
2074 39,188,284 22,485,066
2073 39,469,767 22,550,427
2072 39,765,059 22,610,645
2071 40,062,070 22,669,042
2070 40,372,388 22,725,948
2069 40,682,818 22,779,050
2068 41,005,148 22,831,596
2067 41,326,772 22,885,941
2066 41,654,672 22,935,123
2065 41,983,104 22,985,942
2064 42,321,736 23,030,844
2063 42,655,212 23,071,114
2062 42,993,328 23,107,970
2061 43,328,037 23,139,924
2060 43,648,753 23,171,649
2059 43,967,376 23,199,387
2058 44,273,756 23,224,997
2057 44,579,723 23,247,211
2056 44,885,952 23,267,292
2055 45,164,935 23,278,653
2054 45,434,986 23,287,520
2053 45,702,038 23,297,347
2052 45,951,973 23,301,287
2051 46,179,119 23,302,108
2050 46,397,620 23,299,282
2049 46,616,167 23,293,630
2048 46,812,693 23,283,465
2047 47,002,591 23,267,251
2046 47,182,235 23,244,081
2045 47,354,908 23,212,221
2044 47,514,076 23,181,041
2043 47,657,627 23,144,217
2042 47,801,904 23,103,489
2041 47,936,819 23,056,478
2040 48,066,825 23,005,928
2039 48,190,225 22,948,866
2038 48,304,880 22,888,821
2037 48,418,168 22,822,943
2036 48,528,778 22,756,462
2035 48,633,960 22,685,766
2034 48,730,594 22,611,514
2033 48,823,356 22,532,374
2032 48,914,944 22,449,310
2031 49,008,735 22,364,063
2030 49,094,273 22,273,377
2029 49,163,780 22,181,300
2028 49,223,677 22,082,826
2027 49,274,441 21,979,196
2026 49,323,658 21,870,145
2025 49,355,143 21,756,000
2024 48,848,840 21,916,000
2023 48,352,528 22,037,000
2022 47,786,102 22,181,000
2021 47,443,821 22,156,000
2020 47,359,424 21,919,000
2019 47,118,501 21,803,000
2018 46,782,011 21,670,000
2017 46,571,232 21,453,000
2016 46,458,139 21,209,000
2015 46,422,303 20,970,000
2014 46,460,733 20,778,000
2013 46,604,197 20,585,000
2012 46,773,055 21,169,458
2011 46,742,697 21,009,048
2010 46,576,897 20,879,089
2009 46,362,946 20,756,435
2008 45,954,106 20,629,378
2007 45,226,803 20,492,545
2006 44,397,319 20,352,411
2005 43,653,155 20,216,524
2004 42,921,895 20,087,605
2003 42,187,645 19,951,521
2002 41,431,558 19,805,752
2001 40,850,412 19,600,362
2000 40,567,864 19,293,054
1999 40,386,875 18,944,731
1998 40,223,509 18,596,003
1997 40,057,389 18,248,200
1996 39,889,852 17,905,018
1995 39,724,050 17,564,068
1994 39,549,108 17,275,773
1993 39,361,262 17,025,918
1992 39,157,685 16,739,284
1991 38,966,376 16,475,354
1990 38,867,322 16,352,458
1989 38,827,764 16,248,557
1988 38,766,939 16,078,621
1987 38,684,815 15,916,576
1986 38,584,624 15,731,256
1985 38,469,512 15,544,154
1984 38,330,364 15,441,860
1983 38,171,525 15,388,794
1982 37,986,012 15,286,567
1981 37,758,631 15,099,414
1980 37,491,165 14,847,974
1979 37,191,330 14,579,614
1978 36,864,898 14,310,128
1977 36,511,638 14,049,371
1976 36,137,812 13,796,770
1975 35,757,900 13,548,984
1974 35,373,335 13,305,693
1973 34,988,947 13,060,916
1972 34,604,469 12,809,205
1971 34,224,490 12,551,910
1970 33,814,531 12,287,110
1969 33,441,054 12,013,858
1968 33,113,134 11,736,088
1967 32,682,947 11,457,328
1966 32,283,194 11,183,928
1965 31,954,292 10,916,965
1964 31,609,195 10,653,397
1963 31,296,651 10,395,040
1962 31,023,366 10,143,754
1961 30,739,250 9,899,372
1960 30,455,000 9,661,389

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

From 2006 to 2016, the population of Spain increased by 2,060,820 people (a 4.64% growth), while Sri Lanka gained 856,589 people (a 4.21% growth).

For the next 10 years, from 2016 to 2026, Spain gained 2,865,519 people (a 6.17% growth), while Sri Lanka's population increased by 717,160 people (a 3.38% growth).

Spain was ranked 28th most populous country in 2006 and is 32nd in 2026. Sri Lanka was ranked 55th in 2006 and ranked 63rd now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Spain's population will shrink by 5.93% to 46,397,620 people with a rank change from 32nd to 46th. The population of Sri Lanka will increase by 6.26% to 23,299,282 people and rank change from 63rd to 71st.

Sri Lanka is projected to reach its peak in 2051 at 23.3M people, while Spain's population already peaked in 2025 at 49.4M people and is projected to decrease to 34.2M people by 2100.

Population growth rate by year

Spain
Factual

Projection
Sri Lanka
Factual

Projection
1x
Year Growth rate
Spain Sri Lanka
2100 -0.52% -0.56%
2099 -0.51% -0.56%
2098 -0.5% -0.55%
2097 -0.48% -0.54%
2096 -0.48% -0.53%
2095 -0.47% -0.52%
2094 -0.46% -0.51%
2093 -0.46% -0.5%
2092 -0.46% -0.49%
2091 -0.48% -0.5%
2090 -0.48% -0.49%
2089 -0.47% -0.47%
2088 -0.46% -0.46%
2087 -0.46% -0.46%
2086 -0.48% -0.45%
2085 -0.49% -0.43%
2084 -0.5% -0.42%
2083 -0.51% -0.4%
2082 -0.53% -0.4%
2081 -0.55% -0.38%
2080 -0.57% -0.38%
2079 -0.58% -0.35%
2078 -0.61% -0.33%
2077 -0.64% -0.32%
2076 -0.67% -0.31%
2075 -0.7% -0.31%
2074 -0.71% -0.29%
2073 -0.74% -0.27%
2072 -0.74% -0.26%
2071 -0.77% -0.25%
2070 -0.76% -0.23%
2069 -0.79% -0.23%
2068 -0.78% -0.24%
2067 -0.79% -0.21%
2066 -0.78% -0.22%
2065 -0.8% -0.19%
2064 -0.78% -0.17%
2063 -0.79% -0.16%
2062 -0.77% -0.14%
2061 -0.73% -0.14%
2060 -0.72% -0.12%
2059 -0.69% -0.11%
2058 -0.69% -0.1%
2057 -0.68% -0.09%
2056 -0.62% -0.05%
2055 -0.59% -0.04%
2054 -0.58% -0.04%
2053 -0.54% -0.02%
2052 -0.49% -0.004%
2051 -0.47% 0.01%
2050 -0.47% 0.02%
2049 -0.42% 0.04%
2048 -0.4% 0.07%
2047 -0.38% 0.1%
2046 -0.36% 0.14%
2045 -0.33% 0.13%
2044 -0.3% 0.16%
2043 -0.3% 0.18%
2042 -0.28% 0.2%
2041 -0.27% 0.22%
2040 -0.26% 0.25%
2039 -0.24% 0.26%
2038 -0.23% 0.29%
2037 -0.23% 0.29%
2036 -0.22% 0.31%
2035 -0.2% 0.33%
2034 -0.19% 0.35%
2033 -0.19% 0.37%
2032 -0.19% 0.38%
2031 -0.17% 0.41%
2030 -0.14% 0.42%
2029 -0.12% 0.45%
2028 -0.1% 0.47%
2027 -0.1% 0.5%
2026 -0.06% 0.52%
2025 1.04% -0.73%
2024 1.03% -0.55%
2023 1.19% -0.65%
2022 0.72% 0.11%
2021 0.18% 1.08%
2020 0.51% 0.53%
2019 0.72% 0.61%
2018 0.45% 1.01%
2017 0.24% 1.15%
2016 0.08% 1.14%
2015 -0.08% 0.92%
2014 -0.31% 0.94%
2013 -0.36% -2.76%
2012 0.06% 0.76%
2011 0.36% 0.62%
2010 0.46% 0.59%
2009 0.89% 0.62%
2008 1.61% 0.67%
2007 1.87% 0.69%
2006 1.7% 0.67%
2005 1.7% 0.64%
2004 1.74% 0.68%
2003 1.82% 0.74%
2002 1.42% 1.05%
2001 0.7% 1.59%
2000 0.45% 1.84%
1999 0.41% 1.88%
1998 0.41% 1.91%
1997 0.42% 1.92%
1996 0.42% 1.94%
1995 0.44% 1.67%
1994 0.48% 1.47%
1993 0.52% 1.71%
1992 0.49% 1.6%
1991 0.25% 0.75%
1990 0.1% 0.64%
1989 0.16% 1.06%
1988 0.21% 1.02%
1987 0.26% 1.18%
1986 0.3% 1.2%
1985 0.36% 0.66%
1984 0.42% 0.34%
1983 0.49% 0.67%
1982 0.6% 1.24%
1981 0.71% 1.69%
1980 0.81% 1.84%
1979 0.89% 1.88%
1978 0.97% 1.86%
1977 1.03% 1.83%
1976 1.06% 1.83%
1975 1.09% 1.83%
1974 1.1% 1.87%
1973 1.11% 1.97%
1972 1.11% 2.05%
1971 1.21% 2.16%
1970 1.12% 2.27%
1969 0.99% 2.37%
1968 1.32% 2.43%
1967 1.24% 2.44%
1966 1.03% 2.45%
1965 1.09% 2.47%
1964 1% 2.49%
1963 0.88% 2.48%
1962 0.92% 2.47%
1961 0.93% 2.46%

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

In 2025, the population of Spain grew by 1.04%, while Sri Lanka's population declined by 0.73%.

Live population counters

Spain Sri Lanka
Current population
49323658
21926160
Population rank 32/197 63/197
Percent of world population 0.59% 0.26%
One net population change
1.04 minutes
3.29 minutes
One birth every
1.66 minutes
2.37 minutes
One death every
1.21 minutes
3.07 minutes
Daily growth/decline +1,387 -438
Annual growth/decline +506,303 -160,000
Annual growth/decline rate +1.04% -0.73%
Population growth rate rank 98/197 190/197
One migration net change every
5.45 minutes
17.2 minutes
Annual migration change +96,630 -30,724
Net migration rank 17/196 165/196
Foreign-born residents 8,870,527 40,698
Foreign-born residents rank 6/195 156/195
Foreign-born share of population 18.5% 0.2%
Foreign-born share rank 32/195 190/195

Natural population change vs migration

Spain
Natural

Migration
Sri Lanka
Natural

Migration
1x
Year Population change
Spain Sri Lanka
Natural Migration Natural Migration
2025 - 96,630 - -30,724
2024 -117,237 111,674 50,407 -27,245
2023 -116,046 119,099 66,111 -28,011
2022 -133,801 299,779 95,378 -27,435
2021 -113,865 144,385 121,858 -29,586
2020 -151,551 236,854 170,968 -29,875
2019 -56,542 464,783 172,243 -28,426
2018 -56,139 337,467 183,610 -28,607
2017 -32,600 201,135 187,993 -22,324
2016 0 106,474 194,232 -18,388
2015 -4,642 -1,979 201,815 -29,797
2014 32,522 -97,870 211,541 -33,672
2013 37,284 -250,741 221,021 -37,754
2012 51,450 -153,486 229,138 -41,955
2011 84,137 60,761 224,461 -90,839
2010 102,469 69,406 224,325 -98,060
2009 106,635 129,557 200,175 -81,130
2008 133,267 434,135 232,225 -97,144
2007 108,545 772,317 248,287 -109,695
2006 110,994 659,720 248,706 -107,045
2005 78,576 629,803 248,683 -118,594
2004 85,844 661,158 212,527 -84,795
2003 54,844 658,428 252,008 -107,573
2002 53,861 737,880 252,840 -105,718
2001 44,936 181,307 244,377 19,273
2000 36,512 176,269 227,060 123,894
1999 8,077 178,559 206,876 138,799
1998 4,022 182,926 201,059 150,724
1997 20,028 165,345 208,193 135,636
1996 11,967 162,704 215,290 127,236
1995 15,889 162,434 221,957 117,416
1994 31,639 160,407 228,904 8,323
1993 47,234 160,907 226,257 36,232
1992 62,652 177,544 222,230 88,542
1991 58,450 122,841 218,117 -1,047
1990 66,075 -30,684 224,454 -195,736
1989 81,538 -25,892 212,401 -33,305
1988 100,794 -17,663 219,184 -58,415
1987 116,054 -12,681 226,414 -63,105
1986 131,188 -13,540 233,782 -26,460
1985 146,184 -589 247,836 -80,950
1984 172,487 2,754 263,175 -225,450
1983 183,223 1,241 277,768 -209,362
1982 231,714 -7,384 300,030 -163,987
1981 237,879 2,563 328,096 -89,824
1980 281,184 20,166 328,155 -63,541
1979 312,407 -5,929 329,791 -57,683
1978 339,157 -2,504 317,055 -50,189
1977 361,465 -1,332 300,038 -45,383
1976 375,834 2,804 291,816 -41,258
1975 371,882 -218 282,496 -37,475
1974 396,182 105,838 275,521 -33,979
1973 374,381 8,624 278,577 -30,582
1972 391,030 7,935 282,494 -27,071
1971 369,625 7,363 281,200 -22,021
1970 378,723 -60,580 286,719 -16,299
1969 367,851 -49,956 286,218 -10,152
1968 387,423 -46,088 286,642 -7,163
1967 402,001 -42,344 284,738 -6,696
1966 397,084 -41,467 275,549 -6,794
1965 405,819 -42,476 272,422 -7,249
1964 429,885 -41,461 269,584 -7,614
1963 394,338 -44,446 262,880 -8,118
1962 384,690 -45,211 256,719 -8,909
1961 396,537 -46,517 251,087 -10,144
1960 398,960 -154,869 247,631 -12,610

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

GeoRank.org/population/spain/sri-lanka | CC BY

Over the last 10 years, 27.9% of the population change in Spain is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 people). In Sri Lanka 84.3% is from natural causes (a gain of 1,444,615 people) and 15.7% is from migration (a loss of 269,694 people).

As of 2024, 8,870,527 residents or 18.5% of the population were not native-born in Spain, compared to 40,698 people or 0.2% in Sri Lanka.

Biggest cities by population

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
Sri Lanka
City Population
Colombo 648K
Gampaha 191K
Beruwala 165K
Negombo 142K
Kandy 120K
Sri Jayawardenepura Kotte 116K
Trincomalee 99.1K
Galle 93.1K
Matara 68.2K
Anuradhapura 63.2K

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/spain/sri-lanka | 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. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, 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.