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.3× Guinea-Bissau's 42.2%.

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

#1 vs #5433×Somalia vs Botswana
Median19.3%Mauritania
Lowest1.7%Botswana

By region

regional average
West Africa24.6%
16 countries · led by Guinea-Bissau
East Africa23.1%
16 countries · led by Somalia
Central Africa16.4%
9 countries · led by Chad
North Africa12.1%
6 countries · led by Sudan
Southern Africa5.2%
7 countries · led by Zimbabwe

Full ranking

54 of 54 countries
#CountryAgriculture (% of GDP)Period
1Somalia
55.8%1990
2Guinea-Bissau
42.2%2024
3Chad
37.7%2024
4Comoros
36.6%2024
5Burundi
34.9%2024
6Ethiopia
34.8%2024
7Niger
34.5%2024
8Liberia
33.8%2024
9Mali
33.3%2024
10Malawi
31.8%2024
11Guinea
31%2024
12Sierra Leone
29.2%2024
13Central African Republic
27.9%2024
14Nigeria
25.9%2024
15Mozambique
25.2%2024
16Uganda
24.6%2024
17Rwanda
24.6%2024
18Benin
24.2%2024
19Tanzania
23.3%2024
20Kenya
22.5%2024
21Madagascar
22.5%2024
22Sudan
22.2%2024
23Angola
22.1%2024
24Togo
21.3%2024
25Burkina Faso
20.9%2024
26Ghana
20.9%2024
27Gambia
20.4%2024
28Mauritania
19.3%2024
29Cameroon
18.5%2024
30Senegal
16.6%2024
31Cote d'Ivoire
15.9%2024
32Eritrea
14.1%2009
33Algeria
14%2024
34Egypt
13.7%2024
35Sao Tome and Principe
12.5%2024
36Morocco
10.6%2024
37South Sudan
10.4%2015
38Tunisia
9.7%2024
39Democratic Republic of the Congo
9.6%2024
40Republic of the Congo
9.4%2024
41Zimbabwe
8.7%2024
42Namibia
7.3%2024
43Gabon
6.6%2024
44Lesotho
6.5%2024
45Eswatini
6.5%2024
46Cabo Verde
4.9%2024
47Mauritius
4.2%2024
48Equatorial Guinea
3.1%2024
49Zambia
2.8%2024
50South Africa
2.8%2024
51Djibouti
2.5%2024
52Seychelles
2.5%2024
53Libya
2.4%2024
54Botswana
1.7%2024

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 Guinea-Bissau and Chad.

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

Botswana has the lowest agriculture's share of GDP of the 54 African countries with data, at 1.7% (2024).

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

54 of 54 African countries have a recent Agriculture (% of GDP) figure in the Africa API. Each value links to the country's 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