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

United States vs Spain: population pyramids in 2045

◀2045▶Swap

United StatesSpain

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.

United States and Spain compared

In 2045, the United States has a population of 375.6 million and Spain 46 million; the United States is about 8.2 times the size of Spain.

The share aged 65 and over is 22.4% in the United States and 34.1% in Spain, 11.7 points higher in Spain. The median age is 41.2 years in the United States and 51.7 years in Spain.

The total fertility rate is 1.64 in the United States and 1.34 in Spain, both below the replacement level of about 2.1. Life expectancy at birth is 82.5 years in the United States and 86.5 years in Spain.

By 2050, the population of the United States is projected to grow by 1.3% and that of Spain to shrink by 2.0% compared with 2045.

GDP per person is $90K in the United States (2025) and $39K in Spain (2025).

Figures from 2024 are UN medium-variant projections.

Key figures (2045)

United StatesSpain
Population375.6 million46 million
Aged 0–1416.0%11.1%
Aged 15–6461.6%54.7%
Aged 65+22.4%34.1%
Median age41.2 yrs51.7 yrs
Old-age dependency36.462.4
Total fertility rate1.641.34
Life expectancy82.5 yrs86.5 yrs
Population growth+0.28%-0.36%
Net migration (per year)+1.24 million+51,326
GDP$30.8T (2025)$1.91T (2025)
GDP per person$90K (2025)$39K (2025)
Unemployment4.2% (2025)10.4% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

United StatesSpainUnited States as % of Spain
Food and non-alcoholic drinks116114102%
Bread and cereals11712991%
Meat117110107%
Milk, cheese and eggs107100107%
Fruit12112398%
Vegetables178149119%
Alcoholic drinks9980123%
Tobacco195133147%
Clothing and footwear123117105%
Housing, water, electricity and gas215148145%
Health208123169%
Transport services15218284%
Communication224146154%
Recreation and culture114104110%
Education255105242%
Restaurants and hotels142111128%

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