
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
The flag of Spain, measured
Every pixel of the flag artwork was counted and grouped by shade.
| Measured shade | Share of flag | Colour family |
|---|---|---|
| #AA151B | 53.5% | red |
| #F1BF00 | 43.3% | yellow |
| #C8B100 | 1.6% | yellow |
| #CCCCCC | 1.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?
- Spain is the only European country with a land border on the African continent, via Ceuta and Melilla.
- Flamenco — guitar, song, and dance — is UNESCO intangible heritage from Andalusia.
- La Sagrada Família in Barcelona has been under construction since 1882 and is still unfinished.
- The Camino de Santiago has drawn pilgrims across northern Spain for over a thousand years.
- Tapas culture turns small plates into a social ritual of sharing and conversation.