Nigeria vs Egypt: population pyramids in 2040
NigeriaEgypt
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
Nigeria and Egypt compared
In 2040, Nigeria has a population of 310.2 million and Egypt 144.3 million; Nigeria is about 2.1 times the size of Egypt.
The share aged 65 and over is 3.6% in Nigeria and 7.5% in Egypt, 3.8 points higher in Egypt. The median age is 22.6 years in Nigeria and 28.8 years in Egypt.
The total fertility rate is 3.10 in Nigeria and 2.39 in Egypt, both above the replacement level of about 2.1. Life expectancy at birth is 57.1 years in Nigeria and 74.5 years in Egypt.
By 2050, the population of Nigeria is projected to grow by 15.1% and that of Egypt to grow by 11.5% compared with 2040.
GDP per person is $1,224 in Nigeria (2025) and $3,086 in Egypt (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2040)
| Nigeria | Egypt | |
|---|---|---|
| Population | 310.2 million | 144.3 million |
| Aged 0–14 | 34.7% | 26.5% |
| Aged 15–64 | 61.6% | 66.0% |
| Aged 65+ | 3.6% | 7.5% |
| Median age | 22.6 yrs | 28.8 yrs |
| Old-age dependency | 5.9 | 11.3 |
| Total fertility rate | 3.10 | 2.39 |
| Life expectancy | 57.1 yrs | 74.5 yrs |
| Population growth | +1.58% | +1.25% |
| Net migration (per year) | +41,202 | -20,696 |
| GDP | $291B (2025) | $365B (2025) |
| GDP per person | $1,224 (2025) | $3,086 (2025) |
| Unemployment | 3.1% (2025) | 6.8% (2025) |
Economic figures are the latest year published for each country.