54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

Military Spending (% of GDP) by African country

8%Algeria · highest shown · 2024

Algeria has the highest reported military expenditure as a share of GDP among the 49 countries shown, at 8% (2024).

Military expenditure as a share of GDP (SIPRI via World Bank). 49 of 54 countries are shown. Open a country to see its source details and available history.

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

#1 vs #4953×Algeria vs Mauritius
Median1.2%Rwanda
Lowest0.1%Mauritius

By region

unweighted mean of countries shown
North Africa4%
5 countries shown · highest value: Algeria
Southern Africa1.6%
7 countries shown · highest value: Botswana
West Africa1.6%
16 countries shown · highest value: Burkina Faso
Central Africa1.6%
8 countries shown · highest value: Chad
East Africa1.4%
13 countries shown · highest value: Burundi

Full ranking

49 of 54 countries
#CountryMilitary Spending (% of GDP)Period
1Algeria
8%2024
2Libya
5.3%2023
3Burkina Faso
4.7%2024
4Mali
4.2%2024
5Burundi
3.8%2024
6Morocco
3.5%2024
7Chad
3%2024
8Botswana
2.8%2024
9Namibia
2.7%2024
10Central African Republic
2.5%2024
11Tunisia
2.5%2024
12Niger
2.2%2024
13Mauritania
2.2%2024
14Guinea
2.1%2024
15Togo
2%2024
16Mozambique
2%2024
17South Sudan
2%2024
18Uganda
1.9%2024
19Somalia
1.6%2024
20Lesotho
1.6%2024
21Senegal
1.6%2024
22Gabon
1.5%2024
23Eswatini
1.4%2024
24Zambia
1.3%2024
25Rwanda
1.2%2024
26Guinea-Bissau
1.2%2023
27Democratic Republic of the Congo
1.2%2024
28Republic of the Congo
1.2%2024
29Seychelles
1.2%2024
30Tanzania
1.2%2024
31Malawi
1%2024
32Cameroon
1%2024
33Angola
1%2024
34Kenya
1%2024
35Equatorial Guinea
1%2024
36Cote d'Ivoire
0.8%2024
37Benin
0.7%2024
38Liberia
0.7%2024
39Madagascar
0.7%2024
40South Africa
0.7%2024
41Egypt
0.7%2024
42Ethiopia
0.7%2024
43Cabo Verde
0.6%2024
44Gambia
0.6%2024
45Nigeria
0.6%2024
46Sierra Leone
0.5%2024
47Ghana
0.4%2024
48Zimbabwe
0.4%2024
49Mauritius
0.1%2024

Get this ranking via API

GET /v1/data

Request the latest available Military 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=military_expenditure_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/military-spending" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Military 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/military-spending">Military Spending (% of GDP) by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 49 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 economy rankings