spinacountry

Southern Europe · Europe/Regional crossroads

Spain

Kingdom of Spain

Madrid48.8 million people505,992 km²
Spin another country
Flag of Spain

Spain overview

Spain is a sovereign country in Southern Europe, in the wider region of Europe. The long form of the name is Kingdom of Spain. The capital is Madrid.

Some 48.8 million people call it home, placing it 32nd of 249 by population — between Uganda above it and Algeria below. Measured only against its own subregion, it is 1st of 10 in size and 2nd in population.

Its territory runs to 505,992 km², which ranks it 53rd of the 249 countries and territories in this dataset — just behind Thailand and just ahead of Turkmenistan. Put next to a country most people can picture, it is almost exactly the same size as Thailand.

Spain and its neighbours, side by side

Spain has 5 land neighbours, holding 117,448,774 people across 1,090,809 km² between them. Here is how each one measures up.

Land neighbours of Spain, compared by area and population
NeighbourPopulationArea (km²)vs Spain by area
France68,551,653551,6951.1× larger
Morocco38,081,173446,5501.1× smaller
Portugal10,694,68192,0905.5× smaller
Andorralandlocked81,9384681081× smaller
Gibraltar39,329684332× smaller

By area the largest neighbour is France and the smallest is Gibraltar; by population France is the heaviest presence on the border. Taken together the neighbours hold more people than Spain does, which is the usual situation for a country with several borders and rarely a comfortable one.

Spain at a glance

Capital
Madrid
Population
48,848,840
Area
505,992 km²
Region
Southern Europe, Europe
Languages
Spanish
Currency
Euro (EUR)
Calling code
+34
Internet TLD
.es
People per km²
97

Location, borders and position

Its reference point sits at 40.0° north and 4.0° west, which puts it in the northern hemisphere, roughly 4,453 km from the equator, in what geographers would call temperate latitudes.

The prime meridian also passes close to it, so it straddles the line that divides east from west. Countries on the same parallel, far away in longitude, include the United States, Türkiye and Turkmenistan.

5 countries share a land border with it: Andorra, France, Gibraltar, Portugal and Morocco. The largest of them by area is France, which is also the most populous. Together those neighbours hold about 117.4 million people.

It has both a coastline and land borders, which is the most common arrangement of all.

Where Spain is on the map

The map below is centred on Spain at roughly 40.00°, -4.00°. Pan and zoom to see how it sits against its surroundings — the shape of a country's borders explains a surprising amount about its history.

Map data © OpenStreetMap contributors

People, population and language

Population divided by land area gives roughly 97 people per square kilometre, which makes it more crowded than the typical entry on this list. The median across all 249 entries here is about 91 per square kilometre.

Spanish is the only official language. Spanish is one of the widely shared official languages here, listed by 22 other entries including Argentina, Belize, Bolivia and Chile.

Someone from Spain is a Spanish.

Inside Europe it places 6th of 53 by population, and it accounts for 37% of everyone living in Southern Europe.

Spain within Southern Europe

Zoom in from the world to Southern Europe and Spain sits 2nd of 10 by population and 1st by area. Its immediate company in that ordering is Italy just above and Portugal just below, which is a more honest comparison set than a global league table.

Italy is the largest of the group by population, and every entry in Southern Europe has its own page here if you want to work through the whole neighbourhood rather than one country at a time.

Money and language in Spain

Spain does not have the Euro to itself. It is one of 38 entries on this site that use the currency, whose code is EUR, and the others include listed below. A shared currency usually points at something real — a monetary union, a currency board, a former colonial administration, or a small economy pegging itself to a large neighbour's money — and it means a price quoted in EUR travels further than you might expect.

Language reaches wider still. Spanish is listed for 23 entries here, Spain among them, so a visitor who speaks it can be understood across a large part of the map. Shared language tends to outlive the empires, trade routes and migrations that spread it, which is why the linguistic map and the political one rarely line up.

Also uses the Euro (EUR):

Also lists Spanish among its languages:

How big is Spain, really?

Put next to every other entry on this site, Spain ranks 53rd of 249 by area and 32nd by population. That works out at 0.34% of the combined land area of all 249 entries and 0.60% of their combined population. Those denominators matter: this list includes territories and dependencies as well as UN member states, so a rank here is not the same as a rank among sovereign countries.

For a sense of scale, the entries immediately either side of Spain in the size ordering are Thailand at 513,120 km² and Turkmenistan at 488,100 km², against Spain's 505,992 km². If you can already picture one of those, you can picture this one.

Density tells a different story from either raw figure. Spain averages 97 people per square kilometre of total area, which makes it middling in density — 119th of the 247 entries that have both a population and a measured area. Total area includes inland water, so the true figure for habitable land is higher than this.

Currency and codes

The currency is the Euro (€, EUR). That is a shared currency: 37 other entries use it, including Andorra, Austria, Belgium, Bulgaria and Croatia.

If a quiz asks for the capital of Spain, the answer is Madrid.

Its internet country code is .es. The international dialling code is +34. Standard country codes: es and ESP.

It holds a seat at the United Nations, one of 192 entries here that do. The other 57 entries are territories, dependencies or observers, which is why totals on this site run to 249 rather than the familiar 195.

Fun facts about Spain

  • It lies about 4,453 km from the equator, in temperate latitudes.
  • Its full official name is Kingdom of Spain.
  • Spanish is official here and in 22 other entries worldwide.
  • Its capital city is Madrid.
  • Websites based there use the .es domain.
  • It shares land borders with 5 countries: Andorra, France, Gibraltar, Portugal and Morocco.
  • The United States and Türkiye sit at almost the same latitude, on the far side of the globe.
  • Its currency, the Euro, is shared with 37 other entries.

Spain — frequently asked questions

What is the capital of Spain?
The capital of Spain is Madrid.
What is the population of Spain?
Spain has a population of about 48.8 million, which makes it the 32nd most populous of the 249 countries and territories listed on this site. Uganda sits just above it and Algeria just below.
Which countries border Spain?
Spain borders 5 countries: Andorra, France, Gibraltar, Portugal and Morocco. France is the largest of them by area.
Where is Spain located?
Spain is in Southern Europe, part of Europe. Its reference coordinates are 40.0° north and 4.0° west, roughly 4,453 km from the equator in temperate latitudes.
What language is spoken in Spain?
The official language of Spain is Spanish. It is also official in 22 other entries on this list.
Is Spain a country?
Yes. Spain is a sovereign state and one of the 192 UN members listed on this site.
How big is Spain?
Spain covers 505,992 km², ranking 53rd of 249 by land area. That makes it almost exactly the same size as Thailand.
What currency does Spain use?
Spain uses the Euro, written € (currency code EUR). It is shared with 37 other entries.