Costa Rica

North AmericaLand of Contrasts

Costa Rica is a place of striking contrasts. #7 in women in parliament but near the bottom in fertility rate. Explore the contradictions that define this nation.

Costa Rica is a country in North America with a population of 5.30M and an area of 51,100 km². Life expectancy is 80.8 years.

At a Glance

The numbers that define this country

Life Expectancy

80.8 years
#46globally

How many years a newborn can expect to live, based on current mortality rates.

Life Expectancy

80.8 years
#51globally

How many years a newborn can expect to live, based on current mortality rates.

Human Development Index

0.83
#62globally

The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.

GDP Per Capita

$27.0K
#77globally

GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.

GDP Per Capita (PPP)

30.1K
#79globally

GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.

Internet Users (%)

85.0%
#91globally

The percentage of people who have used the internet in the last 3 months.

Where They Stand Out

Global rankings worth knowing

🤝Women in Parliament (%)

49.1%
#7globallyTop performer

The percentage of parliament seats held by women.

🤝Homicide Rate

11.4
#3globallyTop performer

Homicides per 100,000 people.

🤝Inequality (Gini)

45.8
#6globallyTop performer

A measure of income inequality where 0 means everyone earns the same and 100 means one person has everything.

🌱Electricity Access (%)

100.0%
#25globallyTop performer

The percentage of the population with access to electricity.

🚀Education Spending (% GDP)

6.2%
#22globallyTop performer

Government spending on education as a percentage of GDP.

Did You Know?

Facts that catch players off guard

💰

Has one of the highest rates of inflation rate

Inflation Rate: -0.4%

How much prices increased over the year, based on the cost of everyday goods and services.

World Bank 2023
🤝

Ranks #7 globally in women in parliament (%)

Women in Parliament (%): 49.1%

The percentage of parliament seats held by women.

World Bank 2023
🛡️

Only ranks #152 in military spend (% gdp)

Military Spend (% GDP): 0.6%

Military expenditures as percent of GDP from CIA World Factbook.

🔧

Only ranks #123 in railway length

Railway Length: 278

Total railway length from CIA World Factbook.

🤝

Only ranks #35 in safety at night

Safety at Night: 50.5%

The percentage of people who feel safe walking alone at night.

OECD 2024

Surprised? See how you stack up.

Play Now

How Costa Rica Compares

Country vs continent vs world averages

Costa Rica
North America avg
World avg

GDP per Capita

GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.

World Bank 2023
Costa Rica30.1K
North America38.3K
World31.8K

Life Expectancy

Above avg

How many years a newborn can expect to live, based on current mortality rates.

World Bank 2023
Costa Rica80.8 years
North America75.5 years
World73.7 years

Human Development Index

Above avg

The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.

Our World in Data 2023
Costa Rica0.83
North America0.77
World0.74

Internet Users

Above avg

The percentage of people who have used the internet in the last 3 months.

World Bank 2023
Costa Rica85.0%
North America76.6%
World70.3%

Think you can guess which countries rank higher?

Test Your Intuition
Regional comparison for Costa Rica across 4 key metrics, comparing with North America and world averages.

About Costa Rica

Although explored by the Spanish early in the 16th century, initial attempts at colonizing Costa Rica proved unsuccessful due to a combination of factors, including disease from mosquito-infested swamps, brutal heat, resistance from Indigenous populations, and pirate raids. It was not until 1563 that a permanent settlement of Cartago was established in the cooler, fertile central highlands. The area remained a colony for some two-and-a-half centuries. In 1821, Costa Rica was one of several Central American provinces that jointly declared independence from Spain. Two years later it joined the United Provinces of Central America, but this federation disintegrated in 1838, at which time Costa Rica proclaimed its sovereignty and independence.

Since the late 19th century, only two brief periods of violence have marred the country's democratic development. General Federico TINOCO Granados led a coup in 1917, but the threat of US intervention pushed him to resign in 1919. In 1948, landowner Jose FIGUERES Ferrer raised his own army and rebelled against the government. The brief civil war ended with an agreement to allow FIGUERES to remain in power for 18 months, then step down in favor of the previously elected Otilio ULATE. FIGUERES was later elected twice in his own right, in 1953 and 1970.

Costa Rica experienced destabilizing waves of refugees from Central American civil wars in the 1970s and 1980s, but peace in the region has since helped the economy rebound.  Although it still maintains a large agricultural sector, Costa Rica has expanded its economy to include strong technology and tourism industries.

