0
Comparison · latest available · data as of 26 October 2026 · printed 27 Oct 2026
NationsTree / Compare / Mexico vs South Africa

Mexico vs South Africa

Side-by-side comparison of Mexico and South Africa from official statistics: size, economy, people, trade, natural resources, health, infrastructure and military, with world ranks, years and sources.

Mexico

Latin America & Caribbean · nation age 216 years

NationsTree Index52.676th of 196
Tree height35 m 
vs
25:15
indicators where each ranks higher

South Africa

Sub-Saharan Africa · nation age 116 years

NationsTree Index41.9122nd of 196
Tree height18 m 
Open in the comparison tool Data as of 26 October 2026

In short

Mexico scores 52.6 in the NationsTree Index (76th in the world) and South Africa scores 41.9 (122nd), a gap of 10.7 points. Their trees are 35 m and 18 m tall; tree height grows with real GDP and is adjusted by the index.

Mexico has 2.0 times the population of South Africa. Mexico has 60% more land area than South Africa. Mexico has an economy 3.3 times the size of South Africa (GDP at purchasing power parity). Population: Mexico 131.9 million and South Africa 64.7 million (2025).

GDP per person at purchasing power parity is $25,868 in Mexico and $15,906 in South Africa (2025, international dollars). People in Mexico live on average 9.0 years longer (75.3 vs 66.3 years).

Of 40 indicators reported by both countries, Mexico ranks higher in the world on 25 and South Africa on 15. Mexico is clearly stronger in economy, tourism and environment & energy. South Africa is clearly stronger in institutions & safety.

As a nation, Mexico is the older of the two (statehood since 1810, 216 years), compared with South Africa (since 1910). Over the last five years Mexico improved faster (direction score 57 vs 7 out of 100).

Where they differ most

The indicators with the biggest gap in world position between Mexico and South Africa.

Over time

How the two countries moved against each other, from the yearly data.

NationsTree IndexMexicoSouth Africa
3040506070 1993 1998 2003 2008 2013 2018 2023 2025

Mexico overtook South Africa in the NationsTree Index in 2022 and has stayed ahead since.

Mexico has been ahead of South Africa in GDP per person (PPP), GDP (PPP), life expectancy and population in every year since 1990.

Strength by category

Average world percentile of the indicators in each category (0–100, direction taken into account). i

All indicators

Latest available value for each country with its year and world rank. Green: the better world position of the two, red: the weaker one.

