censuswall ESP × YEM · 2026 · side by side
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

Spain 47.9 million people Half are older than 47 22 in 100 are 65 or older
Yemen 43.0 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

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.

Spain
Children, under 15
12
Aged 15 to 64
66
Aged 65 and over
22
Yemen
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.

Spain 1.2
Yemen 4.3

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.

Spain 84 years
Yemen 70 years

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
YearSpain: peopleYemen: peopleSpain: half older thanYemen: half older thanSpain: children per womanYemen: children per womanSpain: life expectancyYemen: life expectancy
195028.0770 million4.61678 million27.519.22.477.9761.828.9
196030.4049 million5.53230 million29.419.62.817.9969.233.5
197033.8127 million7.06528 million30.118.32.888.2372.240.6
198037.5376 million9.54336 million30.715.82.218.7175.550.6
199039.0850 million13.8879 million33.514.61.368.6177.058.5
200041.0198 million19.6241 million37.315.41.216.3279.462.8
201046.8405 million26.7544 million40.217.61.374.8182.067.2
202347.9116 million39.3908 million45.919.21.214.5983.769.3
2030*47.6105 million47.6677 million49.020.01.263.9784.670.3
2040*46.5917 million59.1815 million52.022.11.313.2785.971.5
2050*44.9286 million70.9764 million52.825.11.362.8187.172.8
2060*42.2108 million82.1760 million53.027.81.392.5088.473.9
2070*39.0358 million91.8300 million53.730.31.432.2889.575.1
2080*36.5245 million99.7942 million52.633.01.462.1190.776.4
2090*34.7742 million106.002 million52.435.71.471.9991.877.7
2100*33.1275 million110.036 million53.238.21.481.9192.978.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