censuswall IRQ × ESP · 2026 · side by side
Topics

Compare · UN World Population Prospects 2024

Iraq and Spain, side by side

Iraq in 2026: half the people are older than 22. Spain: half are older than 47.

UN estimates for mid-2023: Iraq 45,074,049 people · Spain 47,911,580

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

IRQ × ESP · 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.

Iraq
Children, under 15
35
Aged 15 to 64
61
Aged 65 and over
4
Spain
Children, under 15
12
Aged 15 to 64
66
Aged 65 and over
22

IRQ × ESP · families and lifetimes

Children, and how long lives last

If the birth rates of this year held for a whole lifetime, a woman in Iraq would have about 3.1 children and a woman in Spain about 1.2. Around 2.1 children per woman keeps a population the same size over time, leaving migration aside. A baby born in Iraq this year can expect to live about 73 years. In Spain, about 84.

Children per woman, 2026

Each figure is one child: how many children a woman would have in her lifetime at that year’s rates.

Iraq 3.1
Spain 1.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.

Iraq 73 years
Spain 84 years

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

IRQ × ESP · 1950–2100 · how many

How big, and where they are heading

Iraq is the larger of the two, with about as many people as Spain: 48.0 million to 47.9 million.

Set each against its own 1950 self and Iraq's population is 8.5 times what it was in 1950, Spain's population is 1.7 times what it was in 1950.

Iraq's population is still growing in 2100. Meanwhile Spain's population peaked in 2023. In 2100: 101 million in Iraq, 33.1 million in Spain (UN projection, medium).

Show the numbers
YearIraq: peopleSpain: peopleIraq: half older thanSpain: half older thanIraq: children per womanSpain: children per womanIraq: life expectancySpain: life expectancy
19505.65335 million28.0770 million21.527.56.202.4737.461.8
19607.02205 million30.4049 million20.429.45.302.8151.569.2
19709.73561 million33.8127 million18.030.17.072.8860.572.2
198013.5920 million37.5376 million16.430.76.592.2160.975.5
199017.5812 million39.0850 million17.033.55.931.3657.677.0
200024.4241 million41.0198 million17.937.34.921.2164.979.4
201031.0454 million46.8405 million18.940.24.461.3768.182.0
202345.0740 million47.9116 million21.345.93.251.2172.383.7
2030*51.9372 million47.6105 million23.149.02.971.2673.184.6
2040*62.2232 million46.5917 million26.252.02.661.3174.185.9
2050*71.9287 million44.9286 million28.852.82.451.3675.387.1
2060*80.5202 million42.2108 million31.253.02.271.3976.588.4
2070*87.9959 million39.0358 million33.753.72.151.4377.889.5
2080*93.7619 million36.5245 million36.252.62.051.4679.090.7
2090*98.0040 million34.7742 million38.352.41.971.4780.391.8
2100*100.649 million33.1275 million40.153.21.921.4881.692.9

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

IRQ − ESP · 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 Iraq and which is Spain, 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; Iraq is drawn in solid blue squares and Spain 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