Population
Population data is unavailable for Western Sahara, so a relative difference cannot be calculated.

This comparison uses the latest available atlas values for each country; reporting years can differ by metric.
Proportional bars and relative differences make the headline numbers easier to read.
Population data is unavailable for Western Sahara, so a relative difference cannot be calculated.
Surface area data is unavailable for Western Sahara, so a relative difference cannot be calculated.
Population density data is unavailable for Western Sahara, so a relative difference cannot be calculated.
Nominal GDP data is unavailable for Western Sahara, so a relative difference cannot be calculated.
GDP per capita data is unavailable for Western Sahara, so a relative difference cannot be calculated.
Values use the latest available observations in WorldSumma. Economic reporting years are shown when available and can differ by country.
Rabat
El-Aaiun
38,081,173
—
446,550 km²
—
85.3 /km²
—
$160.61 billion · 2024
—
$4,153 · 2024
—
Africa
Africa
Northern Africa
Northern Africa
Moroccan dirham · MAD · DH
Moroccan dirham · MAD · MAD
Moroccan
Sahrawi, Sahrawian, Sahraouian
+212
+212
.ma
.eh
MA / MAR
EH / ESH
Africa/Casablanca
Africa/El_Aaiun
المغرب
الصحراء الغربية
| Measure | Morocco | Western Sahara |
|---|---|---|
| Capital | Rabat | El-Aaiun |
| Population | 38,081,173 | — |
| Surface area | 446,550 km² | — |
| Population density | 85.3 /km² | — |
| Nominal GDP | $160.61 billion · 2024 | — |
| GDP per capita | $4,153 · 2024 | — |
| Region | Africa | Africa |
| Subregion | Northern Africa | Northern Africa |
| Currency | Moroccan dirham · MAD · DH | Moroccan dirham · MAD · MAD |
| Nationality | Moroccan | Sahrawi, Sahrawian, Sahraouian |
| Phone code | +212 | +212 |
| Internet domain | .ma | .eh |
| ISO codes | MA / MAR | EH / ESH |
| Time zone | Africa/Casablanca | Africa/El_Aaiun |
| Native name | المغرب | الصحراء الغربية |
Keep one country, change both, or start a completely new comparison.
Morocco, officially the Kingdom of Morocco, is a country in North‑West Africa bordered by the Atlantic Ocean, the Mediterranean Sea, Algeria, and Western Sahara.
Full Morocco profile →Western Sahara is a sparsely populated desert territory on the Atlantic coast of North Africa, the status of which remains one of the world's long-running unresolved disputes. Most of it is administered by Morocco, while the Polisario Front seeks an independent state. Its largest city is El-Aaiun.
Full Western Sahara profile →The capital of Morocco is Rabat.
Morocco has a recorded population of approximately 38,081,173 people.
Morocco covers an area of about 446,550 km².
Morocco has a population density of roughly 85.3 /km² (people per square kilometre).
Morocco has a gross domestic product (GDP) of approximately $160.61 billion as of 2024.
Morocco has a GDP per capita of approximately $4,153.
Morocco uses the Moroccan dirham (MAD), with the symbol DH.
Morocco is located in Northern Africa, Africa.
The native name of Morocco is المغرب.
People from Morocco are referred to as Moroccan.
The international dialing code for Morocco is +212.
The country code top-level domain (ccTLD) for Morocco is .ma.
Morocco uses the Africa/Casablanca time zone.
Morocco, officially the Kingdom of Morocco, is a country in North‑West Africa bordered by the Atlantic Ocean, the Mediterranean Sea, Algeria, and Western Sahara.
The capital of Western Sahara is El-Aaiun.
Western Sahara uses the Moroccan dirham (MAD), with the symbol MAD.
Western Sahara is located in Northern Africa, Africa.
The native name of Western Sahara is الصحراء الغربية.
People from Western Sahara are referred to as Sahrawi, Sahrawian, Sahraouian.
The international dialing code for Western Sahara is +212.
The country code top-level domain (ccTLD) for Western Sahara is .eh.
Western Sahara uses the Africa/El_Aaiun time zone.
Western Sahara is a sparsely populated desert territory on the Atlantic coast of North Africa, the status of which remains one of the world's long-running unresolved disputes. Most of it is administered by Morocco, while the Polisario Front seeks an independent state. Its largest city is El-Aaiun.