Skip to content

Population density: Afghanistan vs El Salvador compared

Updated on by Georank team

Afghanistan has a population density of 179 people per square mile compared to 799 people in El Salvador. Afghanistan has 164,618 sq ft of land per person vs 35,733 sq ft in El Salvador. Afghanistan and El Salvador rank 123rd and 33rd by population density, respectively.

Population density is calculated as the ratio of population to land area. Afghanistan has 0.52% of the world's population and 0.44% of all countries' land area, compared to 0.08% of the population and 0.01% of the land area for El Salvador, making the population density in Afghanistan 77.6% lower than in El Salvador.

Population density by year

Afghanistan
El Salvador

people per square mile

1x
Year Population density
Afghanistan El Salvador
2026 179 799
2025 174.2 796
2024 169.4 792
2023 164.6 789
2022 161.1 785
2021 158.8 782
2020 155.1 779
2019 150.3 778
2018 145.9 777
2017 141.7 777
2016 137.8 775
2015 134.3 773
2014 130.2 770
2013 125.6 767
2012 121.4 764
2011 116.5 761
2010 112.3 759
2009 109.1 756
2008 105.2 754
2007 102.9 751
2006 101 750
2005 96.9 751
2004 93.6 751
2003 90.3 750
2002 84.9 748
2001 80.5 746
2000 79.9 743
1999 79 739
1998 76.1 735
1997 73.3 731
1996 70.5 726
1995 67.8 720
1994 64.5 714
1993 59.3 707
1992 52.7 698
1991 48.6 687
1990 47.8 675
1989 47.2 662
1988 45.8 649
1987 45.2 637
1986 45.3 624
1985 45.4 612
1984 44.4 600
1983 43.4 588
1982 43.6 578
1981 47.4 571
1980 52.3 568
1979 54.2 560
1978 54.1 549
1977 53 538
1976 51.9 526
1975 50.7 512
1974 49.5 501
1973 48.3 489
1972 47.1 478
1971 45.9 467
1970 44.8 456
1969 43.7 444
1968 42.7 432
1967 41.7 421
1966 40.8 409
1965 39.9 397
1964 39 387
1963 38.1 376
1962 37.3 366
1961 36.6 357

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/afghanistan/el-salvador | CC BY

From 2006 to 2026, population density in Afghanistan increased by 77.3%, compared to a 6.51% growth in El Salvador.

In 2006, Afghanistan ranked 135th by population density and is 123rd now. El Salvador was 29th in 2006 and ranks 33rd out of 197 currently.

Share of urban population by year

Afghanistan
El Salvador
1x
Year Urban population
Afghanistan El Salvador
2024 25.7% 75.1%
2023 25.5% 74.6%
2022 25.4% 74.1%
2021 25.3% 73.7%
2020 25.3% 73.1%
2019 25.1% 72.4%
2018 25% 71.8%
2017 24.8% 71.1%
2016 24.7% 70.4%
2015 24.5% 69.7%
2014 24.2% 68.9%
2013 23.8% 68.1%
2012 23.3% 67.2%
2011 22.8% 66.3%
2010 22.3% 65.4%
2009 21.7% 64.5%
2008 21.1% 63.6%
2007 20.6% 62.8%
2006 20.1% 61.9%
2005 19.7% 61%
2004 19.4% 60.1%
2003 19.2% 59.2%
2002 18.9% 58.3%
2001 18.7% 57.5%
2000 18.6% 56.6%
1999 18.4% 55.7%
1998 18.2% 54.8%
1997 18.1% 54%
1996 18% 53.2%
1995 17.8% 52.4%
1994 17.7% 51.7%
1993 17.6% 50.9%
1992 17.5% 50.3%
1991 17.4% 49.6%
1990 17.3% 49%
1989 17.1% 48.3%
1988 17% 47.7%
1987 16.9% 47%
1986 16.8% 46.4%
1985 16.6% 45.7%
1984 16.5% 45.1%
1983 16.3% 44.5%
1982 16.1% 43.9%
1981 15.9% 43.4%
1980 15.7% 42.8%
1979 15.4% 42.3%
1978 15.1% 41.8%
1977 14.7% 41.4%
1976 14.3% 41%
1975 13.8% 40.6%
1974 13.2% 40.2%
1973 12.7% 40%
1972 12.2% 39.7%
1971 11.7% 39.5%
1970 11.2% 39.4%
1969 10.8% 39.3%
1968 10.5% 39.2%
1967 10.2% 39.1%
1966 9.84% 39%
1965 9.53% 38.9%
1964 9.23% 38.8%
1963 8.94% 38.7%
1962 8.66% 38.6%
1961 8.39% 38.5%
1960 8.12% 38.4%

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

GeoRank.org/population-density/afghanistan/el-salvador | CC BY

From 2004 to 2024, the share of urban population changed from 19.4% to 25.7% in Afghanistan and from 60.1% to 75.1% in El Salvador.

Densely populated cities

Afghanistan
City Population
Kabul 5.33M
Kandahar 614K
Herat 556K
Mazar-i-Sharif 469K
Kunduz 357K
Jalalabad 263K
Lashkargah 202K
Sheberghan 176K
Khost 160K
Ghazni 143K
El Salvador
City Population
San Salvador 331K
Santa Ana 251K
San Miguel 233K
Soyapango 230K
Mejicanos 137K
Apopa 129K
Ahuachapan 127K
Santa Tecla 126K
Sonsonate 72.2K
Usulutan 66.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/afghanistan/el-salvador | 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 (2006–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.