Skip to content

Population density: San Marino vs Somalia compared

Updated on by Georank team

San Marino has a population density of 1,466 people per square mile compared to 83.9 people in Somalia. San Marino has 19,388 sq ft of land per person vs 361,073 sq ft in Somalia. San Marino and Somalia rank 16th and 152nd by population density, respectively.

Population density is calculated as the ratio of population to land area. San Marino has 0.0004% of the world's population and 0.00004% of all countries' land area, compared to 0.23% of the population and 0.42% of the land area for Somalia, making the population density in San Marino 1,647% higher than in Somalia.

Population density by year

San Marino
Somalia

people per square mile

1x
Year Population density
San Marino Somalia
2026 1,466 83.9
2025 1,464 81.2
2024 1,467 78.5
2023 1,462 75.8
2022 1,457 73.5
2021 1,479 71.3
2020 1,501 68.7
2019 1,496 66.2
2018 1,490 63.8
2017 1,460 61.6
2016 1,429 59.2
2015 1,420 57
2014 1,410 55.1
2013 1,426 53.1
2012 1,445 51.4
2011 1,408 51
2010 1,436 50.6
2009 1,427 49.4
2008 1,367 48.2
2007 1,347 46.7
2006 1,303 45.3
2005 1,288 43.9
2004 1,272 42.4
2003 1,202 40.9
2002 1,187 39.4
2001 1,172 38
2000 1,157 36.5
1999 1,142 35.1
1998 1,128 33.7
1997 1,114 32.3
1996 1,100 31.2
1995 1,086 30.1
1994 1,072 29
1993 1,056 27.6
1992 1,041 26.8
1991 1,027 28.1
1990 1,013 29.2
1989 999 29.4
1988 986 29.9
1987 979 29.8
1986 977 28.8
1985 971 27.6
1984 965 26.5
1983 960 25.6
1982 952 24.8
1981 943 24.7
1980 932 24.5
1979 920 22.5
1978 908 19.9
1977 864 18.5
1976 825 18
1975 822 17.6
1974 821 17.1
1973 820 16.7
1972 811 16.3
1971 795 15.8
1970 784 15.4
1969 778 15
1968 771 14.6
1967 764 14.3
1966 756 13.9
1965 747 13.5
1964 733 13.2
1963 716 12.8
1962 699 12.5
1961 682 12.2

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (2025–2026, retrieved 2026-03-10).

GeoRank.org/population-density/san-marino/somalia | CC BY

From 2006 to 2026, population density in San Marino increased by 12.5%, compared to a 85.2% growth in Somalia.

In 2006, San Marino ranked 12th by population density and is 16th now. Somalia was 162nd in 2006 and ranks 152nd out of 197 currently.

Share of urban population by year

San Marino
Somalia
1x
Year Urban population
San Marino Somalia
2024 97.2% 54.6%
2023 97.1% 54.1%
2022 97.1% 53.5%
2021 97.1% 52.9%
2020 97.1% 52.3%
2019 97.1% 51.6%
2018 97.1% 51%
2017 97.1% 48.4%
2016 97.1% 45.9%
2015 97.1% 43.9%
2014 97.1% 42.4%
2013 97.1% 41.3%
2012 97.1% 40.3%
2011 97.1% 39.4%
2010 97.1% 38.6%
2009 96.8% 37.8%
2008 96.4% 37.2%
2007 95.8% 36.6%
2006 95.2% 36%
2005 94.6% 35.5%
2004 94.2% 35%
2003 94% 34.5%
2002 93.9% 34%
2001 93.9% 33.5%
2000 93.8% 33.1%
1999 93.5% 32.6%
1998 93.2% 32.2%
1997 92.9% 31.8%
1996 92.5% 31.4%
1995 92.1% 31.1%
1994 91.7% 30.7%
1993 91.3% 30.4%
1992 90.9% 30%
1991 90.7% 29.7%
1990 90.5% 29.4%
1989 90.4% 29.1%
1988 90.4% 28.8%
1987 90.4% 28.5%
1986 90.2% 28.2%
1985 89.5% 28%
1984 88.4% 27.7%
1983 87% 27.5%
1982 85.4% 27.3%
1981 83.6% 27.1%
1980 81.6% 26.8%
1979 79.5% 26.6%
1978 77.5% 26.4%
1977 75.5% 26.1%
1976 73.6% 25.8%
1975 71.4% 25.5%
1974 68.9% 25.2%
1973 66.3% 24.8%
1972 63.8% 24.3%
1971 61.6% 23.8%
1970 59.8% 23.2%
1969 58.3% 22.7%
1968 57% 22.1%
1967 55.7% 21.5%
1966 54.5% 20.9%
1965 53.4% 20.3%
1964 52.4% 19.7%
1963 51.4% 19.2%
1962 50.5% 18.7%
1961 49.7% 18.2%
1960 48.9% 17.7%

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

GeoRank.org/population-density/san-marino/somalia | CC BY

From 2004 to 2024, the share of urban population changed from 94.2% to 97.2% in San Marino and from 35% to 54.6% in Somalia.

Densely populated cities

Somalia
City Population
Mogadishu 2.12M
Hargeisa 1.23M
Baidoa 1.2M
Borama 68.1K

Compare countries by 7 more topics

Population density in other countries

1x

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10); U.S. Census Bureau (1961–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

GeoRank.org/population-density/san-marino/somalia | 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 | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1961–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. Wikidata (2013–2025, 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.