Home

Spain vs. Gibraltar

Demographics

SpainGibraltar
Population47,260,584 (July 2021 est.)29,516 (July 2021 est.)
Age structure0-14 years: 15.02% (male 3,861,522/female 3,650,085)

15-24 years: 9.9% (male 2,557,504/female 2,392,498)

25-54 years: 43.61% (male 11,134,006/female 10,675,873)

55-64 years: 12.99% (male 3,177,080/female 3,319,823)

65 years and over: 18.49% (male 3,970,417/female 5,276,984) (2020 est.)
0-14 years: 20.24% (male 3,080/female 2,907)

15-24 years: 13.07% (male 2,000/female 1,866)

25-54 years: 41.28% (male 6,289/female 5,922)

55-64 years: 8.71% (male 1,082/female 1,495)

65 years and over: 16.7% (male 2,378/female 2,562) (2020 est.)
Median agetotal: 43.9 years

male: 42.7 years

female: 45.1 years (2020 est.)
total: 35.5 years

male: 34.4 years

female: 36.6 years (2020 est.)
Population growth rate-0.03% (2021 est.)0.19% (2021 est.)
Birth rate8.05 births/1,000 population (2021 est.)13.99 births/1,000 population (2021 est.)
Death rate9.78 deaths/1,000 population (2021 est.)8.81 deaths/1,000 population (2021 est.)
Net migration rate1.39 migrant(s)/1,000 population (2021 est.)-3.25 migrant(s)/1,000 population (2021 est.)
Sex ratioat birth: 1.07 male(s)/female

0-14 years: 1.06 male(s)/female

15-24 years: 1.07 male(s)/female

25-54 years: 1.04 male(s)/female

55-64 years: 0.96 male(s)/female

65 years and over: 0.75 male(s)/female

total population: 0.98 male(s)/female (2020 est.)
at birth: 1.07 male(s)/female

0-14 years: 1.06 male(s)/female

15-24 years: 1.07 male(s)/female

25-54 years: 1.06 male(s)/female

55-64 years: 0.72 male(s)/female

65 years and over: 0.93 male(s)/female

total population: 1.01 male(s)/female (2020 est.)
Infant mortality ratetotal: 3.14 deaths/1,000 live births

male: 3.51 deaths/1,000 live births

female: 2.74 deaths/1,000 live births (2021 est.)
total: 6.38 deaths/1,000 live births

male: 7.2 deaths/1,000 live births

female: 5.52 deaths/1,000 live births (2021 est.)
Life expectancy at birthtotal population: 82.21 years

male: 79.22 years

female: 85.39 years (2021 est.)
total population: 80.2 years

male: 77.34 years

female: 83.2 years (2021 est.)
Total fertility rate1.51 children born/woman (2021 est.)1.91 children born/woman (2021 est.)
HIV/AIDS - adult prevalence rate0.4% (2020 est.)NA
Nationalitynoun: Spaniard(s)

adjective: Spanish
noun: Gibraltarian(s)

adjective: Gibraltar
Ethnic groupsSpanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.)

note: data represent population by country of birth
Gibraltarian 79%, other British 13.2%, Spanish 2.1%, Moroccan 1.6%, other EU 2.4%, other 1.6% (2012 est.)

note: data represent population by nationality
HIV/AIDS - people living with HIV/AIDS150,000 (2020 est.)

note: estimate does not include children
NA
ReligionsRoman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)Roman Catholic 72.1%, Church of England 7.7%, other Christian 3.8%, Muslim 3.6%, Jewish 2.4%, Hindu 2%, other 1.1%, none 7.1%, unspecified 0.1% (2012 est.)
HIV/AIDS - deaths<1,000 (2020)

note: estimate does not include children
NA
LanguagesCastilian Spanish (official nationwide) 74%, Catalan (official in Catalonia, the Balearic Islands, and the Valencian Community (where it is known as Valencian)) 17%, Galician (official in Galicia) 7%, Basque (official in the Basque Country and in the Basque-speaking area of Navarre) 2%, Aranese (official in the northwest corner of Catalonia (Vall d'Aran) along with Catalan, <5,000 speakers); note - Aragonese, Aranese Asturian, Basque, Calo, Catalan, Galician, and Valencian are recognized as regional languages under the European Charter for Regional or Minority Languages

major-language sample(s):
La Libreta Informativa del Mundo, la fuente indispensable de información básica. (Spanish)

The World Factbook, the indispensable source for basic information.
English (used in schools and for official purposes), Spanish, Italian, Portuguese
Education expenditures4.2% of GDP (2017)NA
Urbanizationurban population: 81.1% of total population (2021)

rate of urbanization: 0.24% annual rate of change (2020-25 est.)

note: data include Canary Islands, Ceuta, and Melilla
urban population: 100% of total population (2021)

rate of urbanization: 0.45% annual rate of change (2015-20 est.)
Drinking water sourceimproved: urban: 100% of population

rural: 100% of population

total: 100% of population

unimproved: urban: 0% of population

rural: 0% of population

total: 0% of population (2017 est.)
improved: urban: 100% of population

total: 100% of population

unimproved: urban: 0% of population

total: 0% of population (2017 est.)
Sanitation facility accessimproved: urban: 100% of population

rural: 100% of population

total: 100% of population

unimproved: urban: 0% of population

rural: 0% of population

total: 0% of population (2017 est.)
improved: urban: 100% of population

total: 100% of population

unimproved: urban: 0% of population

total: 0% of population (2017)
Major cities - population6.669 million MADRID (capital), 5.624 million Barcelona, 835,000 Valencia (2021)35,000 GIBRALTAR (capital) (2018)

Source: CIA Factbook