Flag of Spain

Spain: capital, population, area and flag

Spain is a country in Southern Europe (Europe). Its capital is Madrid. The population is about 49.4M (#32 of 193) and the area is about 505,981 km² (#51 of 193).

Key facts

Capital
Madrid
Region
Europe / Southern Europe
Population
49,355,143 (2025) #32 of 193
Total area
505,981 km² (2024) #51 of 193
Population density
97.8 people/km² (2024) #90 of 193
GDP (total)
$1.91T (2025) #12 of 189
GDP per capita
$38,627 (2025) #31 of 189
Life expectancy
83.9 years (2024) #10 of 193
Distance from Japan
10,762 km #80 of 192
Area compared with Japan
about 1.3 times that of Japan
Population compared with Japan
about 1/2 that of Japan
Main languages
Spanish
Currency
Euro (EUR)
Calling code
+34
Time zone (capital)
UTC+1 (observes daylight saving time)
Time difference from Japan (standard time)
8 h behind Japan
Driving side
Right
Capital location
40.42°N 3.70°W

Map of Spain

Map of Spain

Capital: Madrid

Spain: number one in the world

Spain ranks first in the world for these crops, animals, seafood and farm products (latest FAO data). Select one to see the whole ranking.

Spain: in the world’s top 10 for food & farming

Spain ranks among the world’s top 10 for these crops, animals, seafood and farm products (latest FAO data).

Neighbors by land

Top rankings

Spain is in the top 10 for:

Spain in world rankings

How Spain compares with other countries, indicator by indicator. Click an indicator to see the full ranking.

IndicatorValueYearRank
Geography & nature
Total area505,981 km²2024#51 of 193
Number of land borders3#80 of 193 tied
Latitude of the capital40.4°#46 of 193
Distance from Japan10,762 km#80 of 192
Forest area (share of land)38.2%2024#77 of 193
Arable land (share of land)22.8%2024#44 of 190
Protected land (share of land)28.1%2025#43 of 192
Agricultural land (share of land)49.3%2024#59 of 192
Average annual rainfall636 mm2022#124 of 180
Freshwater resources per person2,327 m³2022#95 of 181
Forest area191,328 km²2025#34 of 193
Marine protected areas (share of territorial waters)19.0%2025#28 of 153 tied
People & population
Population49,355,1432025#32 of 193
Population density97.8 people/km²2024#90 of 193
Population growth rate1.03%2025#96 of 193
Urban population (share of people)80.5%2025#40 of 193
Life expectancy83.9 years2024#10 of 193
Fertility rate1.10 births per woman2024#187 of 193
Infant mortality rate2.6 per 1,000 births2024#173 of 192
Birth rate6.5 per 1,000 people2024#188 of 193
Share of people aged 65 and over21.6%2025#17 of 193
Share of children aged 0–1412.6%2025#187 of 193
Life expectancy of women86.5 years2024#5 of 193
Life expectancy of men81.4 years2024#12 of 193 tied
Maternal mortality ratio3 per 100,000 births2023#180 of 192 tied
City dwellers living in the largest city (share)17.1%2025#123 of 149
Death rate (per 1,000 people)8.9 per 1,000 people2024#57 of 193
Under-5 mortality (per 1,000 births)3.2 per 1,000 births2024#172 of 192 tied
Population aged 15–64 (share of population)65.7%2025#70 of 193
Economy
GDP (total)$1.91T2025#12 of 189
GDP per capita$38,6272025#31 of 189
GDP per capita (PPP)$59,8682025#32 of 185
Economic growth rate2.8%2025#109 of 188
Inflation rate2.7%2025#98 of 179
Unemployment rate10.4%2025#33 of 178
Exports (share of GDP)36.6%2025#81 of 168
Imports (share of GDP)32.8%2025#110 of 168
Agriculture (share of GDP)2.7%2025#129 of 184
Industry (share of GDP)19.6%2025#127 of 185
Services (share of GDP)68.4%2025#29 of 185
Military spending (share of GDP)2.1%2025#55 of 155
Income inequality (Gini index)33.4 (0–100)2023#90 of 149 tied
Goods exports (total)$445B2025#18 of 190
Money sent home by workers abroad (share of GDP)0.4%2025#137 of 170
Women in the labor force (share of women)52.8%2025#95 of 178
Youth unemployment rate24.7%2025#28 of 178
Cereal production20,862,990 t2024#27 of 177
Cereal yield (per hectare of farmland)3,786 kg/ha2024#67 of 175
Fish and seafood production (catch + farmed)1,010,663 t2024#25 of 193
Fish catch (from sea, rivers and lakes)764,462 t2024#24 of 193
Aquaculture (farmed fish and seafood)246,201 t2024#25 of 193
Livestock production growth (2014–16 = 100)110.6 (2014–16 average = 100)2024#89 of 187
Fertilizer use (per hectare of arable land)136 kg/ha2024#69 of 187
Manufacturing (share of GDP)10.6%2025#90 of 178
Employment in agriculture (share of jobs)3.4%2025#144 of 178
High-technology exports (share of manufactured exports)9.3%2024#69 of 168
Foreign direct investment, inflows (share of GDP)1.5%2025#111 of 187
Labor force (number of people)24,759,1832025#28 of 178
Reserves of foreign currency and gold$129B2025#23 of 169
Extreme poverty (share living on less than $3.00 a day)0.8%2023#78 of 132 tied
Daily life & technology
Internet users (share of people)95.8%2024#22 of 186
Mobile phone subscriptions130.3 per 100 people2024#53 of 193
Access to electricity (share of people)100.0%2024#1 of 193 tied
Health spending (share of GDP)9.2%2023#41 of 192
Education spending (share of GDP)4.6%2022#72 of 179
Hospital beds2.9 per 1,000 people2023#62 of 157 tied
Doctors4.29 per 1,000 people2022#24 of 188
Research spending (share of GDP)1.49%2023#31 of 130
Women in parliament (share of seats)44.3%2025#18 of 192
University and college enrollment93.8%2024#13 of 163
Fixed broadband subscriptions39.2 per 100 people2024#23 of 192
Air passengers carried94,101,5202023#11 of 152
Safe drinking water (share of people)99.5%2024#23 of 136
Safe sanitation (share of people)88.3%2024#40 of 136
Undernourishment (share of people)2.5%2024#102 of 165 tied
Clean cooking fuels (share of people)97.0%2024#71 of 192 tied
Road traffic deaths3.9 per 100,000 people2019#167 of 183 tied
Measles vaccination (share of children)97.0%2024#31 of 192 tied
Secondary school enrollment (gross)118.5%2024#17 of 180
Primary school completion rate98.5%2024#51 of 172
Nurses and midwives (per 1,000 people)6.41 per 1,000 people2022#51 of 190
Tuberculosis cases (per 100,000 people)8 per 100,000 people2024#150 of 191 tied
Health spending per person$3,1072023#30 of 192
Container port traffic (TEU)18,114,517 TEU2024#10 of 150
Environment
Renewable electricity (share of power)47.0%2021#64 of 187
CO₂ emissions per person4.5 t CO₂e per person2024#52 of 186
CO₂ emissions (total)220.1 Mt CO₂e2024#27 of 186
Air pollution (PM2.5)10.1 µg/m³2023#154 of 192
Energy use per person2,306 kg oil eq. per person2024#48 of 146
Renewable energy (share of final energy use)19.0%2021#110 of 191 tied
Electricity consumption per person5,337 kWh per person2025#39 of 146
Electricity from nuclear power (share of total)18.0%2025#17 of 190
Electricity from hydropower (share of total)13.4%2025#93 of 190
Greenhouse gas emissions (total)285.6 Mt CO₂e2024#30 of 186
Freshwater withdrawal (share of internal resources)26.1%2022#49 of 175
Food & farming
Wheat: production7,147,930 t2024#20 of 120
Rice: production605,820 t2024#46 of 114
Maize (corn): production3,500,060 t2024#34 of 160
Barley: production7,440,970 t2024#7 of 100
Sorghum: production27,210 t2024#62 of 107
Oats: production1,162,540 t2024#6 of 74
Rye: production223,510 t2024#11 of 62
Potatoes: production1,971,170 t2024#34 of 150
Soybeans: production10,940 t2024#67 of 101
Rapeseed (canola): production224,790 t2024#27 of 63
Dry peas: production263,260 t2024#11 of 95
Sunflower seeds: production831,610 t2024#12 of 73
Tomatoes: production4,574,280 t2024#7 of 164
Onions: production1,390,760 t2024#19 of 139
Cabbages: production276,150 t2024#27 of 143
Carrots (with turnips): production393,740 t2024#19 of 129
Cucumbers (with gherkins): production757,790 t2024#8 of 130
Lettuce (with chicory): production916,400 t2024#4 of 102
Cauliflower (with broccoli): production671,380 t2024#5 of 95
Eggplants (aubergines): production297,660 t2024#10 of 94
Green chilies and sweet peppers: production1,518,610 t2024#6 of 124
Mushrooms (with truffles): production161,900 t2024#7 of 63
Garlic: production245,700 t2024#6 of 102
Oranges: production2,904,940 t2024#6 of 112
Tangerines (mandarins): production1,815,520 t2024#5 of 70
Lemons (with limes): production919,510 t2024#8 of 101
Apples: production545,080 t2024#24 of 92
Bananas: production421,320 t2024#36 of 113
Grapes: production5,387,270 t2024#3 of 91
Strawberries: production323,540 t2024#6 of 80
Watermelons: production1,222,710 t2024#13 of 119
Peaches (with nectarines): production1,376,900 t2024#2 of 79
Avocados: production112,360 t2024#23 of 70
Olives: production8,310,250 t2024#1 of 40
Melons (cantaloupes and others): production594,010 t2024#10 of 95
Pears: production222,020 t2024#10 of 85
Plums (with sloes): production135,750 t2024#16 of 87
Apricots: production155,570 t2024#9 of 65
Cherries: production121,060 t2024#7 of 65
Grapefruits (with pomelos): production85,010 t2024#14 of 71
Almonds: production369,700 t2024#3 of 48
Walnuts: production20,060 t2024#17 of 55
Sugar beet: production3,522,240 t2024#16 of 57
Cotton (fibre): production40,500 t2023#29 of 85
Tobacco: production19,410 t2024#28 of 117
Beef (cattle meat): production718,450 t2024#19 of 181
Pork (pig meat): production4,956,040 t2024#4 of 164
Chicken meat: production1,517,910 t2024#22 of 183
Cow’s milk: production7,576,060 t2024#25 of 178
Hen eggs: production884,100 t2024#15 of 167
Honey: production33,181 t2024#13 of 122
Sheep meat (mutton and lamb): production98,530 t2024#24 of 172
Goat meat: production8,710 t2024#61 of 164
Goat’s milk: production470,220 t2024#8 of 108
Butter (with ghee): production46,680 t2023#30 of 124
Cheese (all kinds): production535,875 t2023#11 of 105
Whiteleg shrimp: production80 t2024#35 of 54
Giant tiger prawn: production48 t2024#17 of 26
Common carp: production15 t2024#79 of 97 tied
Atlantic salmon: production2 t2024#18 of 22
Rainbow trout: production17,105 t2024#15 of 79
Gilthead seabream: production11,212 t2024#5 of 31
European seabass: production26,094 t2024#4 of 29
Pacific cupped oyster: production1,123 t2024#14 of 30
Skipjack tuna: production135,346 t2024#8 of 82
Yellowfin tuna: production60,038 t2024#7 of 82
Bigeye tuna: production21,136 t2024#5 of 68
Albacore: production12,888 t2024#3 of 60
Atlantic bluefin tuna: production15,497 t2024#2 of 32
Swordfish: production31,157 t2024#1 of 76
Atlantic herring: production0 t2023#19 of 19
Atlantic mackerel: production22,681 t2024#7 of 29
Atlantic cod: production8,713 t2024#6 of 20
Haddock: production418 t2024#13 of 17
Blue whiting: production21,708 t2024#10 of 21
European pilchard (sardine): production33,942 t2024#4 of 28
European anchovy: production50,702 t2024#6 of 36
European sprat: production0 t2024#24 of 24
Largehead hairtail (cutlassfish): production1 t2024#44 of 44
Common octopus: production4,588 t2024#4 of 23
Seaweeds and other aquatic plants: production2,987 t2024#25 of 68
Shrimps and prawns: production12,774 t2024#31 of 114
Crabs: production1,541 t2024#39 of 97
Lobsters: production762 t2024#35 of 91
Crayfish and other freshwater crustaceans: production10 t2024#42 of 64
Oysters: production1,377 t2024#20 of 51
Clams and cockles: production3,150 t2024#21 of 55
Scallops: production338 t2024#19 of 31
Mussels: production164,559 t2024#3 of 52
Squids, cuttlefish and octopuses: production39,001 t2024#18 of 102
Tunas, bonitos and billfishes: production281,415 t2024#10 of 133
Carps and other cyprinids: production31 t2024#95 of 115
Tilapias and other cichlids: production2 t2023#113 of 119 tied
Herrings, sardines and anchovies: production90,153 t2024#35 of 108
Cods, hakes and haddocks: production188,496 t2024#7 of 65
Flatfishes (flounders, halibuts, soles): production21,742 t2024#11 of 91
Freshwater eels: production459 t2024#10 of 41
Sea urchins, sea cucumbers and other echinoderms: production600 t2024#20 of 48
Sharks and rays: production55,468 t2024#3 of 127
Cattle: number of animals6,173,960 animals2024#43 of 183
Pigs: number of animals34,565,280 animals2024#4 of 165
Sheep: number of animals13,476,030 animals2024#29 of 173
Goats: number of animals2,360,950 animals2024#57 of 180
Buffaloes: number of animals740 animals2024#39 of 45

Questions about Spain

What is the capital of Spain?

The capital of Spain is Madrid.

What is the population of Spain?

Spain has a population of about 49.4M (2025), #32 of 193 among countries.

How big is Spain?

Spain covers about 505,981 km², #51 of 193 among countries.

Which continent is Spain in?

Spain is in Europe, in the region of Southern Europe.

What is Spain number one in the world for in food and farming?

Spain ranks first in the world for: Olives 8.31M t, Swordfish 31.2K t (FAO data).

What currency and languages are used in Spain?

The currency is the Euro. Main languages: Spanish.

How does Spain compare with Japan in size and population?

The area of Spain is about 1.3 times that of Japan, and its population is about 1/2 that of Japan.

How far is Spain from Japan?

The capital, Madrid, is about 10,762 km from Tokyo, the capital of Japan, in a straight line.

What is the time difference between Spain and Japan?

The capital, Madrid, is on UTC+1 in standard time: 8 h behind Japan. The difference changes by one hour during daylight saving time.

More countries in Southern Europe

Play with Spain

Test what you learned in the quiz.

Map puzzle Quiz Rankings

Back to top