Indicator

Oil Rents (% of GDP) by African country

2021

Oil rents — the value of crude oil production at world prices less the cost of production — as a share of GDP.

Africa, 202152 of 54 countries
3.4%population-weighted average
Highest in 2021Libya · 56.4%Lowest in 2021Zambia · 0.0%Reported in 202152 of 54 countries surveyed
Click a country to pin it — pinned countries are named on the map. Hatching means no record.
Western Sahara — no separate recordTanzania — 0.0%Democratic Republic of the Congo — 0.6%Somalia — 0.0%Kenya — 0.0%Sudan — 3.3%Chad — 16.8%South Africa — 0.4%Lesotho — 0.0%Zimbabwe — 0.0%Botswana — 0.0%Namibia — 0.0%Senegal — 0.0%Mali — 0.0%Mauritania — 0.0%Benin — 0.0%Niger — 0.6%Nigeria — 6.2%Cameroon — 2.4%Togo — 0.0%Ghana — 4.1%Cote d'Ivoire — 0.7%Guinea — 0.0%Guinea-Bissau — 0.0%Liberia — 0.0%Sierra Leone — 0.0%Burkina Faso — 0.0%Central African Republic — 0.0%Republic of the Congo — 34.4%Gabon — 15.6%Equatorial Guinea — 14.9%Zambia — 0.0%Malawi — 0.0%Mozambique — 0.1%Eswatini — 0.0%Angola — 28.3%Burundi — 0.0%Madagascar — 0.1%Gambia — 0.0%Tunisia — 1.5%Algeria — 14.5%Eritrea — no dataMorocco — 0.0%Egypt — 3.0%Libya — 56.4%Ethiopia — 0.0%Djibouti — 0.0%Uganda — 0.0%Rwanda — 0.0%South Sudan — no dataNigeria 6.2%Nigeria 6.2%Ethiopia 0.0%Ethiopia 0.0%Kenya 0.0%Kenya 0.0%South Africa 0.4%South Africa 0.4%2021HIGHEST IN 2021Libya56.4%Republic of the Congo34.4%Angola28.3%Chad16.8%Gabon15.6%LOWEST IN 2021Zambia0.0%Uganda0.0%Togo0.0%Tanzania0.0%Somalia0.0%PINNEDEthiopia0.0%31 of 52Kenya0.0%35 of 52Nigeria6.2%8 of 52South Africa0.4%17 of 52OTHER ISLAND STATES · NOT DRAWNCabo Verdenot drawn0.0%Comorosnot drawn0.0%Mauritiusnot drawn0.0%Sao Tome and Principenot drawn0.0%Seychellesnot drawn0.0%% of GDP · quintiles of the observed range0%0%0%0%2.4%56.4%no record
20142024
World Bank · national statistics offices · the provider's own estimates where a country has not reportedCC BY 4.0
Countries

By region

Population-weighted, so a region’s figure is the share of its people, not the average of its countries.
Middle Africa9 of 9 countries8.6%
Northern Africa6 of 6 countries6.0%
Western Africa16 of 16 countries3.6%
Southern Africa5 of 5 countries0.3%
Eastern Africa16 of 18 countries0.0%
Africaall 54 countries · 52 with a 2021 figure3.4%

What to know before you quote this

Specific to this series. For how we treat data generally, see methods.
54 countries have no usable 2024 recordNot a low value — no figure within the window. Algeria, Angola, Benin, Botswana, Burkina Faso and 49 more are hatched on the map and blank in the table.
Certainty is judged year by yearA country can be Reported in one year and Modelled the next. The tag follows the year on the scrubber, so the 2024 assessment is not a verdict on the whole series.

About this data

Oil Rents (% of GDP)Oil rents — the value of crude oil production at world prices less the cost of production — as a share of GDP.
SourceWorld Bank, with processing by Africa API
Unit% of GDP
Last updated15 Oct 2026
Next expected updateOct 2027
Date range1970–2021
Coverage52 of 54 countries · 52 reported, 0 modelled, 2 with no usable figure

How the figure is made

ReportedA national statistics office or the original provider published the figure for that year directly. 52 countries did so for 2021 — the certainty shown on this page is that 2021 assessment, not a per-series one.ModelledNo direct figure that year. The provider’s own estimate, interpolation or projection stands in, and is marked as such wherever it appears.No dataNo usable figure within the window. Drawn hatched on the map and left blank in the table — not zero, and not filled in.

These three states are used the same way across every indicator on the site — how we treat certainty explains the full set and what we never do to a number.

Reuse and cite

Everything on this page is open under CC BY 4.0 — use it anywhere, including commercially, as long as Africa API and the original provider are credited. The provider’s own licence still applies to their data.

How to cite this page
Africa API (2026) — "Oil Rents (% of GDP)". Data adapted from World Bank. Retrieved 18 Oct 2026 from africa-api.com/indicators/oil-rents
The request behind this view
GET /v1/data?metric_key=oil_rents_pct_gdp&year=2021&limit=100

Read next

The measures that explain this one.

Oil Rents (% of GDP), country by country

53 countries carry a figure

Each country has its own page for this indicator, with the full history, the source and the API request.

Embed this ranking

free · updates with the data

Drop this ranking into an article or a site and it stays current 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:0;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/indicators/oil-rents">Oil Rents (% of GDP) by African country, Africa API</a></p>

Every indicator, by topic

207 indicators, each ranked across the African countries that carry it.