Population

The biggest differences first
Surface area
Libya is higher
Nominal GDP
Morocco is higher
What stands out
Proportional bars and relative differences make the headline numbers easier to read.
Population
Morocco’s population is 416% larger than that of Libya, a difference of 30,700,150.
Surface area
Libya’s surface area is 294% larger than that of Morocco, a difference of 1,312,990 km².
Population density
Morocco’s population density is about 20.3× that of Libya, a difference of 81.1 /km².
Nominal GDP
Morocco’s nominal GDP is 231% larger than that of Libya, a difference of $112.12 billion.
GDP per capita
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.
Full side-by-side comparison
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
ليبيا
المغرب
| 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 | ليبيا | المغرب |
Compare a different pair
Keep one country, change both, or start a completely new comparison.
Country overviews
AI-assisted profile prose · methodologyAbout Libya
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 →About Morocco
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 →Libya & Morocco: Frequently Asked Questions
What is the capital of Libya?
The capital of Libya is Tripolis.
What is the population of Libya?
Libya has a recorded population of approximately 7,381,023 people.
How big is Libya?
Libya covers an area of about 1,759,540 km².
What is the population density of Libya?
Libya has a population density of roughly 4.2 /km² (people per square kilometre).
What is the GDP of Libya?
Libya has a gross domestic product (GDP) of approximately $48.49 billion as of 2024.
What is the GDP per capita of Libya?
Libya has a GDP per capita of approximately $6,569.
What currency is used in Libya?
Libya uses the Libyan dinar (LYD), with the symbol د.ل.
Where is Libya located?
Libya is located in Northern Africa, Africa.
What is the native name of Libya?
The native name of Libya is ليبيا.
What are people from Libya called?
People from Libya are referred to as Libyan.
What is the phone calling code for Libya?
The international dialing code for Libya is +218.
What is the internet domain for Libya?
The country code top-level domain (ccTLD) for Libya is .ly.
What time zone is Libya in?
Libya uses the Africa/Tripoli time zone.
What is Libya known for?
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.
What is the capital of Morocco?
The capital of Morocco is Rabat.
What is the population of Morocco?
Morocco has a recorded population of approximately 38,081,173 people.
How big is Morocco?
Morocco covers an area of about 446,550 km².
What is the population density of Morocco?
Morocco has a population density of roughly 85.3 /km² (people per square kilometre).
What is the GDP of Morocco?
Morocco has a gross domestic product (GDP) of approximately $160.61 billion as of 2024.
What is the GDP per capita of Morocco?
Morocco has a GDP per capita of approximately $4,153.
What currency is used in Morocco?
Morocco uses the Moroccan dirham (MAD), with the symbol DH.
Where is Morocco located?
Morocco is located in Northern Africa, Africa.
What is the native name of Morocco?
The native name of Morocco is المغرب.
What are people from Morocco called?
People from Morocco are referred to as Moroccan.
What is the phone calling code for Morocco?
The international dialing code for Morocco is +212.
What is the internet domain for Morocco?
The country code top-level domain (ccTLD) for Morocco is .ma.
What time zone is Morocco in?
Morocco uses the Africa/Casablanca time zone.
What is Morocco known for?
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.