Indicator Mexico South Africa
Land & people
Surface area i km² 1,957,19413th/216 · 2024 1,219,60224th/216 · 2024
Land area i km² 1,943,95013th/216 · 2024 1,213,09024th/216 · 2024
Population i people 131.9 m11th/217 · 2025 64.7 m24th/217 · 2025
Population growth i % 0.83%112th/217 · 2025 1.15%93rd/217 · 2025
Population density i people/km² 67.3138th/216 · 2024 52.8151st/216 · 2024
Urban population i % 80.0%58th/217 · 2025 63.8%111th/217 · 2025
Population aged 0–14 i % 24.1%102nd/217 · 2025 25.7%91st/217 · 2025
Population aged 65+ i % 8.5%113th/217 · 2025 6.9%126th/217 · 2025
Economy
GDP i USD $1.83 trn14th/210 · 2025 $427.18 bn40th/210 · 2025
GDP (PPP) i intl. USD $3.41 trn13th/199 · 2025 $1.03 trn32nd/199 · 2025
Real GDP (PPP, constant 2021 prices) i intl. USD 2021 $2.89 trn13th/199 · 2025 $880.05 bn32nd/199 · 2025
GDP per person i USD $13,88992nd/210 · 2025 $6,598125th/210 · 2025
GDP per person (PPP) i intl. USD $25,86890th/199 · 2025 $15,906120th/199 · 2025
GNI per person (Atlas) i USD $13,73082nd/201 · 2025 $6,270116th/201 · 2025
GDP growth i % 0.6%186th/210 · 2025 1.1%169th/210 · 2025
Inflation i % 3.8%113th/180 · 2025 3.2%92nd/180 · 2025
Unemployment i % 2.7%27th/187 · 2025 32.4%186th/187 · 2025
Central government debt i % of GDP 50.3%24th/55 · 2024 82.8%45th/55 · 2024
General government gross debt i % of GDP 61.7%119th/189 · 2025 78.4%145th/189 · 2025
Government budget balance i % of GDP -4.9%147th/192 · 2025 -5.6%160th/192 · 2025
Main industries
Agriculture, forestry, fishing i % of GDP 3.9%116th/197 · 2025 2.8%130th/197 · 2025
Industry incl. construction i % of GDP 30.6%51st/200 · 2025 24.1%95th/200 · 2025
Manufacturing i % of GDP 20.0%19th/192 · 2025 12.3%76th/192 · 2025
Services i % of GDP 58.9%93rd/200 · 2025 63.1%67th/200 · 2025
Trade
Exports of goods & services i USD $726.56 bn16th/182 · 2025 $134.18 bn42nd/182 · 2025
Imports of goods & services i USD $738.16 bn14th/182 · 2025 $126.02 bn43rd/182 · 2025
Exports i % of GDP 39.6%85th/183 · 2025 31.4%109th/183 · 2025
Imports i % of GDP 40.3%102nd/183 · 2025 29.5%134th/183 · 2025
Trade openness i % of GDP 79.9%94th/183 · 2025 60.9%126th/183 · 2025
Fuel exports i % of merchandise exports 3.0%87th/170 · 2025 8.2%58th/170 · 2025
Manufactures exports i % of merchandise exports 81.2%17th/171 · 2025 38.3%80th/171 · 2025
Food exports i % of merchandise exports 7.5%125th/171 · 2025 12.8%101st/171 · 2025
Ores & metals exports i % of merchandise exports 2.4%99th/171 · 2025 30.4%18th/171 · 2025
High-tech exports i % of manufactured exports 19.3%34th/168 · 2024 5.7%91st/168 · 2024
Current account balance i % of GDP -0.5%80th/191 · 2025 -0.5%80th/191 · 2025
Foreign direct investment, inflows i % of GDP 2.4%85th/196 · 2025 -0.5%183rd/196 · 2025
Natural resources
Natural resource rents i % of GDP 3.6%84th/209 · 2021 7.3%58th/209 · 2021
Oil rents i % of GDP 2.07%37th/197 · 2021 0.40%57th/197 · 2021
Natural gas rents i % of GDP 0.09%61st/197 · 2021 0.03%71st/197 · 2021
Coal rents i % of GDP 0.02%46th/195 · 2021 2.44%4th/195 · 2021
Mineral rents i % of GDP 1.36%40th/209 · 2021 3.83%28th/209 · 2021
Forest rents i % of GDP 0.11%113th/209 · 2021 0.63%66th/209 · 2021
Arable land i % of land area 10.3%103rd/206 · 2024 9.9%105th/206 · 2024
Renewable freshwater per person i m³ 3,18080th/183 · 2022 718145th/183 · 2022
Tourism
International tourist arrivals i arrivals 51.1 m3rd/194 · 2020 3.9 m45th/194 · 2020
Tourism receipts i USD $11.45 bn15th/175 · 2020 $2.72 bn43rd/175 · 2020
Tourism receipts i % of exports 2.6%118th/168 · 2020 2.9%109th/168 · 2020
Outbound trips i departures 36.1 m5th/107 · 2020 —
Society & health
Life expectancy i years 75.3105th/217 · 2024 66.3183rd/217 · 2024
Under-5 mortality i per 1,000 births 13.192nd/196 · 2024 35.1144th/196 · 2024
Physicians i per 1,000 people 2.5971st/174 · 2022 0.79108th/174 · 2022
Hospital beds i per 1,000 people 1.0117th/145 · 2022 2.32010
DPT immunization i % of children 12–23 months 78%150th/193 · 2024 74%160th/193 · 2024
Completed lower secondary, 25+ i % of adults 69.0%84th/153 · 2024 85.4%61st/153 · 2024
Secondary enrolment i % gross 103.1%48th/173 · 2024 104.1%46th/173 · 2023
Social protection coverage (incl. pensions) i % of population 48.2%32nd/55 · 2022 78.4%12th/55 · 2021
Old-age dependency ratio i % of working-age population 12.6%111th/217 · 2025 10.2%129th/217 · 2025
Health spending i % of GDP 5.5%118th/193 · 2023 8.9%47th/193 · 2023
Adult literacy i % 95.6%36th/98 · 2024 91.2%48th/98 · 2024
Tertiary enrolment i % gross 48.2%81st/150 · 2024 23.5%115th/150 · 2023
Human Development Index i index 0–1 0.78981st/193 · 2023 0.741106th/193 · 2023
Income inequality (Gini) i index 42.694th/108 · 2024 54.1107th/108 · 2022
Extreme poverty i % of population 1.6%57th/108 · 2024 17.4%87th/108 · 2022
Infrastructure & digital
Access to electricity i % of population 99.8%126th/215 · 2024 90.2%161st/215 · 2024
Safely managed drinking water i % of population 43.0%118th/150 · 2024 68.0%90th/150 · 2024
Safely managed sanitation i % of population 62.7%70th/144 · 2024 73.8%60th/144 · 2024
Internet users i % of population 83.1%89th/186 · 2024 78.4%105th/186 · 2024
Mobile subscriptions i per 100 people 116102nd/210 · 2024 17911th/210 · 2024
Fixed broadband i per 100 people 21.784th/208 · 2024 5.3137th/208 · 2024
Trade & transport infrastructure quality (LPI) i score 1–5 2.8063rd/164 · 2022 3.6029th/164 · 2022
Rail lines i route-km — 20,9539th/82 · 2021
Air passengers carried i passengers 78.8 m15th/161 · 2023 15.5 m42nd/161 · 2023
Environment & energy
CO₂ emissions per person i t CO₂e 3.64124th/203 · 2024 6.88168th/203 · 2024
Renewable energy i % of final energy use 13.0%127th/212 · 2021 9.7%146th/212 · 2021
Air pollution (PM2.5) i µg/m³ 16.696th/200 · 2023 27.7146th/200 · 2023
Forest area i % of land area 34.2%100th/214 · 2024 18.8%134th/214 · 2024
Energy use per person i kg oil eq. 1,49876th/149 · 2024 1,90761st/149 · 2024
Institutions & safety
Government effectiveness i score 0–100 48.6121st/205 · 2025 51.9109th/205 · 2025
Control of corruption i score 0–100 29.0164th/207 · 2025 45.498th/207 · 2025
Rule of law i score 0–100 39.4175th/207 · 2025 59.396th/207 · 2025
Political stability i score 0–100 55.0163rd/207 · 2025 58.9142nd/207 · 2025
Regulatory quality i score 0–100 51.5115th/205 · 2025 54.399th/205 · 2025
Voice & accountability i score 0–100 52.5119th/205 · 2025 70.257th/205 · 2025
Homicide rate i per 100,000 24.9131st/145 · 2023 43.7140th/145 · 2022
Military
Military expenditure i USD $13.65 bn30th/156 · 2025 $3.17 bn54th/156 · 2025
Military expenditure i % of GDP 0.7%134th/156 · 2025 0.7%133rd/156 · 2025
Military expenditure i % of government spending 2.5%128th/154 · 2025 2.2%139th/154 · 2025
Armed forces personnel i people 341,00019th/170 · 2020 89,00054th/170 · 2020
Armed forces personnel i % of labour force 0.64%99th/168 · 2020 0.40%131st/168 · 2020
Arms imports (SIPRI TIV) i TIV 9.0 m111th/163 · 2025 30.0 m78th/163 · 2025
Arms exports (SIPRI TIV) i TIV 1.0 m2019 115.0 m24th/65 · 2025
Science & innovation
R&D spending i % of GDP 0.25%79th/110 · 2024 0.61%58th/110 · 2022
Patent applications by residents i applications 1,17228th/137 · 2024 35053rd/137 · 2024
Scientific articles i articles 18,98226th/197 · 2023 14,94933rd/197 · 2023

