Spain: 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.
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
| Indicator | Value | Year | Rank | Source |
|---|---|---|---|---|
| Population | 47,850,793 | 2026 | 34 of 195 | UN mid-year projection |
| Population density | 97.8 people per km² | 2024 | 90 of 193 | World Bank |
| Population growth | 1.03% | 2025 | 96 of 194 | World Bank |
| Urban population | 80.5% | 2025 | 40 of 194 | World Bank |
| Life expectancy | 83.9 years | 2024 | 10 of 194 | World Bank |
| Fertility rate | 1.10 births per woman | 2024 | 188 of 194 | World Bank |
| Median age | 44.9 years | 2023 | 10 of 195 | UN |
| Adult literacy | 99.7% | 2021 | 10 of 119 | World Bank |
| Internet users | 95.8% | 2024 | 22 of 184 | World Bank |
Economy
| Indicator | Value | Year | Rank | Source |
|---|---|---|---|---|
| GDP | $1.91 trillion | 2025 | 12 of 190 | World Bank |
| GDP per capita | $38,627 | 2025 | 31 of 190 | World Bank |
| GDP per capita, PPP | 59,868 international dollars | 2025 | 32 of 186 | World Bank |
| GDP growth | 2.8% | 2025 | 110 of 189 | World Bank |
| Inflation | 2.7% | 2025 | 97 of 177 | World Bank |
| Unemployment | 10.4% | 2025 | 33 of 178 | World Bank |
| Human Development Index | 0.918 | 2023 | 27 of 191 | UNDP |
| Income inequality (Gini) | 33.4 | 2023 | 94 of 154 | World Bank |
Land
| Indicator | Value | Year | Rank | Source |
|---|---|---|---|---|
| Area | 505,992 km² | as of 2025 | 51 of 195 | mledoze/countries dataset |
| Forest area | 38.2% | 2024 | 77 of 193 | World Bank |
| Arable land | 22.8% | 2024 | 44 of 190 | World Bank |
| Coastline | 4,964 km | as of 2025 | 26 of 150 | CIA World Factbook |
| CO2 emissions per person | 4.4 tonnes | 2024 | 64 of 192 | Global Carbon Project |
Spain through history
Spain became independent in 1492.
Map quizzes that include Spain
- Spain: Autonomous Communities
- Spain: Community Flags
- European Union Members
- European Union: Flags
- Europe: Countries
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 - World Population Prospects 2024, Licence: CC BY 3.0 IGO
- World Bank - World Development Indicators, Licence: CC BY 4.0
- UNDP - Human Development Report, Licence: CC BY 3.0 IGO
- mledoze/countries (country profiles, area), Licence: ODbL 1.0
- CIA World Factbook (final snapshot), Licence: Public domain
- Global Carbon Project - Global Carbon Budget, Licence: CC BY 4.0
- Wikidata (highest points, city populations, driving side, names), Licence: CC0
- IANA Time Zone Database, Licence: Public domain
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
- World ranking: Population
- World ranking: Population density
- World ranking: Population growth
- World ranking: Urban population
- World ranking: Life expectancy
- World ranking: Fertility rate
- World ranking: Median age
- World ranking: Adult literacy
- World ranking: Internet users
- World ranking: GDP
- World ranking: GDP per capita
- World ranking: GDP per capita, PPP
- World ranking: GDP growth
- World ranking: Inflation
- World ranking: Unemployment
- World ranking: Human Development Index
- World ranking: Income inequality (Gini)
- World ranking: Area
- World ranking: Forest area
- World ranking: Arable land
- World ranking: Coastline
- World ranking: CO2 emissions per person
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.

