Topics
Compare · UN World Population Prospects 2024
Spain and
Yemen, side by side
Spain in 2026: half the people are older than 47. Yemen: half are older than 19.
UN estimates for mid-2023: Spain 47,911,580 people · Yemen 39,390,799
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
ESP × YEM · 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
- 12
- Aged 15 to 64
- 66
- Aged 65 and over
- 22
- Children, under 15
- 41
- Aged 15 to 64
- 56
- Aged 65 and over
- 3
ESP × YEM · families and lifetimes
Children, and how long lives last
If the birth rates of this year held for a whole lifetime, a woman in Spain would have about 1.2 children and a woman in Yemen about 4.3. Around 2.1 children per woman keeps a population the same size over time, leaving migration aside. Babies born this year can expect about 84 years of life in Spain and about 70 in Yemen.
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.
ESP × YEM · 1950–2100 · how many
How big, and where they are heading
Spain is the larger of the two, with about 10% more people than Yemen: 47.9 million to 43.0 million.
Set each against its own 1950 self and Spain's population is 1.7 times what it was in 1950, Yemen's population is 9.3 times what it was in 1950.
Spain's population peaked in 2023. Meanwhile Yemen's population is still growing in 2100. The UN expects Yemen to have more people than Spain from 2030. In 2100: 33.1 million in Spain, 110 million in Yemen (UN projection, medium).
Show the numbers
| Year | Spain: people | Yemen: people | Spain: half older than | Yemen: half older than | Spain: children per woman | Yemen: children per woman | Spain: life expectancy | Yemen: life expectancy |
|---|---|---|---|---|---|---|---|---|
| 1950 | 28.0770 million | 4.61678 million | 27.5 | 19.2 | 2.47 | 7.97 | 61.8 | 28.9 |
| 1960 | 30.4049 million | 5.53230 million | 29.4 | 19.6 | 2.81 | 7.99 | 69.2 | 33.5 |
| 1970 | 33.8127 million | 7.06528 million | 30.1 | 18.3 | 2.88 | 8.23 | 72.2 | 40.6 |
| 1980 | 37.5376 million | 9.54336 million | 30.7 | 15.8 | 2.21 | 8.71 | 75.5 | 50.6 |
| 1990 | 39.0850 million | 13.8879 million | 33.5 | 14.6 | 1.36 | 8.61 | 77.0 | 58.5 |
| 2000 | 41.0198 million | 19.6241 million | 37.3 | 15.4 | 1.21 | 6.32 | 79.4 | 62.8 |
| 2010 | 46.8405 million | 26.7544 million | 40.2 | 17.6 | 1.37 | 4.81 | 82.0 | 67.2 |
| 2023 | 47.9116 million | 39.3908 million | 45.9 | 19.2 | 1.21 | 4.59 | 83.7 | 69.3 |
| 2030* | 47.6105 million | 47.6677 million | 49.0 | 20.0 | 1.26 | 3.97 | 84.6 | 70.3 |
| 2040* | 46.5917 million | 59.1815 million | 52.0 | 22.1 | 1.31 | 3.27 | 85.9 | 71.5 |
| 2050* | 44.9286 million | 70.9764 million | 52.8 | 25.1 | 1.36 | 2.81 | 87.1 | 72.8 |
| 2060* | 42.2108 million | 82.1760 million | 53.0 | 27.8 | 1.39 | 2.50 | 88.4 | 73.9 |
| 2070* | 39.0358 million | 91.8300 million | 53.7 | 30.3 | 1.43 | 2.28 | 89.5 | 75.1 |
| 2080* | 36.5245 million | 99.7942 million | 52.6 | 33.0 | 1.46 | 2.11 | 90.7 | 76.4 |
| 2090* | 34.7742 million | 106.002 million | 52.4 | 35.7 | 1.47 | 1.99 | 91.8 | 77.7 |
| 2100* | 33.1275 million | 110.036 million | 53.2 | 38.2 | 1.48 | 1.91 | 92.9 | 78.9 |
* UN projection, medium variant. People at mid-year; ages and life expectancy in years.
ESP − YEM · 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 Spain and which is Yemen, 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; Spain is drawn in solid blue squares and Yemen 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
Both sides of this comparison come from the UN Population Division's World Population Prospects 2024 — the same release, the same tables, counted to 2023 and projected beyond it on the medium variant. That shared origin is what a comparison rests on.
The working behind the median age, the rounding in the “100 people” pictures and the reason the regions are kept out of the all-country views are all set out in the method.
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