Questions and answers

Which has more people, Mexico or South Africa?

Mexico has the larger population: 131.9 m (2025) compared with 64.7 m for South Africa (2025). Source: World Bank, SP.POP.TOTL.

Which is bigger by area, Mexico or South Africa?

Mexico is larger: 1,957,194 km² (2024) compared with 1,219,602 km² for South Africa (2024). Source: World Bank, AG.SRF.TOTL.K2.

Which economy is larger, Mexico or South Africa?

Mexico has the larger economy at purchasing power parity: $3.41 trn intl. (2025) compared with $1.03 trn intl. for South Africa (2025). Source: World Bank, NY.GDP.MKTP.PP.CD.

Which is richer per person, Mexico or South Africa?

Mexico has the higher GDP per person (PPP): $25,868 intl. (2025) compared with $15,906 intl. for South Africa (2025). Source: World Bank, NY.GDP.PCAP.PP.CD.

Where do people live longer, in Mexico or South Africa?

Mexico has the higher life expectancy at birth: 75.3 years (2024) compared with 66.3 years for South Africa (2024). Source: World Bank, SP.DYN.LE00.IN.

Which spends more on the military, Mexico or South Africa?

Mexico spends more on the military: $13.65 bn (2025) compared with $3.17 bn for South Africa (2025). Source: World Bank, MS.MIL.XPND.CD.

Which ranks higher in the NationsTree Index, Mexico or South Africa?

Mexico: 52.6 points (76th in the world); South Africa: 41.9 points (122nd). The index combines foundations, economic strength, quality of life, problems and 5-year direction from public statistics.

More comparisons

Sources

World Bank World Development Indicators and Worldwide Governance Indicators, compiling UN agencies, the IMF, WHO, SIPRI and national statistical offices; every row links to its world ranking with the source series. See Sources & licences and Methodology.

Cite as: NationsTree (2026). Mexico vs South Africa — country comparison. https://nationstree.org/compare/mexico-vs-south-africa. Data as of 26 October 2026.

Cite as: NationsTree (2026). Mexico vs South Africa — country comparison. https://nationstree.org/compare/mexico-vs-south-africa. Data as of 26 October 2026.
Comparison0 / 5
Compare