Skip to content

Population in Spain compared to Ukraine: Trends, Charts, Rankings

Updated on by Georank team

The latest officially reported population of Spain was 48,848,840 in 2024 vs 37,860,221 people in Ukraine in 2024. In 2026, based on the adjusted UN estimation, the current Spain's population is 48,806,901 people compared to 40,125,599 in Ukraine.

Population statistics:

  • Spain's population is 1.22 times bigger than Ukraine's.
  • Spain is ranked the 32nd most populous country in the world, while Ukraine is the 40th.
  • The countries together account for 1.07% of the world: 0.59% for Spain vs 0.48% for Ukraine.
  • For the last 10 years, Spain has had an average growth rate of +0.43% per year vs -1.74% in Ukraine.
  • Since 2006, the population of Spain has increased from 44.4M people to 48.8M (9.93% growth), while Ukraine has declined from 47.3M to 40.1M (15.1% decline).

Spain vs Ukraine: population by year and forecast

Spain
Factual

Projection
Ukraine
Factual

Projection
1x
Year Population
Spain Ukraine
2100 33,862,981 15,493,960
2099 34,039,965 15,751,557
2098 34,215,187 16,012,938
2097 34,387,116 16,278,602
2096 34,552,002 16,547,938
2095 34,719,411 16,820,897
2094 34,882,039 17,098,910
2093 35,044,043 17,381,822
2092 35,204,657 17,669,049
2091 35,366,895 17,960,681
2090 35,535,838 18,257,867
2089 35,707,942 18,559,027
2088 35,877,681 18,865,031
2087 36,043,209 19,176,483
2086 36,210,710 19,492,606
2085 36,386,207 19,812,584
2084 36,564,622 20,138,855
2083 36,749,680 20,468,747
2082 36,936,644 20,803,241
2081 37,133,976 21,140,953
2080 37,337,517 21,482,498
2079 37,551,557 21,827,152
2078 37,771,135 22,175,099
2077 38,002,963 22,525,846
2076 38,249,247 22,879,896
2075 38,506,040 23,236,521
2074 38,777,715 23,596,095
2073 39,056,249 23,957,807
2072 39,348,447 24,319,928
2071 39,642,346 24,685,370
2070 39,949,413 25,053,352
2069 40,256,590 25,423,272
2068 40,575,543 25,794,560
2067 40,893,798 26,168,072
2066 41,218,263 26,543,206
2065 41,543,254 26,920,121
2064 41,878,338 27,298,592
2063 42,208,320 27,677,528
2062 42,542,893 28,056,960
2061 42,874,096 28,437,884
2060 43,191,452 28,818,343
2059 43,506,737 29,198,891
2058 43,809,907 29,580,044
2057 44,112,668 29,958,884
2056 44,415,689 30,335,136
2055 44,691,749 30,710,041
2054 44,958,971 31,080,334
2053 45,223,225 31,447,868
2052 45,470,541 31,811,171
2051 45,695,307 32,170,929
2050 45,911,520 32,525,262
2049 46,127,777 32,875,483
2048 46,322,244 33,217,836
2047 46,510,152 33,556,749
2046 46,687,914 33,892,646
2045 46,858,778 34,221,999
2044 47,016,278 34,547,153
2043 47,158,325 34,869,270
2042 47,301,091 35,189,550
2041 47,434,593 35,507,946
2040 47,563,236 35,823,225
2039 47,685,343 36,141,658
2038 47,798,797 36,457,134
2037 47,910,899 36,772,578
2036 48,020,350 37,084,252
2035 48,124,430 37,396,243
2034 48,220,051 37,706,533
2033 48,311,842 38,015,585
2032 48,402,470 38,322,554
2031 48,495,278 38,630,259
2030 48,579,920 38,935,791
2029 48,648,699 39,238,099
2028 48,707,969 39,537,815
2027 48,758,200 39,830,895
2026 48,806,901 40,125,599
2025 48,838,057 38,707,520
2024 48,848,840 37,860,221
2023 48,352,528 37,732,836
2022 47,786,102 41,048,766
2021 47,443,821 44,298,640
2020 47,359,424 44,680,014
2019 47,118,501 44,957,458
2018 46,782,011 45,208,907
2017 46,571,232 45,436,041
2016 46,458,139 45,616,832
2015 46,422,303 45,784,896
2014 46,460,733 45,972,380
2013 46,604,197 46,126,770
2012 46,773,055 46,210,056
2011 46,742,697 46,307,853
2010 46,576,897 46,456,003
2009 46,362,946 46,623,731
2008 45,954,106 46,819,175
2007 45,226,803 47,062,798
2006 44,397,319 47,278,694
2005 43,653,155 47,585,556
2004 42,921,895 47,979,507
2003 42,187,645 48,315,136
2002 41,431,558 48,677,281
2001 40,850,412 49,106,855
2000 40,567,864 49,556,660
1999 40,386,875 49,976,446
1998 40,223,509 50,379,731
1997 40,057,389 50,786,885
1996 39,889,852 51,226,109
1995 39,724,050 51,665,539
1994 39,549,108 52,075,998
1993 39,361,262 52,350,126
1992 39,157,685 52,323,671
1991 38,966,376 52,170,961
1990 38,867,322 52,054,092
1989 38,827,764 51,917,817
1988 38,766,939 51,724,853
1987 38,684,815 51,515,732
1986 38,584,624 51,318,745
1985 38,469,512 51,108,770
1984 38,330,364 50,887,599
1983 38,171,525 50,637,029
1982 37,986,012 50,402,724
1981 37,758,631 50,189,281
1980 37,491,165 49,955,152
1979 37,191,330 49,721,381
1978 36,864,898 49,521,243
1977 36,511,638 49,336,481
1976 36,137,812 49,120,842
1975 35,757,900 48,865,229
1974 35,373,335 48,576,570
1973 34,988,947 48,277,121
1972 34,604,469 47,946,893
1971 34,224,490 47,573,287
1970 33,814,531 47,261,306
1969 33,441,054 46,976,256
1968 33,113,134 46,614,325
1967 32,682,947 46,215,988
1966 32,283,194 45,802,519
1965 31,954,292 45,386,892
1964 31,609,195 44,951,156
1963 31,296,651 44,462,372
1962 31,023,366 43,943,674
1961 30,739,250 43,399,766
1960 30,455,000 42,824,093

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

