page_title: Geography of Spain
section_title: Population geography
hierarchical_section_title: Geography of Spain / Population geography
caption_attribution_description: English: A map showing Spain's cities, main towns, other selected centres, rivers and higher peaks.
context_page_description: Spain is a country located in southwestern Europe occupying most of the Iberian Peninsula. It also includes a small exclave inside France called Llívia, as well as the Balearic Islands in the Mediterranean, the Canary Islands in the Atlantic Ocean 108 km off northwest Africa, and five places of sovereignty on and off the coast of North Africa: Ceuta, Melilla, Islas Chafarinas, Peñón de Alhucemas, and Peñón de Vélez de la Gomera.
  The Spanish mainland is bordered to the south and east almost entirely by the Mediterranean Sea; to the north by France, Andorra, and the Bay of Biscay; and to the west by the Atlantic Ocean and Portugal. With a land area of 504,782 square kilometres in the Iberian peninsula, Spain is the largest country in Southern Europe, the second largest country in Western Europe, and the fourth largest country in the European continent. It has an average altitude of 650 m.
  Its total area including Spanish island territories is 505,370 km² of which 499,542 km² is land and 5,240 km² is water. It has the 30th largest Exclusive Economic Zone of 1,039,233 km². Spain lies between latitudes 27° and 44° N, and longitudes 19° W and 5° E. Its Atlantic coast is 710 km long.
caption: Spain's cities and main towns
exif: {}