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

Spain population pyramid 2020

Estimate
  • CapitalMadrid
  • Official languagesSpanish
  • Currencyeuro
  • Governmentparliamentary monarchy
  • Area506K km²
  • Density94 per km² (2020)
  • Japanese residents9,733 (2025-10)
  • Living in Japan4,424 (end of December 2025, 35th largest)
  • Calling code+34
  • Internet domain.es

Population pyramid

Population
47.6 million
Aged 0–14
14.3%
Aged 15–64
66.2%
Aged 65+
19.5%
Median age
43.5 yrs
Old-age dependency
29.4
Sex ratio M per 100 F
96.5
600K400K200K0200K400K600K0102030405060708090100+MaleFemaleSpain's baby boom

Bars show the population at each single year of age (men left, women right). The axis is fixed across 1950–2100 so years can be compared. Old-age dependency = population 65+ ÷ population 15–64 × 100. Guide and glossary · Pyramid shapes by country

Embed this chart / download the data

Paste into a blog or slides (please keep the credit link).

Animated version that plays from 1950 to 2100:

Population by age (CSV)Indicators by year (CSV)

Data may be reused with attribution to the original sources (UN, World Bank, etc.).

Population over time

Total population (1950–2100)

27M34M42M49M2000205019502100Total population
Total population

The vertical line marks the selected year. Figures from 2024 are UN medium-variant projections.

Demographics: births, deaths and migration

Values for 2020. A population pyramid is shaped by births, deaths and migration over time. Figures from 2024 are UN medium-variant projections.

Total fertility rate
1.19
Children per woman
Life expectancy (male)
79.5 yrs
At birth
Life expectancy (female)
85.0 yrs
At birth
Births
343,355
Per year
Deaths
495,378
Per year
Natural change
-3.2
Per 1,000 people (births − deaths)
Net migration
+236,854
Per year (in − out)
Population growth
+0.18%
Per year
Infant mortality
2.5
Per 1,000 live births

Total fertility rate

1.01.72.43.12000205019502100Replacement level 2.1Total fertility rate
Total fertility rate

If fertility stays below replacement level (about 2.1), the population shrinks in the long run unless immigration makes up for it. Where is fertility lowest?

Life expectancy at birth

577184972000205019502100MaleFemale
MaleFemale

Birth and death rates (per 1,000 people)

5.911.517.122.72000205019502100Birth rateDeath rate
Birth rateDeath rate

When the death rate exceeds the birth rate, the population declines naturally.

Net migration (in − out, per year)

-302K73K448K823K2000205019502100Net migration
Net migration

Where Spain is

40.5°N 3.8°W

Maps show approximate locations and imply no position on borders or sovereignty. Small island countries are marked with circles.

Industry

Value added by sector as a share of GDP, and employment by sector (World Bank).

Agriculture (% of GDP)
2.7%
2025
Industry incl. construction (% of GDP)
19.6%
2025
Manufacturing (% of GDP)
10.6%
2025
Services (% of GDP)
68.4%
2025

GDP by sector

0%24%48%72%19802000202019602025AgricultureIndustryServices
AgricultureIndustryServices

Economy

GDP (current US$)
$1.91T
2025
GDP per capita
$39K
2025
Real GDP growth
2.8%
2025
FDI inflows (% of GDP)
1.5%
2025

GDP (current US$)

$0$667B$1.33T$2T19802000202019602025GDP
GDP

Real GDP growth

-12.1%-3.7%4.6%13%19802000202019602025Real GDP growth
Real GDP growth

Labour

Labour force
24.8 million
2025
Participation rate (15+)
57.4%
2025
Unemployment
10.4%
2025
Employment: agriculture
3.4%
2025
Employment: industry
19.9%
2025
Employment: services
76.8%
2025

Labour force

15M18M22M25M19802000202019602025Labour force
Labour force

Unemployment and participation

0%21%42%62%19802000202019602025UnemploymentParticipation rate
UnemploymentParticipation rate

