placestats

Last European coloniser: Spain. Largest religious group: Christians. Official ideology: No strong official ideology. Party system: No parties banned. These are labels that describe the country, not numbers, so they are never compared with other measures. The numbers behind them, such as population shares, are.

Costa Rica

Most recent figures: 2025. Site data last refreshed from publishers on . What changed

Against high income countries, Costa Rica ranks 12th of 83 on environment and 46th of 47 on equality. Each ranking counts only the countries that report that score, so the totals differ and the two ranks can’t be compared directly. Both compare Costa Rica with countries of similar wealth. That is the only kind of ranking that tells you something a ranking by income does not already show.

Compare Costa Rica with another country

How it has changed

Every measure Costa Rica reports, over all the years it has been published. Pick one. Hover or use the arrow keys to read a year. Gaps in a line are years with no data. They are left open, not filled in.

Loading…

Scores by area

Each score averages the measures in one area, such as health. Each measure is first put on a common scale and turned so that higher is always better. Zero is the average country in an average year. One point is a typical gap between countries (a standard deviation), so +1 means about one typical gap above average. These are summaries, not measurements. See how the country scores are built and how the topic scores compare with each other.

ScoreValueRank, all countriesRank, similar incomeMostly income?
Governance score 2025+1.1523 of 17923 of 58high +0.63
Health score 2024-0.29134 of 19347 of 63independent +0.22
Education score 2023+0.6393 of 19957 of 72proxy +0.81
Equality score 2025-0.20116 of 16546 of 47high +0.64
Infrastructure score 2024+1.1975 of 21063 of 80proxy +0.90
Gender score 2025+1.3426 of 18618 of 58moderate +0.39
Environment score 2024+0.5435 of 21312 of 83independent -0.20
Labour score 2025+0.13102 of 19564 of 67high +0.80

The last column shows how closely each score just tracks national income. The number is its link with GDP per person (the value of everything a country produces, divided by its people), from −1 to +1. A score marked proxy is mostly a measure of how rich the country is. Its rank among all countries says little that GDP per person does not. That is why the rank among similar-income countries sits beside it.

The measures behind them

Every measure reported for Costa Rica, grouped by area. Some measures have no agreed better direction, such as population growth, inflation and military spending. They are listed here but left out of every score, since there is no fair way to say which way is better. Some names use technical terms: PPP means adjusted for what money buys in each country, HDI is a United Nations score combining life expectancy, schooling and income, and a Gini index measures how unequally income is shared. Each measure’s own page explains it. The last two columns rank Costa Rica against every country reporting the measure, and against high income countries only. Where a measure has a better end, first place is the best. Where it has none, first place is just the highest value.

crime

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Public order spending2.38%% of GDP2021no agreed direction5th highest of 375th highest of 36
Conflict deaths2.76per 100,000 people2025higher is worse178th best of 19765th best of 66
Armed conflict present11 if any conflict, else 02025higher is worse143rd best of 197, tied62nd best of 66, tied
Homicide rate17.7per 100,000 population2023higher is worse162nd best of 18270th best of 77

culture

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Divorce rate2.8divorces per 1,000 people2021no agreed direction4th highest of 454th highest of 41
Births outside marriage74%% of live births2023no agreed direction3rd highest of 432nd highest of 40
Marriage rate4.39marriages per 1,000 people2022no agreed direction23rd highest of 4621st highest of 41
Religiously unaffiliated10.1%% of population2020no agreed direction61st highest of 19541st highest of 67
Christian share87.9%% of population2020no agreed direction49th highest of 19515th highest of 67
Muslim share0.0252%% of population2020no agreed direction176th highest of 19566th highest of 67
Single-parent households15.7%% of households2018no agreed direction9th highest of 1566th highest of 52
One-person households12.1%% of households2018no agreed direction84th highest of 15650th highest of 52
Women in a union41.7%% of women aged 15-492022no agreed direction195th highest of 20673rd highest of 79
Marriage rate (UN)4.17marriages per 1,000 people2024no agreed direction74th highest of 11641st highest of 73
Divorce rate (UN)2.48divorces per 1,000 people2024no agreed direction12th highest of 1046th highest of 66

