Skip to content

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

Updated on by Georank team

The latest officially reported population of Somalia was 19,009,151 in 2024 vs 48,848,840 people in Spain in 2024. In 2026, based on the adjusted UN estimation, the current Somalia's population is 20,503,678 people compared to 48,806,901 in Spain.

Population statistics:

  • Spain's population is 2.38 times bigger than Somalia's.
  • Somalia is ranked the 66th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.84% of the world: 0.25% for Somalia vs 0.59% for Spain.
  • For the last 10 years, Somalia has had an average growth rate of +3.61% per year vs +0.43% in Spain.
  • Since 2006, the population of Somalia has increased from 11M people to 20.5M (86.8% growth), while Spain has grown from 44.4M to 48.8M (9.93% growth).

Somalia vs Spain: population by year and forecast

Somalia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Somalia Spain
2100 68,384,185 33,862,981
2099 68,040,371 34,039,965
2098 67,702,230 34,215,187
2097 67,362,336 34,387,116
2096 66,972,933 34,552,002
2095 66,585,659 34,719,411
2094 66,179,819 34,882,039
2093 65,760,590 35,044,043
2092 65,324,261 35,204,657
2091 64,852,843 35,366,895
2090 64,362,727 35,535,838
2089 63,922,797 35,707,942
2088 63,464,036 35,877,681
2087 62,987,028 36,043,209
2086 62,447,029 36,210,710
2085 61,873,597 36,386,207
2084 61,318,916 36,564,622
2083 60,761,800 36,749,680
2082 60,187,980 36,936,644
2081 59,676,722 37,133,976
2080 59,100,915 37,337,517
2079 58,477,428 37,551,557
2078 57,852,528 37,771,135
2077 57,211,821 38,002,963
2076 56,602,463 38,249,247
2075 56,005,600 38,506,040
2074 55,330,165 38,777,715
2073 54,651,918 39,056,249
2072 53,978,548 39,348,447
2071 53,284,016 39,642,346
2070 52,573,210 39,949,413
2069 51,878,214 40,256,590
2068 51,197,653 40,575,543
2067 50,493,028 40,893,798
2066 49,779,172 41,218,263
2065 49,024,665 41,543,254
2064 48,265,876 41,878,338
2063 47,522,361 42,208,320
2062 46,785,920 42,542,893
2061 46,037,526 42,874,096
2060 45,220,507 43,191,452
2059 44,397,936 43,506,737
2058 43,659,021 43,809,907
2057 42,897,422 44,112,668
2056 42,121,542 44,415,689
2055 41,318,179 44,691,749
2054 40,513,141 44,958,971
2053 39,744,995 45,223,225
2052 38,992,177 45,470,541
2051 38,228,872 45,695,307
2050 37,471,735 45,911,520
2049 36,739,905 46,127,777
2048 35,984,999 46,322,244
2047 35,218,863 46,510,152
2046 34,462,403 46,687,914
2045 33,717,596 46,858,778
2044 32,977,674 47,016,278
2043 32,247,710 47,158,325
2042 31,537,272 47,301,091
2041 30,794,853 47,434,593
2040 30,032,324 47,563,236
2039 29,312,883 47,685,343
2038 28,583,386 47,798,797
2037 27,838,646 47,910,899
2036 27,114,453 48,020,350
2035 26,385,421 48,124,430
2034 25,687,629 48,220,051
2033 25,018,509 48,311,842
2032 24,338,597 48,402,470
2031 23,657,353 48,495,278
2030 22,965,742 48,579,920
2029 22,299,610 48,648,699
2028 21,651,582 48,707,969
2027 20,991,860 48,758,200
2026 20,322,668 48,806,901
2025 19,666,990 48,838,057
2024 19,009,151 48,848,840
2023 18,358,615 48,352,528
2022 17,801,897 47,786,102
2021 17,271,431 47,443,821
2020 16,651,191 47,359,424
2019 16,030,971 47,118,501
2018 15,452,487 46,782,011
2017 14,916,629 46,571,232
2016 14,348,740 46,458,139
2015 13,806,963 46,422,303
2014 13,339,491 46,460,733
2013 12,869,594 46,604,197
2012 12,461,160 46,773,055
2011 12,348,830 46,742,697
2010 12,261,756 46,576,897
2009 11,961,201 46,362,946
2008 11,663,084 45,954,106
2007 11,322,582 45,226,803
2006 10,975,502 44,397,319
2005 10,644,228 43,653,155
2004 10,280,998 42,921,895
2003 9,909,157 42,187,645
2002 9,550,063 41,431,558
2001 9,198,493 40,850,412
2000 8,838,713 40,567,864
1999 8,492,059 40,386,875
1998 8,155,417 40,223,509
1997 7,824,525 40,057,389
1996 7,554,474 39,889,852
1995 7,285,007 39,724,050
1994 7,026,797 39,549,108
1993 6,681,399 39,361,262
1992 6,495,107 39,157,685
1991 6,813,760 38,966,376
1990 7,082,811 38,867,322
1989 7,114,817 38,827,764
1988 7,235,360 38,766,939
1987 7,228,302 38,684,815
1986 6,974,788 38,584,624
1985 6,693,289 38,469,512
1984 6,428,389 38,330,364
1983 6,198,430 38,171,525
1982 6,003,840 37,986,012
1981 5,982,849 37,758,631
1980 5,936,154 37,491,165
1979 5,449,117 37,191,330
1978 4,814,892 36,864,898
1977 4,484,050 36,511,638
1976 4,365,812 36,137,812
1975 4,257,535 35,757,900
1974 4,151,842 35,373,335
1973 4,045,592 34,988,947
1972 3,939,436 34,604,469
1971 3,837,691 34,224,490
1970 3,738,448 33,814,531
1969 3,641,015 33,441,054
1968 3,546,590 33,113,134
1967 3,454,537 32,682,947
1966 3,365,106 32,283,194
1965 3,277,874 31,954,292
1964 3,192,796 31,609,195
1963 3,110,361 31,296,651
1962 3,030,091 31,023,366
1961 2,952,054 30,739,250
1960 2,876,331 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/somalia/spain | CC BY

