54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Oil Rents (% of GDP) by African country

56.4%Libya leads · 2021

Libya has the highest oil rents as a share of GDP of any African country, at 56.4% — 1.6× Republic of the Congo's 34.4%.

Oil rents — the value of crude oil production at world prices less the cost of production — as a share of GDP. 54 of 54 countries, ranked · World Bank — World Development Indicators, 2021.

Latest available year varies by country (20112021); each row shows its year, and values more than 5 years behind the most recent are marked .

#1 vs #54Libya vs Zambia
Median0%Central African Republic
Lowest0%Zambia

By region

regional average
North Africa13.1%
6 countries · led by Libya
Central Africa12.5%
9 countries · led by Republic of the Congo
West Africa0.7%
16 countries · led by Nigeria
East Africa0.7%
16 countries · led by South Sudan
Southern Africa0.1%
7 countries · led by South Africa

Full ranking

54 of 54 countries
#CountryOil Rents (% of GDP)Period
1Libya
56.4%2021
2Republic of the Congo
34.4%2021
3Angola
28.3%2021
4Chad
16.8%2021
5Gabon
15.6%2021
6Equatorial Guinea
14.9%2021
7Algeria
14.5%2021
8South Sudan
10.4% ⚠ ’152015
9Nigeria
6.2%2021
10Ghana
4.1%2021
11Sudan
3.3%2021
12Egypt
3%2021
13Cameroon
2.4%2021
14Tunisia
1.5%2021
15Cote d'Ivoire
0.7%2021
16Democratic Republic of the Congo
0.6%2021
17Niger
0.6%2021
18South Africa
0.4%2021
19Madagascar
0.1%2021
20Mozambique
0.1%2021
21Zimbabwe
0%2021
22Morocco
0%2021
23Benin
0%2021
24Botswana
0%2021
25Burkina Faso
0%2021
26Burundi
0%2021
27Cabo Verde
0%2021
28Central African Republic
0%2021
29Comoros
0%2021
30Djibouti
0%2021
31Eritrea
0% ⚠ ’112011
32Eswatini
0%2021
33Ethiopia
0%2021
34Gambia
0%2021
35Guinea
0%2021
36Guinea-Bissau
0%2021
37Kenya
0%2021
38Lesotho
0%2021
39Liberia
0%2021
40Malawi
0%2021
41Mali
0%2021
42Mauritania
0%2021
43Mauritius
0%2021
44Namibia
0%2021
45Rwanda
0%2021
46Sao Tome and Principe
0%2021
47Senegal
0%2021
48Seychelles
0%2021
49Sierra Leone
0%2021
50Somalia
0%2021
51Tanzania
0%2021
52Togo
0%2021
53Uganda
0%2021
54Zambia
0%2021

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Oil Rents (% of GDP) figure for every country you pass — JSON, with source metadata on each observation.

curl "https://api.africa-api.com/v1/data?metric_key=oil_rents_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIWorld Bank — World Development Indicators, 2021. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.

Embed this ranking

free · auto-updating

Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).

<iframe src="https://africa-api.com/embed/oil-rents" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Oil Rents (% of GDP) by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/oil-rents">Oil Rents (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest oil rents as a share of GDP?

Libya has the highest oil rents as a share of GDP in Africa at 56.4% (2021), followed by Republic of the Congo and Angola.

Which African country has the lowest oil rents as a share of GDP?

Zambia has the lowest oil rents as a share of GDP of the 54 African countries with data, at 0% (2021).

How many African countries report Oil Rents (% of GDP) data?

54 of 54 African countries have a Oil Rents (% of GDP) figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 2011–2021). Every value links to its full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=oil_rents_pct_gdp&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.

More economy rankings