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.
Tripolis
El-Aaiun
7,381,023
—
1,759,540 km²
—
4.2 /km²
—
$48.49 billion · 2024
—
$6,569 · 2024
—
Africa
Africa
Northern Africa
Northern Africa
Libyan dinar · LYD · د.ل
Moroccan dirham · MAD · MAD
Libyan
Sahrawi, Sahrawian, Sahraouian
+218
+212
.ly
.eh
LY / LBY
EH / ESH
Africa/Tripoli
Africa/El_Aaiun
ليبيا
الصحراء الغربية
| Measure | Libya | Western Sahara |
|---|---|---|
| Capital | Tripolis | El-Aaiun |
| Population | 7,381,023 | — |
| Surface area | 1,759,540 km² | — |
| Population density | 4.2 /km² | — |
| Nominal GDP | $48.49 billion · 2024 | — |
| GDP per capita | $6,569 · 2024 | — |
| Region | Africa | Africa |
| Subregion | Northern Africa | Northern Africa |
| Currency | Libyan dinar · LYD · د.ل | Moroccan dirham · MAD · MAD |
| Nationality | Libyan | Sahrawi, Sahrawian, Sahraouian |
| Phone code | +218 | +212 |
| Internet domain | .ly | .eh |
| ISO codes | LY / LBY | EH / ESH |
| Time zone | Africa/Tripoli | Africa/El_Aaiun |
| Native name | ليبيا | الصحراء الغربية |
Keep one country, change both, or start a completely new comparison.
Libya, officially the State of Libya, occupies the north‑east corner of the African continent and is the largest country in Africa by area. The nation is a unitary republic that governs across the western reaches of the Sahara Desert, along the Mediterranean coast, and across the high interior plateau.
Full Libya 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 Libya is Tripolis.
Libya has a recorded population of approximately 7,381,023 people.
Libya covers an area of about 1,759,540 km².
Libya has a population density of roughly 4.2 /km² (people per square kilometre).
Libya has a gross domestic product (GDP) of approximately $48.49 billion as of 2024.
Libya has a GDP per capita of approximately $6,569.
Libya uses the Libyan dinar (LYD), with the symbol د.ل.
Libya is located in Northern Africa, Africa.
The native name of Libya is ليبيا.
People from Libya are referred to as Libyan.
The international dialing code for Libya is +218.
The country code top-level domain (ccTLD) for Libya is .ly.
Libya uses the Africa/Tripoli time zone.
Libya, officially the State of Libya, occupies the north‑east corner of the African continent and is the largest country in Africa by area. The nation is a unitary republic that governs across the western reaches of the Sahara Desert, along the Mediterranean coast, and across the high interior plateau.
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.