censuswall IDN × NGA · 2026 · side by side
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

Indonesia 288 million people Half are older than 32 8 in 100 are 65 or older
Nigeria 242 million people Half are older than 19 3 in 100 are 65 or older

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.

estimatesprojections

men women projected

Verified 2026-09-30 · 73 canaries

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.

Indonesia
Children, under 15
24
Aged 15 to 64
68
Aged 65 and over
8
Nigeria
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.

Indonesia 2.1
Nigeria 4.2

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.

Indonesia 72 years
Nigeria 55 years

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
YearIndonesia: peopleNigeria: peopleIndonesia: half older thanNigeria: half older thanIndonesia: children per womanNigeria: children per womanIndonesia: life expectancyNigeria: life expectancy
195068.7990 million37.2830 million18.919.15.116.4240.235.5
196088.2961 million45.0538 million20.119.35.506.3646.837.2
1970115.657 million55.8938 million18.918.95.496.4753.340.0
1980148.951 million73.7646 million19.417.74.506.8558.746.0
1990183.501 million97.1209 million21.617.23.116.4663.345.7
2000216.078 million126.382 million24.617.82.506.1266.347.1
2010246.305 million166.643 million27.617.72.465.9568.451.3
2023281.190 million227.883 million30.818.82.134.4871.254.5
2030*295.877 million262.381 million32.820.32.013.8272.255.5
2040*311.797 million312.710 million35.322.71.913.1073.557.1
2050*320.713 million359.186 million37.824.91.852.6675.058.5
2060*322.529 million399.785 million40.127.31.812.3976.359.9
2070*320.050 million433.486 million41.729.81.782.2077.761.2
2080*314.543 million457.922 million43.232.01.762.0779.262.5
2090*306.111 million471.886 million44.833.81.741.9880.563.6
2100*295.511 million476.748 million46.035.31.731.9181.964.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.

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