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

Japan vs Spain: population pyramids in 2045

◀2045▶Swap

JapanSpain

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.

Japan and Spain compared

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

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

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

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

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

Figures from 2024 are UN medium-variant projections.

Key figures (2045)

JapanSpain
Population108.9 million46 million
Aged 0–1410.9%11.1%
Aged 15–6452.4%54.7%
Aged 65+36.7%34.1%
Median age53.0 yrs51.7 yrs
Old-age dependency70.162.4
Total fertility rate1.331.34
Life expectancy87.8 yrs86.5 yrs
Population growth-0.65%-0.36%
Net migration (per year)+113,424+51,326
GDP$4.44T (2025)$1.91T (2025)
GDP per person$36K (2025)$39K (2025)
Unemployment2.5% (2025)10.4% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

JapanSpainJapan as % of Spain
Food and non-alcoholic drinks191114167%
Bread and cereals206129160%
Meat192110175%
Milk, cheese and eggs174100174%
Fruit282123229%
Vegetables304149204%
Alcoholic drinks11980148%
Tobacco11813389%
Clothing and footwear134117115%
Housing, water, electricity and gas177148119%
Health9712379%
Transport services338182186%
Communication228146156%
Recreation and culture141104135%
Education138105131%
Restaurants and hotels148111133%

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