54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Agriculture (% of GDP) by African country

55.8%Somalia leads · 1990

Somalia has the highest agriculture's share of GDP of any African country, at 55.8% — 1.2× Niger's 47.6%.

Value added by agriculture, forestry and fishing as a share of GDP. 54 of 54 countries, ranked · World Bank — World Development Indicators, 1990.

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

#1 vs #5437×Somalia vs Libya
Median19.9%Burkina Faso
Lowest1.5%Libya

By region

regional average
West Africa25.3%
16 countries · led by Niger
East Africa22.7%
16 countries · led by Somalia
Central Africa16.4%
9 countries · led by Chad
North Africa13.8%
6 countries · led by Sudan
Southern Africa5.4%
7 countries · led by Zimbabwe

Full ranking

54 of 54 countries
#CountryAgriculture (% of GDP)Period
1Somalia
55.8% ⚠ ’901990
2Niger
47.6%2025
3Guinea-Bissau
40.6%2025
4Comoros
36.6%2025
5Chad
36.3%2025
6Burundi
34.3%2025
7Mali
33%2025
8Ethiopia
32.8%2025
9Liberia
32.7%2025
10Guinea
31.3%2025
11Malawi
30%2025
12Sierra Leone
29.5%2025
13Sudan
29.4%2025
14Central African Republic
27.6%2025
15Uganda
26.1%2025
16Mozambique
25.6%2025
17Angola
25.2%2025
18Gambia
23.8%2025
19Kenya
23.2%2025
20Nigeria
23%2025
21Benin
22.9%2025
22Tanzania
22.9%2025
23Madagascar
21.7%2025
24Ghana
21.3%2025
25Togo
20.3%2025
26Rwanda
20.3%2025
27Mauritania
20%2025
28Burkina Faso
19.9%2025
29Senegal
17.1%2025
30Cameroon
16.8%2025
31Cote d'Ivoire
16.8%2025
32Egypt
16.6%2025
33Algeria
14.5%2025
34Eritrea
14.1% ⚠ ’092009
35Sao Tome and Principe
12.2%2025
36Morocco
10.5%2025
37South Sudan
10.4% ⚠ ’152015
38Tunisia
10.3%2025
39Republic of the Congo
10.1%2025
40Zimbabwe
9.5%2025
41Democratic Republic of the Congo
8.9%2025
42Namibia
7%2025
43Gabon
6.8%2025
44Lesotho
6.5%2025
45Eswatini
6.4%2025
46Cabo Verde
5%2025
47Mauritius
4.6%2025
48Zambia
4.1%2025
49Equatorial Guinea
3.2%2025
50South Africa
2.8%2025
51Seychelles
2.6%2025
52Djibouti
2.3%2025
53Botswana
1.8%2025
54Libya
1.5%2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Agriculture (% 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=agriculture_value_added_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, 1990. 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/agriculture-gdp-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Agriculture (% 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/agriculture-gdp-share">Agriculture (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest agriculture's share of GDP?

Somalia has the highest agriculture's share of GDP in Africa at 55.8% (1990), followed by Niger and Guinea-Bissau.

Which African country has the lowest agriculture's share of GDP?

Libya has the lowest agriculture's share of GDP of the 54 African countries with data, at 1.5% (2025).

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

54 of 54 African countries have a Agriculture (% of GDP) figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 1990–2025). 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=agriculture_value_added_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