From 2006 to 2016, the population of Somalia increased by 3,373,238 people (a 30.7% growth), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, Somalia gained 6,154,938 people (a 42.9% growth), while Spain's population increased by 2,348,762 people (a 5.06% growth).

Somalia was ranked 75th most populous country in 2006 and is 66th 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) Somalia's population will grow by 82.8% to 37,471,735 people with a rank change from 66th to 57th. The population of Spain will decrease by 5.93% to 45,911,520 people and rank change from 32nd to 47th.

Somalia is projected to reach its peak in 2100 at 68.4M 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

Somalia
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
Somalia Spain
2100 0.51% -0.52%
2099 0.5% -0.51%
2098 0.5% -0.5%
2097 0.58% -0.48%
2096 0.58% -0.48%
2095 0.61% -0.47%
2094 0.64% -0.46%
2093 0.67% -0.46%
2092 0.73% -0.46%
2091 0.76% -0.48%
2090 0.69% -0.48%
2089 0.72% -0.47%
2088 0.76% -0.46%
2087 0.86% -0.46%
2086 0.93% -0.48%
2085 0.9% -0.49%
2084 0.92% -0.5%
2083 0.95% -0.51%
2082 0.86% -0.53%
2081 0.97% -0.55%
2080 1.07% -0.57%
2079 1.08% -0.58%
2078 1.12% -0.61%
2077 1.08% -0.64%
2076 1.07% -0.67%
2075 1.22% -0.7%
2074 1.24% -0.71%
2073 1.25% -0.74%
2072 1.3% -0.74%
2071 1.35% -0.77%
2070 1.34% -0.76%
2069 1.33% -0.79%
2068 1.4% -0.78%
2067 1.43% -0.79%
2066 1.54% -0.78%
2065 1.57% -0.8%
2064 1.56% -0.78%
2063 1.57% -0.79%
2062 1.63% -0.77%
2061 1.81% -0.73%
2060 1.85% -0.72%
2059 1.69% -0.69%
2058 1.78% -0.69%
2057 1.84% -0.68%
2056 1.94% -0.62%
2055 1.99% -0.59%
2054 1.93% -0.58%
2053 1.93% -0.54%
2052 2% -0.49%
2051 2.02% -0.47%
2050 1.99% -0.47%
2049 2.1% -0.42%
2048 2.18% -0.4%
2047 2.2% -0.38%
2046 2.21% -0.36%
2045 2.24% -0.33%
2044 2.26% -0.3%
2043 2.25% -0.3%
2042 2.41% -0.28%
2041 2.54% -0.27%
2040 2.45% -0.26%
2039 2.55% -0.24%
2038 2.68% -0.23%
2037 2.67% -0.23%
2036 2.76% -0.22%
2035 2.72% -0.2%
2034 2.67% -0.19%
2033 2.79% -0.19%
2032 2.88% -0.19%
2031 3.01% -0.17%
2030 2.99% -0.14%
2029 2.99% -0.12%
2028 3.14% -0.1%
2027 3.29% -0.1%
2026 3.33% -0.06%
2025 3.46% -0.02%
2024 3.54% 1.03%
2023 3.13% 1.19%
2022 3.07% 0.72%
2021 3.72% 0.18%
2020 3.87% 0.51%
2019 3.74% 0.72%
2018 3.59% 0.45%
2017 3.96% 0.24%
2016 3.92% 0.08%
2015 3.5% -0.08%
2014 3.65% -0.31%
2013 3.28% -0.36%
2012 0.91% 0.06%
2011 0.71% 0.36%
2010 2.51% 0.46%
2009 2.56% 0.89%
2008 3.01% 1.61%
2007 3.16% 1.87%
2006 3.11% 1.7%
2005 3.53% 1.7%
2004 3.75% 1.74%
2003 3.76% 1.82%
2002 3.82% 1.42%
2001 4.07% 0.7%
2000 4.08% 0.45%
1999 4.13% 0.41%
1998 4.23% 0.41%
1997 3.57% 0.42%
1996 3.7% 0.42%
1995 3.67% 0.44%
1994 5.17% 0.48%
1993 2.87% 0.52%
1992 -4.68% 0.49%
1991 -3.8% 0.25%
1990 -0.45% 0.1%
1989 -1.67% 0.16%
1988 0.1% 0.21%
1987 3.63% 0.26%
1986 4.21% 0.3%
1985 4.12% 0.36%
1984 3.71% 0.42%
1983 3.24% 0.49%
1982 0.35% 0.6%
1981 0.79% 0.71%
1980 8.94% 0.81%
1979 13.2% 0.89%
1978 7.38% 0.97%
1977 2.71% 1.03%
1976 2.54% 1.06%
1975 2.55% 1.09%
1974 2.63% 1.1%
1973 2.69% 1.11%
1972 2.65% 1.11%
1971 2.65% 1.21%
1970 2.68% 1.12%
1969 2.66% 0.99%
1968 2.66% 1.32%
1967 2.66% 1.24%
1966 2.66% 1.03%
1965 2.66% 1.09%
1964 2.65% 1%
1963 2.65% 0.88%
1962 2.64% 0.92%
1961 2.63% 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/somalia/spain | CC BY

