Skip to content

Economy of Mexico vs Namibia compared: GDP & Debt

Updated on by Georank team

Mexico has a GDP of $1.86T compared to $13.4B for Namibia, ranking 13/197 and 147/197 by economy size, respectively.

Mexico has $1.08T in government debt (58.3% of GDP), compared to $9.05B (67.7% of GDP) in Namibia.

Mexico vs Namibia GDP by year

Mexico
Namibia
1x
Year GDP, current $
Mexico Namibia
2024 $1,856,365,616,166 $13,372,354,512
2023 $1,798,317,581,487 $12,408,271,449
2022 $1,466,934,724,293 $12,569,449,123
2021 $1,316,569,466,686 $12,402,486,184
2020 $1,121,064,767,308 $10,583,748,542
2019 $1,304,106,203,902 $12,541,928,303
2018 $1,256,300,182,880 $13,682,019,076
2017 $1,190,721,475,906 $12,895,153,371
2016 $1,112,233,497,453 $10,722,018,732
2015 $1,213,294,467,717 $11,335,161,084
2014 $1,364,507,717,614 $12,435,430,970
2013 $1,327,436,290,283 $12,043,307,277
2012 $1,255,110,424,818 $13,042,053,592
2011 $1,229,013,703,417 $12,523,359,441
2010 $1,105,424,238,731 $11,431,412,421
2009 $943,437,415,025 $8,938,847,189
2008 $1,161,553,459,715 $8,607,431,497
2007 $1,102,355,554,972 $8,839,536,476
2006 $1,020,265,057,882 $8,001,779,551
2005 $917,571,853,529 $7,248,374,838
2004 $819,459,227,375 $6,609,205,995
2003 $765,549,967,703 $4,926,439,384
2002 $810,666,116,402 $3,349,169,826
2001 $796,064,590,549 $3,557,341,215
2000 $742,061,329,749 $3,922,232,165
1999 $631,249,359,702 $3,868,551,730
1998 $557,461,102,631 $3,873,109,866
1997 $523,449,530,464 $4,154,989,950
1996 $432,157,945,024 $3,989,163,197
1995 $380,157,469,867 $3,978,514,206
1994 $553,618,247,901 $3,666,503,530
1993 $530,160,763,663 $3,251,188,833
1992 $363,157,832,924 $3,429,521,699
1991 $313,139,656,146 $2,996,869,281
1990 $261,253,675,693 $2,789,921,854
1989 $221,403,098,267 $2,535,135,798
1988 $181,611,150,497 $2,495,094,746
1987 $147,542,558,209 $2,300,068,217
1986 $134,556,034,673 $1,809,048,527
1985 $195,241,069,482 $1,608,237,350
1984 $184,230,754,105 $1,951,260,038
1983 $156,167,000,433 $2,297,400,688
1982 $184,602,611,610 $2,118,710,248
1981 $263,797,827,860 $2,249,908,578
1980 $205,577,055,466 $2,421,990,338
1979 $134,531,900,899 -
1978 $102,648,570,299 -
1977 $81,912,018,784 -
1976 $88,875,923,765 -
1975 $88,000,000,000 -
1974 $72,000,000,000 -
1973 $55,280,000,000 -
1972 $45,200,000,000 -
1971 $39,200,000,000 -
1970 $35,520,000,000 -
1969 $32,480,000,000 -
1968 $29,360,000,000 -
1967 $26,560,000,000 -
1966 $24,320,000,000 -
1965 $21,840,000,000 -
1964 $20,080,000,000 -
1963 $16,960,000,000 -
1962 $15,200,000,000 -
1961 $14,160,000,000 -
1960 $13,040,000,000 -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/economy/mexico/namibia | CC BY

GDP per capita in Mexico vs Namibia by year

Mexico
GDP per capita

GDP per capita, PPP
Namibia
GDP per capita

