Spain in figures: long lives, few births and sunshine on the grid
There are 47.9 million Spaniards in the UN's 2026 projection, a number slipping 0.1% annually. Half of Spaniards are older than 46.3, and wind turbines plus solar panels met 42.3% of electricity demand in 2025.
Spain at a glance
2026Are Spaniards among the world's oldest populations?
Yes. In the club of nations above 30 million, Spain's median age (46.3) is beaten only by Japan and Italy. A Spanish baby can expect 84.1 years, fourth in that club after Japan, South Korea and Italy.
Does Spain have more deaths than births?
Yes: 460,482 funerals against 327,412 births in the UN's 2026 projection, a shortfall bigger than the 85,305 migrants Spain gains on balance. Residents born outside Spain totalled 8.9 million in 2024, sixth most of any country. A running estimate appears on Spain's population counter.
Is Spain a wind and solar leader?
Ember's 2025 data credit wind and solar with 42.3%, a share topped by eight of the 95 countries it tracks monthly. All renewable sources together reached 55.8%.
Where does the Spanish economy stand globally?
$1.91 trillion in 2025, placing Spain 12th. Even in pandemic-hit 2020, 36.4 million foreign tourists came (8th most), and its docks moved 18.1 million twenty-foot boxes. Prices and jobs are on the Spain economy page.
All 140 figures for Spain
CSVLatest year for each figure; the world rank counts every country or area with a value in the five years before it. Rows link to the world ranking where one exists. 2026 population figures are UN projections.
Country facts
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Official name (UN) | Spain | UN / World Bank | ||
| Capital | Madrid | UN / World Bank | ||
| UN region | Southern Europe | UN / World Bank | ||
| World Bank region | Europe & Central Asia | UN / World Bank | ||
| World Bank income group | High income | UN / World Bank | ||
| ISO codes | ESP / ES | UN / World Bank | ||
| Land area | 499,686 km² | 2024 | 51st highest of 216 | World Bank |
| Currency | Euro (EUR, €) | Unicode CLDR | ||
| Official languages | Spanish | Unicode CLDR | ||
| Calling code | +34 | GeoNames | ||
| Internet domain | .es | GeoNames | ||
| Time zones (UTC offset, 2026) | UTC+01:00/+02:00, UTC+00:00/+01:00 (3 zones) | IANA tz | ||
| Land neighbours | Andorra, France, Gibraltar, Morocco, Portugal | GeoNames | ||
| Driving side | Right | RAC | ||
| Emergency numbers | 112 | Smartraveller |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Population
Population page ›| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Population | 47,850,793 people | 2026 UN projection | 34th highest of 237 | UN WPP 2024 |
| Population growth | -0.1% a year | 2026 UN projection | UN WPP 2024 | |
| Population density | 95 people per km² | 2026 UN projection | 124th highest of 237 | UN WPP 2024 |
| Median age | 46.3 years | 2026 UN projection | UN WPP 2024 | |
| Fertility rate | 1.24 births per woman | 2026 UN projection | UN WPP 2024 | |
| Life expectancy | 84.1 years | 2026 UN projection | UN WPP 2024 | |
| Births | 327,412 per year | 2026 UN projection | UN WPP 2024 | |
| Deaths | 460,482 per year | 2026 UN projection | UN WPP 2024 | |
| Net migration | 85,305 people a year | 2026 UN projection | UN WPP 2024 | |
| Urban population | 80.7% of people (UN WUP 2025) | 2026 UN projection | UN WUP 2025 | |
| Immigrants (born abroad) | 8,870,527 people | 2024 | 6th highest of 215 | World Bank |
| Immigrants, share | 18.5% of population | 2024 | 47th highest of 216 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Economy
Economy page ›| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| GDP | $1.91 trillion current US$ | 2025 | 12th highest of 211 | World Bank |
| GDP per person | $38,627 current US$ | 2025 | 43rd highest of 211 | World Bank |
| GDP per person, PPP | Int$59,868 | 2025 | 38th highest of 199 | World Bank |
| GDP growth | 2.8% a year | 2025 | 122nd highest of 210 | World Bank |
| Inflation | 2.7% a year | 2025 | 98th highest of 180 | World Bank |
| Gross national income | $1.91 trillion current US$ | 2025 | 12th highest of 202 | World Bank |
| GNI per person (Atlas method) | $37,120 current US$ | 2025 | 37th highest of 201 | World Bank |
| GNI per person, PPP | Int$59,830 | 2025 | 36th highest of 197 | World Bank |
| Government budget balance | -3.2% of GDP | 2024 | 85th highest of 141 | World Bank |
| Government revenue (excl. grants) | 29.7% of GDP | 2024 | 53rd highest of 142 | World Bank |
| Government spending (expense) | 34.0% of GDP | 2023 | 39th highest of 143 | World Bank |
| Tax revenue | 14.9% of GDP | 2024 | 86th highest of 142 | World Bank |
| Current account balance | 2.9% of GDP | 2025 | 49th highest of 185 | World Bank |
| Foreign exchange reserves (incl. gold) | $128.6 billion current US$ | 2025 | 24th highest of 173 | World Bank |
| Official exchange rate | 0.88 local currency per US$ | 2025 | World Bank | |
| Foreign direct investment, net inflows | $28.6 billion current US$ | 2025 | 19th highest of 202 | World Bank |
| Foreign direct investment, share of GDP | 1.5% of GDP | 2025 | 121st highest of 197 | World Bank |
| Extreme poverty ($3.00 a day) | 0.8% of population | 2023 | 53rd lowest of 134 | World Bank |
| Poverty at $4.20 a day | 1.0% of population | 2023 | 44th lowest of 134 | World Bank |
| Poverty at $8.30 a day | 2.3% of population | 2023 | 30th lowest of 134 | World Bank |
| Poverty (national poverty line) | 20.2% of population | 2022 | 63rd lowest of 134 | World Bank |
| Income inequality (Gini index) | 33.4 0–100 | 2023 | 56th lowest of 134 | World Bank |
| Agriculture, share of GDP | 2.7% of GDP | 2025 | 133rd highest of 198 | World Bank |
| Industry, share of GDP | 19.6% of GDP | 2025 | 129th highest of 201 | World Bank |
| Manufacturing, share of GDP | 10.6% of GDP | 2025 | 93rd highest of 194 | World Bank |
| Services, share of GDP | 68.4% of GDP | 2025 | 40th highest of 201 | World Bank |
| Household consumption | 55.6% of GDP | 2025 | 118th highest of 178 | World Bank |
| Gross savings | 24.3% of GDP | 2025 | 65th highest of 163 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Trade and money
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Exports | $698.5 billion current US$ | 2025 | 17th highest of 184 | World Bank |
| Imports | $625.6 billion current US$ | 2025 | 17th highest of 184 | World Bank |
| Exports, share of GDP | 36.6% of GDP | 2025 | 92nd highest of 184 | World Bank |
| Imports, share of GDP | 32.8% of GDP | 2025 | 124th highest of 184 | World Bank |
| Remittances received | $7.3 billion current US$ | 2025 | 31st highest of 179 | World Bank |
| Remittances, share of GDP | 0.4% of GDP | 2025 | 142nd highest of 178 | World Bank |
| Remittances sent abroad | $794.1 million current US$ | 2025 | 59th highest of 182 | World Bank |
| Average tariff (applied, trade-weighted) | 1.3% | 2022 | 148th highest of 184 | World Bank |
| High-tech exports | 9.3% of manufactured exports | 2024 | 71st highest of 170 | World Bank |
| International tourist arrivals | 36,410,000 arrivals | 2020 | 8th highest of 196 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Jobs and wages
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Unemployment | 10.4% of labour force | 2025 | 37th highest of 187 | World Bank |
| Women in the labour force | 52.8% of women 15+ | 2025 | 97th highest of 187 | World Bank |
| Men in the labour force | 62.2% of men 15+ | 2025 | 153rd highest of 187 | World Bank |
| Jobs in agriculture | 3.4% of employment | 2025 | 145th highest of 187 | World Bank |
| Jobs in industry | 19.9% of employment | 2025 | 83rd highest of 187 | World Bank |
| Jobs in services | 76.8% of employment | 2025 | 33rd highest of 187 | World Bank |
| Youth unemployment (ages 15–24) | 24.7% of labour force 15–24 | 2025 | 31st highest of 187 | World Bank |
| Labour force | 24,759,183 people | 2025 | 28th highest of 187 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Health
Health page ›| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Child deaths before age 5 | 3.2 per 1,000 live births | 2024 | 20th lowest of 196 | World Bank |
| Infant deaths | 2.6 per 1,000 live births | 2024 | 20th lowest of 196 | World Bank |
| Maternal deaths | 3 per 100,000 live births | 2023 | 8th lowest of 194 | World Bank |
| Doctors | 4.29 per 1,000 people | 2022 | 24th highest of 187 | World Bank |
| Nurses and midwives | 6.41 per 1,000 people | 2022 | 55th highest of 195 | World Bank |
| Hospital beds | 2.9 per 1,000 people | 2023 | 61st highest of 150 | World Bank |
| Health spending, share of GDP | 9.2% of GDP | 2023 | 42nd highest of 193 | World Bank |
| Health spending per person | $3,107 current US$ | 2023 | 30th highest of 193 | World Bank |
| Paid out of pocket | 20.9% of health spending | 2023 | 70th lowest of 193 | World Bank |
| Measles vaccination | 97.0% of children 12–23 months | 2024 | 35th highest of 193 | World Bank |
| DPT vaccination | 94.0% of children 12–23 months | 2024 | 70th highest of 193 | World Bank |
| Diabetes | 9.7% of people 20–79 | 2024 | 119th lowest of 209 | World Bank |
| New tuberculosis cases | 8 per 100,000 people | 2024 | 49th lowest of 208 | World Bank |
| Tobacco use | 27.6% of adults | 2024 | 128th lowest of 166 | World Bank |
| Undernourishment | 2.5% of population | 2024 | 22nd lowest of 167 | World Bank |
| Newborn deaths (first 28 days) | 1.7 per 1,000 live births | 2024 | 19th lowest of 196 | World Bank |
| Road traffic deaths | 3.9 per 100,000 people | 2019 | 16th lowest of 186 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Education and research
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Adult literacy | 99.7% of adults | 2021 | 10th highest of 119 | World Bank |
| Education spending | 4.6% of GDP | 2022 | 74th highest of 184 | World Bank |
| Primary school enrolment (gross) | 102.9% gross | 2024 | 63rd highest of 193 | World Bank |
| Secondary school enrolment (gross) | 118.5% gross | 2024 | 19th highest of 178 | World Bank |
| University and college enrolment (gross) | 93.8% gross | 2024 | 13th highest of 157 | World Bank |
| Primary school completion | 98.5% of age group | 2024 | 51st highest of 173 | World Bank |
| Pupils per teacher (primary) | 13.1 pupils per teacher | 2017 | 43rd lowest of 183 | World Bank |
| Children out of primary school | 34,050 children | 2024 | 112th lowest of 181 | World Bank |
| Research and development spending | 1.49 % of GDP | 2023 | 31st highest of 119 | World Bank |
| Scientific and technical articles | 60,304 articles | 2023 | 12th highest of 197 | World Bank |
| Patent applications by residents | 1,160 applications | 2024 | 29th highest of 140 | World Bank |
| Patent applications by non-residents | 134 applications | 2024 | 73rd highest of 152 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Internet and infrastructure
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Internet users | 95.8% of people | 2024 | 22nd highest of 190 | World Bank |
| Mobile subscriptions per 100 people | 130.3 per 100 people | 2024 | 58th highest of 210 | World Bank |
| Mobile subscriptions | 62,408,729 subscriptions | 2024 | 30th highest of 210 | World Bank |
| Fixed broadband per 100 people | 39.2 per 100 people | 2024 | 27th highest of 208 | World Bank |
| Access to electricity | 100.0% of population | 2024 | 34th highest of 215 | World Bank |
| Clean cooking fuels | 97.0% of population | 2024 | 72nd highest of 192 | World Bank |
| Bank or mobile-money account | 98.4% of people 15+ | 2024 | 16th highest of 145 | World Bank |
| Account ownership, women | 97.8% of women 15+ | 2024 | 19th highest of 143 | World Bank |
| Account ownership, men | 99.0% of men 15+ | 2024 | 12th highest of 143 | World Bank |
| Air passengers carried | 94,101,520 passengers | 2023 | 11th highest of 163 | World Bank |
| Container port traffic | 18,114,517 TEU | 2024 | 10th highest of 166 | World Bank |
| Logistics performance index | 3.90 1–5 | 2022 | 13th highest of 164 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Energy and minerals
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Electricity generated | 288.3 TWh | 2025 | 19th highest of 95 | Ember |
| Renewable share of electricity | 55.8% of generation | 2025 | 34th highest of 95 | Ember |
| Fossil share of electricity | 25.4% of generation | 2025 | 65th highest of 95 | Ember |
| Hydropower share | 11.4% of generation | 2025 | 46th highest of 92 | Ember |
| Wind and solar share | 42.3% of generation | 2025 | 9th highest of 95 | Ember |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Environment and climate
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| CO₂ emissions (fossil) | 210.5 million tonnes | 2025 | 30th highest of 219 | Global Carbon Project |
| CO₂ per person | 4.40 tonnes | 2025 | 80th highest of 219 | Global Carbon Project |
| Forest cover | 38.2% of land | 2024 | 86th highest of 214 | World Bank |
| Forest area | 191,328 km² | 2025 | 34th highest of 214 | World Bank |
| PM2.5 air pollution | 10.1 µg/m³ | 2023 | 46th lowest of 200 | World Bank |
| Basic drinking water | 99.9% of population | 2024 | 48th highest of 206 | World Bank |
| Safely managed drinking water | 99.5% of population | 2024 | 27th highest of 150 | World Bank |
| Basic sanitation | 99.9% of population | 2024 | 24th highest of 203 | World Bank |
| Safely managed sanitation | 88.3% of population | 2024 | 41st highest of 144 | World Bank |
| Protected areas (land and sea) | 22.1% of territory | 2025 | 53rd highest of 213 | World Bank |
| Protected land | 28.1% of land area | 2025 | 47th highest of 213 | World Bank |
| Protected sea | 19.0% of territorial waters | 2025 | 32nd highest of 174 | World Bank |
| Freshwater withdrawals | 26.1% of internal resources | 2022 | 128th lowest of 177 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Farming and food
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Agricultural land | 49.3% of land area | 2024 | 62nd highest of 210 | World Bank |
| Arable land | 22.8% of land area | 2024 | 45th highest of 206 | World Bank |
| Arable land per person | 0.23 hectares | 2024 | 48th highest of 206 | World Bank |
| Fertiliser use | 136 kg per hectare | 2024 | 73rd highest of 199 | World Bank |
| Cereal yield | 3,786 kg per hectare | 2024 | 68th highest of 179 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
Government and indices
| Statistic | Value | Year | World rank | Source |
|---|---|---|---|---|
| Homicide rate | 0.7 per 100,000 people | 2023 | 21st lowest of 149 | World Bank |
| Armed forces personnel | 199,000 people | 2020 | 32nd highest of 170 | World Bank |
| Women in parliament | 44.3% of seats | 2025 | 18th highest of 190 | World Bank |
World rank: each country's latest figure from the five years up to the year shown. Economy pages rank only countries with a figure for that exact year, so their rank can differ slightly.
More about Spain in brief
Is Spain's parliament close to gender parity?
Close: women held 44.3% of Congress of Deputies seats in 2025, 18th among 190 national chambers.
Is giving birth safe in Spain?
Exceptionally. Spanish maternal mortality, modelled at 3 per 100,000 births for 2023, is lower in only seven countries.
How busy are Spanish airports?
Carriers registered in Spain flew 94,101,520 passengers in 2023, 11th most of 163 countries.
How many young Spaniards enter higher education?
University and college enrolment equalled 93.8% of the age group in 2024, 13th of 157.
Sources and methodology
- UN DESA Population Division, World Population Prospects 2024: population, density, age, births, deaths, migration and life expectancy (2026 values are UN projections); urban share from World Urbanization Prospects 2025.
- World Bank, World Development Indicators (original bulk files): economy, trade, jobs, health, education, internet, environment, farming and governance indicators, each with its code in the CSV. Licence CC BY 4.0. The World Bank does not endorse this page.
- Global Carbon Project (fossil CO2, CC BY 4.0) and Ember (electricity, CC BY 4.0).
- Country facts: currency and official languages from Unicode CLDR, checked against GeoNames and Wikidata; calling code, internet domain and land neighbours from GeoNames (CC BY 4.0), checked against Wikidata; time zones from the IANA time zone database. Facts where the two sources disagree are left out until checked by hand. Checked by hand: driving on the right (RAC); emergency number 112 (Smartraveller (Australian Government)).
- World ranks are our calculation: every country or area with a value in the five years before the figure's year, each at its latest year.
See our methodology for how figures are collected and checked.
Published · Updated · By AtlasFigures Editorial
Spotted an error? Report an error · How we correct errors