Latitude and Longitude of Spain

Spain is a country in Europe covering about 504,782 km² (194,897 sq mi), with a population of about 49,355,143. Its capital, Madrid, is at latitude 40.416500 and longitude -3.702560 (40° 24' 59.40" N, 3° 42' 9.22" W).

GeoNames counts 544 cities in Spain with 15,000 or more inhabitants; the largest is Madrid with about 3,255,944. Of these, Viveiro is the farthest north (43.6623°) and Playa del Ingles the farthest south (27.7567°).

Coordinates of the capital, Madrid

Decimal degrees (lat, long)
40.416500, -3.702560
Degrees, minutes, seconds (DMS)
40° 24' 59.40" N, 3° 42' 9.22" W
Degrees, decimal minutes (DDM)
40° 24.9900' N, 3° 42.1536' W
UTM (zone, easting, northing)
30T 440395 4474223
MGRS
30T VK 40395 74223
Plus Code
8CGRC78W+JX
Geohash
ezjmgtxgh
Continent
Europe
Area
504,782 km² (194,897 sq mi)
Population
49,355,143
Cities of 15,000+
544
Currency
Euro (EUR)
Calling code
+34
Internet domain
.es

More about Madrid

Map loads when you scroll here.

Open in OpenStreetMap

Extreme points: northernmost, southernmost, easternmost and westernmost cities

These are the outermost towns and cities of Spain with at least 15,000 inhabitants. The country's land border, islands and territories can reach further.

Extreme cities of Spain
DirectionCityLatitudeLongitudePopulationCopy
NorthViveiro43.6623-7.593416,238
SouthPlaya del Ingles27.7567-15.578717,158
EastMaó39.88854.265829,125
WestLos Llanos de Aridane28.6585-17.918220,171

Largest cities in Spain

Latitude and longitude of the largest cities in Spain
PlaceLatitudeLongitudePopulationCopy
Madrid40.4165-3.70263,255,944
Barcelona41.38882.15901,686,208
Valencia39.4739-0.3797824,340
Zaragoza41.6561-0.8773686,986
Sevilla37.3828-5.9732686,741
Málaga36.7202-4.4203592,346
Murcia37.9870-1.1300471,982
Palma39.56942.6502438,234
Las Palmas de Gran Canaria28.1018-15.4157383,516
Alicante38.3452-0.4815348,901
Bilbao43.2627-2.9253347,342
Córdoba37.8916-4.7728325,708
Valladolid41.6554-4.7235300,618
Vigo42.2328-8.7226293,642
Gijón43.5357-5.6615271,780
Gasteiz / Vitoria42.8500-2.6727257,407
L'Hospitalet de Llobregat41.35972.1003257,038
A Coruña43.3713-8.3960250,438
Elche38.2622-0.7011234,765
Granada37.1882-3.6067233,532
Ciudad Lineal40.4451-3.6513228,171
Oviedo43.3603-5.8448220,027
Terrassa41.56672.0167218,535
Badalona41.45002.2474217,741
Cartagena37.6020-0.9840213,943
Jerez de la Frontera36.6865-6.1361212,879
Sabadell41.54332.1094211,734
Santa Cruz de Tenerife28.4682-16.2546211,359
Pamplona42.8169-1.6432208,243
Móstoles40.3223-3.8650207,095
Almería36.8381-2.4597196,851
Alcalá de Henares40.4821-3.3600193,751
Fuenlabrada40.2842-3.7942190,496
Leganés40.3272-3.7635188,425
Getafe40.3057-3.7330187,525
Donostia / San Sebastián43.3128-1.9750185,357
Castelló de la Plana39.9857-0.0493183,711
Burgos42.3411-3.7018176,418
Santander43.4659-3.8049173,635
Albacete38.9942-1.8564173,050

Neighbouring countries

Place data: GeoNames, licensed under CC BY 4.0 (downloaded December 4, 2026). Population figures are GeoNames estimates and can differ from the latest census. Coordinates are those of the city centre as recorded by GeoNames.

Frequently asked questions

What are the coordinates of Spain?

A country has no single coordinate. Its capital, Madrid, is at 40.416500, -3.702560 (40° 24' 59.40" N, 3° 42' 9.22" W). The coordinates of every large city are listed on this page.

What is the northernmost city in Spain?

Of the cities with at least 15,000 inhabitants, Viveiro is the farthest north, at latitude 43.6623. The southernmost is Playa del Ingles (27.7567).

Which is the largest city in Spain?

Madrid, with about 3,255,944 inhabitants according to GeoNames, at 40.4165, -3.7026.