Costa Rica vs Mexico: Compare Statistics

Side-by-side comparison of 265 key metrics across economy, population, geography, and more — latest data through 2026.

Summary

Mexico has 25.7 times as many people as Costa Rica (133.03 million vs 5.18 million). Mexico's economy is 20.7 times the size of Costa Rica's ($2.29 trillion vs $110.67 billion GDP).

Comparing Costa Rica and Mexico: Mexico leads on Tobacco Production Volume (18,579 metric tons) against Costa Rica (17.27 metric tons); Mexico leads on Electricity from Fossil Fuels (75.42 % of electricity generation) against Costa Rica (0.09 % of electricity generation); Mexico leads on Gender Pay Gap Percentage (0.01 %) against Costa Rica (-6.34 %). Across 265 compared metrics, Costa Rica wins on 137 and Mexico wins on 123.

  • Communications: 8 metrics compared
  • Economy: 79 metrics compared
  • Energy: 19 metrics compared
  • Environment: 20 metrics compared
  • Geography: 8 metrics compared
  • Government: 22 metrics compared
  • Health: 40 metrics compared
  • Military and Security: 3 metrics compared
  • People and Society: 50 metrics compared
  • Terrorism: 1 metric compared
  • Transnational Issues: 4 metrics compared
  • Transportation: 7 metrics compared
  • Travel and Tourism: 2 metrics compared
  • Other: 2 metrics compared

Communications

8 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Annual Scholarly AI Publications711,456ā˜…
Broadband Internet Penetration23.29 %ā˜…21.74 %
Fixed Broadband Penetration23.29 subscriptions per 100 inhabitantsā˜…21.74 subscriptions per 100 inhabitants
Internet Penetration Rate (%)87.17 %ā˜…83.12 %
Internet Usage Rate by Country (% of Population)85.4 %ā˜…81.18 %
Internet Users (% of Population)87.17 % of populationā˜…83.12 % of population
Press Freedom Index Score73.09 pointsā˜…45.55 points
Waterways7302,900ā˜…

Economy

