Population
Loading WorldSumma…

Population
Surface area
Nominal GDP
Proportional bars and relative differences make the headline numbers easier to read.
Morocco’s population is 416% larger than that of Libya, a difference of 30,700,150.
Libya’s surface area is 294% larger than that of Morocco, a difference of 1,312,990 km².
Morocco’s population density is about 20.3× that of Libya, a difference of 81.1 /km².
Morocco’s nominal GDP is 231% larger than that of Libya, a difference of $112.12 billion.
Libya’s GDP per capita is 58% higher than that of Morocco, a difference of $2,416.
Values use the latest available observations in WorldSumma. Economic reporting years are shown when available and can differ by country.
Tripolis
Rabat
7,381,023
38,081,173
1,759,540 km²
446,550 km²
4.2 /km²
85.3 /km²
$48.49 billion · 2024
$160.61 billion · 2024
$6,569 · 2024
$4,153 · 2024
Africa
Africa
Northern Africa
Northern Africa
Libyan dinar · LYD · د.ل
Moroccan dirham · MAD · DH
Libyan
Moroccan
+218
+212
.ly
.ma
LY / LBY
MA / MAR
Africa/Tripoli
Africa/Casablanca
ليبيا
المغرب
| Measure | Libya | Morocco |
|---|---|---|
| Capital | Tripolis | Rabat |
| Population | 7,381,023 | 38,081,173 |
| Surface area | 1,759,540 km² | 446,550 km² |
| Population density | 4.2 /km² | 85.3 /km² |
| Nominal GDP | $48.49 billion · 2024 | $160.61 billion · 2024 |
| GDP per capita | $6,569 · 2024 | $4,153 · 2024 |
| Region | Africa | Africa |
| Subregion | Northern Africa | Northern Africa |
| Currency | Libyan dinar · LYD · د.ل | Moroccan dirham · MAD · DH |
| Nationality | Libyan | Moroccan |
| Phone code | +218 | +212 |
| Internet domain | .ly | .ma |
| ISO codes | LY / LBY | MA / MAR |
| Time zone | Africa/Tripoli | Africa/Casablanca |
| 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 →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 →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 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.