Flag of Spain
Spain Demographics

Population of Spain (2026)

View live population, charts & trends: Population of Spain

Spain Population
47,850,793
see live
Yearly Change
−0.08%
Global Share
0.58%
Global Rank
34

Median Age

The median age in Spain is 46.3 years (2026).

Fertility in Spain

A Total Fertility Rate (TFR) of 2.1 represents the Replacement-Level Fertility: the average number of children per woman needed for each generation to exactly replace itself without needing international immigration. A value below 2.1 will cause the native population to decline


Total Fertility Rate (TFR)
1.2
(Live Births per Woman, 2026)

Life Expectancy in Spain

See also: Countries in the world ranked by Life Expectancy

Both Sexes
84.1
(life expectancy at birth, both sexes combined)
Females
86.7
(life expectancy at birth, females)
Males
81.4
(life expectancy at birth, males)


Infant Mortality Rate and Deaths of Children under 5 Years Old in Spain


Infant Mortality
2.1
(infant deaths per 1,000 live births)
Deaths under age 5
2.7
(per 1,000 live births)


Spain Urban Population

Currently, 79.6% of the population of Spain is urban (38,082,079 people in 2026)


Population Density

The 2026 population density in Spain is 96 people per Km2 (248 people per mi2), calculated on a total land area of 498,800 Km2 (192,588 sq. miles).

Largest cities by Population in Spain

(includes boroughs, districts, urban agglomerations, etc.)

Rank Urban Area Population Estimate (2025)
1 Madrid 5,583,601
2 Barcelona 3,982,704
3 Valencia 1,390,045
4 Bilbao 741,795
5 Seville 699,504
6 Zaragoza 585,533
7 Málaga 521,854
8 Palma de Mallorca 473,499
9 Alicante 397,948
10 Las Palmas de Gran Canaria 381,670
11 Granada 367,226
12 Santa Cruz de Tenerife 357,753
13 Murcia 330,966
14 Valladolid 323,201
15 Vigo 289,688
16 Pamplona 288,215
17 A Coruña 272,920
18 Terrassa 264,025
19 Gijón 255,506
20 Vitoria-Gasteiz 246,663
21 Córdoba 241,778
22 Donostia / San Sebastián 230,220
23 Oviedo / Uviéu 214,566
24 Sant Boi de Llobregat 212,510
25 Santander 211,730
26 Jerez 186,850
27 Alcalá de Henares 177,270
28 Marbella 161,269
29 Torrejón de Ardoz 160,317
30 Logroño 160,136
More info

See also

Sources

Definitions

Population Pyramid

A Population pyramid (also called "Age-Sex Pyramid") is a graphical representation of the age and sex of a population.

Types:

  • Expansive - pyramid with a wide base (larger percentage of people in younger age groups, indicating high birth rates and high fertility rates) and narrow top (high death rate and lower life expectancies). It suggests a growing population. Example: Nigeria Population Pyramid
  • Constrictive - pyramid with a narrow base (lower percentage of younger people, indicating declining birth rates with each succeeding age group getting smaller than the previous one). Example: United States
  • Stationary - with a somewhat equal proportion of the population in each age group. The population is stable, neither increasing nor decreasing.

Stages:

Population pyramid stages

Dependency Ratio

There are three types of age dependency ratio: Youth, Elderly, and Total. All three ratios are commonly multiplied by 100.

Youth Dependency Ratio

Definition: population ages 0-15 divided by the population ages 16-64.

Formula: ([Population ages 0-15] ÷ [Population ages 16-64]) × 100

Elderly dependency ratio

Definition: population ages 65-plus divided by the population ages 16-64.

Formula: ([Population ages 65-plus] ÷ [Population ages 16-64]) × 100

Total dependency ratio

Definition: sum of the youth and old-age ratios.

Formula: (([Population ages 0-15] + [Population ages 65-plus]) ÷ [Population ages 16-64]) × 100

NOTE: Dependency Ratio does not take into account labor force participation rates by age group. Some portion of the population counted as "working age" may actually be unemployed or not in the labor force whereas some portion of the "dependent" population may be employed and not necessarily economically dependent.