Population

Spain

Advertise on Databook — contact us
Total population19602024
30.5M35.1M39.7M44.3M48.8M19602024
Source: World Bank WDI
IndicatorValue
Total population47,900,000–48,800,000 peopleUN DESA WPP [2024] 47,910,000 people·World Bank WDI [2024] 48,850,000 people
Median age45.4 yearsUN DESA WPP [2024]
Life expectancy83.7–83.9 yearsWorld Bank WDI [2024] 83.89 years·UNDP HDI [2023] 83.67 years
Ethnic groupsSpanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.); note: data represent population by country of birthCIA World Factbook [2025] · 2026 archive
LanguagesCastilian Spanish (official) 74%, Catalan (official in Catalonia, the Balearic Islands, and the Valencian Community) 17%, Galician (official in Galicia) 7%, Basque (official in the Basque Country and Navarre) 2%, Aranese (official in part of Catalonia) <5,000 speakersCIA World Factbook [2025] · 2026 archive
ReligionsRoman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)CIA World Factbook [2025] · 2026 archive
Urbanization81.6% of total population (2023)CIA World Factbook [2025] · 2026 archive
Population growth1.02 %World Bank WDI [2024]
Birth rate6.5 per 1,000World Bank WDI [2024]
Death rate8.9 per 1,000World Bank WDI [2024]
Urban population80.3 %World Bank WDI [2024]
Languages (structured)
  • Andalusian Arabic
  • Aragonese
  • Asturian-Leonese-Cantabrian
  • Basque
  • Calo
  • Caló
  • Catalan
  • Catalan Sign Language
  • Celtiberian
  • Extremaduran
  • Fala
  • Galician
  • Guanche
  • Iberian
  • Lusitanian
  • Mirandese
  • Mozarabic
  • North Picene
  • Occitan
  • Old Spanish
  • Portuguese
  • Quinqui
  • Roquetas Pidgin Spanish
  • Spanish
  • Spanish Sign Language
  • Tarifiyt-Beni-Iznasen-Eastern Middle Atlas Berber
  • Valencian Sign Language
  • Vlax Romani
Glottolog [2026]

Section metadata

Data year2026
EditionDatabook 2026
Coverage12/12
LicenseCC-BY
Advertise on Databook — contact us
Datasets on this page
  • UN DESA WPP
    un_desa_wpp
    Edition: 2024
  • World Bank WDI
    world_bank_wdi
    Edition: 2024
  • UNDP HDI
    undp_hdi
    Edition: 2023
  • CIA World Factbook
    cia_factbook
    Edition: 2025
  • Glottolog
    glottolog_languages
    Edition: 2026
Advertise on Databook — contact us

About this data

Spain's population on Databook compiles 12 indicators from 5 open datasets including UN DESA WPP, World Bank WDI, UNDP HDI. Key figures include total population (47,900,000–48,800,000 people), median age (45.4 years). Data is referenced to 2026. Every value carries its source and publication year, published under open licenses.