Libya vs Somalia Comparison

Country Comparison

Libya

7.5M (2025)

VS

Somalia

19.7M (2025)

Somalia's population is 2.6× larger

Comprehensive comparison across 9 categories and 44 indicators

Loading countries...

No countries found

Loading countries...

No countries found

Libya

Population: 7.5M (2025) Area: 1.8M km² GDP: $52.5B (2026)
Capital: Tripoli
Continent: Africa
Official Languages: Arabic
Currency: LYD
HDI: 0.721 (115.)

Somalia

Population: 19.7M (2025) Area: 637.7K km² GDP: $14.2B (2026)
Capital: Mogadishu
Continent: Africa
Official Languages: Somali, Arabic
Currency: SOS
HDI: 0.404 (192.)

Geography and Demographics

Libya
Somalia
Area
1.8M km²
637.7K km²
Total population
7.5M (2025)
19.7M (2025)
Population density
4.1 people/km² (2025)
28.8 people/km² (2025)
Average age
27.7 (2025)
15.6 (2025)

Economy and Finance

Libya
Somalia
Total GDP
$52.5B (2026)
$14.2B (2026)
GDP per capita
$6,800 (2025)
$766 (2025)
Inflation rate
2.3% (2025)
4.6% (2025)
Growth rate
17.3% (2025)
4.0% (2025)
Minimum wage
$335 (2024)
No data
Tourism revenue
$200M (2025)
No data
Unemployment rate
18.5% (2025)
18.8% (2025)
Public debt
50.0% (2023)
30.0% (2023)
Trade balance
$25B (2025)
-$2.5B (2025)

Quality of Life and Health

Libya
Somalia
Human development
0.721 (115.)
0.404 (192.)
Happiness index
5,820 (79.)
4,347 (122.)
Health Exp. per Cap. ($)
$278 (5%)
$15 (3%)
Life expectancy
73.2 (2025)
59.1 (2025)
Safety index
36.4 (178.)
30.8 (183.)

Education and Technology

Libya
Somalia
Education Exp. (% GDP)
3.3% (2025)
1.2% (2025)
Literacy rate
91.5% (2025)
54.0% (2025)
Primary school completion
91.5% (2025)
54.0% (2025)
Internet usage
92.2% (2025)
32.3% (2025)
Internet speed
11.01 Mbps (204.)
19.27 Mbps (176.)

Environment and Sustainability

Libya
Somalia
Renewable energy
0.1% (2025)
32.7% (2025)
Carbon emissions per capita
62.9 kg per capita (2025)
0.9 kg per capita (2025)
Forest area
0.1% (2025)
9.2% (2025)
Freshwater resources
0.7 km³ (2025)
14.7 km³ (2025)
Air quality
28.65 µg/m³ PM2.5 (2025)
23.91 µg/m³ PM2.5 (2025)

Military Power

Libya
Somalia
Military expenditure
No data
No data
Military power rank
0 (197.)
897 (120.)

Governance and Politics

Libya
Somalia
Democracy index
2.31 (2024)
No data
Corruption perception
14 (168.)
8 (174.)
Political stability
-2.1 (185.)
-2.3 (188.)
Press freedom
40.2 (133.)
41.8 (129.)

Infrastructure and Services

Libya
Somalia
Clean water access
99.9% (2025)
58.3% (2025)
Electricity access
100.0% (2025)
45.4% (2025)
Electricity price
0.02 $/kWh (2025)
0.45 $/kWh (2025)
Paved Roads
57 % (2025)
12 % (2025)
Traffic deaths (per 100K)
22.84 /100K (2025)
27.38 /100K (2025)
Retirement age
65 (2025)
60 (2025)

Tourism and International Relations

Libya
Somalia
Passport power
33.55 (2025)
30.42 (2025)
Tourist arrivals
760K (2008)
No data
Tourism revenue
$200M (2025)
No data
World heritage sites
5 (2025)
0 (2025)

Comparison Result

Libya
26.0

Superior Fields

Leader
Libya
Somalia
12.0

Superior Fields

* This score reflects overall livability and quality of life, not just economic or military strength

GDP Comparison

Total GDP

$52.5B (2026)
Libya
vs
$14.2B (2026)
Somalia
Difference: %270

GDP per Capita

$6,800 (2025)
Libya
vs
$766 (2025)
Somalia
Difference: %788

Comparison Evaluation

Libya Evaluation

Libya excels with: • Libya has 8.9x higher GDP per capita • Libya has 18.5x higher healthcare spending per capita • Libya has 3.7x higher GDP • Libya has 2.8x higher land area

Somalia Evaluation

While Somalia ranks lower overall compared to Libya, specific areas demonstrate competitive advantages:

