Spain vs Mexico

Every indicator for Spain and Mexico side by side, with the percentage gap between them. Sources are listed at the bottom of the page.

Indicator comparison
IndicatorSpainMexicoDifference
Population (2025) (people)49,355,143131,946,900−62.6%
GDP (nominal) (billion $)1,9061,833+4.0%
GDP per capita ($)38,62713,889+178.1%
Life expectancy (years)83.975.3
Area (km²)505,9761,957,194−74.1%
Population density (people/km²)9867+44.7%
Median age (years)46.130.1
Internet usage (%)95.883.1
Unemployment rate (%)10.42.7
Inflation (%)2.73.8
Urban population (%)80.580.0
Military expenditure (2024) (million $)24,61516,726+47.2%
Military expenditure as a share of GDP (%)1.430.89+60.7%
Military expenditure as a share of government spending (%)3.202.97+7.7%
Military expenditure per capita ($)499127+293.4%
Armed forces personnel (2020) (people)199,000341,000−41.6%
Armed forces per 1,000 people (people)4.02.6+56.0%
Armed forces as a share of the labor force (%)0.870.64+35.9%

The difference column shows the percentage gap of Spain relative to Mexico; a positive value favors Spain. Interpret it in context — for unemployment, a lower value is better.

Key differences

  • On population (2025), Spain is 62.6% lower than Mexico.
  • On gdp (nominal), Spain is 4.0% higher than Mexico.
  • On gdp per capita, Spain is 178.1% higher than Mexico.
Spain and Mexico — core indicators
050 mn100 mn150 mnPopulation (2025)GDP (nominal)GDP per capitaAreaPopulation (2025) — Spain: 49.355.143GDP (nominal) — Spain: 1.906GDP per capita — Spain: 38.627Area — Spain: 505.976Population (2025) — Mexico: 131.946.900GDP (nominal) — Mexico: 1.833GDP per capita — Mexico: 13.889Area — Mexico: 1.957.194
SpainMexico

The indicators use different scales, so the chart is a rough visual comparison only; use the table for exact figures.

Other comparisons involving Spain or Mexico.

Data sourcesUN World Population Prospects, IMF, World Bank, SIPRI