Trade and trade balance

Exports and imports of goods and services (balance of payments, US$). Trade balance = exports − imports.

Exports (goods & services)
$698B
2025
Imports (goods & services)
$626B
2025
Trade balance (goods & services)
$74B
2025
Trade (% of GDP)
69.5%
2025

Exports and imports

$0$244B$489B$733B19802000202019602025ExportsImports
ExportsImports

Trade balance

$-94B$-35B$23B$81B19802000202019602025Trade balance
Trade balance

Prices

Price level (US = 100)
65
2025 · from purchasing power parity
Consumer price inflation
2.7%
2025
Consumer price index (2010 = 100)
135
2025

Price level (US = 100)

56759311119802000202019602025USPrice level (US = 100)
Price level (US = 100)

Price level = GDP per capita at market exchange rates ÷ GDP per capita at purchasing power parity. Below 100, the same things cost less than in the reference country (computed from World Bank data).

Consumer price inflation (year on year, shown from -10 to 100%)

-1.8%7.4%16.6%25.8%19802000202019602025Inflation
Inflation

Consumer price index (2010 = 100)

-4459314219802000202019602025CPI
CPI

Prices by category (2021, US = 100)

US = 100Rank, cheapest first
Food and non-alcoholic drinks98108th of 173
Bread and cereals110118th of 173
Meat94124th of 173
Milk, cheese and eggs9451st of 173
Fruit102112th of 173
Vegetables84112th of 173
Alcoholic drinks8134th of 164
Tobacco68134th of 172
Clothing and footwear96120th of 173
Housing, water, electricity and gas69148th of 172
Health59148th of 172
Transport services120148th of 173
Communication65137th of 173
Recreation and culture91142nd of 172
Education41137th of 172
Restaurants and hotels78136th of 173

Price level indices from the World Bank's International Comparison Program (ICP 2021, CC BY 4.0): what the same goods and services cost at market exchange rates. Below 100 is cheaper. Exchange rates have moved since 2021.

Temperature

Mean annual temperature over the whole country (CRU TS 4.07, 1901–2022).

Mean temperature (last 30 years)
14.2℃
1993–2022
1901–1930 average
12.6℃
Change
+1.6℃
Last 30 years − 1901–30

Mean annual temperature

12℃13℃14℃15℃1950200019012022Mean annual temperature
Mean annual temperature

Society: education, health, safety, environment

Urban population
80.5%
2025
Internet users
95.8%
2024
Adult literacy (15+)
99.7%
2021
Tertiary enrolment (gross)
93.8%
2024
Health spending (% of GDP)
9.2%
2023
Physicians per 1,000 people
4.3
2022
Homicides per 100,000 people
0.7
2023
CO2 emissions per person (t)
4.5
2024
Born abroad (% of population)
18.5%
2024

Urban population and internet users (%)

0%34%67%101%19802000202019602025Urban populationInternet users
Urban populationInternet users

Health spending (% of GDP)

6.6%8%9.5%11%19802000202019602025Health spending
Health spending

Intentional homicides per 100,000 people

0.570.861.151.4419802000202019602025Homicide rate
Homicide rate

CO2 emissions per person (tonnes)

3.95.578.619802000202019602025CO2 per person
CO2 per person

Source: World Bank World Development Indicators (latest year of each indicator). Survey-based figures such as literacy may be several years old.

Governance

World Bank Worldwide Governance Indicators (WGI), combining expert, business and citizen assessments on a scale of roughly -2.5 (weak) to +2.5 (strong). They do not classify the type of political system.

Latest: 2025

Governance indicators (latest year)

-2-1+0+1+2Voice and accountabilityPolitical stabilityGovernment effectivenessRule of lawControl of corruption

Governance indicators over time

+0.0+0.6+1.3+1.920002010202019962025Voice and accountabilityPolitical stabilityGovernment effectivenessRule of lawControl of corruption
Voice and accountabilityPolitical stabilityGovernment effectivenessRule of lawControl of corruption