From 2006 to 2016, the population of Spain increased by 2,060,820 people (a 4.64% growth), while Ukraine lost 1,661,862 people (a 3.52% decline).

For the next 10 years, from 2016 to 2026, Spain gained 2,348,762 people (a 5.06% growth), while Ukraine's population decreased by 5,491,233 people (a 12% decline).

Spain was ranked 28th most populous country in 2006 and is 32nd in 2026. Ukraine was ranked 27th in 2006 and ranked 40th 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 Ukraine will decrease by 18.9% to 32,525,262 people and rank change from 40th to 60th.

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

Population growth rate by year

Spain
Factual

Projection
Ukraine
Factual

Projection
1x
Year Growth rate
Spain Ukraine
2100 -0.52% -1.64%
2099 -0.51% -1.63%
2098 -0.5% -1.63%
2097 -0.48% -1.63%
2096 -0.48% -1.62%
2095 -0.47% -1.63%
2094 -0.46% -1.63%
2093 -0.46% -1.63%
2092 -0.46% -1.62%
2091 -0.48% -1.63%
2090 -0.48% -1.62%
2089 -0.47% -1.62%
2088 -0.46% -1.62%
2087 -0.46% -1.62%
2086 -0.48% -1.62%
2085 -0.49% -1.62%
2084 -0.5% -1.61%
2083 -0.51% -1.61%
2082 -0.53% -1.6%
2081 -0.55% -1.59%
2080 -0.57% -1.58%
2079 -0.58% -1.57%
2078 -0.61% -1.56%
2077 -0.64% -1.55%
2076 -0.67% -1.53%
2075 -0.7% -1.52%
2074 -0.71% -1.51%
2073 -0.74% -1.49%
2072 -0.74% -1.48%
2071 -0.77% -1.47%
2070 -0.76% -1.46%
2069 -0.79% -1.44%
2068 -0.78% -1.43%
2067 -0.79% -1.41%
2066 -0.78% -1.4%
2065 -0.8% -1.39%
2064 -0.78% -1.37%
2063 -0.79% -1.35%
2062 -0.77% -1.34%
2061 -0.73% -1.32%
2060 -0.72% -1.3%
2059 -0.69% -1.29%
2058 -0.69% -1.26%
2057 -0.68% -1.24%
2056 -0.62% -1.22%
2055 -0.59% -1.19%
2054 -0.58% -1.17%
2053 -0.54% -1.14%
2052 -0.49% -1.12%
2051 -0.47% -1.09%
2050 -0.47% -1.07%
2049 -0.42% -1.03%
2048 -0.4% -1.01%
2047 -0.38% -0.99%
2046 -0.36% -0.96%
2045 -0.33% -0.94%
2044 -0.3% -0.92%
2043 -0.3% -0.91%
2042 -0.28% -0.9%
2041 -0.27% -0.88%
2040 -0.26% -0.88%
2039 -0.24% -0.87%
2038 -0.23% -0.86%
2037 -0.23% -0.84%
2036 -0.22% -0.83%
2035 -0.2% -0.82%
2034 -0.19% -0.81%
2033 -0.19% -0.8%
2032 -0.19% -0.8%
2031 -0.17% -0.78%
2030 -0.14% -0.77%
2029 -0.12% -0.76%
2028 -0.1% -0.74%
2027 -0.1% -0.73%
2026 -0.06% 3.66%
2025 -0.02% 2.24%
2024 1.03% 0.34%
2023 1.19% -8.08%
2022 0.72% -7.34%
2021 0.18% -0.85%
2020 0.51% -0.62%
2019 0.72% -0.56%
2018 0.45% -0.5%
2017 0.24% -0.4%
2016 0.08% -0.37%
2015 -0.08% -0.41%
2014 -0.31% -0.33%
2013 -0.36% -0.18%
2012 0.06% -0.21%
2011 0.36% -0.32%
2010 0.46% -0.36%
2009 0.89% -0.42%
2008 1.61% -0.52%
2007 1.87% -0.46%
2006 1.7% -0.64%
2005 1.7% -0.82%
2004 1.74% -0.69%
2003 1.82% -0.74%
2002 1.42% -0.87%
2001 0.7% -0.91%
2000 0.45% -0.84%
1999 0.41% -0.8%
1998 0.41% -0.8%
1997 0.42% -0.86%
1996 0.42% -0.85%
1995 0.44% -0.79%
1994 0.48% -0.52%
1993 0.52% 0.05%
1992 0.49% 0.29%
1991 0.25% 0.22%
1990 0.1% 0.26%
1989 0.16% 0.37%
1988 0.21% 0.41%
1987 0.26% 0.38%
1986 0.3% 0.41%
1985 0.36% 0.43%
1984 0.42% 0.49%
1983 0.49% 0.46%
1982 0.6% 0.43%
1981 0.71% 0.47%
1980 0.81% 0.47%
1979 0.89% 0.4%
1978 0.97% 0.37%
1977 1.03% 0.44%
1976 1.06% 0.52%
1975 1.09% 0.59%
1974 1.1% 0.62%
1973 1.11% 0.69%
1972 1.11% 0.79%
1971 1.21% 0.66%
1970 1.12% 0.61%
1969 0.99% 0.78%
1968 1.32% 0.86%
1967 1.24% 0.9%
1966 1.03% 0.92%
1965 1.09% 0.97%
1964 1% 1.1%
1963 0.88% 1.18%
1962 0.92% 1.25%
1961 0.93% 1.34%

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

