censuswall DZA × ESP · 2026 · side by side
Topics

Compare · UN World Population Prospects 2024

Algeria and Spain, side by side

Algeria in 2026: half the people are older than 30. Spain: half are older than 47.

UN estimates for mid-2023: Algeria 46,164,219 people · Spain 47,911,580

Algeria 48.0 million people Half are older than 30 7 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

DZA × 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.

Algeria
Children, under 15
29
Aged 15 to 64
64
Aged 65 and over
7
Spain
Children, under 15
12
Aged 15 to 64
66
Aged 65 and over
22

DZA × ESP · families and lifetimes

Children, and how long lives last

At today's rates, a woman in Algeria would have about 2.6 children in her lifetime. 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 Algeria this year can expect to live about 77 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.

Algeria 2.6
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.

Algeria 77 years
Spain 84 years

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

DZA × ESP · 1950–2100 · how many

How big, and where they are heading

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

Algeria's population is 5.3 times what it was in 1950; Spain's population is 1.7 times what it was in 1950.

Algeria's population is expected to peak in 2090. Meanwhile Spain's population peaked in 2023. In 2100: 64.5 million in Algeria, 33.1 million in Spain (UN projection, medium).

Show the numbers
YearAlgeria: peopleSpain: peopleAlgeria: half older thanSpain: half older thanAlgeria: children per womanSpain: children per womanAlgeria: life expectancySpain: life expectancy
19509.01843 million28.0770 million19.427.57.322.4742.761.8
196011.4249 million30.4049 million17.329.47.502.8140.869.2
197013.7837 million33.8127 million16.330.17.702.8843.372.2
198018.6072 million37.5376 million16.530.76.992.2154.575.5
199025.3758 million39.0850 million18.533.54.511.3667.777.0
200030.9039 million41.0198 million21.837.32.591.2170.679.4
201036.1882 million46.8405 million26.140.22.881.3774.182.0
202346.1642 million47.9116 million29.245.92.771.2176.383.7
2030*50.1542 million47.6105 million30.549.02.451.2677.784.6
2040*54.8735 million46.5917 million32.452.02.161.3179.685.9
2050*59.5656 million44.9286 million35.552.82.001.3681.387.1
2060*62.5900 million42.2108 million39.353.01.911.3983.088.4
2070*63.8590 million39.0358 million41.853.71.861.4384.489.5
2080*64.7507 million36.5245 million43.052.61.821.4685.890.7
2090*65.1155 million34.7742 million45.252.41.791.4787.091.8
2100*64.4875 million33.1275 million47.853.21.781.4888.192.9

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

DZA − 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 Algeria 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; Algeria 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.

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