demography

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
European ancestry60.4%% of population2000no agreed direction55th highest of 16437th highest of 54
African ancestry8.91%% of population2000no agreed direction61st highest of 1647th highest of 54
Indigenous American ancestry29.7%% of population2000no agreed direction15th highest of 1643rd highest of 54
East Asian ancestry1%% of population2000no agreed direction36th highest of 16416th highest of 54
South Asian ancestry0%% of population2000no agreed direction33rd highest of 164, tied16th highest of 54, tied
Middle Eastern ancestry0%% of population2000no agreed direction45th highest of 164, tied20th highest of 54, tied
Ethnic diversity0.398index, 0 to 12013no agreed direction84th highest of 15318th highest of 48
Median age34.1years2023no agreed direction88th highest of 21772nd highest of 86
Age at childbearing28.2years2023no agreed direction167th highest of 21774th highest of 86
Women's age at first marriage (census-based)26.4years2018no agreed direction66th highest of 186, tied58th highest of 70, tied
Population5,152,950people2025no agreed direction126th highest of 21737th highest of 86
Population growth0.448%% per year2025no agreed direction143rd highest of 21743rd highest of 86
Urbanization79.7%% of population2025no agreed direction59th highest of 21748th highest of 86
Population 65+12.8%% of population2025no agreed direction77th highest of 21762nd highest of 86
Population 0-1418.3%% of population2025no agreed direction136th highest of 21719th highest of 86
Fertility rate1.32births per woman2024no agreed direction189th highest of 21762nd highest of 86
Birth rate9.99per 1,000 people2024no agreed direction158th highest of 21735th highest of 86
Net migration1,000people2025no agreed direction64th highest of 21740th highest of 86
Migrant share of population12.2%% of population2024no agreed direction71st highest of 216, tied62nd highest of 86

economy

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Economic freedom (Fraser)7.76rating (0-10)2024no agreed direction28th highest of 16525th highest of 58
Small government (Fraser)7.47rating (0-10)2024no agreed direction37th highest of 1655th highest of 58
Sound money (Fraser)9.47rating (0-10)2024higher is better13th best of 1658th best of 58
Freedom to trade (Fraser)8.22rating (0-10)2024no agreed direction48th highest of 16542nd highest of 58
Light regulation (Fraser)7rating (0-10)2024no agreed direction41st highest of 16532nd highest of 58
Public social spending12.6%% of GDP2022no agreed direction39th highest of 4238th highest of 38
Family benefits spending1.32%% of GDP2022no agreed direction37th highest of 4236th highest of 38
Old-age spending4.58%% of GDP2022no agreed direction36th highest of 4233rd highest of 38
Government spending per capita$11,794current international dollars2024no agreed direction37th highest of 4337th highest of 38
Productivity (TFP)0.763ratio to the US (US = 1)2023higher is better38th best of 12031st best of 53
Investment share of GDP17%% of GDP2023no agreed direction140th highest of 18263rd highest of 67
Price level0.691ratio to the US (US = 1)2023no agreed direction47th highest of 18245th highest of 67
Capital per worker$199,4252021 international $ per worker2023no agreed direction88th highest of 17460th highest of 62
HDI0.833index, 0 to 12023higher is better62nd best of 193, tied57th best of 64
Inequality-adjusted HDI0.678index, 0 to 12023higher is better65th best of 17049th best of 54
Economy free of state ownership1.16score (higher = less state-owned)2025no agreed direction54th highest of 17626th highest of 56
Property rights0.925index (0-1)2025higher is better20th best of 17620th best of 56
GDP per capita (PPP)$28,443international $2025higher is better77th best of 19971st best of 74
GNI per capita (PPP)$25,809international $2025higher is better73rd best of 19765th best of 72
GDP per capita (market)$15,669US$2025higher is better77th best of 21376th best of 83
GDP (total)$103 billionUS$2025no agreed direction75th highest of 21441st highest of 84
GDP growth4.56%% per year2025no agreed direction62nd highest of 21315th highest of 83
Inflation-0.0737%% per year2025no agreed direction179th highest of 19362nd highest of 68
Trade openness71.5%% of GDP2025no agreed direction114th highest of 19056th highest of 72
FDI inflows5.44%% of GDP2025no agreed direction39th highest of 20315th highest of 73
Tax revenue13.5%% of GDP2024no agreed direction100th highest of 15146th highest of 55
Government consumption14%% of GDP2025no agreed direction116th highest of 18454th highest of 67
Government expense28.6%% of GDP2023no agreed direction63rd highest of 15139th highest of 55
Military spending0%% of GDP2025no agreed direction161st highest of 163, tied52nd highest of 54, tied
Military spending (US$)$0US$2025no agreed direction162nd highest of 164, tied52nd highest of 54, tied
Employment in agriculture11.5%% of employment2025no agreed direction103rd highest of 1873rd highest of 63

