Your country comes first in the rankings, in Compare and on the home page, and sets the units you start with.

Settings Sources Changelog Feedback
Wikipedia ↗
Flag of Costa Rica

Costa Rica

Republic of Costa Rica

Americas Central America Capital: San José UN member
Compare with… Then and now
Population 5.2 million #124 of 193 · in Americas #20 of 35 · 2025
Area 19,730 sq mi #126 of 194 · in Americas #21 of 35
GDP per person US$19,970 #56 of 191 · in Americas #9 of 35 · 2025
Life expectancy 81 years #38 of 193 · in Americas #3 of 35 · 2024

Did you know?

  • Bosnia and Herzegovina is about the same size as Costa Rica: 19,772 sq mi.
  • Russia is 335 times the size of Costa Rica.
  • Since 1960, life expectancy in Costa Rica has gone up by 18 years.
  • About 1 in 1,594 people on Earth lives in Costa Rica.

Where in the world

Costa Rica Neighbours

True size

Costa Rica in the world

Over time

Costa Rica and its neighbours

If Costa Rica were 100 people

80 would live in a city. Living in cities · 2025

Age groups

Children (0–14)Working age (15–64)Aged 65 and over
Costa Rica
18%69%13%
World
24%65%10%

The people of Costa Rica

Men 100+: 132Women 100+: 658100+Men 95–99: 1,214Women 95–99: 3,634Men 90–94: 5,700Women 90–94: 11,65390–94Men 85–89: 16,346Women 85–89: 25,090Men 80–84: 32,831Women 80–84: 42,72380–84Men 75–79: 55,185Women 75–79: 65,935Men 70–74: 78,524Women 70–74: 90,84270–74Men 65–69: 106,638Women 65–69: 119,998Men 60–64: 132,117Women 60–64: 145,49560–64Men 55–59: 139,254Women 55–59: 152,694Men 50–54: 145,180Women 50–54: 157,17350–54Men 45–49: 166,486Women 45–49: 174,121Men 40–44: 192,975Women 40–44: 194,32740–44Men 35–39: 209,264Women 35–39: 205,836Men 30–34: 206,988Women 30–34: 201,69630–34Men 25–29: 201,981Women 25–29: 195,606Men 20–24: 188,625Women 20–24: 181,28420–24Men 15–19: 184,469Women 15–19: 176,845Men 10–14: 180,132Women 10–14: 172,53710–14Men 5–9: 168,132Women 5–9: 161,256Men 0–4: 133,495Women 0–4: 127,8790–4← men 49.4%women 50.6% →
Median age35.2years · 2025 · in 2050: 47
Life expectancy at birth81.2years · 2025 · in 2050: 85.3
Children per woman1.31children · 2025 · in 2050: 1.38
People in 2100 (projection)3.8 millionThe most people: 5.4 million in 2045

The population of Costa Rica, 1950–2100

02.7 million5.4 million 1950200020502100 projection after 2023

UN World Population Prospects 2024 (CC BY 3.0 IGO): estimates up to 2023, after that the medium projection. Move the slider to see every 5 years from 1950 to 2100. The US Census Bureau (CIA World Factbook) estimates a median age of 36 and 1.45 children per woman.

Religions in Costa Rica

estimate of 2021
Christian · 70%No religion · 27%Other or not stated · 3.1%
As the source gives them
  • Roman Catholic 48%
  • Evangelical and Pentecostal 20%
  • Jehovah's Witness 1.4%
  • other Protestant 1.2%
  • other 3.1%
  • none 27%

CIA World Factbook (public domain), from censuses and surveys; how people are asked differs per country, and the year is the year of the estimate.

Costa Rica in international organisations

16 of the 39 on this site

The UN and its agencies

FAO Food and Agriculture OrganizationIAEA International Atomic Energy AgencyICAO International Civil Aviation OrganizationILO International Labour OrganizationIMF International Monetary FundITU International Telecommunication UnionUN United NationsUNESCO United Nations Educational, Scientific and Cultural OrganizationUPU Universal Postal UnionWorld Bank World Bank (International Bank for Reconstruction and Development)WHO World Health Organization

