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

Indonesia vs Mexico

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

Indonesia

East Asia & Pacific · nation age 81 years

NationsTree Index56.165th of 196
Tree height43 m 
vs
20:18
indicators where each ranks higher

Mexico

Latin America & Caribbean · nation age 216 years

NationsTree Index52.676th of 196
Tree height35 m 
Open in the comparison tool Data as of 26 October 2026

In short

Indonesia scores 56.1 in the NationsTree Index (65th in the world) and Mexico scores 52.6 (76th), a gap of 3.6 points. Their trees are 43 m and 35 m tall; tree height grows with real GDP and is adjusted by the index.

Indonesia has 2.2 times the population of Mexico. Indonesia and Mexico have a similar land area. The economy of Indonesia is 48% larger than that of Mexico (GDP at purchasing power parity). Population: Indonesia 285.7 million and Mexico 131.9 million (2025).

GDP per person at purchasing power parity is $25,868 in Mexico and $17,660 in Indonesia (2025, international dollars). People in Mexico live on average 4.0 years longer (75.3 vs 71.3 years).

Of 38 indicators reported by both countries, Indonesia ranks higher in the world on 20 and Mexico on 18. Indonesia is clearly stronger in institutions & safety, military and natural resources. Mexico is clearly stronger in tourism.

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

Where they differ most

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

Over time

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

NationsTree IndexIndonesiaMexico
3040506070 1992 1997 2002 2007 2012 2017 2022 2025

Indonesia overtook Mexico in the NationsTree Index in 2017 and has stayed ahead since.

Indonesia overtook Mexico in GDP (PPP) in 2007 and has stayed ahead since.

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

