World Population PyramidsPopulation pyramids and indicators by country and year日本語

Germany vs Spain: population pyramids in 2026

◀2026▶Swap

GermanySpain

1%0.75%0.5%0.25%0%0.25%0.5%0.75%1%0102030405060708090100+MaleFemale

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)

GermanySpain
Population83.7 million47.9 million
Aged 0–1413.9%12.5%
Aged 15–6462.1%65.6%
Aged 65+24.0%21.9%
Median age45.7 yrs46.3 yrs
Old-age dependency38.633.4
Total fertility rate1.461.24
Life expectancy81.9 yrs84.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)
Unemployment3.7% (2025)10.4% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

GermanySpainGermany as % of Spain
Food and non-alcoholic drinks122114107%
Bread and cereals129129100%
Meat138110126%
Milk, cheese and eggs9710097%
Fruit146123119%
Vegetables170149114%
Alcoholic drinks728090%
Tobacco175133132%
Clothing and footwear130117111%
Housing, water, electricity and gas169148114%
Health11812396%
Transport services252182138%
Communication14014697%
Recreation and culture117104112%
Education150105142%
Restaurants and hotels149111134%

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

Compare other years