Geographic History

Flag of SpainSpain: facts and statistics

The capital of Spain is Madrid.

Spain is a country in Southern Europe.

Spain has a population of 47,850,793 (2026, UN mid-year projection).

That is the 34th largest of the 195 countries ranked by the UN data.

Sources differ: the World Bank reports 49,355,143 for 2025, 3% above the UN projection for the same year (47,889,958).

The area of Spain is 505,992 km² (as of 2025, mledoze/countries dataset).

Spain has the 51st largest area of 195 ranked countries (as of 2025, mledoze/countries dataset).

The currency of Spain is the euro (EUR).

The official language of Spain is Spanish.

Spain became independent in 1492.

Population of Spain by year

Facts

Official name
Kingdom of Spain
Capital
Madrid
Region
Southern Europe
Form of government
Parliamentary monarchy
Independence
1492
Currency
euro (EUR)
Official languages
Spanish
Calling code
+34
Internet domain
.es
Time zones
Europe/Madrid, Atlantic/Canary
Driving side
right
Highest point
Teide, 3,715 mWikidata

Land neighbours

Key statistics

Each indicator links to its own page with the full history and the world ranking.

People

People
IndicatorValueYearRankSource
Population47,850,793202634 of 195UN mid-year projection
Population density97.8 people per km²202490 of 193World Bank
Population growth1.03%202596 of 194World Bank
Urban population80.5%202540 of 194World Bank
Life expectancy83.9 years202410 of 194World Bank
Fertility rate1.10 births per woman2024188 of 194World Bank
Median age44.9 years202310 of 195UN
Adult literacy99.7%202110 of 119World Bank
Internet users95.8%202422 of 184World Bank

Economy

Economy
IndicatorValueYearRankSource
GDP$1.91 trillion202512 of 190World Bank
GDP per capita$38,627202531 of 190World Bank
GDP per capita, PPP59,868 international dollars202532 of 186World Bank
GDP growth2.8%2025110 of 189World Bank
Inflation2.7%202597 of 177World Bank
Unemployment10.4%202533 of 178World Bank
Human Development Index0.918202327 of 191UNDP
Income inequality (Gini)33.4202394 of 154World Bank

Land

Land
IndicatorValueYearRankSource
Area505,992 km²as of 202551 of 195mledoze/countries dataset
Forest area38.2%202477 of 193World Bank
Arable land22.8%202444 of 190World Bank
Coastline4,964 kmas of 202526 of 150CIA World Factbook
CO2 emissions per person4.4 tonnes202464 of 192Global Carbon Project

Spain through history

Spain became independent in 1492.

Map quizzes that include Spain

Frequently asked questions

What is the capital of Spain?

The capital of Spain is Madrid.

What is the population of Spain?

Spain has a population of 47,850,793 (2026, UN mid-year projection).

What is the area of Spain?

The area of Spain is 505,992 km² (as of 2025, mledoze/countries dataset).

What currency does Spain use?

The currency of Spain is the euro (EUR).

What language is spoken in Spain?

The official language of Spain is Spanish.

When did Spain become independent?

Spain became independent in 1492.

Sources and method

UN figures are from UN - World Population Prospects 2024, Medium variant, World Population Prospects 2024 (revision 1): Interim update, released 19 January 2026 (Togo replaced; all other locations as released 11 July 2024); downloaded 2026-11-24. They count people on 1 July of each year. Values up to 2023 are estimates; later values are projections.

World Bank figures are the latest annual value in the data (World Development Indicators). Where the two sources give a population for the same year and differ by more than 2%, the page says so.

The population rank is computed from the UN values for 2026 among the 195 independent states that have a value; territories and dependencies are not ranked.

A year given as "as of" is when the figure was read from the source, not the year it describes.

Last updated:

More about Spain

Every year has a map

Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.