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

Country comparison

Uganda vs South Africa

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

GDP$73.37B vs $479.96BUganda vs South Africa
GDP per Capita$1,476 vs $7,503Uganda vs South Africa
Population51.38M vs 64.75MUganda vs South Africa

Indicator by indicator

203 indicators

Each country shows its latest available year, which can differ by indicator. Rows where the two sides are 5+ years apart are marked in the Period column.

Indicator Uganda South AfricaPeriod
GDPEconomy$73.37B$479.96B2026
GDP per CapitaEconomy$1,476$7,5032026
Inflation RateEconomy3.7%5%2026-06
Central Bank Policy RateEconomy7%2026-07-01
Official Exchange RateEconomy3,681.36 LCU/USD16.37 LCU/USD2026-07
Budget BalanceEconomy-5.9%-4.9%2026
Unemployment RateEconomy2.7%32.4%2025
Public DebtEconomy55%78.9%2026
Trade BalanceEconomy$-4.54B$8.16B2025
GDP GrowthEconomy7.5%1%2026
GNI per CapitaEconomy$1,120$6,2702025
GNI per Capita (PPP)Economy$3,410$15,6002025
GDP (PPP)Economy$179.21B$1.03T2025
Agriculture (% of GDP)Economy26.1%2.8%2025
Industry (% of GDP)Economy24.3%24.1%2025
Manufacturing (% of GDP)Economy14.5%12.3%2025
Services (% of GDP)Economy42.1%63.1%2025
Investment (% of GDP)Economy22.6%13.9%2025
Remittances ReceivedEconomy$1.43B$1B2024/2025
Remittances (% of GDP)Economy2.7%0.2%2024/2025
External Debt (% of GNI)Economy39.2%44.8%2024
Foreign ReservesEconomy$3.48B$76.02B2024/2025
Credit to Private Sector (% of GDP)Economy14.3%89.4%2024
Tax Revenue (% of GDP)Economy12.6%25.9%2024
Labor Force ParticipationEconomy80%55.6%2025
Female Labor Force ParticipationEconomy75.6%49.9%2025
Income Inequality (Gini)Economy42.754.12019/2022
Extreme Poverty RateEconomy59.8%17.4%2019/2022
Account OwnershipEconomy72.8%81.1%2024
Youth NEET RateEconomy13.8%34.6%2021/2024
Military Spending (% of GDP)Economy1.9%0.7%2024
Trade Openness (% of GDP)Economy50.2%60.9%2025
Inflation (GDP Deflator)Economy5.2%2.8%2025
Tourism ReceiptsEconomy$518M$2.72B2020
Tourist ArrivalsEconomy473K3.89M2020
Current Account BalanceEconomy-3.9%-0.9%2026
Foreign Direct InvestmentEconomy$3.3B$2.47B2024
FDI (% of GDP)Economy5.9%0.6%2024
Government Revenue (% of GDP)Economy14.7%27.2%2024
Government Spending (% of GDP)Economy18.7%33%2024
Youth Unemployment RateEconomy5.2%60.1%2021/2024
Productive Capacity IndexEconomy29.451.72024
Natural Resource RentsEconomy7.5%7.3%2021
Oil Rents (% of GDP)Economy0%0.4%2021
Mineral Rents (% of GDP)Economy0%3.8%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy4.7%0.4%2023
Foreign Aid per CapitaEconomy$46$242023
Lending Interest RateEconomy19.8%10.7%2018/2025 ⚠
Real Interest RateEconomy14.7%7.7%2018/2025 ⚠
Gross Savings (% of GDP)Economy24.7%12.9%2024/2025
Adjusted Net Income per CapitaEconomy$654$5,5212021
Employment in AgricultureEconomy64.9%5.4%2025
Employment in IndustryEconomy7.3%20.8%2025
Employment in ServicesEconomy27.9%73.8%2025
Vulnerable EmploymentEconomy74.4%11.7%2025
Household Consumption (% of GDP)Economy65.2%65.8%2025
Income Share of Poorest 20%Economy6.1%3.7%2019/2022
Bank Branches per 100,000Economy2.182024
ATMs per 100,000Economy3.6462024
GDP per Capita GrowthEconomy3.5%-0%2025
Debt Service (% of GNI)Economy3%5.7%2024
Poverty Rate ($3.65/day)Economy76.3%30.2%2019/2022
Poverty Rate ($6.85/day)Economy93.6%59.6%2019/2022
Exports of Goods & ServicesTrade$13.29B$134.18B2025
Imports of Goods & ServicesTrade$17.83B$126.02B2025
Export Diversification IndexTrade0.8010.5532024
Export Concentration IndexTrade0.4190.1452024
Liner Shipping ConnectivityTrade39.12021
Fuel Exports (% of Exports)Trade2.3%8.2%2024/2025
Manufactures Exports (% of Exports)Trade14.3%38.3%2024/2025
Food Exports (% of Exports)Trade39.3%12.8%2024/2025
High-Tech Exports (% of Manufactured)Trade1.9%5.7%2024
Exports (% of GDP)Trade21.4%31.4%2025
Imports (% of GDP)Trade28.8%29.5%2025
Human Development IndexDevelopment0.5820.7412023
Gender Inequality IndexDevelopment0.5240.3882023
Inequality-adjusted HDIDevelopment0.40.4762023
PopulationDemographics51.38M64.75M2025
Population GrowthDemographics2.7%1.1%2025
Life ExpectancyDemographics68.5 years66.3 years2024
Median AgeDemographics17.1 years28.9 years2026
Fertility RateDemographics4.172.212024
Rural PopulationDemographics68.1%36.2%2025
Population Under 15Demographics43.1%25.7%2025
Urban PopulationDemographics31.9%63.8%2025
Population DensityDemographics264.1/km²53.6/km²2026
Birth RateDemographics33.117.82026
Death RateDemographics4.669.312026
Net Migration RateDemographics-2.312.012026
Life Expectancy (Female)Demographics71.4 years69.8 years2024
Life Expectancy (Male)Demographics65.5 years62.8 years2024
Urban Population GrowthDemographics4.8%1.3%2025
Infant MortalityHealth35.924.22024
HIV PrevalenceHealth4.9%17.2%2024
Health Spending (% of GDP)Health4.2%8.9%2023
Physicians per 1,000Health0.190.792022
UHC Service Coverage IndexHealth54742023
Road Traffic DeathsHealth1624.52021
Premature NCD MortalityHealth21.5%22.7%2021
Out-of-Pocket Health SpendingHealth32.2%6.7%2023
Safely Managed SanitationHealth20.4%73.8%2024
Maternal MortalityHealth170.3117.62023
Under-Five MortalityHealth38.834.72023
Neonatal MortalityHealth17.911.72023
Tuberculosis IncidenceHealth1973892024
Measles ImmunizationHealth92%66%2025
DTP3 ImmunizationHealth97%65%2025
Basic Drinking WaterHealth44.9%22.2%2024
Basic SanitationHealth3.5%3.6%2024
Diabetes PrevalenceHealth2.2%7.2%2024
Hospital Beds per 1,000Health0.52.252010
Contraceptive PrevalenceHealth43%54.6%2022/2016 ⚠
Skilled Birth AttendanceHealth74.2%96.7%2016
Nurses & Midwives per 1,000Health2.276.392022
Adolescent Fertility RateHealth104.751.82024
Health Spending per CapitaHealth$45$5372023
NCD Share of DeathsHealth36.9%37.2%2021
Smoking PrevalenceHealth7.5%23.7%2024
Antenatal Care CoverageHealth95.1%93.7%2019/2016
Child StuntingChild Welfare23.5%24.4%2024
Child WastingChild Welfare3.2%3.6%2022/2017 ⚠
Birth RegistrationChild Welfare32.2%88.6%2016/2017
Child MarriageChild Welfare34%3.6%2016
Overweight ChildrenChild Welfare3.4%11.8%2022/2017 ⚠
Education Spending (% of GDP)Education2.6%6%2022/2024
Tertiary EnrollmentEducation4.6%23.5%2014/2023 ⚠
Adult Literacy RateEducation77%91.2%2024
Youth Literacy RateEducation85.2%97.2%2024
Primary Completion RateEducation38.7%97.6%2024
Lower Secondary CompletionEducation21.3%92.5%2024
Primary Net EnrollmentEducation95.9%93.9%2013/2023 ⚠
Lower Secondary EnrollmentEducation90.4%2023
Upper Secondary EnrollmentEducation24.6%86.9%2008/2023 ⚠
Upper Secondary CompletionEducation10.1%62.2%2024
Qualified Primary TeachersEducation79.6%77.9%2017/2002 ⚠
Secondary EnrollmentEducation24.1%104.1%2007/2023 ⚠
UndernourishmentFood Security22%10%2023
Acute Food InsecurityFood Security1.75M2024-11
Agricultural Land (% of Land)Agriculture71.9%79.4%2023
Food Production IndexAgriculture135.5113.22022
Cassava ProductionAgriculture1.63M t2024
Coffee ProductionAgriculture402K t2024
Cocoa ProductionAgriculture55K t2024
Sorghum ProductionAgriculture225K t98K t2024
Millet ProductionAgriculture120K t6.33K t2024
Maize ProductionAgriculture5M t12.85M t2024
Rice ProductionAgriculture300K t3.08K t2024
Wheat ProductionAgriculture25K t1.92M t2024
Maize YieldAgriculture2,174 kg/ha4,874 kg/ha2024
Rice YieldAgriculture1,304 kg/ha2,912 kg/ha2024
Wheat YieldAgriculture1,667 kg/ha3,809 kg/ha2024
Cattle StockAgriculture14.7M head12.1M head2024
Homicide RateGovernance943.72023/2022
Corruption Perceptions IndexGovernance26412024
Electoral Democracy IndexGovernance0.2530.7432025
Liberal Democracy IndexGovernance0.1650.6332025
Political Corruption IndexGovernance0.8890.5382025
Control of CorruptionGovernance-1.12-0.192024
Government EffectivenessGovernance-0.35-0.232024
Rule of LawGovernance-0.740.022024
Political StabilityGovernance-1.02-0.622024
Regulatory QualityGovernance-0.52-0.062024
Voice and AccountabilityGovernance-1.010.612024
Refugees HostedHumanitarian1.94M55.18K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian35.25K82.36K2025
Stateless PeopleHumanitarian10.28K02025
Internet UsersTechnology8.9%78.4%2024
Mobile SubscriptionsTechnology83.2179.32024
4G CoverageTechnology82%99.4%2024
Fixed Broadband SubscriptionsTechnology0.25.32024
Mobile Data PriceTechnology6.1%1.3%2025
3G CoverageTechnology97.8%99.9%2024
Fixed Broadband PriceTechnology34%3.4%2025
Mobile Bundle PriceTechnology3.9%1.1%2025
R&D Spending (% of GDP)Technology0.4%0.6%2023/2022
Electricity AccessInfrastructure55.3%90.2%2024
Air Transport PassengersInfrastructure21.65K15.45M2023
Slum PopulationInfrastructure52.7%24.2%2022
Renewable Energy CapacityEnergy1.9K MW16.6K MW2025
Solar CapacityEnergy95.8 MW11.3K MW2025
Wind CapacityEnergy4.3K MW2025
Hydropower CapacityEnergy1.7K MW751.7 MW2025
Renewable Energy ShareEnergy90.9%9.7%2022/2021
Clean Cooking AccessEnergy1.8%89.8%2023
Electricity Consumption per CapitaEnergy95 kWh3,247 kWh2023
Power Transmission LossesEnergy18.9%10.2%2023
Off-grid Renewable CapacityEnergy12.3 MW14.1 MW2025
Rural Electricity AccessEnergy44.8%86.3%2024
Solar Share of ElectricityEnergy2.9%8%2024/2025
Wind Share of ElectricityEnergy0%4.7%2024/2025
Hydropower Share of ElectricityEnergy86.1%0.8%2024/2025
Fossil Share of ElectricityEnergy2.9%82.2%2024/2025
Electricity DemandEnergy5.4 TWh237 TWh2024/2025
Electricity Carbon IntensityEnergy59 gCO₂/kWh699 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy660 kWh21,287 kWh2023/2024
CO2 Emissions per CapitaClimate0.17 t6.88 t2024
Renewable Electricity OutputClimate90%6.4%2021
Forest AreaClimate11%14%2023
Protected AreasClimate16.1%12.9%2025
Freshwater WithdrawalsClimate1.6%47.1%2022
PM2.5 Air PollutionClimate31.2 µg/m³27.7 µg/m³2023

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=UG,ZA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Uganda or South Africa have the larger economy?

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

How do Uganda and South Africa compare across indicators?

This page compares Uganda and South Africa on 203 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=UG,ZA with a free Africa API key to get both countries' latest values as JSON.

More comparisons