Spain

EuropeGlobal Leader

Few places match Spain's #5 ranking in tourist arrivals. With 36.4 million, the numbers speak for themselves. See if you can spot its other strengths.

Spain is a country in Europe with a population of 47.28M and an area of 505,992 km². Life expectancy is 83.9 years.

At a Glance

The numbers that define this country

Life Expectancy

83.9 years
#9globally

How many years a newborn can expect to live, based on current mortality rates.

Life Expectancy

83.7 years
#13globally

How many years a newborn can expect to live, based on current mortality rates.

University Enrollment Rate

93.7%
#13globally

Total university and college enrollment as a percentage of the typical college-age population.

Internet Users (%)

95.8%
#29globally

The percentage of people who have used the internet in the last 3 months.

Population

47.28M
#34globally

The total number of people living in the country.

Human Development Index

0.92
#28globally

The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.

Where They Stand Out

Global rankings worth knowing

💰Long-Term Unemployment

3.8%
#2globallyTop performer

The percentage of the workforce that has been unemployed for a year or longer.

👥Median Age

47.2 years
#8globallyTop performer

Median age from CIA World Factbook.

🍻Tourist Arrivals

36.41M
#5globallyTop performer

How many international tourists visit the country each year.

❤️Life Expectancy

83.9 years
#9globallyTop performer

How many years a newborn can expect to live, based on current mortality rates.

🚀Life Expectancy

84.0 years
#3globallyTop performer

How many years a newborn can expect to live, based on current mortality rates.

Did You Know?

Facts that catch players off guard

💰

Ranks #2 in long-term unemployment (lower is better)

Long-Term Unemployment: 3.8%

The percentage of the workforce that has been unemployed for a year or longer.

OECD 2024
👥

Ranks #8 globally in median age

Median Age: 47.2 years

Median age from CIA World Factbook.

🍻

Ranks #5 globally in tourist arrivals

Tourist Arrivals: 36.41M

How many international tourists visit the country each year.

World Bank 2023
👥

Only ranks #218 in birth rate

Birth Rate: 7.16

The number of babies born per 1,000 people each year.

World Bank 2023
❤️

Ranks #9 globally in life expectancy

Life Expectancy: 83.9 years

How many years a newborn can expect to live, based on current mortality rates.

World Bank 2023

Surprised? See how you stack up.

Play Now

How Spain Compares

Country vs continent vs world averages

Spain
Europe avg
World avg

GDP per Capita

Above avg

GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.

World Bank 2023
Spain56.9K
Europe57.5K
World31.8K

Life Expectancy

Above avg

How many years a newborn can expect to live, based on current mortality rates.

World Bank 2023
Spain83.9 years
Europe80.0 years
World73.7 years

Human Development Index

Above avg

The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.

Our World in Data 2023
Spain0.92
Europe0.89
World0.74

Internet Users

Above avg

The percentage of people who have used the internet in the last 3 months.

World Bank 2023
Spain95.8%
Europe90.1%
World70.3%

Think you can guess which countries rank higher?

Test Your Intuition
Regional comparison for Spain across 4 key metrics, comparing with Europe and world averages.

About Spain

Spain's powerful world empire of the 16th and 17th centuries ultimately yielded command of the seas to England.  Spain remained neutral during both World Wars but suffered through a devastating civil war (1936-39) resulting in a dictatorship. A peaceful transition to democracy after the death of dictator Francisco FRANCO in 1975 and rapid economic modernization after Spain joined the EU in 1986 gave Spain a dynamic and rapidly growing economy. After a severe recession in the wake of the global financial crisis in 2008, Spain has posted solid years of GDP growth above the EU average. Unemployment has fallen but remains high, especially among youth. Spain is the euro-zone's fourth-largest economy. The country has faced increased domestic turmoil in recent years due to the independence movement in its restive Catalonia region.