79 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Agriculture Value Added2.74B current US$69.44B current US$ā˜…
Gross Domestic Product (GDP) by Country in Current US Dollars110.67B $2.29T $ā˜…
AI Investment (% of GDP)15.67 %24.12 %ā˜…
AI Preparedness Index0.54 index (0–1)ā˜…0.53 index (0–1)
Apple Import Volume20.26M tonnes246.26M tonnesā˜…
Aquaculture Production Volume12,167.99 metric tons273,738.97 metric tonsā˜…
ATMs per 100,000 Adults64 ATMs68.82 ATMsā˜…
Average Annual Working Hours2,176.92 hours1,628.87 hoursā˜…
Average Hourly Earnings9.73 USDā˜…5.27 USD
Bank Account Ownership Rate71.35 %ā˜…53.03 %
Capture Fisheries Production32,140.31 tonnes1.92M tonnesā˜…
Carbon Intensity of GDP0.06 kg CO2 per USDā˜…0.17 kg CO2 per USD
Cassava Production Volume91,504.94 metric tonsā˜…23,488.41 metric tons
Cereal Production Volume72,255.75 tons32.64M tonsā˜…
Cereal Yield3,807 kg/haā˜…3,751.7 kg/ha
Chicken Meat Production Volume143,676.56 metric tons4.01M metric tonsā˜…
Coal Revenue00.03ā˜…
Cocoa Bean Yield Per Hectare0.13 kg/ha0.54 kg/haā˜…
Commercial Bank Branches per 100k Adults15.1 branchesā˜…12.04 branches
Commercial Bank Prime Lending Rate (%)11.37 %ā˜…7.34 %
Corn Yield per Hectare1.9 tonnes/hectare3.7 tonnes/hectareā˜…
Cotton Yield Per Hectare0.79 tonnes/hectare4.05 tonnes/hectareā˜…
Current Health Expenditure (% of GDP)6.87 % of GDPā˜…5.5 % of GDP
Fatal Occupational Injury Rates9.72 per 100,000 workers7.73 per 100,000 workersā˜…
Female Labor Force Participation Rate53.46 %ā˜…51.88 %
Food Expenditure per Person2,477.54 US$ā˜…2,550.19 US$
Funding Raised by AI Companies1.68M USD403.16M USDā˜…
Gender Pay Gap Percentage-6.34 %0.01 %ā˜…
Gender Wage Gap-6.34 %ā˜…0.01 %
Gini Index Coefficient45.8ā˜…43.5
Global Cattle Population1.58M millions36.93M millionsā˜…
GNI Per Capita (PPP)30,760 USDā˜…25,070 USD
Gross Fixed Investment16.25 % of GDP22.41 % of GDPā˜…
Gross National Saving13.58 % of GDP18.3 % of GDPā˜…
Healthy Diet Cost Index4.624.41ā˜…
High-Tech Export Percentage22.86 % of manufactured exportsā˜…19.3 % of manufactured exports
Highest GDP per Capita Countries28,443.41 USDā˜…21,911.93 USD
Income Share of Richest 1% Before Tax20.32 %ā˜…25.57 %
Industrial Production Growth Rate (%)4.1 %ā˜…0.2 %
Inflation Rate-0.07 %ā˜…3.81 %
Inflation Rate (Consumer Prices)-0.4 %ā˜…4.7 %
Inflation Rate (CPI)-0.07 %ā˜…3.81 %
Labor Productivity Output27.29 USDā˜…26.8 USD
Lowest Average Tariff Rate1.3 %1.62 %ā˜…
Manufacturing Output (US$)13.97B USD366.08B USDā˜…
Military Expenditures (% of GDP)0.6 % of GDP0.9 % of GDPā˜…
Milk Production Volume1.28M million liters14.14M million litersā˜…
Net FDI Outflows0.45 USD0.62 USDā˜…
Oil Palm Yield Per Hectare16.4 metric tons/hectareā˜…14.26 metric tons/hectare
Oil Rents as a Share of GDP0.01 %ā˜…2.07 %
Orange Yield Per Hectare14.47 tonnes/hectareā˜…14.17 tonnes/hectare
Population Below Poverty Line24.4 peopleā˜…36.3 people
Private Investment (% of GDP)13.93 % of GDP19.21 % of GDPā˜…
Public Debt48.945.1ā˜…
R&D Expenditure (% of GDP)0.34 %ā˜…0.27 %
Real GDP Growth Rate (USD)4.3 USDā˜…1.5 USD
Real Interest Rate Trends7.45 %ā˜…3.97 %
Remittances0.83.7ā˜…
Researchers in R&D per Million507.76 researchersā˜…419.44 researchers
Revenue from Forest Resources0.82ā˜…0.1
Robotics Research Funding0.34 USDā˜…0.27 USD
Share of population in poverty ($3 a day)1.6ā˜…2.33
Tax Burden (% of GDP)13.46 %ā˜…14.82 %
Tax Revenue (% of GDP)13.46 % of GDP14.82 % of GDPā˜…
Taxes and Other Revenues13.914.2ā˜…
Time Required to Start a Business23 days8.4 daysā˜…
Tobacco Production Volume17.27 metric tons18,578.96 metric tonsā˜…
Top Exporting Countries36.74B USD681.35B USDā˜…
Top FDI Inflows (% of GDP)5.43 %ā˜…2.35 %
Top Sugar Cane Producers4.14M million metric tons53.05M million metric tonsā˜…
Total Egg Production89,969 millions3.27M millionsā˜…
Total Meat Production Volume302,664.8 tons8.35M tonsā˜…
Total Natural Resource Rents0.76 %ā˜…3.64 %
Tourism Revenue (% of GDP)5.81 % of GDPā˜…1.98 % of GDP
Trade as a Share of GDP71.49 %79.92 %ā˜…
Unemployment Rate7.9 %2.8 %ā˜…
Urban Informal Employment Share37.38 %ā˜…56.41 %
Youth Labor Force Participation Rate57.66 %ā˜…61.61 %
Youth Unemployment Rate19.95 %5.71 %ā˜…

Energy

19 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Electricity Consumption11.22 TWh354.87 TWhā˜…
Electricity from Fossil Fuels0.09 % of electricity generation75.42 % of electricity generationā˜…
Electricity from Hydroelectric Plants72.73 % of electricity generationā˜…6.63 % of electricity generation
Electricity from Nuclear Fuels0 % of electricity generation3.47 % of electricity generationā˜…
Electricity from Other Renewables18ā˜…9
Electricity Installed Capacity3.5872.56ā˜…
Electricity Production11 TWh355.18 TWhā˜…
Energy Consumption per Capita (USD)30.73 USD per capita57.54 USD per capitaā˜…
Natural Gas Consumption0 TWh1,003.77 TWhā˜…
Natural Gas Production0 TWh358.44 TWhā˜…
Oil Consumption38.06 TWh964.5 TWhā˜…
Oil Production0 TWh1,120.79 TWhā˜…
Oil Proved Reserves010.42ā˜…
Refined Petroleum Products Exports0155,800ā˜…
Refined Petroleum Products Imports51,320867,500ā˜…
Refined Petroleum Products Production0844,600ā˜…
Share of Electricity from Coal0 %ā˜…5.17 %
Share of Electricity from Natural Gas0 %53.05 %ā˜…
Total Coal Reserves0 tonnes4.16 tonnesā˜…

