Skip to content

Population density: Morocco vs Sri Lanka compared

Updated on by Georank team

Morocco has a population density of 225.1 people per square mile compared to 928 people in Sri Lanka. Morocco has 126,220 sq ft of land per person vs 32,224 sq ft in Sri Lanka. Morocco and Sri Lanka rank 102nd and 25th 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.27% of the population and 0.04% of the land area for Sri Lanka, making the population density in Morocco 75.7% lower than in Sri Lanka.

Population density by year

Morocco
Sri Lanka

people per square mile

1x
Year Population density
Morocco Sri Lanka
2026 225.1 928
2025 223.1 923
2024 221 918
2023 218.9 923
2022 216.6 929
2021 214.5 928
2020 212.3 918
2019 210.1 913
2018 208 907
2017 205.7 898
2016 203.2 888
2015 200.8 878
2014 198.5 858
2013 196.1 850
2012 193.6 874
2011 191 868
2010 188.4 862
2009 185.9 857
2008 183.4 852
2007 181 846
2006 178.6 841
2005 176.2 835
2004 173.8 830
2003 171.6 824
2002 169.4 818
2001 167.2 810
2000 164.9 797
1999 162.6 782
1998 160.3 768
1997 157.9 754
1996 155.6 739
1995 153.2 725
1994 150.9 714
1993 148.6 703
1992 146.3 691
1991 143.9 680
1990 141.5 675
1989 138.9 671
1988 136.4 664
1987 133.8 657
1986 131.2 650
1985 128.3 642
1984 125.3 638
1983 122.2 636
1982 119.1 631
1981 116 624
1980 112.9 613
1979 110 602
1978 107.2 591
1977 104.5 580
1976 102 570
1975 99.5 560
1974 97.1 550
1973 94.7 539
1972 92.4 529
1971 90.1 518
1970 87.8 507
1969 85.5 496
1968 83.3 485
1967 81.1 473
1966 78.9 462
1965 76.8 451
1964 74.8 440
1963 73 429
1962 71.1 419
1961 69.2 409

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/sri-lanka | CC BY

From 2006 to 2026, population density in Morocco increased by 26%, compared to a 10.4% growth in Sri Lanka.

In 2006, Morocco ranked 105th by population density and is 102nd now. Sri Lanka was 25th in 2006 and still ranks 25th out of 197 currently.

Share of urban population by year

Morocco
Sri Lanka
1x
Year Urban population
Morocco Sri Lanka
2024 62.8% 20.3%
2023 62.7% 20.1%
2022 62.5% 20%
2021 62.3% 19.8%
2020 62.1% 19.7%
2019 61.8% 19.5%
2018 61.6% 19.3%
2017 61.3% 19.2%
2016 61% 19%
2015 60.6% 18.8%
2014 60.3% 18.6%
2013 59.9% 18.4%
2012 59.4% 18.3%
2011 58.9% 17.8%
2010 58.3% 17.2%
2009 57.7% 16.7%
2008 57.1% 16.3%
2007 56.5% 15.9%
2006 56% 15.5%
2005 55.4% 15.2%
2004 55% 14.9%
2003 54.6% 14.7%
2002 54.2% 14.6%
2001 53.9% 14.6%
2000 53.6% 14.6%
1999 53.3% 14.7%
1998 53% 14.9%
1997 52.6% 15.2%
1996 52.2% 15.5%
1995 51.8% 15.9%
1994 51.2% 16.3%
1993 50.4% 16.7%
1992 49.8% 17.1%
1991 49.2% 17.6%
1990 48.4% 18.1%
1989 47.7% 18.6%
1988 46.9% 19%
1987 46.2% 19.5%
1986 45.4% 19.9%
1985 44.7% 20.3%
1984 44% 20.7%
1983 43.3% 21%
1982 42.6% 21.3%
1981 41.8% 21.5%
1980 41.1% 21.6%
1979 40.4% 21.8%
1978 39.7% 21.9%
1977 39% 22%
1976 38.3% 22.1%
1975 37.6% 22.2%
1974 37% 22.3%
1973 36.3% 22.4%
1972 35.7% 22.4%
1971 35% 22.4%
1970 34.5% 22.3%
1969 33.9% 22%
1968 33.3% 21.5%
1967 32.8% 21%
1966 32.2% 20.4%
1965 31.7% 19.8%
1964 31.2% 19.3%
1963 30.7% 18.9%
1962 30.2% 18.5%
1961 29.7% 18%
1960 29.4% 17.6%

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

GeoRank.org/population-density/morocco/sri-lanka | CC BY

From 2004 to 2024, the share of urban population changed from 55% to 62.8% in Morocco and from 14.9% to 20.3% in Sri Lanka.

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
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 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/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 | 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. Wikidata (2001–2025, 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.