Compare Population Pyramids of Any Two Countries
By Marko Visic · Updated
Pick two countries to see their population pyramids, ages and growth side by side (a UN projection for 1 July 2026). Data: UN World Population Prospects 2024.
How to read a comparison
Each comparison puts the two countries’ population pyramids side by side and overlays them, so you can read the difference by age and sex. The longer bar in each five-year band marks the country with more people of that age.
The difference chart shows where and by how much the two populations differ, band by band. Each age group shows up to two bars: one on the left for the male difference, one on the right for the female difference. The color tells you which country has more people in that band and the length shows by how much. On the left, a blue bar means the first country has more males and a green bar means the second does; on the right, pink marks more females in the first country and orange more in the second.
The metrics table under each comparison lists population, median age, fertility, birth rate, the 2050 projection and the peak year for both countries, with the gap between them.
Popular Comparisons
Compared with Europe
Africa, China and the United States set against Europe, both pyramids on one scale from 1950 to 2100.
Featured comparison: India vs China, 2026
India
- Population
- 1.48 billion
- Median age
- 29.2
- Growth 2025–2026
- +0.87%
- Sex ratio
- 106.4 M/100F
China
- Population
- 1.41 billion
- Median age
- 40.6
- Growth 2025–2026
- -0.22%
- Sex ratio
- 103.6 M/100F
By the UN's current estimates (World Population Prospects 2024), India passed China in mid-2022. China had the largest population in every year from 1950, when UN estimates begin, until then. The UN had first dated the change to April 2023, based on its 2022 revision.
Together they hold a projected 34.8% of the world’s people in 2026.
Age structure, 2026
| Age Group | India | China | Difference |
|---|---|---|---|
| Under 15 | 23.8% | 14.8% | +9.0pp |
| 15–64 | 68.6% | 70.1% | -1.5pp |
| 65 and over | 7.6% | 15.1% | -7.5pp |