54 country profiles · 207 indicator definitionsAPI dataGet API key

Education · Africa ranking

Education Spending (% of GDP) by African country

9.1%Namibia · highest shown · 2024

Namibia has the highest reported government education expenditure as a share of GDP among the 40 countries shown, at 9.1% (2024).

Government expenditure on education as a share of GDP. 40 of 54 countries are shown. Open a country to see its source details and available history.

Latest available year varies by country (20232025). Only observations within 2 years of the freshest result are included, and each row shows its period.

#1 vs #401116021×Namibia vs Somalia
Median4%Kenya
Lowest0%Somalia

By region

unweighted mean of countries shown
North Africa7.2%
3 countries shown · highest value: Algeria
Southern Africa5.4%
6 countries shown · highest value: Namibia
West Africa3.7%
14 countries shown · highest value: Mauritania
East Africa3.3%
10 countries shown · highest value: Rwanda
Central Africa3%
7 countries shown · highest value: Sao Tome and Principe

Full ranking

40 of 54 countries
#CountryEducation Spending (% of GDP)Period
1Namibia
9.1%2024
2Algeria
9%2024
3Mauritania
7.6%2024
4Tunisia
6.7%2023
5Lesotho
6.6%2024
6Senegal
6.2%2023
7Eswatini
6%2024
8South Africa
6%2024
9Morocco
6%2023
10Burkina Faso
5.3%2023
11Sao Tome and Principe
5%2023
12Rwanda
4.6%2024
13Burundi
4.5%2025
14Seychelles
4.5%2023
15Cabo Verde
4.3%2023
16Mauritius
4.2%2024
17Mali
4.2%2023
18Togo
4.1%2023
19Niger
4.1%2023
20Zambia
4.1%2023
21Kenya
4%2024
22Cote d'Ivoire
3.6%2024
23Republic of the Congo
3.3%2023
24Benin
3.2%2023
25Chad
3.2%2023
26Tanzania
3.2%2024
27Madagascar
3%2023
28Cameroon
2.8%2023
29Gambia
2.8%2023
30Sierra Leone
2.6%2023
31Angola
2.5%2023
32Comoros
2.3%2023
33Gabon
2.3%2023
34Ethiopia
2.3%2024
35Liberia
2.3%2023
36Central African Republic
1.8%2023
37Guinea
1.7%2023
38Zimbabwe
0.4%2023
39Nigeria
0.3%2023
40Somalia
0%2023

Get this ranking via API

GET /v1/data

Request the latest available Education Spending (% of GDP) values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

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

Cite or republish this ranking

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page is included.

<iframe src="https://africa-api.com/embed/education-spending" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Education Spending (% 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/education-spending">Education Spending (% of GDP) by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 40 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More education rankings