In 2024, the population of Spain grew by 1.03%, while Ukraine's population grew by 0.34%.

Live population counters

Spain Ukraine
Current population
48806901
40125599
Population rank 32/197 40/197
Percent of world population 0.59% 0.48%
One net population change
1.06 minutes
4.13 minutes
One birth every
1.62 minutes
2.48 minutes
One death every
1.21 minutes
1.06 minutes
Daily growth/decline +1,360 +349
Annual growth/decline +496,312 +127,385
Annual growth/decline rate +1.03% +0.34%
Population growth rate rank 100/197 147/197
One migration net change every
5.45 minutes
18.6 seconds
Annual migration change +96,630 +1,702,358
Net migration rank 17/196 1/196
Foreign-born residents 8,870,527 5,064,173
Foreign-born residents rank 6/195 14/195
Foreign-born share of population 18.5% 13.4%
Foreign-born share rank 32/195 51/195

Natural population change vs migration

Spain
Natural

Migration
Ukraine
Natural

Migration
1x
Year Population change
Spain Ukraine
Natural Migration Natural Migration
2025 - 96,630 - 1,702,358
2024 - 111,674 - 1,146,012
2023 -111,211 119,099 -283,185 -299,961
2022 -133,801 299,779 -349,284 -5,699,445
2021 -113,865 144,385 -449,941 -1,129
2020 -151,551 236,854 -307,533 -4,167
2019 -56,542 464,783 -236,296 -6,908
2018 -56,139 337,467 -227,491 -32,220
2017 -32,600 201,135 -158,390 -36,155
2016 0 106,474 -135,710 -31,340
2015 -4,642 -1,979 -147,107 -21,992
2014 32,522 -97,870 -140,216 -65,678
2013 37,284 -250,741 -129,662 26,781
2012 51,450 -153,486 -130,451 66,768
2011 84,137 60,761 -158,372 26,457
2010 102,469 69,406 -180,388 16,030
2009 106,635 129,557 -197,918 26,796
2008 133,267 434,135 -229,086 9,312
2007 108,545 772,317 -282,659 15,237
2006 110,994 659,720 -300,787 136,442
2005 78,576 629,803 -337,857 -111,493
2004 85,844 661,158 -344,157 5,644
2003 54,844 658,428 -351,299 18,540
2002 53,861 737,880 -364,544 -26,991
2001 44,936 181,307 -374,734 -92,847
2000 36,512 176,269 -364,143 -67,865
1999 8,077 178,559 -348,286 -59,247
1998 4,022 182,926 -318,299 -80,684
1997 20,028 165,345 -306,549 -108,735
1996 11,967 162,704 -305,154 -158,008
1995 15,889 162,434 -281,629 -134,053
1994 31,639 160,407 -238,820 -166,380
1993 47,234 160,907 -169,405 26,357
1992 62,652 177,544 -95,857 291,788
1991 58,450 122,841 -16,486 125,962
1990 66,075 -30,684 48,463 75,760
1989 81,538 -25,892 106,431 36,978
1988 100,794 -17,663 162,002 75,637
1987 116,054 -12,681 198,850 -18,275
1986 131,188 -13,540 225,751 -12,369
1985 146,184 -589 201,011 5,546
1984 172,487 2,754 222,430 13,340
1983 183,223 1,241 241,741 23,608
1982 231,714 -7,384 194,101 9,096
1981 237,879 2,563 182,839 40,807
1980 281,184 20,166 197,223 47,406
1979 312,407 -5,929 197,294 25,635
1978 339,157 -2,504 206,554 -29,180
1977 361,465 -1,332 216,932 -24,745
1976 375,834 2,804 247,323 -8,219
1975 371,882 -218 256,787 15,336
1974 396,182 105,838 273,486 31,725
1973 374,381 8,624 274,938 18,777
1972 391,030 7,935 309,785 56,928
1971 369,625 7,363 305,849 74,604
1970 378,723 -60,580 291,839 -48,335
1969 367,851 -49,956 274,858 51,763
1968 387,423 -46,088 295,162 102,096
1967 402,001 -42,344 313,899 85,527
1966 397,084 -41,467 337,794 89,737
1965 405,819 -42,476 334,365 69,354
1964 429,885 -41,461 391,120 76,650
1963 394,338 -44,446 449,648 60,178
1962 384,690 -45,211 481,887 45,712
1961 396,537 -46,517 508,602 51,625
1960 398,960 -154,869 538,812 52,281

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

GeoRank.org/population/spain/ukraine | 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 Ukraine 28.2% is from natural causes (a loss of 2,435,153 people) and 71.8% is from migration (a loss of 6,198,995 people).

As of 2024, 8,870,527 residents or 18.5% of the population were not native-born in Spain, compared to 5,064,173 people or 13.4% in Ukraine.

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
Ukraine
City Population
Kyiv 2.95M
Kharkiv 1.42M
Odesa 1.01M
Dnipro 969K
Donetsk 902K
Lviv 717K
Zaporizhia 710K
Kryvyi Rih 604K
Mykolaiv 470K
Luhansk 418K

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