Indonesia has been ahead of Mexico in 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 Indonesia Mexico
Land & people
Surface area i km² 1,916,90714th/216 · 2024 1,957,19413th/216 · 2024
Land area i km² 1,892,41014th/216 · 2024 1,943,95013th/216 · 2024
Population i people 285.7 m4th/217 · 2025 131.9 m11th/217 · 2025
Population growth i % 0.78%115th/217 · 2025 0.83%112th/217 · 2025
Population density i people/km² 149.877th/216 · 2024 67.3138th/216 · 2024
Urban population i % 59.4%130th/217 · 2025 80.0%58th/217 · 2025
Population aged 0–14 i % 24.2%100th/217 · 2025 24.1%102nd/217 · 2025
Population aged 65+ i % 7.5%119th/217 · 2025 8.5%113th/217 · 2025
Economy
GDP i USD $1.45 trn17th/210 · 2025 $1.83 trn14th/210 · 2025
GDP (PPP) i intl. USD $5.05 trn7th/199 · 2025 $3.41 trn13th/199 · 2025
Real GDP (PPP, constant 2021 prices) i intl. USD 2021 $4.31 trn7th/199 · 2025 $2.89 trn13th/199 · 2025
GDP per person i USD $5,060139th/210 · 2025 $13,88992nd/210 · 2025
GDP per person (PPP) i intl. USD $17,660114th/199 · 2025 $25,86890th/199 · 2025
GNI per person (Atlas) i USD $5,120128th/201 · 2025 $13,73082nd/201 · 2025
GDP growth i % 5.1%47th/210 · 2025 0.6%186th/210 · 2025
Inflation i % 1.9%57th/180 · 2025 3.8%113th/180 · 2025
Unemployment i % 3.2%48th/187 · 2025 2.7%27th/187 · 2025
Central government debt i % of GDP 30.0%2009 50.3%24th/55 · 2024
General government gross debt i % of GDP 40.9%64th/189 · 2025 61.7%119th/189 · 2025
Government budget balance i % of GDP -2.9%102nd/192 · 2025 -4.9%147th/192 · 2025
Main industries
Agriculture, forestry, fishing i % of GDP 13.1%59th/197 · 2025 3.9%116th/197 · 2025
Industry incl. construction i % of GDP 38.7%19th/200 · 2025 30.6%51st/200 · 2025
Manufacturing i % of GDP 19.1%24th/192 · 2025 20.0%19th/192 · 2025
Services i % of GDP 43.9%172nd/200 · 2025 58.9%93rd/200 · 2025
Trade
Exports of goods & services i USD $330.28 bn30th/182 · 2025 $726.56 bn16th/182 · 2025
Imports of goods & services i USD $297.00 bn31st/182 · 2025 $738.16 bn14th/182 · 2025
Exports i % of GDP 22.8%132nd/183 · 2025 39.6%85th/183 · 2025
Imports i % of GDP 20.5%164th/183 · 2025 40.3%102nd/183 · 2025
Trade openness i % of GDP 43.4%155th/183 · 2025 79.9%94th/183 · 2025
Fuel exports i % of merchandise exports 16.0%40th/170 · 2025 3.0%87th/170 · 2025
Manufactures exports i % of merchandise exports 47.4%69th/171 · 2025 81.2%17th/171 · 2025
Food exports i % of merchandise exports 22.9%64th/171 · 2025 7.5%125th/171 · 2025
Ores & metals exports i % of merchandise exports 9.2%41st/171 · 2025 2.4%99th/171 · 2025
High-tech exports i % of manufactured exports 8.7%75th/168 · 2024 19.3%34th/168 · 2024
Current account balance i % of GDP -0.1%77th/191 · 2025 -0.5%80th/191 · 2025
Foreign direct investment, inflows i % of GDP 1.6%119th/196 · 2025 2.4%85th/196 · 2025
Natural resources
Natural resource rents i % of GDP 5.2%71st/209 · 2021 3.6%84th/209 · 2021
Oil rents i % of GDP 0.77%48th/197 · 2021 2.07%37th/197 · 2021
Natural gas rents i % of GDP 0.84%32nd/197 · 2021 0.09%61st/197 · 2021
Coal rents i % of GDP 1.22%6th/195 · 2021 0.02%46th/195 · 2021
Mineral rents i % of GDP 1.91%38th/209 · 2021 1.36%40th/209 · 2021
Forest rents i % of GDP 0.42%74th/209 · 2021 0.11%113th/209 · 2021
Arable land i % of land area 9.3%107th/206 · 2024 10.3%103rd/206 · 2024
Renewable freshwater per person i m³ 7,24056th/183 · 2022 3,18080th/183 · 2022
Tourism
International tourist arrivals i arrivals 4.1 m44th/194 · 2020 51.1 m3rd/194 · 2020
Tourism receipts i USD $3.53 bn37th/175 · 2020 $11.45 bn15th/175 · 2020
Tourism receipts i % of exports 2.0%128th/168 · 2020 2.6%118th/168 · 2020
Outbound trips i departures 2.9 m39th/107 · 2020 36.1 m5th/107 · 2020
Society & health
Life expectancy i years 71.3146th/217 · 2024 75.3105th/217 · 2024
Under-5 mortality i per 1,000 births 17.7115th/196 · 2024 13.192nd/196 · 2024
Physicians i per 1,000 people 0.52123rd/174 · 2023 2.5971st/174 · 2022
Hospital beds i per 1,000 people 1.4104th/145 · 2023 1.0117th/145 · 2022
DPT immunization i % of children 12–23 months 78%150th/193 · 2024 78%150th/193 · 2024
Completed lower secondary, 25+ i % of adults 56.7%104th/153 · 2023 69.0%84th/153 · 2024
Secondary enrolment i % gross 97.2%73rd/173 · 2025 103.1%48th/173 · 2024
Social protection coverage (incl. pensions) i % of population 65.1%19th/55 · 2022 48.2%32nd/55 · 2022
Old-age dependency ratio i % of working-age population 11.1%121st/217 · 2025 12.6%111th/217 · 2025
Health spending i % of GDP 2.7%185th/193 · 2023 5.5%118th/193 · 2023
Adult literacy i % 96.0%33rd/98 · 2020 95.6%36th/98 · 2024
Tertiary enrolment i % gross 44.9%87th/150 · 2023 48.2%81st/150 · 2024
Human Development Index i index 0–1 0.728113th/193 · 2023 0.78981st/193 · 2023
Income inequality (Gini) i index 34.458th/108 · 2025 42.694th/108 · 2024
Extreme poverty i % of population 3.7%72nd/108 · 2025 1.6%57th/108 · 2024
Infrastructure & digital
Access to electricity i % of population 99.9%123rd/215 · 2024 99.8%126th/215 · 2024
Safely managed drinking water i % of population 30.5%128th/150 · 2024 43.0%118th/150 · 2024
Safely managed sanitation i % of population — 62.7%70th/144 · 2024
Internet users i % of population 72.8%117th/186 · 2024 83.1%89th/186 · 2024
Mobile subscriptions i per 100 people 12382nd/210 · 2024 116102nd/210 · 2024
Fixed broadband i per 100 people 4.9140th/208 · 2024 21.784th/208 · 2024
Trade & transport infrastructure quality (LPI) i score 1–5 2.9058th/164 · 2022 2.8063rd/164 · 2022
Rail lines i route-km 5,48325th/82 · 2019 —
Air passengers carried i passengers 97.0 m9th/161 · 2023 78.8 m15th/161 · 2023
Environment & energy
CO₂ emissions per person i t CO₂e 2.87109th/203 · 2024 3.64124th/203 · 2024
Renewable energy i % of final energy use 20.2%106th/212 · 2021 13.0%127th/212 · 2021
Air pollution (PM2.5) i µg/m³ 20.8124th/200 · 2023 16.696th/200 · 2023
Forest area i % of land area 50.7%57th/214 · 2024 34.2%100th/214 · 2024
Energy use per person i kg oil eq. 1,02089th/149 · 2024 1,49876th/149 · 2024
Institutions & safety
Government effectiveness i score 0–100 57.682nd/205 · 2025 48.6121st/205 · 2025
Control of corruption i score 0–100 37.7134th/207 · 2025 29.0164th/207 · 2025
Rule of law i score 0–100 54.4114th/207 · 2025 39.4175th/207 · 2025
Political stability i score 0–100 52.7170th/207 · 2025 55.0163rd/207 · 2025
Regulatory quality i score 0–100 57.385th/205 · 2025 51.5115th/205 · 2025
Voice & accountability i score 0–100 54.7111th/205 · 2025 52.5119th/205 · 2025
Homicide rate i per 100,000 0.37th/145 · 2022 24.9131st/145 · 2023
Military
Military expenditure i USD $15.03 bn26th/156 · 2025 $13.65 bn30th/156 · 2025
Military expenditure i % of GDP 1.0%112th/156 · 2025 0.7%134th/156 · 2025
Military expenditure i % of government spending 6.3%56th/154 · 2025 2.5%128th/154 · 2025
Armed forces personnel i people 676,0009th/170 · 2020 341,00019th/170 · 2020
Armed forces personnel i % of labour force 0.49%118th/168 · 2020 0.64%99th/168 · 2020
Arms imports (SIPRI TIV) i TIV 1.3 bn7th/163 · 2025 9.0 m111th/163 · 2025
Arms exports (SIPRI TIV) i TIV 17.0 m45th/65 · 2021 1.0 m2019
Science & innovation
R&D spending i % of GDP 0.28%75th/110 · 2020 0.25%79th/110 · 2024
Patent applications by residents i applications 1,93119th/137 · 2024 1,17228th/137 · 2024
Scientific articles i articles 38,99217th/197 · 2023 18,98226th/197 · 2023

Questions and answers

Which has more people, Indonesia or Mexico?

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

Which is bigger by area, Indonesia or Mexico?

Mexico is larger: 1,957,194 km² (2024) compared with 1,916,907 km² for Indonesia (2024). Source: World Bank, AG.SRF.TOTL.K2.

Which economy is larger, Indonesia or Mexico?

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

Which is richer per person, Indonesia or Mexico?

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

Where do people live longer, in Indonesia or Mexico?

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

Which spends more on the military, Indonesia or Mexico?

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

Which ranks higher in the NationsTree Index, Indonesia or Mexico?

Indonesia: 56.1 points (65th in the world); Mexico: 52.6 points (76th). 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). Indonesia vs Mexico — country comparison. https://nationstree.org/compare/indonesia-vs-mexico. Data as of 26 October 2026.

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