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

Country comparison

Algeria vs Tanzania

Algeria and Tanzania side by side across 202 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.

GDP$317.17B vs $94.89BAlgeria vs Tanzania
GDP per Capita$6,628 vs $1,362Algeria vs Tanzania
Population47.44M vs 70.55MAlgeria vs Tanzania

Indicator by indicator

202 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 Algeria TanzaniaPeriod
GDPEconomy$317.17B$94.89B2026
GDP per CapitaEconomy$6,628$1,3622026
Inflation RateEconomy4.9%4%2026-04
Central Bank Policy RateEconomy6.3%2026-Q3
Official Exchange RateEconomy133.15 LCU/USD2,629.23 LCU/USD2026-07
Budget BalanceEconomy-10.2%-3.2%2026
Unemployment RateEconomy11.6%1.6%2025
Public DebtEconomy59.2%48.7%2026
Trade BalanceEconomy$-15.24B$-903.42M2025
GDP GrowthEconomy3.8%5.9%2026
GNI per CapitaEconomy$5,850$1,2702025
GNI per Capita (PPP)Economy$18,240$4,3702025
GDP (PPP)Economy$881.65B$305.6B2025
Agriculture (% of GDP)Economy14.5%22.9%2025
Industry (% of GDP)Economy34.8%29.8%2025
Manufacturing (% of GDP)Economy9.5%8.1%2024
Services (% of GDP)Economy45.7%28.8%2025
Investment (% of GDP)Economy45.3%40.7%2025
Remittances ReceivedEconomy$1.8B$1.12B2024
Remittances (% of GDP)Economy0.7%1.4%2024
External Debt (% of GNI)Economy2.7%47.3%2024
Foreign ReservesEconomy$72.5B$5.05B2025/2018 ⚠
Credit to Private Sector (% of GDP)Economy19.6%16.7%2025/2024
Tax Revenue (% of GDP)Economy12.7%2024
Labor Force ParticipationEconomy40.8%83.7%2025
Female Labor Force ParticipationEconomy14.1%80.3%2025
Income Inequality (Gini)Economy27.640.52011/2018 ⚠
Extreme Poverty RateEconomy0%51.3%2011/2018 ⚠
Account OwnershipEconomy35.3%59.8%2024
Youth NEET RateEconomy21%12.8%2017/2024 ⚠
Military Spending (% of GDP)Economy8%1.2%2024
Trade Openness (% of GDP)Economy39%39%2025
Inflation (GDP Deflator)Economy0.8%5.1%2025
Tourism ReceiptsEconomy$50M$2.62B2020/2019
Tourist ArrivalsEconomy591K1.53M2020/2019
Current Account BalanceEconomy-1.2%-2.3%2026
Foreign Direct InvestmentEconomy$1.44B$1.72B2024
FDI (% of GDP)Economy0.5%2.1%2024
Government Revenue (% of GDP)Economy23%16.1%2024
Government Spending (% of GDP)Economy36.8%19.1%2024
Youth Unemployment RateEconomy29%4.7%2017/2024 ⚠
Productive Capacity IndexEconomy4330.92024
Natural Resource RentsEconomy22.6%6.7%2021
Oil Rents (% of GDP)Economy14.5%0%2021
Mineral Rents (% of GDP)Economy0%4%2021
Natural Gas Rents (% of GDP)Economy8%0.2%2021
Foreign Aid (% of GNI)Economy0.1%3.9%2023
Foreign Aid per CapitaEconomy$4$462023
Lending Interest RateEconomy8%16.7%2025/2020 ⚠
Real Interest RateEconomy7.2%9.6%2025/2020 ⚠
Gross Savings (% of GDP)Economy39.4%36.5%2024
Adjusted Net Income per CapitaEconomy$2,810$9722021
Employment in AgricultureEconomy9.5%64.6%2025
Employment in IndustryEconomy32.3%8.1%2025
Employment in ServicesEconomy58.3%27.3%2025
Vulnerable EmploymentEconomy25.6%83.7%2025
Household Consumption (% of GDP)Economy41.8%50.5%2025
Income Share of Poorest 20%Economy9.4%6.9%2011/2018 ⚠
Bank Branches per 100,000Economy4.92.42024
ATMs per 100,000Economy12.15.52024
GDP per Capita GrowthEconomy2.5%2.9%2025
Debt Service (% of GNI)Economy0.2%2.6%2024
Poverty Rate ($3.65/day)Economy4.7%70%2011/2018 ⚠
Poverty Rate ($6.85/day)Economy41.8%91.5%2011/2018 ⚠
Exports of Goods & ServicesTrade$48.32B$17.11B2025
Imports of Goods & ServicesTrade$63.56B$18.02B2025
Export Diversification IndexTrade0.80.7482024
Export Concentration IndexTrade0.4790.352024
Liner Shipping ConnectivityTrade12.215.82021
Fuel Exports (% of Exports)Trade96.1%2.2%2017/2024 ⚠
Manufactures Exports (% of Exports)Trade2.7%10.8%2017/2024 ⚠
Food Exports (% of Exports)Trade1%37.4%2017/2024 ⚠
High-Tech Exports (% of Manufactured)Trade1%3%2017/2024 ⚠
Exports (% of GDP)Trade16.8%19%2025
Imports (% of GDP)Trade22.1%20%2025
Human Development IndexDevelopment0.7630.5552023
Gender Inequality IndexDevelopment0.4430.5042023
Inequality-adjusted HDIDevelopment0.6010.3912023
PopulationDemographics47.44M70.55M2025
Population GrowthDemographics1.3%2.9%2025
Life ExpectancyDemographics76.5 years67.2 years2024
Median AgeDemographics28.8 years17.6 years2026
Fertility RateDemographics2.724.542024
Rural PopulationDemographics24.2%63.1%2025
Population Under 15Demographics29.9%42.3%2025
Urban PopulationDemographics75.8%36.9%2025
Population DensityDemographics20.2/km²81.9/km²2026
Birth RateDemographics17.333.92026
Death RateDemographics4.685.592026
Net Migration RateDemographics-0.6-0.352026
Life Expectancy (Female)Demographics77.9 years70 years2024
Life Expectancy (Male)Demographics75.1 years64.4 years2024
Urban Population GrowthDemographics2%4.8%2025
Infant MortalityHealth19.528.72024
HIV PrevalenceHealth0.1%3.5%2024
Health Spending (% of GDP)Health4.4%3.1%2023
Physicians per 1,000Health1.660.132022
UHC Service Coverage IndexHealth70492023
Road Traffic DeathsHealth18.315.82021
Premature NCD MortalityHealth13.3%18.8%2021
Out-of-Pocket Health SpendingHealth45%27.9%2023
Safely Managed SanitationHealth62.5%28.5%2024
Maternal MortalityHealth62.5275.82023
Under-Five MortalityHealth2238.92023
Neonatal MortalityHealth15.320.62023
Tuberculosis IncidenceHealth541722024
Measles ImmunizationHealth96%84%2025
DTP3 ImmunizationHealth94%83%2025
Basic Drinking WaterHealth23.4%33.3%2024
Basic SanitationHealth23.4%8.8%2024
Diabetes PrevalenceHealth17.5%9.8%2024
Hospital Beds per 1,000Health1.610.842017/2022 ⚠
Contraceptive PrevalenceHealth53.6%37.6%2019/2022
Skilled Birth AttendanceHealth98.8%63.5%2019/2016
Nurses & Midwives per 1,000Health2.510.692022/2023
Adolescent Fertility RateHealth8.58112.62024
Health Spending per CapitaHealth$233$362023
NCD Share of DeathsHealth73.9%38.8%2021
Smoking PrevalenceHealth22.4%7.7%2024
Antenatal Care CoverageHealth95.3%98%2019/2017
Child StuntingChild Welfare8.9%29.9%2024
Child WastingChild Welfare2.7%3.1%2019/2022
Birth RegistrationChild Welfare99.6%67.7%2019/2022
Child MarriageChild Welfare3.8%29.1%2019/2022
Overweight ChildrenChild Welfare12.8%3.7%2019/2022
Education Spending (% of GDP)Education9%3.2%2024
Tertiary EnrollmentEducation54.4%4%2024
Adult Literacy RateEducation75.1%78.2%2008/2022 ⚠
Youth Literacy RateEducation93.8%87.1%2008/2022 ⚠
Primary Completion RateEducation94.1%74.5%2019/2022
Lower Secondary CompletionEducation73.2%28%2019/2022
Primary Net EnrollmentEducation98.4%83.6%2025/2024
Lower Secondary EnrollmentEducation22.4%49%2025/2024
Upper Secondary EnrollmentEducation79.6%15%2025/2024
Upper Secondary CompletionEducation46.5%8.9%2019/2022
Qualified Primary TeachersEducation100%99.2%2025/2016 ⚠
Secondary EnrollmentEducation105.2%28.2%2024/2021
UndernourishmentFood Security2.5%20.2%2023
Agricultural Land (% of Land)Agriculture17.4%44.6%2023
Food Production IndexAgriculture111.2109.92022
Cassava ProductionAgriculture10.53M t2024
Coffee ProductionAgriculture77.42K t2024
Cocoa ProductionAgriculture15K t2024
Sorghum ProductionAgriculture660.76 t800K t2024
Millet ProductionAgriculture325K t2024
Maize ProductionAgriculture12K t10.08M t2024
Rice ProductionAgriculture313.12 t4.05M t2024
Wheat ProductionAgriculture3M t119K t2024
Maize YieldAgriculture6,000 kg/ha1,756 kg/ha2024
Rice YieldAgriculture1,899 kg/ha3,106 kg/ha2024
Wheat YieldAgriculture1,667 kg/ha1,376 kg/ha2024
Cattle StockAgriculture1.8M head39.1M head2024
Homicide RateGovernance1.23.72023/2020
Corruption Perceptions IndexGovernance34412024
Electoral Democracy IndexGovernance0.2650.3652025
Liberal Democracy IndexGovernance0.1260.2972025
Political Corruption IndexGovernance0.6620.3292025
Control of CorruptionGovernance-0.59-0.292024
Government EffectivenessGovernance-0.25-0.292024
Rule of LawGovernance-0.7-0.522024
Political StabilityGovernance-0.69-0.392024
Regulatory QualityGovernance-0.75-0.542024
Voice and AccountabilityGovernance-1.05-0.642024
Refugees HostedHumanitarian180.58K171.14K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian3.69K43.26K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology77.4%31.2%2024
Mobile SubscriptionsTechnology115.5126.62024
4G CoverageTechnology99.1%88%2024
Fixed Broadband SubscriptionsTechnology13.30.22024
Mobile Data PriceTechnology0.5%4.8%2025
3G CoverageTechnology99.1%91%2024
Fixed Broadband PriceTechnology2.6%28%2025
Mobile Bundle PriceTechnology1.6%4.8%2025
R&D Spending (% of GDP)Technology0.4%0.5%2024/2013 ⚠
Electricity AccessInfrastructure100%52.4%2024
Air Transport PassengersInfrastructure7.16M1.91M2023
Slum PopulationInfrastructure13.2%70.1%2022
Renewable Energy CapacityEnergy600.7 MW2.9K MW2025
Solar CapacityEnergy461.8 MW12.2 MW2025
Wind CapacityEnergy10 MW2.4 MW2025
Hydropower CapacityEnergy128.9 MW2.8K MW2025
Renewable Energy ShareEnergy0.1%78.3%2021
Clean Cooking AccessEnergy99.7%9.8%2023
Electricity Consumption per CapitaEnergy1,828 kWh135 kWh2023
Power Transmission LossesEnergy9.2%16.8%2023
Off-grid Renewable CapacityEnergy57.9 MW63.2 MW2025
Rural Electricity AccessEnergy100%33.7%2024
Solar Share of ElectricityEnergy1%0.5%2024
Wind Share of ElectricityEnergy0%0%2024
Hydropower Share of ElectricityEnergy0%31.7%2024
Fossil Share of ElectricityEnergy98.9%67.1%2024
Electricity DemandEnergy94 TWh9 TWh2024
Electricity Carbon IntensityEnergy633 gCO₂/kWh345 gCO₂/kWh2024
Primary Energy per CapitaEnergy16,237 kWh1,199 kWh2024/2023
CO2 Emissions per CapitaClimate3.98 t0.31 t2024
Renewable Electricity OutputClimate0.9%37.2%2021
Forest AreaClimate0.8%50.1%2023
Protected AreasClimate4.4%32.3%2025
Freshwater WithdrawalsClimate91.5%6.2%2022
PM2.5 Air PollutionClimate16.5 µg/m³20.2 µ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=DZ,TZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Algeria or Tanzania have the larger economy?

Algeria has the larger economy: $317.17B for Algeria versus $94.89B for Tanzania (GDP, current US$).

How do Algeria and Tanzania compare across indicators?

This page compares Algeria and Tanzania on 202 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=DZ,TZ with a free Africa API key to get both countries' latest values as JSON.

More comparisons