🌍Geography & Climate6 facts
Location
Southwestern Europe, bordering the Mediterranean Sea, North Atlantic Ocean, Bay of Biscay, and Pyrenees Mountains; southwest of France
Climate
temperate; clear, hot summers in interior, more moderate and cloudy along coast; cloudy, cold winters in interior, partly cloudy and cool along coast
Terrain
large, flat to dissected plateau surrounded by rugged hills; Pyrenees Mountains in north
Natural Resources
coal, lignite, iron ore, copper, lead, zinc, uranium, tungsten, mercury, pyrites, magnesite, fluorspar, gypsum, sepiolite, kaolin, potash, hydropower, arable land
Natural Hazards
periodic droughts, occasional flooding volcanism: volcanic activity in the Canary Islands, located off Africa's northwest coast; Teide (3,715 m) has been deemed a Decade Volcano by the International Association of Volcanology and Chemistry of the Earth's Interior, worthy of study due to its explosive history and close proximity to human populations; La Palma (2,426 m) is the most active of the Canary Islands volcanoes; Lanzarote is the only other historically active volcano
Size Comparison
almost five times the size of Kentucky; slightly more than twice the size of Oregon
👥People & Culture4 facts
Languages
Castilian Spanish (official) 74%, Catalan (official in Catalonia, the Balearic Islands, and the Valencian Community) 17%, Galician (official in Galicia) 7%, Basque (official in the Basque Country and Navarre) 2%, Aranese (official in part of Catalonia) <5,000 speakers
Religions
Roman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)
Ethnic Groups
Spanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.)
Major Cities
6.751 million MADRID (capital), 5.687 million Barcelona, 838,000 Valencia (2023)
🏛️Government & History10 facts
Government Type
parliamentary constitutional monarchy
Capital
Madrid
Capital Coordinates
40 24 N, 3 41 W
Capital Timezone
UTC+1 (6 hours ahead of Washington, DC, during Standard Time)
Official Name
Kingdom of Spain
Name Origin
derivation of the name España is uncertain; the Basque words ezpain or espan ("edge," as in a river bank) are possible sources, or the Punic word span, meaning "rabbit;" some academics tie it to the god Hesperus from Greco-Roman mythology
Independence
1492
National Symbols
Pillars of Hercules
National Anthem
"Himno Nacional Espanol" (National Anthem of Spain)
UNESCO Heritage
50 (44 cultural, 4 natural, 2 mixed)
💼Economy & Trade7 facts
Overview
high-income, core-EU and eurozone economy; strong growth driven by public consumption, tourism, and other service exports; tight labor market despite high structural unemployment; efforts to narrow persistent fiscal deficits through tax and spending measures; high but declining unemployment supported by job growth and immigration
Industries
textiles and apparel (including footwear), food and beverages, metals and metal manufactures, chemicals, shipbuilding, automobiles, machine tools, tourism, clay and refractory products, footwear, pharmaceuticals, medical equipment
Agricultural Products
milk, olives, pork, grapes, wheat, tomatoes, barley, sugar beets, maize, oranges (2023)
Export Partners
France 15%, Germany 10%, Portugal 9%, Italy 9%, UK 6% (2023)
Export Commodities
cars, packaged medicine, refined petroleum, vehicle parts/accessories, garments (2023)
Import Partners
Germany 11%, China 10%, France 10%, Italy 7%, USA 7% (2023)
Import Commodities
crude petroleum, cars, garments, vehicle parts/accessories, natural gas (2023)
🔧Infrastructure & Defense5 facts
Military Forces
Spanish Armed Forces (Fuerzas Armadas de España): Army (Ejército de Tierra), Spanish Navy (Armada Espanola; includes Marine Corps), Air and Space Force (Ejército del Aire y del Espacio), Emergency Response Unit (Unidad Militar de Emergencias); Civil Guard (Guardia Civil) Ministry of the Interior: Spanish National Police (Cuerpo Nacional de Policía, CNP) (2025)
Military Service
18 years of age for voluntary military service for men and women (upper age limits depend on branch of service, roles, specialties, etc); 24-36 month initial obligation; no conscription, but the Spanish Government retains the right to mobilize citizens 19-25 years of age in a national emergency; 18-58 for the voluntary reserves (2026)
Energy Mix
fossil fuels: 28% of total installed capacity (2023 est.); nuclear: 20.4% of total installed capacity (2023 est.); solar: 17.3% of total installed capacity (2023 est.); wind: 23.6% of total installed capacity (2023 est.); hydroelectricity: 8.5% of total installed capacity (2023 est.); biomass and waste: 2.2% of total installed capacity (2023 est.)
Broadcast Media
mix of publicly operated and privately owned TV and radio stations; hundreds of TV channels available, including national, regional, local, public, and international channels; satellite and cable TV available; multiple national radio networks, large number of regional radio networks, and larger number of local radio stations (2019)
Space Program
space program dates back to the 1940s; manufactures and operates communications, remote sensing (RS), and scientific/technology satellites; has developed sounding rockets; conducts research and development in a broad range of space-related capabilities, including astrobiology, astronomy, imaging/RS, meteorology, optics, propulsion, robotics, satellites (particularly micro- and nano-satellites), and satellite launch vehicles; program is integrated into the ESA; also participates in EU space programs; hosts the European Space Astronomy Center (ESOC) and the ESA's Space Surveillance and Tracking Data Centre (ESAC); cooperates with foreign space agencies and industries, including the US; has an active commercial space industry (2025)

Deep Dive

79 of 158 metrics

Every stat we track, organized by category