Trade and the economy

OECD Organisation for Economic Co-operation and DevelopmentWTO World Trade Organization

Security

ICC International Criminal CourtInterpol International Criminal Police OrganizationOPCW Organisation for the Prohibition of Chemical Weapons

The economy of Costa Rica

GDPUS$103 billion 2025 · #73 of 191
GDP in purchasing power (PPP)US$174 billion 2025 · #83 of 186
GDP per personUS$19,970 2025 · #56 of 191 · world: US$14,406
GDP per person in purchasing power (PPP)US$33,815 2025 · #65 of 186 · world: US$25,704

Prices in Costa Rica are lower than in the United States: the same money buys 1.7 times as much there, which is what GDP in purchasing power (PPP) counts.

Economic growth per year

-4%0%8%2005: +4%2006: +7.3%2007: +8.2%2008: +4.7%2009: -0.9%2010: +5.4%2011: +4.4%2012: +4.9%2013: +2.5%2014: +3.5%2015: +3.7%2016: +4.2%2017: +4.2%2018: +2.9%2019: +2.7%2020: -4.1%2021: +8.2%2022: +5.5%2023: +4.8%2024: +4.1%2025: +4.6%20052010201520202025

Inflation per year

-0%0%14%2005: +14%2006: +11%2007: +9.4%2008: +13%2009: +7.8%2010: +5.7%2011: +4.9%2012: +4.5%2013: +5.2%2014: +4.5%2015: +0.8%2016: -0%2017: +1.6%2018: +2.2%2019: +2.1%2020: +0.7%2021: +1.7%2022: +8.3%2023: +0.5%2024: -0.4%2025: -0.1%20052010201520202025

Costa Rica in colour, the world in grey; the last 20 years.

What the economy earns its money with (2025)

20%69%
Agriculture (% of GDP)Industry (% of GDP)Services (% of GDP)

Shares of GDP; with taxes and subsidies they do not always add up to 100%.

World Bank, World Development Indicators (CC BY 4.0); GDP in purchasing power (PPP) in international dollars, which correct for the prices in each country. Each figure with its year: not every country reports every year.

Living standards

Internet users 87.17% World: 73.60%
Access to electricity 99.80% World: 91.93%
Renewable energy 34.20% World: 19.74%
Forest 59.06% World: 31.10%
CapitalSan José
Official languagesSpanish
CurrencyCosta Rican colón (₡)
Calling code · web+506 · .cr
PeopleCosta Rican
CoastHas a coastline
Neighbours (2)Flag of NicaraguaFlag of Panama

Cities in Costa Rica

Highest point, longest rivers and biggest lake in Costa Rica

Wikidata, river lengths checked against Wikipedia

Mountains, rivers and more of Costa Rica

Every place of the geography pages that Wikidata puts in this country; a river or a mountain range on a border counts for both sides. The cities on a river: within 10 km of its course.

Electricity in Costa Rica (2025)

All about its electricity →

100% clean, 0.8% from the sun, 24.6 g CO₂/kWh.

Other fossilHydroWindSolarBioenergyOther renewables

Ember (CC BY 4.0)

Languages of Costa Rica

Glottolog

Official languages: Spanish

Official languages: the CIA World Factbook and Wikidata; * = only one of the two calls it official. The shares: the Factbook, from censuses, as a first or home language.

Every language spoken there (Glottolog)

14 languages are spoken in Costa Rica: 9 of them are endangered and 2 are extinct. 8 of them are languages of the Americas: the languages of its first peoples.

What Costa Rica grows most

FAOSTAT

Animals of Costa Rica

GBIF

The wild animals of the Animals theme seen most here (GBIF sightings by people and camera traps, CC0/CC BY records).

Volcanoes and earthquakes in Costa Rica

NOAA

6 volcanoes on this site, the most recently active first.

