Germany vs Spain: population pyramids in 2026
GermanySpain
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
Germany and Spain compared
In 2026, Germany has a population of 83.7 million and Spain 47.9 million; Germany is about 1.7 times the size of Spain.
The share aged 65 and over is 24.0% in Germany and 21.9% in Spain, 2.1 points higher in Germany. The median age is 45.7 years in Germany and 46.3 years in Spain.
The total fertility rate is 1.46 in Germany and 1.24 in Spain, both below the replacement level of about 2.1. Life expectancy at birth is 81.9 years in Germany and 84.1 years in Spain.
By 2050, the population of Germany is projected to shrink by 6.4% and that of Spain to shrink by 5.9% compared with 2026.
GDP per person is $60K in Germany (2025) and $39K in Spain (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Germany | Spain | |
|---|---|---|
| Population | 83.7 million | 47.9 million |
| Aged 0–14 | 13.9% | 12.5% |
| Aged 15–64 | 62.1% | 65.6% |
| Aged 65+ | 24.0% | 21.9% |
| Median age | 45.7 yrs | 46.3 yrs |
| Old-age dependency | 38.6 | 33.4 |
| Total fertility rate | 1.46 | 1.24 |
| Life expectancy | 81.9 yrs | 84.1 yrs |
| Population growth | -0.23% | -0.10% |
| Net migration (per year) | +158,442 | +85,305 |
| GDP | $5.05T (2025) | $1.91T (2025) |
| GDP per person | $60K (2025) | $39K (2025) |
| Unemployment | 3.7% (2025) | 10.4% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| Germany | Spain | Germany as % of Spain | |
|---|---|---|---|
| Food and non-alcoholic drinks | 122 | 114 | 107% |
| Bread and cereals | 129 | 129 | 100% |
| Meat | 138 | 110 | 126% |
| Milk, cheese and eggs | 97 | 100 | 97% |
| Fruit | 146 | 123 | 119% |
| Vegetables | 170 | 149 | 114% |
| Alcoholic drinks | 72 | 80 | 90% |
| Tobacco | 175 | 133 | 132% |
| Clothing and footwear | 130 | 117 | 111% |
| Housing, water, electricity and gas | 169 | 148 | 114% |
| Health | 118 | 123 | 96% |
| Transport services | 252 | 182 | 138% |
| Communication | 140 | 146 | 97% |
| Recreation and culture | 117 | 104 | 112% |
| Education | 150 | 105 | 142% |
| Restaurants and hotels | 149 | 111 | 134% |
Price level indices from the World Bank's International Comparison Program (ICP 2021, CC BY 4.0): the same goods and services at market exchange rates of 2021. Rankings by category