censuswall IDN × PAK · 2026 · side by side
Topics

Compare · UN World Population Prospects 2024

Indonesia and Pakistan, side by side

In 2026, half of the people in Indonesia are older than 32. In Pakistan, half are older than 22.

UN estimates for mid-2023: Indonesia 281,190,066 people · Pakistan 247,504,496

Indonesia 288 million people Half are older than 32 8 in 100 are 65 or older
Pakistan 259 million people Half are older than 22 4 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 × PAK · 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
Pakistan
Children, under 15
36
Aged 15 to 64
60
Aged 65 and over
4

IDN × PAK · families and lifetimes

Children, and how long lives last

At today's rates, a woman in Indonesia would have about 2.1 children in her lifetime. In Pakistan, about 3.4. 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 Pakistan, about 68.

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
Pakistan 3.4

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
Pakistan 68 years

Hatched marks are UN projections (medium variant), not measurements.

IDN × PAK · 1950–2100 · how many

How big, and where they are heading

There are 288 million people in Indonesia and 259 million in Pakistan: about 10% more people than Pakistan.

Indonesia's population is 4.2 times what it was in 1950; Pakistan's population is 7.2 times what it was in 1950.

Looking ahead: Indonesia's population is expected to peak in 2058, and Pakistan's population is still growing in 2100. The UN expects Pakistan to have more people than Indonesia from 2037. In 2100: 296 million in Indonesia, 511 million in Pakistan (UN projection, medium).

Show the numbers
YearIndonesia: peoplePakistan: peopleIndonesia: half older thanPakistan: half older thanIndonesia: children per womanPakistan: children per womanIndonesia: life expectancyPakistan: life expectancy
195068.7990 million35.8493 million18.918.35.116.8040.234.3
196088.2961 million45.7093 million20.119.05.506.8046.844.1
1970115.657 million60.1667 million18.918.15.496.8053.352.9
1980148.951 million82.2910 million19.418.14.506.7358.757.2
1990183.501 million116.156 million21.617.93.116.3663.359.7
2000216.078 million154.879 million24.618.02.505.3566.361.9
2010246.305 million199.239 million27.619.82.464.4068.464.4
2023281.190 million247.505 million30.821.32.133.6071.267.7
2030*295.877 million276.883 million32.822.62.013.2572.268.6
2040*311.797 million324.938 million35.325.01.912.8773.570.0
2050*320.713 million371.864 million37.827.31.852.5875.071.3
2060*322.529 million414.441 million40.129.51.812.3776.372.6
2070*320.050 million451.260 million41.731.91.782.2177.774.0
2080*314.543 million479.745 million43.234.21.762.0979.275.3
2090*306.111 million499.173 million44.836.31.742.0080.576.7
2100*295.511 million511.001 million46.038.31.731.9381.978.2

* UN projection, medium variant. People at mid-year; ages and life expectancy in years.

IDN − PAK · 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 Pakistan, 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 Pakistan 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 · Pakistan. Or pick any two places with the boxes at the top of this page.

Apparatus

Sources and method

Indonesia and Pakistan 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.

250 comparisons have a page of their own; any other two places can be compared from the boxes at the top.

Sources: UN WPP 2024 · flag-icons. Every source, its licence and how to cite it →

Verified 2026-09-30 · 73 canaries