GDP per capita, PPP
1x
Year Current $
Mexico Namibia
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $14,186 $26,185 $4,413 $11,687
2023 $13,861 $25,243 $4,188 $11,251
2022 $11,406 $23,135 $4,350 $10,663
2021 $10,314 $20,783 $4,413 $9,709
2020 $8,841 $19,354 $3,879 $9,354
2019 $10,370 $20,964 $4,732 $9,609
2018 $10,085 $20,921 $5,309 $9,854
2017 $9,649 $20,489 $5,144 $9,888
2016 $9,098 $20,105 $4,396 $10,200
2015 $10,021 $19,071 $4,774 $10,466
2014 $11,391 $18,821 $5,378 $10,365
2013 $11,217 $18,170 $5,347 $9,699
2012 $10,744 $18,005 $5,943 $9,364
2011 $10,664 $17,267 $5,835 $9,002
2010 $9,729 $15,909 $5,418 $8,538
2009 $8,424 $15,191 $4,303 $8,079
2008 $10,524 $15,681 $4,205 $8,125
2007 $10,134 $15,032 $4,379 $7,875
2006 $9,513 $14,540 $4,017 $7,374
2005 $8,672 $13,260 $3,686 $6,767
2004 $7,850 $12,658 $3,403 $6,480
2003 $7,434 $12,066 $2,569 $5,693
2002 $7,983 $11,762 $1,772 $5,433
2001 $7,953 $11,739 $1,916 $5,196
2000 $7,524 $11,705 $2,157 $5,129
1999 $6,500 $11,031 $2,178 $4,961
1998 $5,833 $10,756 $2,235 $4,852
1997 $5,567 $10,182 $2,460 $4,764
1996 $4,674 $9,496 $2,423 $4,612
1995 $4,184 $8,933 $2,483 $4,509
1994 $6,202 $9,466 $2,356 $4,376
1993 $6,048 $9,041 $2,155 $4,345
1992 $4,221 $9,470 $2,347 $4,452
1991 $3,709 $9,079 $2,117 $4,192
1990 $3,154 $8,578 $2,037 $3,875
1989 $2,725 - $1,967 -
1988 $2,279 - $2,063 -
1987 $1,888 - $1,969 -
1986 $1,757 - $1,599 -
1985 $2,602 - $1,466 -
1984 $2,506 - $1,830 -
1983 $2,170 - $2,214 -
1982 $2,621 - $2,097 -
1981 $3,829 - $2,267 -
1980 $3,055 - $2,468 -
1979 $2,049 - - -
1978 $1,604 - - -
1977 $1,315 - - -
1976 $1,465 - - -
1975 $1,492 - - -
1974 $1,256 - - -
1973 $993 - - -
1972 $837 - - -
1971 $748 - - -
1970 $699 - - -
1969 $660 - - -
1968 $616 - - -
1967 $576 - - -
1966 $545 - - -
1965 $506 - - -
1964 $481 - - -
1963 $420 - - -
1962 $388 - - -
1961 $374 - - -
1960 $355 - - -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/economy/mexico/namibia | CC BY

Mexico's GDP per capita is $14,186, ranking 69/197, compared to $4,413 in Namibia, ranking 126/197. Adjusted for purchasing power (GDP per capita PPP), Mexico ranks 80th at $26,185, while Namibia ranks 128th at $11,687.

Economic indicators

Mexico Namibia
Gross domestic product
$1.86T
2024
$13.4B
2024
GDP rank
13/197
2024
147/197
2024
GDP growth
1.43%
2023-2024
3.71%
2023-2024
GDP per capita
$14,186
2024
$4,413
2024
GDP per capita rank
69/197
2024
126/197
2024
GDP per capita, PPP
$26,185
2024
$11,687
2024
GDP per capita PPP rank
80/197
2024
128/197
2024
Government debt
$1.08T
2024
$9.05B
2024
Debt-to-GDP ratio
58.3%
2024
67.7%
2024
Government debt per person
$8,272
2024
$2,988
2024
Government debt per person rank
63/185
2024
100/185
2024
Average annual personal income after taxes
$10,231
2026
$6,197
2026
Market capitalization of domestic companies
$418B
2024
$2.48B
2024
Number of millionaires
399,000
2025
n/a
Number of billionaires
22
2025
n/a
Income share by richest 10%
34.4%
2022
47.2%
2015
Income share by poorest 10%
2.1%
2022
1%
2015
Government expenditure, % of GDP
30.3%
2024
39.9%
2024
Consumer prices inflation
4.72%
2023-2024
4.2%
2023-2024
Central bank interest rate
7%
2025
6.5%
2025
Unemployment rate
2.62%
2024
19.9%
2018
Population
133323134
3173089

Spending and national debt comparison by year

Mexico
Spending