🌍Geography & Climate6 facts
Location
Central America, bordering both the Caribbean Sea and the North Pacific Ocean, between Nicaragua and Panama
Climate
tropical and subtropical; dry season (December to April); rainy season (May to November); cooler in highlands
Terrain
coastal plains separated by rugged mountains including over 100 volcanic cones, of which several are major active volcanoes
Natural Resources
hydropower
Natural Hazards
occasional earthquakes, hurricanes along Atlantic coast; frequent flooding of lowlands at onset of rainy season and landslides; active volcanoes volcanism: Arenal (1,670 m) is the most active volcano in Costa Rica; a 1968 eruption destroyed the town of Tabacon; Irazu (3,432 m), situated just east of San Jose, has the potential to spew ash over the capital city, as it did between 1963 and 1965; other historically active volcanoes include Miravalles, Poas, Rincon de la Vieja, and Turrialba
Size Comparison
slightly smaller than West Virginia
👥People & Culture4 facts
Languages
Spanish (official), English
Religions
Roman Catholic 47.5%, Evangelical and Pentecostal 19.8%, Jehovah's Witness 1.4%, other Protestant 1.2%, other 3.1%, none 27% (2021 est.)
Ethnic Groups
White or Mestizo 83.6%, Mulatto 6.7%, Indigenous 2.4%, Black or African descent 1.1%, other 1.1%, none 2.9%, unspecified 2.2% (2011 est.)
Major Cities
1.462 million SAN JOSE (capital) (2023)
🏛️Government & History10 facts
Government Type
presidential republic
Capital
San José
Capital Coordinates
9 56 N, 84 05 W
Capital Timezone
UTC-6 (1 hour behind Washington, DC, during Standard Time)
Official Name
Republic of Costa Rica
Name Origin
the name means "rich coast" in Spanish; Christopher COLUMBUS named it in 1502, referring to the region's abundant vegetation and water
Independence
15 September 1821 (from Spain)
National Symbols
yiguirro (clay-colored thrush)
National Anthem
"Himno Nacional de Costa Rica" (National Anthem of Costa Rica)
UNESCO Heritage
4 (1 cultural, 3 natural)
💼Economy & Trade7 facts
Overview
trade-based upper middle-income economy; green economy leader, having reversed deforestation; investing in blue economy infrastructure; declining poverty until hard impacts of COVID-19; lingering inequality and growing government debts have prompted a liquidity crisis
Industries
medical equipment, food processing, textiles and clothing, construction materials, fertilizer, plastic products
Agricultural Products
sugarcane, pineapples, bananas, oil palm fruit, milk, fruits, oranges, chicken, cassava, beef (2023)
Export Partners
USA 40%, Netherlands 6%, China 5%, Guatemala 4%, Belgium 3% (2023)
Export Commodities
medical instruments, integrated circuits, orthopedic appliances, bananas, tropical fruits (2023)
Import Partners
USA 38%, China 15%, Mexico 6%, Brazil 3%, Guatemala 3% (2023)
Import Commodities
refined petroleum, plastic products, cars, medical instruments, broadcasting equipment (2023)
🔧Infrastructure & Defense4 facts
Military Forces
Ministry of Public Security (Ministerio de Seguridad Pública de Costa Rica): National Police (Fuerza Pública), Air Surveillance Service (Servicio de Vigilancia Aérea), National Coast Guard Service (Servicio Nacional de Guardacostas), Drug Control Police (Policía Control de Drogas), Border Police (Policia de Fronteras), Professional Migration Police (Policía Profesional de Migración) Ministry of Presidency: Directorate of Intelligence and Security (DIS), Special Intervention Unit (UEI) (2025)
Energy Mix
fossil fuels: 0.1% of total installed capacity (2023 est.); solar: 0.7% of total installed capacity (2023 est.); wind: 12.7% of total installed capacity (2023 est.); hydroelectricity: 72.9% of total installed capacity (2023 est.); geothermal: 13.1% of total installed capacity (2023 est.); biomass and waste: 0.5% of total installed capacity (2023 est.)
Broadcast Media
over two dozen privately owned TV stations and 1 publicly owned TV station; cable network services are widely available; more than 100 privately owned radio stations and a public radio network (2022)
Space Program
has a small, recently established program focused on using space to develop the country's economy and industry, including acquiring and using satellites; has built a remote sensing (RS) cube satellite; has relations with US space agencies and commercial space industries, as well as with the ESA and the Latin American and Caribbean Space Agency (2025)

Deep Dive

73 of 122 metrics

Every stat we track, organized by category

