Spain

Official name: Kingdom of Spain
Also known as: España, Reino de España (Spanish)

Flag of Spain
Capital: Madrid
Total Area: 505,990 km² (314.408 mi²) (53st)
Approximate population: 49,077,984 (32th) - (2024 est.)
Location: Southwestern Europe
Languages: Spanish
Religions: 54.8% Roman Catholicism [35.7% non-practicing Catholic, 19.1% practicing Catholic], 15.5% atheist, 13.0% indifferent or no religion, 10.7% agnostic, 3.7% other religion, 2.2% unanswered - (2025 est.)
Nationality: 86.1% Spanish, 13.9% foreigners - (2025 est.)
Currency: Euro () (EUR)
Time zones: UTC⁠±0 to +1 (WET and CET), Summer (DST) - UTC+1 to +2 (WEST and CEST)
— Note: most of Spain observes CET/CEST, except the Canary Islands which observe WET/WEST.
Calling code: (+34)
Organizations: United Nations, European Union, North Atlantic Treaty Organization, Organisation for Economic Co-operation and Development

Border countries (5): Portugal: 1,214 km (754 mi), France: 623 km (387 mi), Andorra: 63.7 km (39.6 mi), Morocco (Melilla): 10.5 km (6.52 mi), Morocco (Ceuta): 8 km (4.97 mi), Gibraltar: 1.2 km (0.75 mi)
Coastline: 4,964 km (3.084 mi)
Maritime boundaries: Atlantic Ocean, Mediterranean Sea
Spain Map Outline

Administrative divisions (17) autonomous communities and 2 autonomous cities:
Communities: Andalusia, Aragon, Principality of Asturias, Balearic Islands, Basque Country, Canary Islands, Cantabria, Castile–La Mancha, Castile and León, Catalonia, Extremadura, Galicia, La Rioja, Community of Madrid, Region of Murcia, Chartered Community of Navarre, Valencian Community.
Cities: Ceuta, Melilla

note: the autonomous cities of Ceuta and Melilla plus three small islands of Islas Chafarinas, Penon de Alhucemas, and Penon de Velez de la Gomera, administered directly by the Spanish central government, are all along the coast of Morocco and are collectively referred to as Places of Sovereignty (Plazas de Soberania)

Natural resources: coal, lignite, iron ore, uranium, mercury, pyrites, fluorspar, gypsum, zinc, lead, tungsten, copper, kaolin, potash, sepiolite, hydropower, arable land