Skip to content

Population density: Morocco vs San Marino compared

Updated on by Georank team

Morocco has a population density of 225.1 people per square mile compared to 1,466 people in San Marino. Morocco has 126,220 sq ft of land per person vs 19,388 sq ft in San Marino. Morocco and San Marino rank 102nd and 16th by population density, respectively.

Population density is calculated as the ratio of population to land area. Morocco has 0.47% of the world's population and 0.3% of all countries' land area, compared to 0.0004% of the population and 0.00004% of the land area for San Marino, making the population density in Morocco 84.6% lower than in San Marino.

Population density by year

Morocco
San Marino

people per square mile

1x
Year Population density
Morocco San Marino
2026 225.1 1,466
2025 223.1 1,464
2024 221 1,467
2023 218.9 1,462
2022 216.6 1,457
2021 214.5 1,479
2020 212.3 1,501
2019 210.1 1,496
2018 208 1,490
2017 205.7 1,460
2016 203.2 1,429
2015 200.8 1,420
2014 198.5 1,410
2013 196.1 1,426
2012 193.6 1,445
2011 191 1,408
2010 188.4 1,436
2009 185.9 1,427
2008 183.4 1,367
2007 181 1,347
2006 178.6 1,303
2005 176.2 1,288
2004 173.8 1,272
2003 171.6 1,202
2002 169.4 1,187
2001 167.2 1,172
2000 164.9 1,157
1999 162.6 1,142
1998 160.3 1,128
1997 157.9 1,114
1996 155.6 1,100
1995 153.2 1,086
1994 150.9 1,072
1993 148.6 1,056
1992 146.3 1,041
1991 143.9 1,027
1990 141.5 1,013
1989 138.9 999
1988 136.4 986
1987 133.8 979
1986 131.2 977
1985 128.3 971
1984 125.3 965
1983 122.2 960
1982 119.1 952
1981 116 943
1980 112.9 932
1979 110 920
1978 107.2 908
1977 104.5 864
1976 102 825
1975 99.5 822
1974 97.1 821
1973 94.7 820
1972 92.4 811
1971 90.1 795
1970 87.8 784
1969 85.5 778
1968 83.3 771
1967 81.1 764
1966 78.9 756
1965 76.8 747
1964 74.8 733
1963 73 716
1962 71.1 699
1961 69.2 682

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/morocco/san-marino | CC BY

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

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

Share of urban population by year

Morocco
San Marino
1x
Year Urban population
Morocco San Marino
2024 62.8% 97.2%
2023 62.7% 97.1%
2022 62.5% 97.1%
2021 62.3% 97.1%
2020 62.1% 97.1%
2019 61.8% 97.1%
2018 61.6% 97.1%
2017 61.3% 97.1%
2016 61% 97.1%
2015 60.6% 97.1%
2014 60.3% 97.1%
2013 59.9% 97.1%
2012 59.4% 97.1%
2011 58.9% 97.1%
2010 58.3% 97.1%
2009 57.7% 96.8%
2008 57.1% 96.4%
2007 56.5% 95.8%
2006 56% 95.2%
2005 55.4% 94.6%
2004 55% 94.2%
2003 54.6% 94%
2002 54.2% 93.9%
2001 53.9% 93.9%
2000 53.6% 93.8%
1999 53.3% 93.5%
1998 53% 93.2%
1997 52.6% 92.9%
1996 52.2% 92.5%
1995 51.8% 92.1%
1994 51.2% 91.7%
1993 50.4% 91.3%
1992 49.8% 90.9%
1991 49.2% 90.7%
1990 48.4% 90.5%
1989 47.7% 90.4%
1988 46.9% 90.4%
1987 46.2% 90.4%
1986 45.4% 90.2%
1985 44.7% 89.5%
1984 44% 88.4%
1983 43.3% 87%
1982 42.6% 85.4%
1981 41.8% 83.6%
1980 41.1% 81.6%
1979 40.4% 79.5%
1978 39.7% 77.5%
1977 39% 75.5%
1976 38.3% 73.6%
1975 37.6% 71.4%
1974 37% 68.9%
1973 36.3% 66.3%
1972 35.7% 63.8%
1971 35% 61.6%
1970 34.5% 59.8%
1969 33.9% 58.3%
1968 33.3% 57%
1967 32.8% 55.7%
1966 32.2% 54.5%
1965 31.7% 53.4%
1964 31.2% 52.4%
1963 30.7% 51.4%
1962 30.2% 50.5%
1961 29.7% 49.7%
1960 29.4% 48.9%

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

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

From 2004 to 2024, the share of urban population changed from 55% to 62.8% in Morocco and from 94.2% to 97.2% in San Marino.

Densely populated cities

Morocco
City Population
Casablanca 3.22M
Tangier 1.28M
Fez 1.17M
Marrakesh 1M
Sale 945K
Meknes 601K
Rabat 573K
Agadir 538K
Kenitra 508K
Oujda 506K

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/morocco/san-marino | 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 (2014–2024, 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.