🤝Society & Equality4 metricsBest: #3
Women in Parliament (%)
49.1%#7WB
Inequality (Gini)
45.8#6WB
Homicide Rate
11.4#3OECD
Safety at Night
50.5%#35OECD
🚀Education & Future6 metricsBest: #22
Education Spending (% GDP)
6.2%#22WB
Foreign Patents
566#43WB
Human Development Index
0.83#62OWID
R&D Spending (% GDP)
0.3%#67WB
Life Expectancy
81.0 years#26OECD
Domestic Patents
15#96WB
💰Wealth & Economy13 metricsBest: #24
High-Tech Exports (%)
22.9%#27WB
FDI Inflows (% GDP)
5.6%#39WB
Youth Unemployment Rate
23.0%#41
GDP Growth Rate
4.3%#57WB
Unemployment Rate
7.8%#55WB
GDP (Nominal)
95.35B#74WB
GDP Per Capita
$27.0K#77OWID
GDP Per Capita (PPP)
30.1K#79WB
Government Debt (% GDP)
48.9%#103WB
Long-Term Unemployment
0.8%#24OECD
Gender Pay Gap (%)
7.3%#29OECD
Employment Rate (%)
69.0%#37OECD
Inflation Rate
-0.4%#207WB
🌱Environment9 metricsBest: #25
Electricity Access (%)
100.0%#25WB
Forest Coverage (%)
60.4%#27WB
Protected Land (%)
26.5%#51WB
Renewable Energy (%)
34.2%#72WB
Irrigated Land
1.0K#90
Forest Area
30.8K#90WB
Carbon Emissions (Total)
7.91M#116
CO2 Per Capita
1.71#139OWID
Air Pollution (PM2.5)
14.308#136WB
🔧Infrastructure3 metricsBest: #38
Airports
132#38
Merchant Ships
11#158
Railway Length
278#123
🌍Land & Sea5 metricsBest: #45
Highest Elevation
3.8K#45
Lowest Elevation
0#70
Coastline Length
1.3K#74
Land Boundaries Length
661#133
Border Countries Count
2.00#120
❤️Health & Survival10 metricsBest: #46
Life Expectancy
80.8 years#51OWID
Life Expectancy
80.8 years#46WB
Obesity Rate
32.0%#51OWID
Doctors (per 1,000)
2.69#73WB
Suicide Rate
8.06#80WB
Health Spending (% GDP)
7.2%#85WB
Child Mortality
10.5#120WB
Infant Mortality
9.20#120WB
Hospital Beds (per 1,000)
1.20#120WB
Smoking Rate
8.9%#140WB
📡Technology3 metricsBest: #50
Mobile Subscriptions (%)
136#50WB
Internet Users (%)
85.0%#91WB
Broadband Access (%)
23#114WB
🍻Lifestyle5 metricsBest: #58
Beer Consumption
2.18#72OWID
Tourist Arrivals
1.15M#58WB
Air Passengers
1.97M#82WB
Alcohol Consumption
3.40#114OWID
Spirits Consumption
0.34#129OWID
👥Demographics12 metricsBest: #66
Urban Population (%)
79.3%#66WB
Elderly Population (%)
12.2%#80WB
Median Age
36.0 years#94
Population Density
99.991#103WB
Population
5.30M#123WB
Teen Birth Rate
26.251#113WB
Land Area
51.1K#127WB
Youth Population (%)
18.8%#133WB
Birth Rate
10.86#157WB
Death Rate
5.24#183WB
Dependency Ratio
44.979#179WB
Fertility Rate
1.45#193WB
Energy1 metricsBest: #103
Electricity Capacity
3.75M#103
🛡️Military & Defense2 metricsBest: #128
Active Military Personnel
7.5K#128
Military Spend (% GDP)
0.6%#152

Compare Costa Rica with...

Share a Fact

Share something surprising about Costa Rica!

Costa Rica
#46 in Life Expectancy

How many years a newborn can expect to live, based on current mortality rates.

Top 20% globally
80.8 years

Frequently Asked Questions about Costa Rica

What is the population of Costa Rica?

Costa Rica has a population of 5.30M, ranking #123 globally by population.

What continent is Costa Rica in?

Costa Rica is located in North America. It has an area of 51,100 km².

What is the life expectancy in Costa Rica?

Life expectancy in Costa Rica is 80.8 years, ranking #46 globally.

What is the GDP per capita of Costa Rica?

Costa Rica's GDP per capita (PPP) is 30.1K, ranking #79 globally.

What is Costa Rica known for in global statistics?

Costa Rica ranks particularly high in Life Expectancy (#46), Life Expectancy (#51), Human Development Index (#62).

What is Costa Rica's Human Development Index?

Costa Rica has an HDI of 0.833, ranking #62 globally. The HDI combines life expectancy, education, and income indicators.

How densely populated is Costa Rica?

Costa Rica has a population density of 100.0 people per km², ranking #103 globally.

Think you know Costa Rica?

Compare countries, guess statistics, and prove you know your stuff.