Ask AI about this page

Cloudflare Workers AI answers using the statistics on this page for Spain. Answers can be wrong; check the figures above. Sign in with Google to ask up to 5 questions a day.

Spain at a glance (2020)

In Spain, the capital is Madrid, the official language is Spanish and the currency is the euro.

In 2020, the population of Spain was 47.6 million, the 30th largest of 237 countries and areas. Age structure: 14.3% aged 0–14, 66.2% aged 15–64 and 19.5% aged 65 and over; the median age is 43.5 years.

The share aged 65 and over is 19.5% (the 31st highest), above the 14% threshold of an “aged” society. The pyramid is constrictive: younger age groups are smaller than older ones, the sign of low fertility.

The population has grown from 28 million in 1950 and is projected to peak at 47.9 million in 2024 before falling to 33.2 million by 2100. By 2050 it is projected to be 45 million, 5.5% lower than in 2020.

The total fertility rate is 1.19 children per woman (the 14th lowest), below the replacement level of about 2.1. Life expectancy at birth is 79.5 years for men and 85.0 years for women (the 24th longest for both sexes combined). Deaths outnumber births (natural decrease), and more people move in than out (net migration +236,854 a year).

GDP was $1.91T in 2025 ($39K per person). Services account for 68.4% of value added, industry 19.6% and agriculture 2.7% (2025). Unemployment was 10.4% in 2025. The price level is about 65% of the US level (2025, from purchasing power parity).

80.5% of people live in cities and 95.8% use the internet (2024). The homicide rate is 0.7 per 100,000 people (2023). People born abroad make up 18.5% of the population (2024).

9,733 Japanese nationals live in Spain (4,792 of them permanent residents), the 22nd largest Japanese community abroad (as of 1 October 2025, Ministry of Foreign Affairs of Japan).

Data dates: population from UN World Population Prospects 2024 (published July 2024; estimates to 2023, projections after). World Bank indicators: checked monthly, last on 2026-11-05. Why figures differ between sources

Spain: the next ten years (2020→2030)

Over the ten years to 2030 the population of Spain is projected to grow by 0.0%. People of working age (15–64) decrease by 917,280, while those aged 65 and over increase by 2.29 million.

20202030Change
Total47.6 million47.7 million+14,960 (+0.0%)
Aged 0–146.83 million5.47 million-1.36 million (-19.9%)
Aged 15–64 (working age)31.5 million30.6 million-917,280 (-2.9%)
Aged 65+9.27 million11.6 million+2.29 million (+24.7%)
Aged 75+4.62 million5.59 million+975,825 (+21.1%)

What shaped Spain's pyramid

The events behind the bulges and notches. The yellow bands mark where the cohorts born in those years sit now (they move with the year slider).

Spain's baby boom born 1957–1977 (aged 43–63 in 2020)
A later boom than elsewhere in Western Europe, ending abruptly with the democratic transition in the late 1970s.
Immigration wave 2000–2008
A construction boom drew migrants from Latin America, Morocco and Romania, adding to the 20s–40s.

Event descriptions are editorial, based on national statistics and historical research.

Living in Spain as a foreigner

How citizens and foreigners (people born abroad) differ: getting citizenship, voting and work.

Citizenship rules

Naturalisation by residence
10 years of residence required. A language test applies.
Children born in the country
Not citizens by birth in the country alone (citizenship follows the parents).
Dual citizenship
Foreigners who naturalise may keep their citizenship, but citizens who naturalise abroad lose this one.
Marriage
Spouses of citizens have a special route to citizenship.

Laws in force on 2024-01-01, from the GLOBALCIT Citizenship Law Dataset v3.1 (CC BY 4.0). Later reforms are not included; the authorities of each country have the current rules. Where is citizenship easiest to get? · Residence required for naturalisation, by country

Voting rights: citizens and foreigners

Foreigners, national elections
Cannot vote (citizens only).
Foreigners, local elections
Can vote throughout the country (EU citizens and some other nationalities).
Citizens living abroad
Can vote in national elections from abroad.