The strongest earthquakes since 1900 (7)

  1. 1Costa Rica-nicaragua · 1950M 7.7
  2. 2Costa Rica: Nicoya · 2012 · 2 deathsM 7.6
  3. 3Costa Rica: Limon, Pandora; Panama · 1991 · 90 deathsM 7.6
  4. 4Costa Rica-panama · 1941 · 6 deathsM 7.6
  5. 5Costa Rica: Se, Panama: W · 1983 · 6 deathsM 7.5

Airports in Costa Rica

OurAirports

9 airports with scheduled flights, 2 of them large.

  1. 1Daniel Oduber Quirós International Airport (LIR) · Liberialarge
  2. 2Juan Santamaría International Airport (SJO) · San José (Alajuela)large
  3. 3Golfito Airport (GLF) · Golfito
  4. 4La Fortuna Arenal Airport (FON) · La Fortuna
  5. 5Limón International Airport (LIO) · Limón
  6. 6Nosara Airport (NOB) · Nicoya

Highest: Tobías Bolaños International Airport (3,287 ft). Longest runway: Juan Santamaría International Airport (3,012 m). All airports of the world

Climate change in Costa Rica

Climate of this country →
1960: -0.1 °F1961: -0.1 °F1962: -0.3 °F1963: -0.1 °F1964: -0.7 °F1965: -0.2 °F1966: +0.3 °F1969: +0.1 °F1970: -0.6 °F1971: -1 °F1972: +0.2 °F1973: +0.5 °F1974: -0.5 °F1975: -0.5 °F1976: 0 °F1977: +0.3 °F1978: +0.3 °F1979: +0.4 °F1980: +0.6 °F1981: +0.1 °F1982: +0.1 °F1983: +1 °F1984: -0.4 °F1985: +0 °F1986: +0.2 °F1987: +1.1 °F1988: +0.4 °F1989: -0.1 °F1990: +0.6 °F1991: +0.5 °F1992: +0.3 °F1993: +0.8 °F1994: +0.5 °F1995: +1 °F1996: +0.1 °F1997: +1.1 °F1998: +1.6 °F1999: -0.3 °F2000: +0.4 °F2001: +1.3 °F2002: +1 °F2003: +1.9 °F2004: +0.8 °F2005: +0.8 °F2006: +1.2 °F2007: +1.2 °F2008: +0.8 °F2009: +1.5 °F2010: +1.4 °F2011: +1.1 °F2012: +1 °F2013: +1.5 °F2014: +1.4 °F2015: +2.2 °F2016: +1.9 °F2017: +1.6 °F2018: +2 °F2019: +2.6 °F2020: +2.6 °F2021: +1.4 °F2022: +1.2 °F2023: +3 °F2024: +3.1 °F2025: +3.1 °F

Native plants of Costa Rica (22)

10 more in Plants

All the data

