54 countries · side-by-side on every indicatorLiveGet API key

Country comparison

South Africa vs Uganda

South Africa and Uganda side by side across 74 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.

GDP$401.14B vs $53.91BSouth Africa vs Uganda
GDP per Capita$6,267 vs $1,078South Africa vs Uganda
Population64.01M vs 50.02MSouth Africa vs Uganda

Indicator by indicator

74 indicators
Indicator South Africa UgandaPeriod
GDPEconomy$401.14B$53.91B2024
GDP per CapitaEconomy$6,267$1,0782024
Inflation RateEconomy4%2.9%2026-05
Central Bank Policy RateEconomy7%2026-05-01
Official Exchange RateEconomy16.55 LCU/USD3,759.71 LCU/USD2026-05
Budget BalanceEconomy-4.9%-5.9%2026
Unemployment RateEconomy32.4%2.7%2025
Public DebtEconomy78.9%55%2026
Trade BalanceEconomy$7.77B$-4.93B2024
GDP GrowthEconomy0.5%6.1%2024
GNI per CapitaEconomy$6,110$1,0202024
GNI per Capita (PPP)Economy$15,150$3,1902024
GDP (PPP)Economy$989.31B$163.71B2024
Agriculture (% of GDP)Economy2.8%24.6%2024
Industry (% of GDP)Economy24.3%24.9%2024
Manufacturing (% of GDP)Economy12.8%15.1%2024
Services (% of GDP)Economy63%43.1%2024
Investment (% of GDP)Economy14.1%22.4%2024
Remittances ReceivedEconomy$855.37M$1.43B2024
Remittances (% of GDP)Economy0.2%2.7%2024
External Debt (% of GNI)Economy44.8%39.2%2024
Foreign ReservesEconomy$65.43B$3.48B2024
Credit to Private Sector (% of GDP)Economy89.4%14.3%2024
Tax Revenue (% of GDP)Economy25.4%12.6%2023
Labor Force ParticipationEconomy55.6%80%2025
Female Labor Force ParticipationEconomy49.9%75.6%2025
Income Inequality (Gini)Economy54.142.72022
Extreme Poverty RateEconomy17.4%59.8%2022
Account OwnershipEconomy81.1%72.8%2024
Youth NEET RateEconomy34.6%13.8%2024
Military Spending (% of GDP)Economy0.7%1.9%2024
Trade Openness (% of GDP)Economy61.6%42.7%2024
Inflation (GDP Deflator)Economy3.9%5%2024
Tourism ReceiptsEconomy$2.72B$518M2020
Tourist ArrivalsEconomy3.89M473K2020
Human Development IndexDevelopment0.7410.5822023
Gender Inequality IndexDevelopment0.3880.5242023
Inequality-adjusted HDIDevelopment0.4760.42023
PopulationDemographics64.01M50.02M2024
Population GrowthDemographics1.2%2.8%2024
Life ExpectancyDemographics66.3 years68.5 years2024
Median AgeDemographics28.9 years17.1 years2026
Fertility RateDemographics2.214.172024
Rural PopulationDemographics36.3%68.7%2024
Population Under 15Demographics25.9%43.5%2024
Infant MortalityHealth24.235.92024
HIV PrevalenceHealth17.2%4.9%2024
Health Spending (% of GDP)Health8.9%4.2%2023
Physicians per 1,000Health0.790.192022
UHC Service Coverage IndexHealth74542023
Road Traffic DeathsHealth24.5162021
Premature NCD MortalityHealth22.7%21.5%2021
Out-of-Pocket Health SpendingHealth6.7%32.2%2023
Safely Managed SanitationHealth73.8%20.4%2024
Education Spending (% of GDP)Education6%2.6%2024
Tertiary EnrollmentEducation23.5%4.6%2023
UndernourishmentFood Security10%22%2023
Agricultural Land (% of Land)Agriculture79.4%71.9%2023
Food Production IndexAgriculture113.2135.52022
Cassava ProductionAgriculture1.63M t2024
Coffee ProductionAgriculture402K t2024
Cocoa ProductionAgriculture55K t2024
Sorghum ProductionAgriculture98K t225K t2024
Millet ProductionAgriculture6.33K t120K t2024
Homicide RateGovernance43.792022
Corruption Perceptions IndexGovernance41262024
Electoral Democracy IndexGovernance0.7430.2532025
Liberal Democracy IndexGovernance0.6330.1652025
Political Corruption IndexGovernance0.5380.8892025
Women in ParliamentGovernance44.7%34.1%2025
Internet UsersTechnology78.4%8.9%2024
Mobile SubscriptionsTechnology179.383.22024
Electricity AccessInfrastructure87.7%51.5%2023
CO2 Emissions per CapitaClimate6.88 t0.17 t2024

Get this comparison via API

GET /v1/data

One call returns both countries' latest value for any indicator — JSON, with source metadata.

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

Frequently asked questions

Does South Africa or Uganda have the larger economy?

South Africa has the larger economy: $401.14B for South Africa versus $53.91B for Uganda (GDP, current US$).

How do South Africa and Uganda compare across indicators?

This page compares South Africa and Uganda on 74 indicators — economy, demographics, health, governance and more — each with its latest value, source, and a link to the full 54-country ranking.

How do I get this comparison via the API?

Call GET /v1/data?metric_key=<key>&latest=true&country_codes=ZA,UG with a free Africa API key to get both countries' latest values as JSON.

More comparisons