Environment

20 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Access to Clean Cooking Fuels97 %ā˜…88 %
Annual Area Burnt by Wildfires98,407 hectaresā˜…1.35M hectares
Annual Forest Area Change Rate3,517.97 %ā˜…-127,765.63 %
Average Annual Temperature23.34 °Cā˜…21.68 °C
Carbon Dioxide Emissions8.38 Mt CO2eā˜…475.99 Mt CO2e
Fertilizer Use Per Hectare1,402.54 kg/haā˜…96.2 kg/ha
Global Precipitation Distribution3,314.33 mmā˜…809.08 mm
Marine Protected Waters Share28.4 %ā˜…22.6 %
Population Distributionroughly half of the nation's population resides in urban areas; the capital of San Jose is the largest city and home to approximately one fifth of the populationmost of the population is found in the middle of the country between the states of Jalisco and Veracruz; approximately a quarter of the population lives in and around Mexico City
Potato Yield Per Hectare27.55 tons per hectare32.71 tons per hectareā˜…
Protected Land Area for Adaptation25.83 sq kmā˜…15.55 sq km
Protected Land Area Percentage26.6 %ā˜…15.3 %
Red List Index Score0.840.73ā˜…
Threatened Bird Species Count25 speciesā˜…68 species
Tomato Yield per Hectare54.05 tons/haā˜…50.61 tons/ha
Total Renewable Groundwater Resources by Country37.31 Cubic meters per year150 Cubic meters per yearā˜…
Total Renewable Water Resources113461.89ā˜…
Total Threatened Mammal Species12 speciesā˜…97 species
Tree Cover Loss8,285.34 hectaresā˜…330,263.47 hectares
Water Withdrawals Per Capita675.12 cubic meters per yearā˜…692.19 cubic meters per year

Geography

8 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Percentage of land area by degree of urbanization3.41 %ā˜…1.86 %
Above-Ground Biomass in Forest (tonnes/ha)196ā˜…52.44
Agricultural land16,651.72 sq. km1.04M sq. kmā˜…
Arable Land Per Person0.03 hectares0.15 hectaresā˜…
Banana Yield Per Hectare57.34 tonnes/hectareā˜…30.86 tonnes/hectare
Coastline Length (km)1,290 km9,330 kmā˜…
Dam capacity per capita382.59 cubic meters per inhabitant1,145.45 cubic meters per inhabitantā˜…
Infrastructure Resilience Score95 scoreā˜…80 score

Government

22 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Rule of Law Index by Country54.31 %ā˜…17.92 %
Administrative Divisions732ā˜…
Control of Corruption Score62.04 indexā˜…29.03 index
Corruption Perception Index58 index26 indexā˜…
Corruption Perceptions Index58 score26 scoreā˜…
Corruption Perceptions Index Score58 indexā˜…26 index
Duration of Compulsory Education13 years14 yearsā˜…
Governance Effectiveness Rating60.76ā˜…48.65
Government Effectiveness Index60.76 scoreā˜…48.65 score
Government Health Spending % of Total Government Expenditure24.91 %ā˜…9.36 %
Independence1516
LGBT Rights Index Score11.6715.66ā˜…
Police Officers Per 1,000 People3.8 officers4.01 officersā˜…
Prison Population Rate395 per 100,000156 per 100,000ā˜…
Public Sector Corruption Perception5826ā˜…
Public Sector Employment Share14.76 %ā˜…13.67 %
Public Trust in Government (%)49.5 %59.5 %ā˜…
Share of Women in Ministerial Positions28.57 %47.62 %ā˜…
Suffrage Participation Rate1818
Trust in National Government49.5 %59.5 %ā˜…
Women in National Parliaments49.12 %50.2 %ā˜…
Women, Business and the Law Index91.88 scoreā˜…88.75 score

Health

