Compare
Afghanistan vs Morocco
How Afghanistan and Morocco compare on 39 measures, from 1789 to 2025. The main differences:
- Life expectancy · In 2023, Morocco was higher: 75.3 years against 66 years
- GDP per person · In 2024, Morocco was higher: $3,516 against $374
- Population · In 2023, Afghanistan was higher: 41.5 million people against 37.7 million people
- Military spending · In 2021, Morocco was higher: 3.75% of GDP against 1.83% of GDP
- CO₂ per person · In 2024, Morocco was higher: 1.84 tonnes against 0.28 tonnes
Every measure
Health
- Life expectancyAfghanistan: 66 years in 2023Morocco: 75.3 years in 2023
- Child mortalityAfghanistan: 5.3 per 100 live births in 2024Morocco: 1.6 per 100 live births in 2024
- Infant mortalityAfghanistan: 44 per 1,000 live births in 2023Morocco: 14.3 per 1,000 live births in 2023
- Safe drinking waterAfghanistan: 30% in 2022Morocco: 74.8% in 2022
- DepressionAfghanistan: 4.14% in 2017Morocco: 5.41% in 2017
- Suicide rateAfghanistan: 9.2 per 100,000 people in 2017Morocco: 7.1 per 100,000 people in 2017
People
- PopulationAfghanistan: 41.5 million people in 2023Morocco: 37.7 million people in 2023
- Population growthAfghanistan: 2.85% a year in 2023Morocco: 1% a year in 2023
- Fertility rateAfghanistan: 4.84 births per woman in 2023Morocco: 2.23 births per woman in 2023
- Urban populationAfghanistan: 25.9% in 2025Morocco: 63.1% in 2025
- Median ageAfghanistan: 16.9 years in 2023Morocco: 29.2 years in 2023
- People aged 65 and overAfghanistan: 2.4% in 2023Morocco: 7.8% in 2023
- Net migration rateAfghanistan: -1.2 per 1,000 people in 2023Morocco: -1.1 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingAfghanistan: 1.83% of GDP in 2021Morocco: 3.54% of GDP in 2025
- Military spending in US dollarsAfghanistan: $8.55M in 1977Morocco: $5.88B in 2025
- Military spending per personAfghanistan: $7 in 2021Morocco: $166 in 2025
- Military share of state spendingAfghanistan: 5% of government spending in 2020Morocco: 10.3% of government spending in 2025
- Armed forces personnelAfghanistan: 165,000 people in 2020Morocco: 246,000 people in 2020
- National powerAfghanistan: 0.29% of world capability in 2022Morocco: 0.4% of world capability in 2022
- Armed forces, share of workersAfghanistan: 1.82% of the labour force in 2020Morocco: 2.07% of the labour force in 2020
- Arms importsAfghanistan: 65 million TIV in 2021Morocco: 392 million TIV in 2025
- Arms exportsAfghanistan: 1 million TIV in 1992Morocco: 26 million TIV in 2024
Climate
Technology and environment
Each country on its own
Good to know
- Sources: UN, Gapminder and UN IGME, WHO/UNICEF, IHME, World Bank, IMF, UNESCO, Our World in Data, V-Dem, UCDP, SIPRI, IISS, Correlates of War, ERA5, CMIP6, EDGAR, ITU and FAO. Each measure’s page names its own and what it counts.
- Values are drawn on today’s borders. Years without a published value are left empty, never filled in.
How the layers work, where their data comes from and what they can’t tell you: Countries through time