Compare
Mexico vs Spain
How Mexico and Spain compare on 39 measures, from 1789 to 2025. The main differences:
- Life expectancy · In 2023, Spain was higher: 83.7 years against 75.1 years
- GDP per person · In 2025, Spain was higher: $29,760 against $10,260
- Population · In 2023, Mexico was higher: 130 million people against 47.9 million people
- Military spending · In 2025, Spain was higher: 2.13% of GDP against 0.74% of GDP
- CO₂ per person · In 2024, Spain was higher: 4.51 tonnes against 3.64 tonnes
Every measure
Health
- Life expectancyMexico: 75.1 years in 2023Spain: 83.7 years in 2023
- Child mortalityMexico: 1.3 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityMexico: 10.4 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- Safe drinking waterMexico: 43% in 2022Spain: 99.6% in 2022
- DepressionMexico: 2.79% in 2017Spain: 3.54% in 2017
- Suicide rateMexico: 5.9 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationMexico: 130 million people in 2023Spain: 47.9 million people in 2023
- Population growthMexico: 0.88% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateMexico: 1.91 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationMexico: 80% in 2025Spain: 80.5% in 2025
- Median ageMexico: 28.9 years in 2023Spain: 44.9 years in 2023
- People aged 65 and overMexico: 8% in 2023Spain: 20.7% in 2023
- Net migration rateMexico: -0.8 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingMexico: 0.74% of GDP in 2025Spain: 2.13% of GDP in 2025
- Military spending in US dollarsMexico: $13.8B in 2025Spain: $37.7B in 2025
- Military spending per personMexico: $104 in 2025Spain: $839 in 2025
- Military share of state spendingMexico: 2.5% of government spending in 2025Spain: 4.7% of government spending in 2025
- Armed forces personnelMexico: 341,000 people in 2020Spain: 199,000 people in 2020
- National powerMexico: 1.14% of world capability in 2022Spain: 0.66% of world capability in 2022
- Armed forces, share of workersMexico: 0.64% of the labour force in 2020Spain: 0.87% of the labour force in 2020
- Arms importsMexico: 9 million TIV in 2025Spain: 237 million TIV in 2025
- Arms exportsMexico: 1 million TIV in 2019Spain: 341 million TIV in 2025
Climate
Technology and environment
Each country on its own
Good to know
- Sources: UN, Gapminder and UN IGME, WHO/UNICEF, IHME, World Bank, IMF, UNESCO, Our World in Data, V-Dem, UCDP, SIPRI, IISS, Correlates of War, ERA5, CMIP6, EDGAR, ITU and FAO. Each measure’s page names its own and what it counts.
- Values are drawn on today’s borders. Years without a published value are left empty, never filled in.
How the layers work, where their data comes from and what they can’t tell you: Countries through time