Skip to main content
EditionEnglish edition·Édition française
Spain — Country Profile | Magna Factbook
Factbook

Spain — Country Profile

Population, GDP, natural resources, leaders and history of Spain: the Magna Factbook country file, with its Magna grade (MBA, ranked #11 of 195).

CapitalMadrid
Population47,280,433 (2024 est.)
GDP (PPP)$2.361 trillion (2024 est.)
Magna gradeMBA · 71 #11

Spain is a parliamentary constitutional monarchy in Southwestern Europe, bordering the Mediterranean Sea, North Atlantic Ocean, Bay of Biscay, and Pyrenees Mountains; southwest of France. The country's capital is Madrid; it covers 505,370 sq km. Independence: 1492. Terrain: large, flat to dissected plateau surrounded by rugged hills; Pyrenees Mountains in north. Climate: temperate; clear, hot summers in interior, more moderate and cloudy along coast; cloudy, cold winters in interior, partly cloudy and cool along coast. Population: 47.3 million (2024 estimate). Population growth: +0.12% per year. Median age: 47.2 years. Life expectancy: 83 years (2024 est.). Languages: Castilian Spanish (off…

Spain facts: population, GDP, capital and more

CapitalMadrid
Population47,280,433 (2024 est.)
GDP (PPP)$2.361 trillion (2024 est.)
GDP per capita (PPP)$48,400 (2024 est.)
Real GDP growth3.2% (2024 est.)
Inflation2.8%
Unemployment11.4%
Public debt107.3% of GDP (2023 est.)
Exports$642.358 billion (2024 est.)
Imports$568.502 billion (2024 est.)
Life expectancy83 years (2024 est.)
Median age47.2
Urbanization81.6% of total population (2023)
Governmentparliamentary constitutional monarchy
Independence1492
LanguagesCastilian 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

Magna assessment

MBA · 71/100 — The Magna grade is our 0–100 composite of structural national power — five dimensions, 100+ indicators. It is the Bureau's own assessment, not a mirror of World Bank or CIA figures.

Momentum +2 — Quarterly momentum: the Bureau's read on the country's trajectory over the last quarter, from −10 (deteriorating fast) to +10 (accelerating).

Spain kept posting the eurozone's strongest big-economy numbers: growth near 2.8% with the deficit falling — the macro record held through the quarter.

Tourism and exports powered the run while politics stayed manageable. Modestly positive, earned rather than gifted.

Natural resources of Spain

Coal, Iron ore, Copper, Lead, Zinc, Uranium, Tungsten, Mercury, Gypsum, Potash, Hydropower.

CoalIron oreCopperLeadZincUraniumTungstenMercuryGypsumPotashHydropower

Who leads Spain?

Pedro Sánchez — Prime Minister. King FELIPE VI (since 19 June 2014)

Diplomatic weight

Spain maintains 114 embassies and 65 consulates abroad, hosts 124 foreign diplomatic missions, holds permanent missions to UN New York, UN Geneva, EU Brussels, NATO Brussels, OECD Paris, UNESCO Paris, OSCE Vienna, CoE Strasbourg. The breadth of a diplomatic network is a direct measure of diplomatic power — it shows how far a country’s influence, alliances and interests reach.

Embassies abroad114
Consulates abroad65
Foreign missions hosted124
Multilateral missionsUN New York, UN Geneva, EU Brussels, NATO Brussels, OECD Paris, UNESCO Paris, OSCE Vienna, CoE Strasbourg

Source: Abroad: Lowy GDI 2024 Key Findings Report (114 embassies, 65 consulates, total 190) https://dev.clauneck.workers.dev/nikola/using-https-globaldiplomacyindex.lowyinstitute.org/downloads/GDI_Key_Findings.pdf , corroborated by worldpopulationreview https://worldpopulationreview.com/country-rankings/global-diplomacy-index , https://globalchallenges.ch/issue/17/diplomatic-gambling-versus-new-diplomacy/ and https://observerdiplomat.com/countries-with-most-diplomatic-posts-in-the-world/ . Hosted: Consular Affairs Center in-country ranking, Mar 2026. Multilateral rosters as for AUT.

Transport & infrastructure

Transport networks are economic power made physical — ports, runways, railways and pipelines decide what a country can move, sell and defend.

Sea accessCoastal — 4964 km of coastline.
Airports (total)365 + 162 heliports (registration prefix EC)
Major seaportsAlicante, Barcelona, Cadiz, Ceuta, Ferrol, Huelva, Las Palmas, Malaga, Palma de Mallorca, Puerto de Bilbao, Puerto de Pasajes, Santa Cruz de Tenerife, Santander, Sevilla, Tarragona, Valencia, Vigo
Railways15489 km
Pipelines10,481 km gas, 358 km oil, 4,378 km refined products (2017)
Top container ports (TEU)Valencia (5,604,478 TEU, 2021); Algeciras (4,799,497 TEU, 2021); Barcelona (3,531,762 TEU, 2021)

Major airports

Adolfo Suárez Madrid–Barajas Airport (MAD) — Madrid; Alicante-Elche Miguel Hernández Airport (ALC) — Alicante; Asturias Airport (OVD) — Ranón; Bilbao Airport (BIO) — Bilbao; César Manrique-Lanzarote Airport (ACE) — San Bartolomé; Fuerteventura Airport (FUE) — El Matorral; Girona-Costa Brava Airport (GRO) — Girona; Gran Canaria Airport (LPA) — Gran Canaria Island; Ibiza Airport (IBZ) — Ibiza (Eivissa); Josep Tarradellas Barcelona-El Prat Airport (BCN) — Barcelona.

Showing 10 of 15 major airports.

Terminals

LNG import terminalsBarcelona, Bilbao, Cartagena, El Musel, Huelva, Mugardos, Sagunto
River portsSeville (Guadalquivir River)

Sources: OurAirports public-domain extract (2026-10-02); per-entry Wikipedia links included; CIA World Factbook via cia_factbook snapshot (2026-09-28); theodora.com CIA mirror (CIA World Factbook Transportation section), scraped 2026-10-02

Elections & power

Political systemparliamentary constitutional monarchy
Last election2023 — general; 2023-07-23; winner: Pedro Sánchez (PSOE); PP won plurality; Sánchez formed PSOE+Sumar minority government Nov 2023 Wikipedia
Next election2027 — general (scheduled)

Source: constitutional schedule / public election calendar

Where does Spain rank?

MBA · 71 Ranked #11 of 195 countries in the Magna Country Rankings. Full ranking breakdown for Spain.

History of Spain

Historical timeline of Spain

Major cities

MadridBarcelonaValencia

Across the Bureau

Spain — Military FileHistory of Spain — TimelinePedro Sánchez — Leader of SpainSpain Ranking — Magna Country RankingsDid Spain acquire 16x Airbus C295 maritime patrol/surveillance aircraft?Did Spain acquire 25x Eurofighter?Who won the last election in Spain?What are the main airports of Spain?