Voting in elections to the national and local legislatures under the rules of 2020, from the GLOBALCIT Migrant Electoral Rights dataset (CC BY 4.0). Later changes are not included. Where can foreigners vote?

Work: born abroad and born in the country

Unemployment rate
born abroad 15.4%, born in the country 10.2% (about 1.5 times as high for people born abroad).
Employment rate (15–64)
born abroad 65.7%, born in the country 66.2%.
Women's employment rate
born abroad 59.6%, born in the country 62.3%.

2024, people aged 15–64, from the OECD database "Labour market outcomes of immigrants" (CC BY 4.0). Where are immigrants most often out of work?

Articles about Spain

All articles

People from Spain living in Japan

At the end of December 2025, 4,424 nationals of Spain were living in Japan as mid- to long-term or special permanent residents: the 35th largest nationality, 0.1% of all foreign residents.

Prefectures with the most: Tokyo (1,817), Kanagawa (389), Osaka (379)

Municipalities with the most: Osaka (Osaka) (198), Kyoto (Kyoto) (190), Yokohama (Kanagawa) (168), Setagaya (Tokyo) (151), Shinjuku (Tokyo) (145)

The most common residence statuses are Permanent resident (24%), Engineer / Specialist in Humanities / International Services (17%), Spouse or child of a Japanese national (16%).

By prefecture (most first)

PrefecturePeopleShare
Tokyo1,81741.1%
Kanagawa3898.8%
Osaka3798.6%
Kyoto2114.8%
Chiba1814.1%
Saitama1743.9%
Aichi1693.8%
Hyogo1513.4%
Fukuoka1112.5%
Hokkaido1092.5%

Nationals of Spain living in Japan went from 1,822 at the end of 2012 to 4,424 at the end of 2025 (2.4×; all foreign residents 2.0×); since the end of 2020: up 37%.

Living in Japan (end of each year)

01,5483,0974,645202020122025Living in Japan (end of year)

By residence status, end of 2015 → end of 2025: Permanent resident 644 → 1,058; Engineer / Specialist in Humanities / International Services 323 → 750; Spouse or child of a Japanese national 439 → 713.

By residence status (end of each year)

03707411,111202020152025Permanent residentEngineer / Specialist in Humanities / International ServicesSpouse or child of a Japanese nationalStudent
Permanent residentEngineer / Specialist in Humanities / International ServicesSpouse or child of a Japanese nationalStudent

Foreign residents in Japan by municipality and nationality Source: processed from the Immigration Services Agency of Japan, statistics on foreign residents (e-Stat, end of December each year). Designated cities are counted as a whole.

Spain compared with the US

SpainUSDifference
Price level6510035% cheaper ✓
Homicides per 100,0000.695.7612% of the US ✓
Mean temperature14.2℃9.5℃+4.7℃
Life expectancy82.2 yrs79.8 yrs+2.5 years ✓
Health spending (% of GDP)9.2%16.7%55% of the US
Internet users95.8%94.7%About the same
GDP per person$39K$90K43% of the US
Born abroad18.5%15.2%1.2 times

Living-cost converter

Living on $ a month in the US costs about $1,940 in Spain.

Scaled by the price level (65, US = 100; 2025). Purchasing power parity reflects average national prices: capital cities, international schools, imported goods and housing for foreigners usually cost more, and the result depends heavily on lifestyle. Treat it as a rough guide.

Price level from purchasing power parity (US = 100); temperature is the 30-year mean. ✓ marks the generally preferable side (cheaper, safer, longer life, better connectivity). Latest available year of each indicator.

Regions and groups Spain belongs to

Spain population pyramid in other years

Countries with an age structure like Spain's (2026)

Ranked by the total gap between the shares of each five-year age group, 0–4 to 100+ (countries and areas with at least 100,000 people).

Compare Spain with other countries

Rankings in 2020

Other countries and areas