Skip to content
World Measure
Compare · Countries

🇲🇦 Morocco vs 🇪🇸 Spain

Population difference
10,924,373
38.4M
Morocco
49.4M
Spain
28.4%
Spain is larger by

35 indicators below, published by both countries and set side by side. They differ most on maternal mortality, where Morocco’s figure is 23.3× higher.

Indicators compared
35
Published by both countries
Morocco
by population · Africa
Spain
by population · Europe

Side by Side

Each bar is scaled against the larger of the two values, so the gap is visible rather than only stated.

Population
Morocco38,430,770
Spain49,355,143
Land Areakm²
Morocco446,300 km²
Spain499,697 km²
Population Density/km²
Morocco85/km²
Spain97/km²
Life Expectancyyears
Morocco75.5 years
Spain83.9 years
GDP per Capita
Morocco$4,672
Spain$38,627
Urban Population
Morocco63.1%
Spain80.5%

Bars compare magnitude only. A larger value is not a better one — several of these indicators have no better direction, and for others the lower figure is the favourable one.

Every Shared Indicator

35 indicators published for both countries. Bold marks the larger of the two values — larger is not always better. Ranks are out of the countries that report each indicator.

Every indicator published for both Morocco and Spain, side by side
IndicatorMoroccoSpainMorocco vs Spain
Population38,430,77041st of 24049,355,14332nd of 24022% lower
Annual Growth Rate+0.91%114th of 240+1.03%107th of 24011% lower
Population Density/km²85/km²126th of 24097/km²116th of 24013% lower
Land Areakm²446,300 km²55th of 240499,697 km²51st of 24011% lower
Urban Population63.1%131st of 24080.5%63rd of 24022% lower
GDP per Capita$4,672167th of 240$38,62750th of 2408.3× lower
GDP Growth+4.6%60th of 210+2.8%120th of 2101.6× higher
Life Expectancyyears75.5 years121st of 24083.9 years12th of 24010% lower
Fertility Ratebirths per woman2.21 births per woman96th of 2401.10 births per woman227th of 2402.0× higher
Birth Rateper 1,00016.4 per 1,00094th of 2136.5 per 1,000205th of 2132.5× higher
Death Rateper 1,0005.7 per 1,000166th of 2138.9 per 1,00062nd of 21336% lower
Infant Mortalityper 1,000 live births14.7 per 1,000 live births108th of 1942.6 per 1,000 live births20th of 1945.7× higher
Unemployment Rate9.0%142nd of 18610.4%150th of 18613% lower
Inflation Rate0.7%159th of 1912.7%101st of 1913.8× lower
Poverty Rate3.9%3rd of 16420.2%75th of 1645.2× lower
Gini Index39.5119th of 17033.462nd of 17018% higher
Health Spendingof GDP6.1% of GDP103rd of 1929.2% of GDP42nd of 19234% lower
Physiciansper 1,0000.74 per 1,000139th of 2064.29 per 1,00024th of 2065.8× lower
Hospital Bedsper 1,0000.73 per 1,000172nd of 1992.91 per 1,00074th of 1994.0× lower
Literacy Rate64.3%152nd of 17599.7%16th of 17536% lower
Education Spendingof GDP6.0% of GDP28th of 2024.6% of GDP78th of 20231% higher
School Enrollmentgross, secondary90.0% gross, secondary114th of 207118.5% gross, secondary19th of 20724% lower
Renewable Energyof final consumption10.9% of final consumption142nd of 21119.0% of final consumption110th of 21143% lower
Forest Coverageof land area12.9% of land area147th of 21137.2% of land area81st of 2112.9× lower
Internet Penetration91.2%54th of 21195.8%25th of 2115% lower
Mobile Subscriptionsper 100 people153.1 per 100 people30th of 212130.3 per 100 people58th of 21218% higher
Maternal Mortalityper 100,000 live births70 per 100,000 live births116th of 1933 per 100,000 live births6th of 19367 per 100,000 live births apart
Military Spendingof GDP3.52% of GDP23rd of 1631.43% of GDP95th of 1632.5× higher
Protected Areasof land area2.1% of land area199th of 21128.1% of land area47th of 21126.0 points apart
Median Ageyears29.8 years137th of 24045.9 years16th of 24035% lower
Mean Years of Schoolingyears6.8 years115th of 14811.5 years40th of 14841% lower
Human Development Index0.710119th of 1920.91828th of 19223% lower
Happiness Index/ 104.65/ 10120th of 1646.54/ 1041st of 16429% lower
CO₂ Emissionstonnes per capita1.81 tonnes per capita135th of 2124.60 tonnes per capita75th of 2122.5× lower
Obesity Rate22.0%113th of 19818.9%127th of 19816% higher

Values are each country’s most recent published observation, so the two sides of a row may be from different years — the country pages show the year for each. Bold marks the larger of the two, which is not always the better one.

Population, 1950–2100

Observed to 2024, then the UN medium-variant projection.

MoroccoSpain
010M20M30M40M50M19501971199320142036205720792100projected →
Source: UN World Population Prospects 2024. Values from 2025 onward are projections, not observations.
Morocco and Spain population, 1950 to 2100
SeriesYearValue
Morocco19508.94M
Morocco197517.2M
Morocco200028.4M
Morocco202538.4M
Morocco205043.4M
Morocco207542.5M
Morocco210037.9M
Spain195028.1M
Spain197535.8M
Spain200041M
Spain202547.9M
Spain205044.9M
Spain207537.6M
Spain210033.1M

Reading This Comparison

Size is not the same as rate

Totals and per-capita measures answer different questions. A country can have a far larger economy and a far lower GDP per capita at the same time — both facts are in the table.

Mind the vintages

Each value is the latest available for that country, which is not always the same year on both sides. For indicators that move slowly this rarely matters; for inflation or GDP growth it can.

More Comparisons