Costa Rica
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 yearsHow many years a newborn can expect to live, based on current mortality rates.
Life Expectancy
80.8 yearsHow many years a newborn can expect to live, based on current mortality rates.
Human Development Index
0.83The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.
GDP Per Capita
$27.0KGDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.
GDP Per Capita (PPP)
30.1KGDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.
Internet Users (%)
85.0%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%The percentage of parliament seats held by women.
🤝Inequality (Gini)
45.8A measure of income inequality where 0 means everyone earns the same and 100 means one person has everything.
🌱Electricity Access (%)
100.0%The percentage of the population with access to electricity.
🚀Education Spending (% GDP)
6.2%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 2023Ranks #7 globally in women in parliament (%)
Women in Parliament (%): 49.1%
The percentage of parliament seats held by women.
World Bank 2023Only 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 2024Surprised? See how you stack up.
Play NowHow Costa Rica Compares
Country vs continent vs world averages
GDP per Capita
GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.
World Bank 2023Life Expectancy
Above avgHow many years a newborn can expect to live, based on current mortality rates.
World Bank 2023Human Development Index
Above avgThe Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.
Our World in Data 2023Internet Users
Above avgThe percentage of people who have used the internet in the last 3 months.
World Bank 2023Think you can guess which countries rank higher?
Test Your IntuitionAbout 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.
- 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
- 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 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)
- 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)
- 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 metricsEvery stat we track, organized by category
Related Countries
Neighboring Countries
Countries with Similar GDP
Compare Costa Rica with...
Share a Fact
Share something surprising about Costa Rica!
How many years a newborn can expect to live, based on current mortality rates.
Frequently Asked Questions about Costa Rica
Costa Rica has a population of 5.30M, ranking #123 globally by population.
Costa Rica is located in North America. It has an area of 51,100 km².
Life expectancy in Costa Rica is 80.8 years, ranking #46 globally.
Costa Rica's GDP per capita (PPP) is 30.1K, ranking #79 globally.
Costa Rica ranks particularly high in Life Expectancy (#46), Life Expectancy (#51), Human Development Index (#62).
Costa Rica has an HDI of 0.833, ranking #62 globally. The HDI combines life expectancy, education, and income indicators.
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.