💰Wealth & Economy13 metricsBest: #2
Long-Term Unemployment
3.8%#2OECD
GDP (Nominal)
1725.67B#15WB
Government Debt (% GDP)
107.3%#15WB
Youth Unemployment Rate
27.0%#28
Unemployment Rate
11.4%#33WB
GDP Per Capita (PPP)
56.9K#37WB
GDP Per Capita
$48.4K#38OWID
High-Tech Exports (%)
9.3%#70WB
GDP Growth Rate
3.5%#98WB
FDI Inflows (% GDP)
2.5%#97WB
Inflation Rate
2.8%#129WB
Gender Pay Gap (%)
6.2%#30OECD
Employment Rate (%)
74.2%#31OECD
🚀Education & Future8 metricsBest: #3
Life Expectancy
84.0 years#3OECD
University Enrollment Rate
93.7%#13WB
Leisure Time
15.749#3OECD
Human Development Index
0.92#28OWID
Domestic Patents
1.3K#27WB
R&D Spending (% GDP)
1.4%#29WB
Education Spending (% GDP)
4.6%#75WB
Foreign Patents
126#69WB
🍻Lifestyle5 metricsBest: #5
Tourist Arrivals
36.41M#5WB
Beer Consumption
4.25#12OWID
Air Passengers
94.10M#11WB
Alcohol Consumption
9.16#40OWID
Spirits Consumption
1.62#66OWID
👥Demographics12 metricsBest: #8
Median Age
47.2 years#8
Elderly Population (%)
21.1%#22WB
Population
47.28M#34WB
Death Rate
9.98#37WB
Land Area
499.7K#51WB
Urban Population (%)
80.3%#60WB
Population Density
96.764#107WB
Dependency Ratio
51.67#138WB
Teen Birth Rate
4.81#186WB
Fertility Rate
1.32#206WB
Youth Population (%)
12.9%#206WB
Birth Rate
7.16#218WB
❤️Health & Survival10 metricsBest: #9
Life Expectancy
83.9 years#9WB
Life Expectancy
83.7 years#13OWID
Doctors (per 1,000)
4.29#24WB
Health Spending (% GDP)
9.7%#33WB
Smoking Rate
28.4%#36WB
Suicide Rate
8.72#67WB
Hospital Beds (per 1,000)
2.90#63WB
Obesity Rate
19.2%#129OWID
Child Mortality
3.10#177WB
Infant Mortality
2.60#176WB
Energy2 metricsBest: #11
Electricity Capacity
130.37M#11
Nuclear Electricity Share
20.3%#15
🤝Society & Equality6 metricsBest: #11
Women in Parliament (%)
44.3%#17WB
Safety at Night
81.5%#11OECD
Inequality (Gini)
33.4#64WB
Road Deaths
3.73#24OECD
Life Satisfaction
7.18#26OECD
Homicide Rate
0.60#28OECD
🌱Environment10 metricsBest: #14
Irrigated Land
38.0K#14
Carbon Emissions (Total)
254.82M#27
Forest Area
185.9K#33WB
Electricity Access (%)
100.0%#36WB
Renewable Energy (%)
25.9%#17OWID
Protected Land (%)
28.1%#47WB
CO2 Per Capita
4.60#76OWID
Forest Coverage (%)
37.2%#82WB
Renewable Energy (%)
19.0%#110WB
Air Pollution (PM2.5)
9.58#170WB
🔧Infrastructure3 metricsBest: #19
Airports
365#20
Railway Length
15.5K#19
Merchant Ships
503#42
🌍Land & Sea5 metricsBest: #26
Coastline Length
5.0K#28
Border Countries Count
6.00#26
Highest Elevation
3.7K#49
Lowest Elevation
0#79
Land Boundaries Length
2.0K#90
📡Technology3 metricsBest: #29
Internet Users (%)
95.8%#29WB
Broadband Access (%)
38#61WB
Mobile Subscriptions (%)
127.715#69WB
🛡️Military & Defense2 metricsBest: #38
Active Military Personnel
120.0K#38
Military Spend (% GDP)
2.0%#73

Neighboring Countries

Compare Spain with...

Share a Fact

Share something surprising about Spain!

Spain
#9 in Life Expectancy

How many years a newborn can expect to live, based on current mortality rates.

Top 5% globally
83.9 years

Frequently Asked Questions about Spain

What is the population of Spain?

Spain has a population of 47.28M, ranking #34 globally by population.

What continent is Spain in?

Spain is located in Europe. It has an area of 505,992 km².

What is the life expectancy in Spain?

Life expectancy in Spain is 83.9 years, ranking #9 globally.

What is the GDP per capita of Spain?

Spain's GDP per capita (PPP) is 56.9K, ranking #37 globally.

What is Spain known for in global statistics?

Spain ranks particularly high in Life Expectancy (#9), Life Expectancy (#13), University Enrollment Rate (#13).

What is Spain's Human Development Index?

Spain has an HDI of 0.918, ranking #28 globally. The HDI combines life expectancy, education, and income indicators.

How densely populated is Spain?

Spain has a population density of 96.8 people per km², ranking #107 globally.

Think you know Spain?

Compare countries, guess statistics, and prove you know your stuff.