Debt
Namibia
Spending

Debt
1x
Year % of GDP
Mexico Namibia
Government spending Government debt Government spending Government debt
2024 30.3% 58.3% 39.9% 67.7%
2023 28.5% 52.6% 37% 67.2%
2022 28.5% 53.8% 36.6% 69.4%
2021 26.7% 56.7% 39.3% 69.6%
2020 27.8% 58.5% 41.5% 64.3%
2019 25.3% 51.9% 37.4% 57.6%
2018 25% 52.2% 36.3% 48.7%
2017 25% 52.5% 38.1% 43.8%
2016 26.5% 55% 41.8% 45.8%
2015 26.6% 51% 43.7% 42.1%
2014 26.9% 47.1% 41.8% 27.6%
2013 26.7% 44.1% 38.3% 26.1%
2012 27% 40.8% 35% 24.6%
2011 26.6% 41.2% 38.5% 27.4%
2010 26.5% 40.2% 33.5% 16.3%
2009 26.5% 41.7% 32% 15.9%
2008 26.5% 40.6% 28.4% 19.1%
2007 22.5% 35.5% 26.1% 19.4%
2006 21.6% 35.8% 27.4% 26.1%
2005 21.2% 36.8% 27.7% 26.9%
2004 20.5% 38.9% 28.4% 29.2%
2003 21.5% 42.1% 31.1% 27.1%
2002 19.8% 39.9% 29.8% 22.2%
2001 19.5% 37.3% 30.7% 24.4%
2000 19.4% 38.5% 30.1% 20.9%
1999 20.1% 41.7% 31.8% 21.8%
1998 19.5% 39.7% 31.3% 19.6%
1997 20.7% 39.1% 30.9% 17.7%
1996 20.8% 42.5% 30.4% 18.7%
1995 18.9% 30.7% 29.6% 18%
1994 18.9% 26.8% 28.7% 16.4%
1993 18.2% 19.2% 32.4% 17.2%
1992 19% 21.5% 32.8% 14.1%
1991 20.1% 29.2% 33% 11.8%
1990 22.9% 35.7% 30.2% 12.9%
1989 19.2% 36% - -
1988 23.6% 36.5% - -
1987 26.7% 52.7% - -
1986 25.1% 47.8% - -
1985 21.4% 30.4% - -
1984 19.8% 25.2% - -
1983 21.6% 25.3% - -
1982 24.7% 29.8% - -
1981 20.1% 41.7% - -
1980 17.5% 31.4% - -
1979 16.5% 35.8% - -
1978 15.7% 39% - -
1977 15.5% 41.5% - -
1976 15.5% 31.3% - -
1975 14.7% 24.4% - -
1974 13.8% 21.7% - -
1973 12.7% 20% - -
1972 11.9% 17.9% - -
1971 10.6% 17% - -
1970 10.9% 17.1% - -
1969 11.8% 10.7% - -
1968 10.9% 7.85% - -
1967 10.4% 8.22% - -
1966 11.6% 5.14% - -
1965 10.7% 9.99% - -
1964 9.21% 6.22% - -
1963 8.51% 4.13% - -
1962 8.26% 4.2% - -
1961 8.01% 4.38% - -
1960 9.5% 4.58% - -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1995, retrieved 2026-02-20).

GeoRank.org/economy/mexico/namibia | CC BY

In 2024, Mexico's government spending was $563B, accounting for 30.3% of its GDP, while Namibia spent $5.34B, or 39.9% of GDP.

Debt-to-GDP ratio is 58.3% in Mexico and 67.7% in Namibia, ranking 84/185 and 61/185, respectively.

Government deficit by year

Deficit/surplus
Mexico