education

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
PISA maths387PISA points2025higher is better69th best of 9651st best of 52
PISA reading416PISA points2025higher is better50th best of 9646th best of 52
PISA science424PISA points2025higher is better59th best of 9648th best of 52
Human capital (PWT)2.7index (1 = no schooling)2023higher is better91st best of 14554th best of 56
Primary completion98.9%% of children2025higher is better60th best of 165, tied37th best of 47, tied
Expected schooling16.3years2023higher is better39th best of 19533rd best of 65
Mean years of schooling8.84years2023higher is better116th best of 19362nd best of 64
Education spending5.31%% of GDP2023no agreed direction46th highest of 19215th highest of 74
Primary enrollment105%% gross2024higher is better58th best of 20213th best of 75
Secondary enrollment122%% gross2024higher is better14th best of 19711th best of 75
Tertiary enrollment55%% gross2019higher is better72nd best of 18552nd best of 71
Adult literacy97.4%% of adults2011higher is better39th best of 13719th best of 32
Compulsory schooling13years2025no agreed direction17th highest of 197, tied6th highest of 77, tied
Out of school, primary4.49%% of primary-age children2024higher is worse107th best of 19451st best of 73
Pupil-teacher ratio12.2pupils per teacher2018higher is worse34th best of 18930th best of 70
Researchers508per million people2023higher is better80th best of 13450th best of 55

environment

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Recycling rate0.941%% of municipal waste2015higher is better34th best of 3533rd best of 33
CO2 per capita1.63t CO2e per capita2024higher is worse82nd best of 2037th best of 77
CO2 emissions (total)8.38million tonnes of CO22024no agreed direction116th highest of 20349th highest of 77
Forest area59.1%% of land area2024higher is better32nd best of 21412th best of 84
Agricultural land31.4%% of land area2024no agreed direction120th highest of 21034th highest of 80
Protected land26.6%% of land area2025higher is better55th best of 21333rd best of 83

gender

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Gender wage gap3.7%% of men's median earnings2015higher is worse3rd best of 383rd best of 35
Gender Inequality Index0.217index, 0 to 12023higher is worse55th best of 17244th best of 56
Gender Development Index0.975ratio of women's HDI to men's2023no agreed direction86th highest of 184, tied48th highest of 62, tied
Women's political empowerment0.907index (0-1)2025higher is better23rd best of 175, tied22nd best of 56, tied
Women ministers28.6%% of ministers2025higher is better56th best of 193, tied30th best of 64, tied
Women in parliament49.1%% of seats2025higher is better8th best of 1933rd best of 64
Women in management46.2%% of managers2025higher is better15th best of 1526th best of 50
Married by 1817.1%% of women aged 20-242018higher is worse72nd best of 14116th best of 22

