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

Spain vs Japan: population pyramids in 2045

◀2045▶Swap

SpainJapan

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.

Spain and Japan compared

In 2045, Spain has a population of 46 million and Japan 108.9 million; Japan is about 2.4 times the size of Spain.

The share aged 65 and over is 34.1% in Spain and 36.7% in Japan, 2.6 points higher in Japan. The median age is 51.7 years in Spain and 53.0 years in Japan.

The total fertility rate is 1.34 in Spain and 1.33 in Japan, both below the replacement level of about 2.1. Life expectancy at birth is 86.5 years in Spain and 87.8 years in Japan.

By 2050, the population of Spain is projected to shrink by 2.0% and that of Japan to shrink by 3.2% compared with 2045.

GDP per person is $39K in Spain (2025) and $36K in Japan (2025).

Figures from 2024 are UN medium-variant projections.

Key figures (2045)

SpainJapan
Population46 million108.9 million
Aged 0–1411.1%10.9%
Aged 15–6454.7%52.4%
Aged 65+34.1%36.7%
Median age51.7 yrs53.0 yrs
Old-age dependency62.470.1
Total fertility rate1.341.33
Life expectancy86.5 yrs87.8 yrs
Population growth-0.36%-0.65%
Net migration (per year)+51,326+113,424
GDP$1.91T (2025)$4.44T (2025)
GDP per person$39K (2025)$36K (2025)
Unemployment10.4% (2025)2.5% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

SpainJapanSpain as % of Japan
Food and non-alcoholic drinks11419160%
Bread and cereals12920662%
Meat11019257%
Milk, cheese and eggs10017457%
Fruit12328244%
Vegetables14930449%
Alcoholic drinks8011968%
Tobacco133118113%
Clothing and footwear11713487%
Housing, water, electricity and gas14817784%
Health12397126%
Transport services18233854%
Communication14622864%
Recreation and culture10414174%
Education10513876%
Restaurants and hotels11114875%

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