Namibia
1x
Year Deficit/surplus, % of GDP
Mexico Namibia
2024 -5.73% -3.59%
2023 -4.29% -3.14%
2022 -4.32% -6.33%
2021 -3.75% -8.68%
2020 -4.29% -8.07%
2019 -2.27% -5.49%
2018 -2.14% -5.09%
2017 -1.03% -4.99%
2016 -2.68% -9.3%
2015 -3.86% -8.3%
2014 -4.37% -6.44%
2013 -3.56% -4.69%
2012 -3.57% -3.1%
2011 -3.2% -7.09%
2010 -3.8% -4.98%
2009 -3.94% -0.4%
2008 -0.68% 3.48%
2007 -1.46% 6.01%
2006 -1.23% 3.41%
2005 -1.43% -0.31%
2004 -1.35% -2.67%
2003 -2.24% -4.47%
2002 -2.18% -1.38%
2001 -2.57% -2.01%
2000 -2.69% -0.79%
1999 -4.49% -1.88%
1998 -4.49% -2.76%
1997 -3.48% -2.38%
1996 -3.66% -3.7%
1995 -2.28% -1.74%
1994 -2.25% -0.57%
1993 -1.51% -2.73%
1992 2.26% -2.55%
1991 1.49% -1.59%
1990 -3.11% 1.08%
1989 -4.75% -
1988 -8.76% -
1987 -11.6% -
1986 -11.2% -
1985 -7.2% -
1984 -5.79% -
1983 -6.03% -
1982 -11.4% -
1981 -4.9% -
1980 -1.75% -
1979 -2.15% -
1978 -1.88% -
1977 -2.43% -
1976 -3.14% -
1975 -2.64% -
1974 -3.33% -
1973 -2.75% -
1972 -2.3% -
1971 -1.43% -
1970 -1.71% -
1969 -2.74% -
1968 -2.06% -
1967 -2.12% -
1966 -3.2% -
1965 -2.51% -
1964 -1.44% -
1963 -0.92% -
1962 -0.79% -
1961 -0.88% -
1960 -1.36% -
1959 -0.73% -
1958 0.24% -
1957 -0.03% -
1956 0.52% -
1955 0.6% -
1954 -0.94% -
1953 -0.58% -
1952 0.42% -
1951 -0.26% -
1950 -0.2% -
1949 0.44% -
1948 -1.55% -
1947 -0.93% -
1946 0.66% -
1945 -1.11% -
1944 -1.12% -
1943 0.05% -
1942 -0.93% -
1941 -0.26% -
1940 -0.4% -
1939 -0.06% -
1938 -0.91% -
1937 -0.41% -
1936 -0.39% -
1935 0.26% -
1934 0.72% -
1933 -0.58% -
1932 0% -
1931 0.71% -
1930 0.21% -
1929 0.95% -
1928 0.24% -
1927 -0.3% -
1926 -0.29% -
1925 0.46% -
1924 1.34% -
1923 1.02% -
1922 1.13% -
1921 0.64% -
1920 0.91% -
1919 0.41% -
1918 -0.19% -
1917 0.63% -
1916 - -
1915 - -
1914 - -
1913 0.28% -
1912 -0.79% -
1911 -0.31% -
1910 0.1% -
1909 0.15% -
1908 -0.08% -
1907 0.43% -
1906 0.72% -
1905 0.35% -
1904 1.09% -
1903 3.82% -
1902 0.42% -
1901 0.62% -
1900 0.76% -

Data sources: International Monetary Fund (IMF) | Public Finances in Modern History (1900–1989, retrieved 2026-02-20); International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/mexico/namibia | CC BY

In 2024, Mexico's government deficit, the difference between spending and revenue, was $106B, equivalent to 5.73% of GDP. This compares to Namibia's deficit of $480M, or 3.59% of GDP.

Over the past 35 years, Mexico recorded a fiscal deficit in 33 of those years, while Namibia ran a deficit in 31 years. On average, Mexico posted an annual deficit equal to 2.69% of GDP, compared to deficit of 3.06% of GDP for Namibia.

Inflation comparison by year

Inflation
Mexico

Namibia
1x
Year Consumer prices inflation
Mexico Namibia
2024 4.72% 4.2%
2023 5.53% 5.9%
2022 7.9% 6.1%
2021 5.69% 3.6%
2020 3.4% 2.2%
2019 3.64% 3.7%
2018 4.9% 4.3%
2017 6.04% 6.1%
2016 2.82% 6.7%
2015 2.72% 3.4%
2014 4.02% 5.3%
2013 3.81% 5.6%
2012 4.11% 6.7%
2011 3.41% 5%
2010 4.16% 4.9%
2009 5.3% 9.5%
2008 5.12% 9.1%
2007 3.97% 6.5%
2006 3.63% 5%
2005 3.99% 2.3%
2004 4.69% 4.1%
2003 4.55% 7.2%
2002 5.03% 12.7%
2001 6.37% 10.2%
2000 9.49% 10.2%
1999 16.6% 9.4%
1998 15.9% 6.6%
1997 20.6% 9.7%

Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2024, retrieved 2026-02-20); World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06).