governance

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Corruption Perceptions Index58index (0-100, higher = cleaner)2024higher is better44th best of 18239th best of 59
Political rights (FH)1rating (1-7, 1 = most free)2025higher is worse1st best of 197, tied1st best of 67, tied
Civil liberties (FH)1rating (1-7, 1 = most free)2025higher is worse1st best of 197, tied1st best of 67, tied
Legal system and property rights (Fraser)6.62rating (0-10)2024higher is better42nd best of 16540th best of 58
Trust in government49.5%% of respondents2024higher is better15th best of 4712th best of 38
Pre-trial detainee share23.7%% of prisoners2024higher is worse66th best of 18234th best of 74
Refugees originating7.12per 100,000 people2025higher is worse74th best of 20348th best of 74
Electoral democracy0.862index (0-1)2025higher is better10th best of 175, tied10th best of 56, tied
Liberal democracy0.809index (0-1)2025higher is better7th best of 1757th best of 56
Participatory democracy0.606index (0-1)2025higher is better11th best of 17511th best of 56
Free and fair elections0.944index (0-1)2025higher is better16th best of 175, tied16th best of 56, tied
Regime type3regime category (0-3)2025higher is better1st best of 175, tied1st best of 56, tied
Political corruption0.206index (0-1)2025higher is worse45th best of 17541st best of 56
Freedom of expression0.915index (0-1)2025higher is better22nd best of 175, tied21st best of 56, tied
Freedom of association0.922index (0-1)2025higher is better4th best of 1754th best of 56
Political civil liberties0.931index (0-1)2025higher is better17th best of 17515th best of 56
Civil society participation0.883index (0-1)2025higher is better27th best of 17522nd best of 56
Freedom from party bans2.45score (higher = fewer bans)2025higher is better7th best of 1765th best of 56
Ease of forming a party2.81score (higher = fewer barriers)2025higher is better2nd best of 1762nd best of 56
Independent opposition1.98score (higher = more independent)2025higher is better48th best of 174, tied35th best of 54
Official ideology, strength-0.994score (higher = more)2023no agreed direction115th highest of 17630th highest of 56
Governing party, economic left to right2.94scale (0 = far left, 6 = far right)2018no agreed direction90th highest of 15629th highest of 48
Birth registration99.6%% of children under 52013higher is better61st best of 172, tied50th best of 58
Control of corruption0.694index (approx. -2.5 to 2.5)2025higher is better52nd best of 20849th best of 77
Rule of law0.603index (approx. -2.5 to 2.5)2025higher is better59th best of 20851st best of 77
Government effectiveness0.411index (approx. -2.5 to 2.5)2025higher is better72nd best of 20662nd best of 75
Regulatory quality0.538index (approx. -2.5 to 2.5)2025higher is better57th best of 20654th best of 75
Voice and accountability1.04index (approx. -2.5 to 2.5)2025higher is better38th best of 20837th best of 77
Political stability1.22index (approx. -2.5 to 2.5)2025higher is better24th best of 20815th best of 77

health

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Abortion rate (estimate)21.1per 1,000 women aged 15-492019no agreed direction90th highest of 1459th highest of 43
Unintended pregnancy rate51.8per 1,000 women aged 15-492019higher is worse59th best of 14536th best of 43
Unintended pregnancies ending in abortion41%% of unintended pregnancies2019no agreed direction79th highest of 14520th highest of 43
Contraceptive use (any method)70.9%%2018no agreed direction24th highest of 15413th highest of 30
Contraceptive use (modern methods)70%%2018no agreed direction12th highest of 1506th highest of 28
Life expectancy81years2024higher is better47th best of 21746th best of 86
Infant mortality9.1per 1,000 live births2024higher is worse78th best of 196, tied56th best of 65, tied
Under-5 mortality10.4per 1,000 live births2024higher is worse79th best of 19657th best of 65
Health spending6.87%% of GDP2023no agreed direction87th highest of 19343rd highest of 64
Suicide rate8.06per 100,0002021higher is worse106th best of 18520th best of 58
Hospital beds1.14per 1,000 people2022no agreed direction132nd highest of 17761st highest of 62
Basic water access99.8%% of population2024higher is better57th best of 21451st best of 85
Basic sanitation98.8%% of population2024higher is better60th best of 21450th best of 85
Child stunting10.6%% of children under 52024higher is worse73rd best of 162, tied33rd best of 37
Adolescent fertility24.8births per 1,000 women aged 15-192024higher is worse100th best of 21769th best of 86
Maternal mortality24per 100,000 live births2023higher is worse75th best of 19453rd best of 64
Skilled birth attendance99%% of births2019higher is better72nd best of 184, tied36th best of 56, tied
Alcohol consumption3.4litres per adult per year2020no agreed direction112th highest of 18750th highest of 60
Tobacco use7.9%% of adults2024higher is worse18th best of 1662nd best of 57
Road traffic deaths14.8per 100,000 population2019higher is worse92nd best of 190, tied56th best of 61, tied
Physicians2.69per 1,000 people2022higher is better71st best of 19452nd best of 64
DTP3 immunisation99%% of children aged 12-23 months2024higher is better1st best of 193, tied1st best of 63, tied
HIV prevalence0.6%% of adults aged 15-492024higher is worse94th best of 153, tied35th best of 43
Tuberculosis incidence9.3per 100,000 people2024higher is worse56th best of 20846th best of 79
Premature NCD mortality9.9%% probability, ages 30-702021higher is worse21st best of 185, tied20th best of 58, tied
Anaemia in women13.7%% of women aged 15-492023higher is worse9th best of 1926th best of 63
Out-of-pocket health spending24.1%% of health spending2023higher is worse77th best of 19346th best of 64
Undernourishment2.5%% of population2024higher is worse1st best of 168, tied1st best of 52, tied
Food insecurity13.9%% of population2024higher is worse56th best of 15740th best of 54
Adult obesity32.7%% of adults2024higher is worse153rd best of 19645th best of 66
Health coverage index84index, 0 to 1002023higher is better23rd best of 193, tied21st best of 63, tied

