Geography Games
Spain

Spain

Kingdom of Spain

Spain is a country in Southern Europe, Europe. Its capital is Madrid, home to roughly 47,910,526 people across 505,992 km² of land.

Where is Spain?

Spain is in Southern Europe, Europe, bordering Andorra, France, Portugal, Morocco. Drag or zoom the map, or open the full interactive world map.

Key facts

Capital
Madrid
Continent
Europe
Subregion
Southern Europe
Population
47,910,526
Land area
505,992 km²
ISO codes
ES / ESP
Languages
Spanish
Coastline
Has a coastline
Currency
Euro (EUR)
Calling code
+34
Internet domain
.es

How Spain compares

Spain is in Europe, alongside Andorra, France and 2 other neighbours. Roughly 47,910,526 people live across 505,992 km² — about 0.6% of everyone in this dataset — for a world population rank of 32nd and an area rank of 51st.

Population rank
32nd of 194
Land-area rank
51st of 194
Share of world population
0.6%
Population rank in Europe
6th of 45
Land-area rank in Europe
4th of 45
Land borders
4

Countries by population · Countries by area

The flag of Spain, measured

Every pixel of the flag artwork was counted and grouped by shade.

Measured shadeShare of flagColour family
#AA151B53.5%red
#F1BF0043.3%yellow
#C8B1001.6%yellow
#CCCCCC1.6%—
  • The yellow here (#F1BF00) is the darkest found on any of the 71 flags where yellow covers at least 5% of the area.
  • Yellow covers 44.9% of this flag; across the 45 flags of Europe, the average is 10.6%.
  • Only 4 other flags use exactly red and yellow, among them North Macedonia, China and Vietnam.

Closest palettes

Ranked by how much of the flag's area would have to change colour family to match.

Did you know?

  1. Spain is the only European country with a land border on the African continent, via Ceuta and Melilla.
  2. Flamenco — guitar, song, and dance — is UNESCO intangible heritage from Andalusia.
  3. La Sagrada Família in Barcelona has been under construction since 1882 and is still unfinished.
  4. The Camino de Santiago has drawn pilgrims across northern Spain for over a thousand years.
  5. Tapas culture turns small plates into a social ritual of sharing and conversation.

Bordering countries