Topics
Compare · UN World Population Prospects 2024
Indonesia and
Nigeria, side by side
In 2026, half of the people in Indonesia are older than 32. In Nigeria, half are older than 19.
UN estimates for mid-2023: Indonesia 281,190,066 people · Nigeria 227,882,945
How to read this: each pyramid stacks a place’s people by age — babies at the bottom, the oldest at the top, men on the left and women on the right. A wide bottom means many children; a wide top means many older people.
Each bar is a share of its own place’s people, so a small country and a large one can be read side by side.
men women projected
IDN × NGA · 2026 · age groups
If each place were 100 people
Shrink each population to 100 people and count them. Dots are children under 15, filled squares are people aged 15 to 64, and open squares are people 65 and over. The picture follows the year slider above.
- Children, under 15
- 24
- Aged 15 to 64
- 68
- Aged 65 and over
- 8
- Children, under 15
- 40
- Aged 15 to 64
- 57
- Aged 65 and over
- 3
IDN × NGA · families and lifetimes
Children, and how long lives last
If the birth rates of this year held for a whole lifetime, a woman in Indonesia would have about 2.1 children and a woman in Nigeria about 4.2. Around 2.1 children per woman keeps a population the same size over time, leaving migration aside. A baby born in Indonesia this year can expect to live about 72 years. In Nigeria, about 55.
Children per woman, 2026
Each figure is one child: how many children a woman would have in her lifetime at that year’s rates.
The dashed line at 2.1 is about what it takes for each generation to replace the one before it, leaving migration aside.
How long a newborn can expect to live, 2026
Each block is ten years of life, if the death rates of that year stayed the same all life long.
Hatched marks are UN projections (medium variant), not measurements.
IDN × NGA · 1950–2100 · how many
How big, and where they are heading
There are 288 million people in Indonesia and 242 million in Nigeria: about 20% more people than Nigeria.
Set each against its own 1950 self and Indonesia's population is 4.2 times what it was in 1950, Nigeria's population is 6.5 times what it was in 1950.
Looking ahead: Indonesia's population is expected to peak in 2058, and Nigeria's population is still growing in 2100. The UN expects Nigeria to have more people than Indonesia from 2040. In 2100: 296 million in Indonesia, 477 million in Nigeria (UN projection, medium).
Show the numbers
| Year | Indonesia: people | Nigeria: people | Indonesia: half older than | Nigeria: half older than | Indonesia: children per woman | Nigeria: children per woman | Indonesia: life expectancy | Nigeria: life expectancy |
|---|---|---|---|---|---|---|---|---|
| 1950 | 68.7990 million | 37.2830 million | 18.9 | 19.1 | 5.11 | 6.42 | 40.2 | 35.5 |
| 1960 | 88.2961 million | 45.0538 million | 20.1 | 19.3 | 5.50 | 6.36 | 46.8 | 37.2 |
| 1970 | 115.657 million | 55.8938 million | 18.9 | 18.9 | 5.49 | 6.47 | 53.3 | 40.0 |
| 1980 | 148.951 million | 73.7646 million | 19.4 | 17.7 | 4.50 | 6.85 | 58.7 | 46.0 |
| 1990 | 183.501 million | 97.1209 million | 21.6 | 17.2 | 3.11 | 6.46 | 63.3 | 45.7 |
| 2000 | 216.078 million | 126.382 million | 24.6 | 17.8 | 2.50 | 6.12 | 66.3 | 47.1 |
| 2010 | 246.305 million | 166.643 million | 27.6 | 17.7 | 2.46 | 5.95 | 68.4 | 51.3 |
| 2023 | 281.190 million | 227.883 million | 30.8 | 18.8 | 2.13 | 4.48 | 71.2 | 54.5 |
| 2030* | 295.877 million | 262.381 million | 32.8 | 20.3 | 2.01 | 3.82 | 72.2 | 55.5 |
| 2040* | 311.797 million | 312.710 million | 35.3 | 22.7 | 1.91 | 3.10 | 73.5 | 57.1 |
| 2050* | 320.713 million | 359.186 million | 37.8 | 24.9 | 1.85 | 2.66 | 75.0 | 58.5 |
| 2060* | 322.529 million | 399.785 million | 40.1 | 27.3 | 1.81 | 2.39 | 76.3 | 59.9 |
| 2070* | 320.050 million | 433.486 million | 41.7 | 29.8 | 1.78 | 2.20 | 77.7 | 61.2 |
| 2080* | 314.543 million | 457.922 million | 43.2 | 32.0 | 1.76 | 2.07 | 79.2 | 62.5 |
| 2090* | 306.111 million | 471.886 million | 44.8 | 33.8 | 1.74 | 1.98 | 80.5 | 63.6 |
| 2100* | 295.511 million | 476.748 million | 46.0 | 35.3 | 1.73 | 1.91 | 81.9 | 64.7 |
* UN projection, medium variant. People at mid-year; ages and life expectancy in years.
IDN − NGA · 1950–2100 · every age
Which ages each place has more of
Each column is a year and each row an age, from babies at the bottom to 100 at the top. The shade of a cell shows which place has more of its people at that age — the key beside the picture tells you which shade is Indonesia and which is Nigeria, and the in-between shade means the same. Because it compares shares, a small place and a large one can be compared fairly.
236 countries · 1950–2100
Where they sit among all countries
Every country in the world, every year from 1950 to 2100. The grey cloud shows where most countries are; Indonesia is drawn in solid blue squares and Nigeria in open orange squares, so you can see whether each is ahead of the crowd, behind it or in the middle.
More comparisons
Keep exploring
Each place on its own: Indonesia · Nigeria. Or pick any two places with the boxes at the top of this page.
Other comparisons
- Indonesia and Malaysia
- Indonesia and Pakistan
- China and Nigeria
- Democratic Republic of the Congo and Nigeria
- Ethiopia and Nigeria
- Germany and Nigeria
- Ghana and Nigeria
- India and Nigeria
- Japan and Nigeria
- Nigeria and South Africa
- Nigeria and South Korea
- Nigeria and United States
- Indonesia and South-Eastern Asia
- Nigeria and Western Africa
Apparatus
Sources and method
Indonesia and Nigeria are drawn here from one source and one release: the UN Population Division's World Population Prospects 2024, counted through 2023 and projected on its medium variant after that. Two places read off the same tables can be set against each other; two read off different tables cannot.
How the median age and the “100 people” pictures are worked out, and why the pictures of every country leave the regions out: how the figures here are put together.
This is one of 250 pairs with a page. The boxes at the top will take any other two places you want to see side by side.
Sources: UN WPP 2024 · flag-icons. Every source, its licence and how to cite it →
Verified 2026-09-30 · 73 canaries