FactValueYearRankSource
Area 19,730 sq mi – #126 of 194 mledoze/countries
Population 5,152,950 2025 #124 of 193 World Bank, World Development Indicators · SP.POP.TOTL
Population density 263 per sq mi 2024 #87 of 193 World Bank, World Development Indicators · EN.POP.DNST
GDP US$103 billion 2025 #73 of 191 World Bank, World Development Indicators · NY.GDP.MKTP.CD
GDP per person US$19,970 2025 #56 of 191 World Bank, World Development Indicators · NY.GDP.PCAP.CD
Life expectancy 81 years 2024 #38 of 193 World Bank, World Development Indicators · SP.DYN.LE00.IN
Births per woman 1.3 2024 #169 of 193 World Bank, World Development Indicators · SP.DYN.TFRT.IN
Infant mortality 9.1 per 1,000 2024 #116 of 192 World Bank, World Development Indicators · SP.DYN.IMRT.IN
Living in cities 79.73% 2025 #43 of 193 World Bank, World Development Indicators · SP.URB.TOTL.IN.ZS
Children (0–14) 18.31% 2025 – World Bank, World Development Indicators · SP.POP.0014.TO.ZS
Working age (15–64) 68.94% 2025 – World Bank, World Development Indicators · SP.POP.1564.TO.ZS
Aged 65 and over 12.75% 2025 #63 of 193 World Bank, World Development Indicators · SP.POP.65UP.TO.ZS
Internet users 87.17% 2024 #72 of 192 World Bank, World Development Indicators · IT.NET.USER.ZS
Access to electricity 99.80% 2024 #104 of 193 World Bank, World Development Indicators · EG.ELC.ACCS.ZS
Renewable energy 34.20% 2021 #72 of 191 World Bank, World Development Indicators · EG.FEC.RNEW.ZS
Forest 59.06% 2024 #30 of 193 World Bank, World Development Indicators · AG.LND.FRST.ZS
CO₂ per person 2 t 2024 #110 of 186 World Bank, World Development Indicators · EN.GHG.CO2.PC.CE.AR5
Land borders 2 – #112 of 194 mledoze/countries
Official languages 1 – – mledoze/countries
Median age 35.7 years 2026 #68 of 194 UN World Population Prospects 2024
Births per 1,000 people 9.7 per 1,000 2026 #146 of 194 UN World Population Prospects 2024
Deaths per 1,000 people 5.8 per 1,000 2026 #152 of 194 UN World Population Prospects 2024
Net migration per 1,000 people 0.2 per 1,000 2026 #73 of 194 UN World Population Prospects 2024
Population in 2050 (projection) 5,354,150 2050 #125 of 194 UN World Population Prospects 2024
Population in 2100 (projection) 3,776,474 2100 #132 of 194 UN World Population Prospects 2024
Population change to 2050 +3.9% 2050 #133 of 194 UN World Population Prospects 2024
Christian (share) 69.90% 2021 #83 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Muslim (share) 0.00% 2021 #114 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Hindu (share) 0.00% 2021 #31 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Buddhist (share) 0.00% 2021 #31 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Jewish (share) 0.00% 2021 #14 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Folk religions (share) 0.00% 2021 #36 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
No religion (share) 27.00% 2021 #20 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
GDP in purchasing power (PPP) US$174 billion 2025 #83 of 186 World Bank, World Development Indicators · NY.GDP.MKTP.PP.CD
GDP per person in purchasing power (PPP) US$33,815 2025 #65 of 186 World Bank, World Development Indicators · NY.GDP.PCAP.PP.CD
Economic growth +4.6% 2025 #54 of 190 World Bank, World Development Indicators · NY.GDP.MKTP.KD.ZG
Inflation -0.1% 2025 #170 of 182 World Bank, World Development Indicators · FP.CPI.TOTL.ZG
Unemployment 6.84% 2025 #60 of 178 World Bank, World Development Indicators · SL.UEM.TOTL.ZS
Exports (% of GDP) 38.85% 2025 #77 of 171 World Bank, World Development Indicators · NE.EXP.GNFS.ZS
Imports (% of GDP) 32.64% 2025 #113 of 171 World Bank, World Development Indicators · NE.IMP.GNFS.ZS
Agriculture (% of GDP) 3.37% 2025 #123 of 187 World Bank, World Development Indicators · NV.AGR.TOTL.ZS
Industry (% of GDP) 19.88% 2025 #127 of 188 World Bank, World Development Indicators · NV.IND.TOTL.ZS
Services (% of GDP) 69.22% 2025 #27 of 187 World Bank, World Development Indicators · NV.SRV.TOTL.ZS
Inequality (Gini index) 45.5 2025 #15 of 153 World Bank, World Development Indicators · SI.POV.GINI
Extreme poverty (under $3 a day) 0.80% 2025 #96 of 153 World Bank, World Development Indicators · SI.POV.DDAY
Military spending (% of GDP) 0.00% 2025 #158 of 160 World Bank, World Development Indicators · MS.MIL.XPND.GD.ZS

Smart Infographics · smartinfographics.com/en/countries/costa-rica · CC BY 4.0 · data and photos: the sources and licences named above