Mexico vs Spain: Gross domestic product (GDP)
Mexico
2.60 trillion international-$ in 2021 prices
in 2023
Spain
2.19 trillion international-$ in 2021 prices
in 2023
Mexico rank
14th
Spain rank
15th
Gross domestic product (GDP) over time
- Mexico
- Spain
How they compare
Mexico currently reports 2.60 trillion international-$ in 2021 prices against 2.19 trillion international-$ in 2021 prices in Spain, a difference of 403.04 billion international-$ in 2021 prices.
That makes Mexico's figure about 1.2 times Spain's.
Across all 74 years both countries report, Mexico has been ahead every year.
Mexico ranks 14th and Spain ranks 15th of 184 countries.
Mexico has averaged higher in every one of the 8 decades both report.
Head to head by decade
| Decade | Mexico | Spain | Difference | Ahead |
|---|---|---|---|---|
| 1950s | 215.15 billion international-$ in 2021 prices | 165.66 billion international-$ in 2021 prices | 49.49 billion international-$ in 2021 prices | Mexico |
| 1960s | 393.50 billion international-$ in 2021 prices | 318.02 billion international-$ in 2021 prices | 75.48 billion international-$ in 2021 prices | Mexico |
| 1970s | 745.27 billion international-$ in 2021 prices | 561.42 billion international-$ in 2021 prices | 183.85 billion international-$ in 2021 prices | Mexico |
| 1980s | 1.14 trillion international-$ in 2021 prices | 649.70 billion international-$ in 2021 prices | 492.91 billion international-$ in 2021 prices | Mexico |
| 1990s | 1.37 trillion international-$ in 2021 prices | 990.94 billion international-$ in 2021 prices | 374.65 billion international-$ in 2021 prices | Mexico |
| 2000s | 1.87 trillion international-$ in 2021 prices | 1.58 trillion international-$ in 2021 prices | 288.86 billion international-$ in 2021 prices | Mexico |
| 2010s | 2.54 trillion international-$ in 2021 prices | 1.88 trillion international-$ in 2021 prices | 663.84 billion international-$ in 2021 prices | Mexico |
| 2020s | 2.52 trillion international-$ in 2021 prices | 2.05 trillion international-$ in 2021 prices | 469.87 billion international-$ in 2021 prices | Mexico |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher gross domestic product (gdp), Mexico or Spain?
- Mexico, at 2.60 trillion international-$ in 2021 prices against 2.19 trillion international-$ in 2021 prices in Spain as of 2023.
- What is the difference in gross domestic product (gdp) between Mexico and Spain?
- 403.04 billion international-$ in 2021 prices, with Mexico ahead.
- How many years of comparable data are there for Mexico and Spain?
- 74 years are reported by both, from 1950 to 2023.
- How do Mexico and Spain rank globally for gross domestic product (gdp)?
- Mexico ranks 14th and Spain ranks 15th of 184 countries.
- Where does this data come from?
- Feenstra et al. - Penn World Table (2025) – with major processing by Our World in Data, published as Gross domestic product (GDP). Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
Total economic output of a country or region per year. This data is adjusted for inflation and differences in living costs between countries.