GeoRank.org/economy/mexico/namibia | CC BY

Over the past 28 years, Mexico has recorded an average annual inflation rate of 6.15%, compared with 6.29% in Namibia. In 2024, inflation was 4.72% in Mexico and 4.2% in Namibia.

Top exports between countries

Mexico
Export category Export value
Machinery & equipment $25K
Namibia
Export category Export value
Raw materials & minerals $54K
Animal & marine products $37K
Precious metals & jewellery $29K
Miscellaneous $24K
Textiles & consumer goods $1K

Balance of trade

Mexico Namibia
Current account balance
-$16.7B
2024
-$1.89M
2024
Current account balance ranking
181/190
2024
78/190
2024
Current account balance, % of GDP
-0.9%
2024
-0.01%
2024
Goods imports
$637B
2024
$6.77B
2024
Goods exports
$618B
2024
$4.67B
2024
Service imports
$72B
2024
$2.47B
2024
Service exports
$63B
2024
$1.29B
2024
Imports of goods and services, % of GDP
37.9%
2024
68%
2024
Exports of goods and services, % of GDP
36.7%
2024
41.6%
2024

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Mexico Namibia
Economic freedom 59.8 60.2
Economic freedom ranking 102/197 95/197
Property rights 37.6 63.1
Government integrity 28.8 51.5
Judicial effectiveness 40.4 67.2
Tax burden 75.4 66.4
Government spending 74.6 57.1
Fiscal health 56.7 60.5
Business freedom 67 58
Labor freedom 57.3 62.7
Monetary freedom 70.6 76.1
Trade freedom 74.2 69.8
Investment freedom 75 50
Financial freedom 60 40

Economic freedom comparison by year

Mexico
Namibia
1x
Year Economic freedom index
Mexico Namibia
2026 59.8 60.2
2025 61.3 58.7
2024 62 57.5
2023 63.2 57.7
2022 63.7 59.2
2021 65.5 62.6
2020 66 60.9
2019 64.7 58.7
2018 64.8 58.5
2017 63.6 62.5
2016 65.2 61.9
2015 66.4 59.6
2014 66.8 59.4
2013 67 60.3
2012 65.3 61.9
2011 67.8 62.7
2010 68.3 62.2
2009 65.8 62.4
2008 66.2 61.4
2007 66 63.5
2006 64.7 60.7
2005 65.2 61.4
2004 66 62.4
2003 65.3 67.3
2002 63 65.1
2001 60.6 64.8
2000 59.3 66.7
1999 58.5 66.1
1998 57.9 66.1
1997 57.1 61.6
1996 61.2 -
1995 63.1 -

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09).

GeoRank.org/economy/mexico/namibia | CC BY

The Economic Freedom Index for Mexico is 59.8, ranking 102/197, compared to 60.2 for Namibia, ranking 95/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Mexico Namibia
Services, % of GDP
58.1%
2024
54.5%
2024
Industry, % of GDP
31.8%
2024
28.9%
2024
Agriculture, forestry, and fishing, % of GDP
3.72%
2024
7.29%
2024
GNI, Atlas method
$1.68T
2024
$12.8B
2024
GNI per capita, PPP
$25,460
2024
$11,300
2024
Total reserves including gold
$232B
2024
$3.36B
2024
Total reserves ranking
16/177
2024
115/177
2024
Net foreign direct investment
-$32.3B
2024
-$1.93M
2024
Net inflows of foreign direct investment
$45.5B
2024
$1.97B
2024
Net outflows of foreign direct investment
$13B
2024
$44.5M
2024
Servicing debt to the IMF, % of GNI
3.71%
2024
n/a
Poverty at national poverty lines
29.6%
2024
17.4%
2015
Gross capital formation, % of GDP
24.1%
2024
25.6%
2024

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2024, retrieved 2026-04-06); U.S. Census Bureau (1985–2024, retrieved 2026-02-08).

GeoRank.org/economy/mexico/namibia | CC BY

Compare countries by 7 more topics

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1900–1995, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2024, retrieved 2026-02-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  8. LivingCost (2026, retrieved 2025-10-14)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.