Skip to content

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

Updated on by Georank team

The latest officially reported population of Spain was 48,848,840 in 2024 vs 21,916,000 people in Sri Lanka in 2024. In 2026, based on the adjusted UN estimation, the current Spain's population is 48,806,901 people compared to 22,185,425 in Sri Lanka.

Population statistics:

  • Spain's population is 2.2 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.27% for Sri Lanka.
  • For the last 10 years, Spain has had an average growth rate of +0.43% per year vs +0.57% in Sri Lanka.
  • Since 2006, the population of Spain has increased from 44.4M people to 48.8M (9.93% growth), while Sri Lanka has grown from 20.4M to 22.2M (9.01% growth).

Spain vs Sri Lanka: population by year and forecast

Spain
Factual

Projection
Sri Lanka
Factual

Projection
1x
Year Population
Spain Sri Lanka
2100 33,862,981 20,270,496
2099 34,039,965 20,383,669
2098 34,215,187 20,498,567
2097 34,387,116 20,611,123
2096 34,552,002 20,723,560
2095 34,719,411 20,834,629
2094 34,882,039 20,943,809
2093 35,044,043 21,052,131
2092 35,204,657 21,158,833
2091 35,366,895 21,263,961
2090 35,535,838 21,371,263
2089 35,707,942 21,475,426
2088 35,877,681 21,577,177
2087 36,043,209 21,677,510
2086 36,210,710 21,777,420
2085 36,386,207 21,876,464
2084 36,564,622 21,970,336
2083 36,749,680 22,062,801
2082 36,936,644 22,151,745
2081 37,133,976 22,240,834
2080 37,337,517 22,326,555
2079 37,551,557 22,411,438
2078 37,771,135 22,489,772
2077 38,002,963 22,565,028
2076 38,249,247 22,637,463
2075 38,506,040 22,707,112
2074 38,777,715 22,778,489
2073 39,056,249 22,844,703
2072 39,348,447 22,905,707
2071 39,642,346 22,964,866
2070 39,949,413 23,022,515
2069 40,256,590 23,076,310
2068 40,575,543 23,129,541
2067 40,893,798 23,184,596
2066 41,218,263 23,234,419
2065 41,543,254 23,285,901
2064 41,878,338 23,331,390
2063 42,208,320 23,372,184
2062 42,542,893 23,409,522
2061 42,874,096 23,441,893
2060 43,191,452 23,474,032
2059 43,506,737 23,502,132
2058 43,809,907 23,528,076
2057 44,112,668 23,550,580
2056 44,415,689 23,570,923
2055 44,691,749 23,582,432
2054 44,958,971 23,591,414
2053 45,223,225 23,601,371
2052 45,470,541 23,605,361
2051 45,695,307 23,606,194
2050 45,911,520 23,603,330
2049 46,127,777 23,597,604
2048 46,322,244 23,587,307
2047 46,510,152 23,570,881
2046 46,687,914 23,547,409
2045 46,858,778 23,515,133
2044 47,016,278 23,483,546
2043 47,158,325 23,446,242
2042 47,301,091 23,404,983
2041 47,434,593 23,357,358
2040 47,563,236 23,306,148
2039 47,685,343 23,248,341
2038 47,798,797 23,187,512
2037 47,910,899 23,120,775
2036 48,020,350 23,053,427
2035 48,124,430 22,981,808
2034 48,220,051 22,906,587
2033 48,311,842 22,826,414
2032 48,402,470 22,742,267
2031 48,495,278 22,655,907
2030 48,579,920 22,564,038
2029 48,648,699 22,470,759
2028 48,707,969 22,370,999
2027 48,758,200 22,266,017
2026 48,806,901 22,155,543
2025 48,838,057 22,039,908
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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,348,762 people (a 5.06% growth), while Sri Lanka's population increased by 976,425 people (a 4.6% 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 45,911,520 people with a rank change from 32nd to 47th. The population of Sri Lanka will increase by 6.39% to 23,603,330 people and rank change from 63rd to 70th.

Sri Lanka is projected to reach its peak in 2051 at 23.6M people, while Spain's population already peaked in 2024 at 48.8M people and is projected to decrease to 33.9M 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 -0.02% 0.57%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

In 2024, the population of Spain grew by 1.03%, while Sri Lanka's population declined by 0.55%.

Live population counters

Spain Sri Lanka
Current population
48806901
22185425
Population rank 32/197 63/197
Percent of world population 0.59% 0.27%
One net population change
1.06 minutes
4.34 minutes
One birth every
1.62 minutes
2.13 minutes
One death every
1.21 minutes
2.91 minutes
Daily growth/decline +1,360 -332
Annual growth/decline +496,312 -121,000
Annual growth/decline rate +1.03% -0.55%
Population growth rate rank 100/197 188/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 - 111,674 - -27,245
2023 -111,211 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-04-06).

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

Over the last 10 years, 25.8% of the population change in Spain is from natural causes (a loss of 627,829 people) and 74.2% is from migration (a gain of 1,810,127 people). In Sri Lanka 85.3% is from natural causes (a gain of 1,605,749 people) and 14.7% is from migration (a loss of 276,121 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–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/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-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

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.