Somalia demonstrates advantages in: • Somalia has 7.0x higher population density • Somalia has 327.0x higher renewable energy usage • Somalia has 92.0x higher forest coverage • Somalia has 2.6x higher population

Detailed Comparison

Oil Pays for Streetlights in a Country Without a Working Government

Both countries have spent a decade without a government that controls its own territory, and only one of them still has streetlights and a national electricity bill paid from a treasury. Electricity reaches 100 percent of Libyan homes and 45.42 percent of Somali ones. The Libyan grid runs on subsidised gas at 0.02 dollars a kilowatt-hour; a Somali shop buys power from a private diesel generator at 0.45. A household in Hargeisa pays for light twice, in cash and in the noise outside, and the meter runs whether or not the state does.

Water is the sharper measure. Protected supplies reach 99.9 percent of Libyans and 58.3 percent of Somalis, and the difference shows up at the end of life. A Libyan can expect 73.2 years, a Somali 59.1. Libya gets its water from desalination plants and the Great Man-Made River, both paid for by oil and both fragile in their own way. Somalia depends on boreholes, shallow wells and the two rivers, the Juba and the Shabelle, that rise in Ethiopia. Drought in those highlands arrives in Somalia as a price.

A Rent Divided by Seven Million, a Herd Divided by Nineteen

Numbers of people reverse the picture. Somalia holds 19,654,739 people, Libya 7,458,555, so the poorer country has two and a half times the citizens to feed and school. The median Somali is 15.6 years old, the median Libyan 27.7. One population is still filling its classrooms, the other is already looking for work. A Libyan cohort of that size is a pension problem; a Somali one is a queue at a school gate. That difference sets the bill a state pays first, and both governments are behind on it for reasons that have little to do with demography.

Income per head separates them by a factor of nine: 6,800 dollars in Libya, 766 in Somalia. The Libyan figure is almost entirely hydrocarbon rent; the Somali figure is livestock, bananas, charcoal and money sent home from the Gulf. Unemployment, meanwhile, is nearly identical: 18.52 percent against 18.82. Two labour markets failing by the same measure, one cushioned by fuel subsidies and public payrolls, the other with no cushion at all. A Somali teenager who finds no work walks into a family herd or a checkpoint economy; a Libyan teenager waits for a payroll that may never hire him.

Their Institutions Score Almost Identically, Which Tells You Something

On political freedom the two countries are twins. Libya scores 40.2 for press freedom, Somalia 41.8. Corruption reads 14 out of 100 in Libya and 8 in Somalia. Journalists in both places work around armed groups, and in both places a story about a contract can end a career. Neither press is closed by law, which makes the pressure harder to name. The near-identical scores are the point: a rich rentier state and a poor pastoral one produce the same press, because neither has a court that can protect it.

Fear is shared as well. Safety reads 36.4 in Libya and 30.8 in Somalia, ranks 178 and 183, which puts both near the bottom of the same list. Satisfaction nonetheless differs: Libyans score 5.820 on the happiness index, rank 79, Somalis 4.347, rank 122. Money and services move that number even when the streets feel the same. A Libyan household has a fridge that stays cold and a clinic to argue with. A Somali household has a phone, a cousin abroad, a checkpoint and a school fee due on Thursday.

Books and Bandwidth Divide Them More Cleanly Than Politics

Schooling is where the gap becomes generational. Literacy runs at 91.5 percent in Libya and 54 percent in Somalia, and Libya spends 3.3 percent of output on education against 1.2 in Somalia. Libyan schooling is free through university and has been for decades, which is why a country with no working state still has a literate older generation. The Somali classroom network collapsed in the 1990s and was rebuilt by private owners and charities, fee by fee. Literacy is the slowest thing to lose and the slowest to rebuild.

The connection is the one place where Somalia comes out ahead. Somali internet averages 19.27 Mbps, Libyan 11.01, ranks 176 and 204. Usage tells the opposite story: 92.2 percent of Libyans are online, 32.3 percent of Somalis. Coverage without speed is a phone that loads text and nothing else. Somalia got fast mobile money because there was no bank network to displace, and the firms that run it charge what the market bears. Libya inherited a cheap, slow, state-owned pipe into nearly every home, and the habit of paying for it.

Data Disclaimer: Projected data (future years) are estimates based on mathematical models. Actual values may differ. Learn about our methodology →

Data Sources

Comparison data is aggregated from multiple authoritative international organizations:

World Bank Open Data - Development and economic indicators
UN Data - Population and demographic statistics
IMF Data Portal - International financial statistics
WHO Data - Global health statistics
OECD Statistics - Economic and social data
Our Methodology - Learn how we process and analyze data

Comments (0)

You must log in to comment

Log In