40 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Access to Safe Drinking Water80.5 %ā˜…42.97 %
Adults Living With HIV21,000 peopleā˜…390,000 people
Average BMI (Adult Men)26.8 kg/m²27.5 kg/mĀ²ā˜…
Average Non-HDL Cholesterol Levels3.7 mg/dLā˜…3.8 mg/dL
Breast Cancer Mortality Rate11.18 deaths per 100,000 women10.61 deaths per 100,000 womenā˜…
Cancer Mortality Rate78.07 per 100,00066.14 per 100,000ā˜…
Change in Measles Immunization Rate93 %ā˜…80 %
Child Homicide Rate per 100,0003.05 per 100,000ā˜…5.96 per 100,000
Colon Cancer Mortality Rate10.21 deaths per 100,0005.74 deaths per 100,000ā˜…
Diabetes Deaths Per 100,000 (Age-Std)34.49ā˜…93.85
Diabetes Prevalence (% of Population)9.816.4ā˜…
Female Life Expectancy Leaders83.58 yearsā˜…78 years
Fruit Consumption Per Capita77.12 kg per year137.38 kg per yearā˜…
Global Stillbirth Rate Trends0.45 per 1,000 birthsā˜…0.64 per 1,000 births
Government Health Expenditure Per Capita1,163.3 USDā˜…760.99 USD
Health Care Spending per Capita2,112.89 USDā˜…1,579.68 USD
Health Coverage Index Score84 scoreā˜…79 score
Health Expenditure (% of GDP)7.6 % of GDPā˜…6.1 % of GDP
Highest Male Life Expectancy78.37 yearsā˜…72.44 years
HIV/AIDS Adult Prevalence Rate0.6 %0.5 %ā˜…
Hospital Bed Density1.2 people/sq kmā˜…1 people/sq km
Hospital Beds per Capita1.14 beds per 1,000ā˜…1.01 beds per 1,000
Liver Cancer Mortality Rate5.2 deaths per 100,0005.1 deaths per 100,000ā˜…
Low Birth Weight Prevalence8.72 %ā˜…10.15 %
Malaria Incidence Rate0.13 cases per 1,0000.1 cases per 1,000ā˜…
Male Smoking Prevalence11.8 %ā˜…23.9 %
Maternal Mortality Ratio24 deaths per 100,000 live birthsā˜…42 deaths per 100,000 live births
Number of Clinical Trials368ā˜…
Nurses and Midwives Density3.07 per 1,000 peopleā˜…3.03 per 1,000 people
Obesity Adult Prevalence Rate (%)25.7 %ā˜…28.9 %
Out-of-Pocket Health Spending24.13 %ā˜…41.24 %
Pancreatic Cancer Mortality Rate4.83 deaths per 100,0003.67 deaths per 100,000ā˜…
Parkinson's Disease Mortality Rate112.95 per 100,000 peopleā˜…1,314.36 per 100,000 people
Physicians per 1,000 People2.69 per 1,000 peopleā˜…2.59 per 1,000 people
Prostate Cancer Mortality Rate13.28 deaths per 100,000 men12.12 deaths per 100,000 menā˜…
Public Health Spending (% of GDP)4.8 %ā˜…3.17 %
Smoking Prevalence Among Adults7.9 %ā˜…15.7 %
Stomach Cancer Mortality Rate8.68 deaths per 100,0004.69 deaths per 100,000ā˜…
Underweight Children Under 52.9ā˜…4.2
Women Tobacco Use by Age Group4.1 %ā˜…7.6 %

Military and Security

3 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Deaths in Armed Conflicts0 deathsā˜…1,115 deaths
Military Expenditure (% of GDP)0 %ā˜…0.74 %
Total Armed Forces Personnel (PPP)10,000341,000ā˜…

People and Society

