Spain is a high-income country with a population of 49.4M people. The capital and largest city is Madrid, with 3.51M residents. Spain shares land borders with Portugal, France, Andorra and Morocco.
Spain ranks 12/197 by GDP ($1.91T) and 31/197 by GDP per capita ($38,627). The top category for both exports and imports is machinery & equipment.
Main facts and rankings
|
|
Rank | |
|---|---|---|
| Population |
49323658
|
32/197 |
| GDP |
$1.91T
2025 |
12/197 |
| GDP per capita |
$38,627
2025 |
31/197 |
| GDP per capita, PPP |
$57,965
2024 |
34/197 |
| Government debt |
$1.91T
2025 |
11/185 |
| Debt-to-GDP ratio |
100.4%
2025 |
25/185 |
| Government debt per person |
$38,794
2025 |
20/185 |
| Average annual personal income after taxes |
$24,910
2026 |
32/197 |
| Land area | 192,934 sq mi | 51/197 |
| Population density | 255.7 ppl/mi² | 97/197 |
| Fertility rate | 1.1 | 189/196 |
| Median age | 46.8 years | 7/196 |
| Life expectancy | 84.1 years | 10/197 |
Spain trends dashboard: time-series charts
| Year | GDP |
|---|---|
| 2025 | $1,906,453,309,986 |
| 2024 | $1,725,671,652,742 |
| 2023 | $1,619,481,980,720 |
| 2022 | $1,448,850,658,407 |
| 2021 | $1,461,244,901,853 |
| 2020 | $1,289,783,836,971 |
| 2019 | $1,403,496,387,686 |
| 2018 | $1,431,642,809,327 |
| 2017 | $1,321,754,088,819 |
| 2016 | $1,243,015,667,917 |
| 2015 | $1,206,164,777,553 |
| 2014 | $1,380,244,561,362 |
| 2013 | $1,362,186,923,158 |
| 2012 | $1,330,994,811,670 |
| 2011 | $1,487,568,659,241 |
| 2010 | $1,427,989,078,917 |
| 2009 | $1,496,587,590,848 |
| 2008 | $1,636,115,447,613 |
| 2007 | $1,476,746,276,855 |
| 2006 | $1,261,846,683,275 |
| 2005 | $1,154,667,551,776 |
| 2004 | $1,069,829,382,515 |
| 2003 | $907,963,217,058 |
| 2002 | $708,938,227,244 |
| 2001 | $627,798,682,379 |
| 2000 | $598,102,854,756 |
| 1999 | $634,394,904,387 |
| 1998 | $618,731,484,575 |
| 1997 | $589,739,772,727 |
| 1996 | $642,251,412,058 |
| 1995 | $614,170,002,669 |
| 1994 | $530,183,651,720 |
| 1993 | $524,700,572,624 |
| 1992 | $630,465,353,486 |
| 1991 | $576,753,902,322 |
| 1990 | $536,175,326,477 |
| 1989 | $414,460,794,097 |
| 1988 | $375,891,716,898 |
| 1987 | $318,520,253,335 |
| 1986 | $251,141,555,186 |
| 1985 | $180,664,322,896 |
| 1984 | $171,979,977,230 |
| 1983 | $170,829,074,246 |
| 1982 | $195,856,752,991 |
| 1981 | $202,663,023,968 |
| 1980 | $232,600,556,974 |
| 1979 | $214,448,666,336 |
| 1978 | $160,484,969,618 |
| 1977 | $132,354,665,936 |
| 1976 | $118,422,534,195 |
| 1975 | $114,695,060,870 |
| 1974 | $97,204,522,642 |
| 1973 | $78,583,355,226 |
| 1972 | $59,090,176,029 |
| 1971 | $46,586,119,760 |
| 1970 | $40,963,715,237 |
| 1969 | $37,090,689,288 |
| 1968 | $32,394,326,464 |
| 1967 | $32,570,905,397 |
| 1966 | $29,559,436,183 |
| 1965 | $25,479,619,607 |
| 1964 | $21,966,876,027 |
| 1963 | $19,631,714,760 |
| 1962 | $16,609,632,791 |
| 1961 | $14,238,126,760 |
| 1960 | $12,424,514,014 |
Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
| Year | GDP per capita |
|---|---|
| 2025 | $38,627 |
| 2024 | $35,327 |
| 2023 | $33,493 |
| 2022 | $30,319 |
| 2021 | $30,799 |
| 2020 | $27,234 |
| 2019 | $29,787 |
| 2018 | $30,602 |
| 2017 | $28,381 |
| 2016 | $26,756 |
| 2015 | $25,982 |
| 2014 | $29,708 |
| 2013 | $29,229 |
| 2012 | $28,456 |
| 2011 | $31,825 |
| 2010 | $30,659 |
| 2009 | $32,280 |
| 2008 | $35,603 |
| 2007 | $32,652 |
| 2006 | $28,422 |
| 2005 | $26,451 |
| 2004 | $24,925 |
| 2003 | $21,522 |
| 2002 | $17,111 |
| 2001 | $15,368 |
| 2000 | $14,743 |
| 1999 | $15,708 |
| 1998 | $15,382 |
| 1997 | $14,722 |
| 1996 | $16,101 |
| 1995 | $15,461 |
| 1994 | $13,406 |
| 1993 | $13,330 |
| 1992 | $16,101 |
| 1991 | $14,801 |
| 1990 | $13,795 |
| 1989 | $10,674 |
| 1988 | $9,696 |
| 1987 | $8,234 |
| 1986 | $6,509 |
| 1985 | $4,696 |
| 1984 | $4,487 |
| 1983 | $4,475 |
| 1982 | $5,156 |
| 1981 | $5,367 |
| 1980 | $6,204 |
| 1979 | $5,766 |
| 1978 | $4,353 |
| 1977 | $3,625 |
| 1976 | $3,277 |
| 1975 | $3,208 |
| 1974 | $2,748 |
| 1973 | $2,246 |
| 1972 | $1,708 |
| 1971 | $1,361 |
| 1970 | $1,211 |
| 1969 | $1,109 |
| 1968 | $978 |
| 1967 | $997 |
| 1966 | $916 |
| 1965 | $797 |
| 1964 | $695 |
| 1963 | $627 |
| 1962 | $535 |
| 1961 | $463 |
| 1960 | $408 |
Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
Spain's life expectancy calculator
| Year | Life expectancy, years |
|---|---|
| 2026 | 84.1 |
| 2025 | 84 |
| 2024 | 83.8 |
| 2023 | 83.7 |
| 2022 | 82.4 |
| 2021 | 83 |
| 2020 | 82.2 |
| 2019 | 83.5 |
| 2018 | 83.1 |
| 2017 | 83 |
| 2016 | 83 |
| 2015 | 82.6 |
| 2014 | 82.8 |
| 2013 | 82.7 |
| 2012 | 82.2 |
| 2011 | 82.2 |
| 2010 | 82 |
| 2009 | 81.6 |
| 2008 | 81.3 |
| 2007 | 81 |
| 2006 | 81 |
| 2005 | 80.3 |
| 2004 | 80.3 |
| 2003 | 79.7 |
| 2002 | 79.8 |
| 2001 | 79.7 |
| 2000 | 79.4 |
| 1999 | 78.9 |
| 1998 | 78.9 |
| 1997 | 78.9 |
| 1996 | 78.3 |
| 1995 | 78.2 |
| 1994 | 78.1 |
| 1993 | 77.7 |
| 1992 | 77.6 |
| 1991 | 77.1 |
| 1990 | 77 |
| 1989 | 77 |
| 1988 | 76.9 |
| 1987 | 77 |
| 1986 | 76.7 |
| 1985 | 76.4 |
| 1984 | 76.5 |
| 1983 | 76.1 |
| 1982 | 76.3 |
| 1981 | 75.7 |
| 1980 | 75.5 |
| 1979 | 75 |
| 1978 | 74.5 |
| 1977 | 74.3 |
| 1976 | 73.8 |
| 1975 | 73.5 |
| 1974 | 73.1 |
| 1973 | 72.7 |
| 1972 | 73 |
| 1971 | 71.7 |
| 1970 | 72.1 |
| 1969 | 71.1 |
| 1968 | 71.7 |
| 1967 | 71.3 |
| 1966 | 71.2 |
| 1965 | 70.9 |
| 1964 | 70.5 |
| 1963 | 69.8 |
| 1962 | 69.6 |
| 1961 | 69.6 |
| 1960 | 69.2 |
| 1959 | 68.7 |
| 1958 | 68.8 |
| 1957 | 66.6 |
| 1956 | 66.8 |
| 1955 | 66.7 |
| 1954 | 66.9 |
| 1953 | 65.7 |
| 1952 | 64.8 |
| 1951 | 61.5 |
| 1950 | 61.8 |
Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
Spain's population clock and projection
| Year | Population |
|---|---|
| 2025 | 49,355,143 |
| 2024 | 48,848,840 |
| 2023 | 48,352,528 |
| 2022 | 47,786,102 |
| 2021 | 47,443,821 |
| 2020 | 47,359,424 |
| 2019 | 47,118,501 |
| 2018 | 46,782,011 |
| 2017 | 46,571,232 |
| 2016 | 46,458,139 |
| 2015 | 46,422,303 |
| 2014 | 46,460,733 |
| 2013 | 46,604,197 |
| 2012 | 46,773,055 |
| 2011 | 46,742,697 |
| 2010 | 46,576,897 |
| 2009 | 46,362,946 |
| 2008 | 45,954,106 |
| 2007 | 45,226,803 |
| 2006 | 44,397,319 |
| 2005 | 43,653,155 |
| 2004 | 42,921,895 |
| 2003 | 42,187,645 |
| 2002 | 41,431,558 |
| 2001 | 40,850,412 |
| 2000 | 40,567,864 |
| 1999 | 40,386,875 |
| 1998 | 40,223,509 |
| 1997 | 40,057,389 |
| 1996 | 39,889,852 |
| 1995 | 39,724,050 |
| 1994 | 39,549,108 |
| 1993 | 39,361,262 |
| 1992 | 39,157,685 |
| 1991 | 38,966,376 |
| 1990 | 38,867,322 |
| 1989 | 38,827,764 |
| 1988 | 38,766,939 |
| 1987 | 38,684,815 |
| 1986 | 38,584,624 |
| 1985 | 38,469,512 |
| 1984 | 38,330,364 |
| 1983 | 38,171,525 |
| 1982 | 37,986,012 |
| 1981 | 37,758,631 |
| 1980 | 37,491,165 |
| 1979 | 37,191,330 |
| 1978 | 36,864,898 |
| 1977 | 36,511,638 |
| 1976 | 36,137,812 |
| 1975 | 35,757,900 |
| 1974 | 35,373,335 |
| 1973 | 34,988,947 |
| 1972 | 34,604,469 |
| 1971 | 34,224,490 |
| 1970 | 33,814,531 |
| 1969 | 33,441,054 |
| 1968 | 33,113,134 |
| 1967 | 32,682,947 |
| 1966 | 32,283,194 |
| 1965 | 31,954,292 |
| 1964 | 31,609,195 |
| 1963 | 31,296,651 |
| 1962 | 31,023,366 |
| 1961 | 30,739,250 |
| 1960 | 30,455,000 |
Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
Spain's birth and fertility rates
| Year | Fertility rate |
|---|---|
| 2024 | 1.1 |
| 2023 | 1.12 |
| 2022 | 1.16 |
| 2021 | 1.18 |
| 2020 | 1.18 |
| 2019 | 1.23 |
| 2018 | 1.26 |
| 2017 | 1.31 |
| 2016 | 1.33 |
| 2015 | 1.33 |
| 2014 | 1.32 |
| 2013 | 1.27 |
| 2012 | 1.32 |
| 2011 | 1.34 |
| 2010 | 1.37 |
| 2009 | 1.38 |
| 2008 | 1.45 |
| 2007 | 1.38 |
| 2006 | 1.36 |
| 2005 | 1.33 |
| 2004 | 1.31 |
| 2003 | 1.3 |
| 2002 | 1.25 |
| 2001 | 1.23 |
| 2000 | 1.22 |
| 1999 | 1.17 |
| 1998 | 1.13 |
| 1997 | 1.15 |
| 1996 | 1.14 |
| 1995 | 1.16 |
| 1994 | 1.19 |
| 1993 | 1.26 |
| 1992 | 1.31 |
| 1991 | 1.33 |
| 1990 | 1.36 |
| 1989 | 1.4 |
| 1988 | 1.45 |
| 1987 | 1.49 |
| 1986 | 1.56 |
| 1985 | 1.64 |
| 1984 | 1.73 |
| 1983 | 1.8 |
| 1982 | 1.94 |
| 1981 | 2.04 |
| 1980 | 2.22 |
| 1979 | 2.37 |
| 1978 | 2.54 |
| 1977 | 2.65 |
| 1976 | 2.77 |
| 1975 | 2.77 |
| 1974 | 2.88 |
| 1973 | 2.84 |
| 1972 | 2.87 |
| 1971 | 2.9 |
| 1970 | 2.84 |
| 1969 | 2.86 |
| 1968 | 2.87 |
| 1967 | 2.94 |
| 1966 | 2.91 |
| 1965 | 2.94 |
| 1964 | 3.01 |
| 1963 | 2.88 |
| 1962 | 2.8 |
| 1961 | 2.77 |
| 1960 | 2.86 |
Data sources: World Bank | Health (1960–2024, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
| Year | Median age, years |
|---|---|
| 2025 | 46.8 |
| 2024 | 46.4 |
| 2023 | 45.9 |
| 2022 | 45.4 |
| 2021 | 44.9 |
| 2020 | 44.5 |
| 2019 | 44.1 |
| 2018 | 43.8 |
| 2017 | 43.5 |
| 2016 | 43.1 |
| 2015 | 42.7 |
| 2014 | 42.2 |
| 2013 | 41.7 |
| 2012 | 41.1 |
| 2011 | 40.6 |
| 2010 | 40.2 |
| 2009 | 39.8 |
| 2008 | 39.4 |
| 2007 | 39.2 |
| 2006 | 39 |
| 2005 | 38.8 |
| 2004 | 38.5 |
| 2003 | 38.3 |
| 2002 | 38.1 |
| 2001 | 37.8 |
| 2000 | 37.4 |
| 1999 | 37 |
| 1998 | 36.6 |
| 1997 | 36.2 |
| 1996 | 35.7 |
| 1995 | 35.3 |
| 1994 | 34.9 |
| 1993 | 34.6 |
| 1992 | 34.2 |
| 1991 | 33.9 |
| 1990 | 33.6 |
| 1989 | 33.2 |
| 1988 | 32.9 |
| 1987 | 32.5 |
| 1986 | 32.2 |
| 1985 | 31.9 |
| 1984 | 31.6 |
| 1983 | 31.4 |
| 1982 | 31.1 |
| 1981 | 30.9 |
| 1980 | 30.7 |
| 1979 | 30.6 |
| 1978 | 30.4 |
| 1977 | 30.2 |
| 1976 | 30.1 |
| 1975 | 30 |
| 1974 | 30 |
| 1973 | 30 |
| 1972 | 30 |
| 1971 | 30.1 |
| 1970 | 30.1 |
| 1969 | 30.2 |
| 1968 | 30.4 |
| 1967 | 30.4 |
| 1966 | 30.3 |
| 1965 | 30.2 |
| 1964 | 30.1 |
| 1963 | 29.9 |
| 1962 | 29.7 |
| 1961 | 29.6 |
| 1960 | 29.4 |
Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).
GeoRank.org/facts/spain | CC BY
Spain vs. World: Interactive Maps
Use the buttons below to toggle between world maps that display different statistics comparing Spain with other countries.
Spain: National Statistics
Finance
|
|
Rank | |
|---|---|---|
| GNI, Atlas method |
$1.83T
2025 |
13/194 |
| Government expenditure, % of GDP |
44.7%
2025 |
36/195 |
| Education expenditure, % of GDP |
4.59%
2022 |
75/193 |
| Military expenditure, % of GDP |
1.43%
2024 |
95/163 |
| Armed forces personnel |
199,000
2020 |
32/174 |
| Deficit/surplus, % of GDP |
-2.5%
2025 |
81/188 |
| Unemployment rate |
10.5%
2025 |
34/196 |
| Services, % of GDP |
68.4%
2025 |
31/191 |
| Industry, % of GDP |
19.6%
2025 |
132/194 |
| Economic freedom index |
66.8
2026 |
59/197 |
| Income share by richest 10% |
24.5%
2023 |
129/169 |
| Income share by poorest 10% |
2.2%
2023 |
124/169 |
| Number of millionaires |
1,077,000
2026 |
12/40 |
| Percentage of millionaires |
2.66%
2026 |
20/40 |
| Number of billionaires |
34
2026 |
19/74 |
| Percentage of billionaires |
0.00008%
2026 |
35/74 |
| Listed domestic companies |
272
2025 |
29/103 |
| Market capitalization of domestic companies |
$1.3T
2025 |
14/100 |
| Total reserves including gold |
$129B
2025 |
23/177 |
| Personal remittances received |
$6.33B
2024 |
34/191 |
| International tourist arrivals |
36,410,000
2020 |
8/188 |
| International tourism as share of exports |
19.8%
1998 |
37/184 |
| Banked people share |
98.4%
2024 |
17/158 |
Energy
|
|
Rank | |
|---|---|---|
| Energy use, kg of oil equivalent per capita |
2,304 kg
2024 |
51/177 |
| GDP PPP per kg equivalent of energy use |
$25.2
2024 |
27/173 |
| Carbon dioxide (CO2) emissions |
220.1 megatons
2024 |
28/187 |
| CO2 emissions per capita |
4.51 tons
2024 |
54/187 |
| Fossil fuel energy use share |
68.5%
2023 |
79/176 |
| Renewable energy use share |
19%
2021 |
110/193 |
| Alternative and nuclear energy use share |
25.5%
2024 |
18/147 |
| Net energy imports use share |
77%
2023 |
23/144 |
| Electric power consumption per capita |
5,196 kWh
2024 |
38/147 |
| Renewable electricity output share |
47%
2021 |
67/192 |
| Hydroelectric share |
14.2%
2024 |
91/192 |
| Nuclear share |
18.9%
2024 |
17/192 |
| Electricity access |
100%
2023 |
92/195 |
Society
|
|
Rank | |
|---|---|---|
| % of world population |
0.6%
2025 |
32/197 |
| Annual migration change |
+96,630
2025 |
17/196 |
| Urban population |
80.5%
2025 |
43/195 |
| Male:Female ratio |
49.1:50.9
2025 |
N/A |
| Average male height |
5.71 ft
2026 |
69/190 |
| Average female height |
5.35 ft
2026 |
47/190 |
| Quality of life index |
83.4
2026 |
31/197 |
| Corruption Perceptions Index |
55
2025 |
60/197 |
| Higher education index |
90
2026 |
21/183 |
| Homicides per 100K people |
0.69
2023 |
172/197 |
| Road traffic mortality per 100K people |
3.9
2019 |
177/197 |
| Visa free countries |
175
2026 |
3/195 |
| Adult literacy rate |
99.7%
2021 |
22/196 |
| English speaking |
39%
2026 |
74/197 |
| People using the Internet |
95.8%
2024 |
22/195 |
Health
|
|
Rank | |
|---|---|---|
| Government health expenditure per capita |
$3,107
2023 |
30/192 |
| Out-of-pocket health expenditure per capita |
$648
2023 |
28/192 |
| Life expectancy |
84.1 years
2026 |
10/197 |
| Physicians per 1,000 people |
4.29
2022 |
24/193 |
| Age at first childbirth |
31.5 years
2024 |
7/137 |
| Maternal mortality per 100K births |
3
2023 |
187/193 |
| Mortality rate before reaching 5 years of age |
3.2
2024 |
173/192 |
| Obesity rate |
16.2%
2022 |
128/189 |
| Diabetes prevalence |
9.7%
2024 |
84/195 |
| Air quality index |
77
2026 |
48/197 |
| Tobacco use prevalence |
27.6%
2024 |
39/170 |
| Pure alcohol consumption per capita |
9.16 liters
2020 |
39/186 |
Territory
|
|
Rank | |
|---|---|---|
| % of world land |
0.34%
2026 |
51/197 |
| Land area per capita |
3,909 sq mi
2025 |
103/197 |
| Agricultural land area |
95,648 sq mi
2026 |
45/194 |
| Forest area |
71,757 sq mi
2026 |
33/196 |
| Roads length |
424,505 mi
2020 |
14/176 |
Compare Spain with other countries
Help us show the world through your eyes
Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.
Data sources:
- World Bank | Health (1960–2026, retrieved 2026-07-08)
- United Nations | World Population Prospects (1950–2026, retrieved 2026-07-08)
- U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
- Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
- International Monetary Fund (IMF) | Fiscal Monitor (2025, retrieved 2026-07-08)
- LivingCost (2026, retrieved 2026-07-08)
- World Obesity Federation (2022, retrieved 2026-07-08)
- United Nations Economic Commission for Europe (UNECE) (2024, retrieved 2026-07-08)
- Transparency International (2025, retrieved 2026-07-08)
- Wikidata (2025, retrieved 2026-07-08)
- The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-07-08)
- Passport Index (2026, retrieved 2026-07-08)
- EduRank (2026, retrieved 2026-07-08)
Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.