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
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
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.
- Children, under 15
- 29
- Aged 15 to 64
- 64
- Aged 65 and over
- 7
- 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.
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.
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
| Year | Algeria: people | Spain: people | Algeria: half older than | Spain: half older than | Algeria: children per woman | Spain: children per woman | Algeria: life expectancy | Spain: life expectancy |
|---|---|---|---|---|---|---|---|---|
| 1950 | 9.01843 million | 28.0770 million | 19.4 | 27.5 | 7.32 | 2.47 | 42.7 | 61.8 |
| 1960 | 11.4249 million | 30.4049 million | 17.3 | 29.4 | 7.50 | 2.81 | 40.8 | 69.2 |
| 1970 | 13.7837 million | 33.8127 million | 16.3 | 30.1 | 7.70 | 2.88 | 43.3 | 72.2 |
| 1980 | 18.6072 million | 37.5376 million | 16.5 | 30.7 | 6.99 | 2.21 | 54.5 | 75.5 |
| 1990 | 25.3758 million | 39.0850 million | 18.5 | 33.5 | 4.51 | 1.36 | 67.7 | 77.0 |
| 2000 | 30.9039 million | 41.0198 million | 21.8 | 37.3 | 2.59 | 1.21 | 70.6 | 79.4 |
| 2010 | 36.1882 million | 46.8405 million | 26.1 | 40.2 | 2.88 | 1.37 | 74.1 | 82.0 |
| 2023 | 46.1642 million | 47.9116 million | 29.2 | 45.9 | 2.77 | 1.21 | 76.3 | 83.7 |
| 2030* | 50.1542 million | 47.6105 million | 30.5 | 49.0 | 2.45 | 1.26 | 77.7 | 84.6 |
| 2040* | 54.8735 million | 46.5917 million | 32.4 | 52.0 | 2.16 | 1.31 | 79.6 | 85.9 |
| 2050* | 59.5656 million | 44.9286 million | 35.5 | 52.8 | 2.00 | 1.36 | 81.3 | 87.1 |
| 2060* | 62.5900 million | 42.2108 million | 39.3 | 53.0 | 1.91 | 1.39 | 83.0 | 88.4 |
| 2070* | 63.8590 million | 39.0358 million | 41.8 | 53.7 | 1.86 | 1.43 | 84.4 | 89.5 |
| 2080* | 64.7507 million | 36.5245 million | 43.0 | 52.6 | 1.82 | 1.46 | 85.8 | 90.7 |
| 2090* | 65.1155 million | 34.7742 million | 45.2 | 52.4 | 1.79 | 1.47 | 87.0 | 91.8 |
| 2100* | 64.4875 million | 33.1275 million | 47.8 | 53.2 | 1.78 | 1.48 | 88.1 | 92.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.
More comparisons
Keep exploring
Each place on its own: Algeria · Spain. Or pick any two places with the boxes at the top of this page.
Other comparisons
- Afghanistan and Algeria
- Algeria and Iraq
- Algeria and Italy
- Algeria and Morocco
- Algeria and South Korea
- Algeria and Yemen
- Afghanistan and Spain
- Argentina and Spain
- Canada and Spain
- Iraq and Spain
- Italy and Spain
- Portugal and Spain
- South Korea and Spain
- Spain and Yemen
- Algeria and Northern Africa
- Spain and Southern Europe
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