Country comparison
Nigeria vs Egypt
Nigeria and Egypt 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$252.26B vs $389.06BNigeria vs Egypt
GDP per Capita$1,084 vs $3,338Nigeria vs Egypt
Population232.68M vs 116.54MNigeria vs Egypt
Indicator by indicator
Get this comparison via API
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=NG,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
Does Nigeria or Egypt have the larger economy?
Egypt has the larger economy: $252.26B for Nigeria versus $389.06B for Egypt (GDP, current US$).
How do Nigeria and Egypt compare across indicators?
This page compares Nigeria and Egypt 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=NG,EG with a free Africa API key to get both countries' latest values as JSON.
More comparisons