50 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Currently married (Percent)40.93 %51.87 %ā˜…
Human Capital Index0.63ā˜…0.63
Life expectancy at birth84.75 yearsā˜…80.06 years
Median age of population35.68 yearsā˜…29.96 years
Population Change24,088.1 persons1.20M personsā˜…
Population density101.38 per sq. km67.89 per sq. kmā˜…
Total population5.18M persons133.03M personsā˜…
Academic Freedom Index0.92ā˜…0.71
Average Female Breast Size by Country: Worldwide Data & RankingsA-Bā˜…A
Average Spirits Consumption Per Capita0.34 litersā˜…0.57 liters
Beer Consumption per Capita2.46 liters4.55 litersā˜…
Birth Rate (%)10.86 %14.73 %ā˜…
Contraceptive Prevalence Rate70.9 %73.1 %ā˜…
Crude Birth Rate9.99 per 1,000 people15.46 per 1,000 peopleā˜…
Death Rate (%)5.24 %ā˜…6.04 %
Education Expenditure (% of GDP)6.2 % of GDPā˜…4.1 % of GDP
Egg Consumption per Capita13.61 eggs per year21.55 eggs per yearā˜…
Female Homicide Rate2.75 per 100,000 womenā˜…5.6 per 100,000 women
Female population of reproductive age1.33M persons35.92M personsā˜…
Female Tertiary Enrollment Rate (%)60.47 %ā˜…44.35 %
Firearm Homicides per 100,00014.24 per 100,000ā˜…17.23 per 100,000
Fixed Broadband Penetration Rate23.29 %ā˜…21.74 %
Global Average Sex Ratio at Birth104.41 male/femaleā˜…103.66 male/female
Human Development Index0.83ā˜…0.79
Labor Force2.43M people61.71M peopleā˜…
Learning-adjusted years of school9.01 yearsā˜…9.01 years
Length of paid parental leave for mother0 days0 days
Major Urban Areas Population1.46 people22.28 peopleā˜…
Mathematics Proficiency Scores20.9 score38 scoreā˜…
Mean Male Height (cm)168.93169.01ā˜…
Mean Years of Schooling8.84 years9.35 yearsā˜…
Military Service Age and Obligation1818
Milk Consumption per Capita172.9 litersā˜…121.99 liters
Old-Age Dependency Ratio16.98 %11.9 %ā˜…
Percentage of population by degree of urbanization74.2 %77.59 %ā˜…
Physician Density2.69 people/sq kmā˜…2.59 people/sq km
Population Growth Rate0.75 %0.81 %ā˜…
Population living in slums3.55 %10.7 %ā˜…
Primary School Pupil-Teacher Ratio11.63ā˜…26.55
Share of Population Born Abroad12.25 %ā˜…1.32 %
Share of Students Studying Abroad1.72 %ā˜…0.73 %
Total deaths26,826 personsā˜…685,869.9 persons
Total demand for family planning (Percent)63.4 %ā˜…62.6 %
Total fertility rate1.3 per woman1.84 per womanā˜…
Total net-migration974.7 personsā˜…-98,968.7 persons
Under-five mortality rate7.18 per live birthsā˜…11.69 per live births
Urban Population Annual Growth Rate0.97 %1.19 %ā˜…
Urban Population Share 205079.73 %80.04 %ā˜…
Voter Turnout (% of Voting-Age Population)60.6 %65.62 %ā˜…
Wine Consumption Per Capita0.18 litersā˜…0.17 liters

Terrorism

1 metric
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Number of Terrorist Attacks0ā˜…21

Transnational Issues

4 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Asylum Seekers by Country of Origin1,820 peopleā˜…236,812 people
Forcibly Displaced People233,727 peopleā˜…779,694 people
Internally Displaced People Due to Conflict0 peopleā˜…262,411 people
Refugees by Country of Origin367 peopleā˜…41,307 people

Transportation

7 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Air Freight Volume7.18 metric tons1,091.48 metric tonsā˜…
Airports1321,580ā˜…
CO2 Emissions from Transport6.24 metric tonsā˜…127.16 metric tons
Container Port Traffic Volume1.72M TEUs9.28M TEUsā˜…
Heliports8488ā˜…
Number of New Electric Cars Sold12,190 units90,000 unitsā˜…
Share of New Cars Sold That Are Electric17 %ā˜…7 %

Travel and Tourism

2 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Spending by Residents Abroad2.13B USD15.68B USDā˜…
Tourism Receipts per Capita5.62B USD36.24B USDā˜…

Other

2 metrics
MetricšŸ‡ØšŸ‡· Costa RicašŸ‡²šŸ‡½ MexicoShare
Current Bank Rate3.5 %6.5 %ā˜…
Green Coffee Beans Yield Per Hectare0.75 kg/hectareā˜…0.29 kg/hectare

Frequently Asked Questions About Costa Rica vs Mexico

Which has a larger population, Costa Rica or Mexico?ā–¾

Mexico. Mexico has 25.7 times as many people as Costa Rica (133.03 million vs 5.18 million). Data for 2026.

Which has a bigger economy, Costa Rica or Mexico?ā–¾

Mexico. Mexico's economy is 20.7 times the size of Costa Rica's ($2.29 trillion vs $110.67 billion GDP). Data for 2026.

Which is richer per person, Costa Rica or Mexico?ā–¾

Costa Rica is richer per person: GDP per capita is about $21,381 in Costa Rica vs $17,235 in Mexico (2026 GDP in current US dollars divided by population).

Related comparisons