In 2024, the population of Somalia grew by 3.54%, while Spain's population grew by 1.03%.

Live population counters

Somalia Spain
Current population
20503678
48806901
Population rank 66/197 32/197
Percent of world population 0.25% 0.59%
One net population change
48.5 seconds
1.06 minutes
One birth every
40 seconds
1.62 minutes
One death every
2.91 minutes
1.21 minutes
Daily growth/decline +1,782 +1,360
Annual growth/decline +650,536 +496,312
Annual growth/decline rate +3.54% +1.03%
Population growth rate rank 8/197 100/197
One migration net change every
43.6 minutes
5.45 minutes
Annual migration change +12,077 +96,630
Net migration rank 40/196 17/196
Foreign-born residents 77,972 8,870,527
Foreign-born residents rank 140/195 6/195
Foreign-born share of population 0.4% 18.5%
Foreign-born share rank 180/195 32/195

Natural population change vs migration

Somalia
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
Somalia Spain
Natural Migration Natural Migration
2025 - 12,077 - 96,630
2024 - 26,859 - 111,674
2023 608,203 46,217 -111,211 119,099
2022 551,450 -92,434 -133,801 299,779
2021 566,399 35,506 -113,865 144,385
2020 561,311 77,259 -151,551 236,854
2019 548,756 53,124 -56,542 464,783
2018 514,244 40,844 -56,139 337,467
2017 478,556 38,067 -32,600 201,135
2016 495,132 124,017 0 106,474
2015 481,573 -17,178 -4,642 -1,979
2014 464,481 6,065 32,522 -97,870
2013 448,518 20,723 37,284 -250,741
2012 399,468 -51,833 51,450 -153,486
2011 203,213 -326,192 84,137 60,761
2010 385,571 -88,448 102,469 69,406
2009 405,784 -101,795 106,635 129,557
2008 394,258 -102,035 133,267 434,135
2007 380,303 8,476 108,545 772,317
2006 372,597 -67,200 110,994 659,720
2005 363,117 -5,955 78,576 629,803
2004 351,959 17,353 85,844 661,158
2003 341,192 33,174 54,844 658,428
2002 331,215 12,603 53,861 737,880
2001 319,059 40,274 44,936 181,307
2000 306,651 53,580 36,512 176,269
1999 295,523 37,548 8,077 178,559
1998 284,779 55,426 4,022 182,926
1997 271,894 49,692 20,028 165,345
1996 264,807 -46,291 11,967 162,704
1995 254,509 65,888 15,889 162,434
1994 246,950 -50,921 31,639 160,407
1993 232,960 261,815 47,234 160,907
1992 57,495 -179,675 62,652 177,544
1991 53,052 -568,166 58,450 122,841
1990 225,162 -248,155 66,075 -30,684
1989 225,255 -266,281 81,538 -25,892
1988 215,599 -415,660 100,794 -17,663
1987 231,580 -17,391 116,054 -12,681
1986 218,416 74,424 131,188 -13,540
1985 207,960 62,183 146,184 -589
1984 199,017 60,630 172,487 2,754
1983 190,775 9,505 183,223 1,241
1982 182,793 6,115 231,714 -7,384
1981 185,211 -332,129 237,879 2,563
1980 174,790 65,519 281,184 20,166
1979 151,016 582,746 312,407 -5,929
1978 132,689 402,005 339,157 -2,504
1977 124,818 2,170 361,465 -1,332
1976 113,319 -3,831 375,834 2,804
1975 108,998 -1,934 371,882 -218
1974 104,813 -495 396,182 105,838
1973 108,038 143 374,381 8,624
1972 104,493 -351 391,030 7,935
1971 101,196 -1,850 369,625 7,363
1970 98,025 1,104 378,723 -60,580
1969 95,045 690 367,851 -49,956
1968 92,208 906 387,423 -46,088
1967 89,497 1,498 402,001 -42,344
1966 86,930 941 397,084 -41,467
1965 84,448 2,142 405,819 -42,476
1964 82,042 1,518 429,885 -41,461
1963 79,859 1,449 394,338 -44,446
1962 77,737 1,496 384,690 -45,211
1961 75,513 1,336 396,537 -46,517
1960 73,850 750 398,960 -154,869

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

GeoRank.org/population/somalia/spain | CC BY

Over the last 10 years, 94.4% of the population change in Somalia is from natural causes (a gain of 5,270,105 people) and 5.58% is from migration (a gain of 311,487 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, 77,972 residents or 0.4% of the population were not native-born in Somalia, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

Somalia
City Population
Mogadishu 2.12M
Hargeisa 1.23M
Baidoa 1.2M
Borama 68.1K
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–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/somalia/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-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. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. 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.