inequality

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Market-income Gini0.526index, 0 to 12024higher is worse43rd best of 4539th best of 39
Redistribution12.6%% reduction in the Gini2024no agreed direction41st highest of 4538th highest of 39
Labor share of income53.1%% of GDP2023no agreed direction61st highest of 14035th highest of 60
Gini index45.5index (0-100)2025higher is worse150th best of 16546th best of 47
Extreme poverty rate0.8%% of population2025higher is worse55th best of 165, tied35th best of 47, tied

infrastructure

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Electricity use per person2,416kWh per person2025no agreed direction108th highest of 20475th highest of 76
Internet users87.2%% of population2024higher is better80th best of 20959th best of 79
Mobile subscriptions136per 100 people2024higher is better47th best of 21027th best of 79
Electricity access99.8%% of population2024higher is better126th best of 215, tied82nd best of 85
Slum share of urban population3.55%% of urban population2022higher is worse76th best of 19658th best of 69
Fixed broadband23.3per 100 people2024higher is better82nd best of 20865th best of 79

labor

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Active labour market spending0.129%% of GDP2022no agreed direction37th highest of 4236th highest of 38
Unemployment benefit spending0.015%% of GDP2022no agreed direction38th highest of 3937th highest of 38
Hours worked (PWT)2,177hours per year2023no agreed direction34th highest of 1307th highest of 52
Informal employment36.1%% of employment2025higher is worse52nd best of 14241st best of 45
Unemployment6.84%% of labor force2025higher is worse124th best of 18748th best of 63
Female labor participation46%% of women 15+2025no agreed direction136th highest of 18756th highest of 63
Male labor participation69.8%% of men 15+2025no agreed direction94th highest of 18725th highest of 63
Youth not in work or study19.4%% of 15 to 24 year olds2025higher is worse99th best of 17955th best of 61
Vulnerable employment23.4%% of employment2025higher is worse80th best of 18760th best of 63

wellbeing

MeasureValueUnitYearDirectionAmong all countriesAmong high income countries
Life satisfaction7.44score (0-10)2025higher is better4th best of 1654th best of 55

Values are the most recent in 2010–2025, and different measures can come from different years. The year is shown beside each. Nothing here ranks countries by merit. An area score averages whatever measures its publishers happen to collect, and the choice of what to collect is itself a judgement made by someone else. All countries · How the country data works

Countries to compare with Costa Rica

Also in Latin America & Caribbean: Antigua and Barbuda, Argentina, Aruba, Bahamas, The, Barbados, Belize, Bolivia, Brazil, British Virgin Islands, Cayman Islands, Chile, Colombia, Cuba, Curacao, Dominica, Dominican Republic, Ecuador, El Salvador, Grenada, Guatemala, Guyana, Haiti, Honduras, Jamaica, Mexico, Nicaragua, Panama, Paraguay, Peru, Puerto Rico (US), Sint Maarten (Dutch part), St. Kitts and Nevis, St. Lucia, St. Martin (French part), St. Vincent and the Grenadines, Suriname, Trinidad and Tobago, Turks and Caicos Islands, Uruguay, Venezuela, RB, Virgin Islands (U.S.).

Also high income, in other regions: American Samoa, Andorra, Australia, Austria, Bahrain, Belgium, Bermuda, Brunei Darussalam, Bulgaria, Canada, Channel Islands, Croatia, Cyprus, Czechia, Denmark, Estonia, Faroe Islands, Finland, France, French Polynesia, Germany, Gibraltar, Greece, Greenland, Guam, Hong Kong SAR, China, Hungary, Iceland, Ireland, Isle of Man, Israel, Italy, Japan, Korea, Rep., Kuwait, Latvia, Liechtenstein, Lithuania, Luxembourg, Macao SAR, China, and more on the full list of countries.