CRICapital: San José

Costa Rica

Latin America & Caribbean · Population 5.2 million (2025) · World Bank WDI · UN WPP 2024

Costa Rica is a high-income country in Latin America & Caribbean with about 5.2 million people. Its capital is San José.

What stands out

GDP per capita, PPP$-20,862
$28,443 (2025)

Income-group medianWorld

GDP per capita, PPP ($28,443, 2025) is below the median for High income countries ($49,305, 2025).

High income median: $49,305 (2025)
GDP growth+2.4%
4.6% (2025)

Income-group medianWorld

GDP growth (4.6%, 2025) is above the median for High income countries (2.2%, 2025).

High income median: 2.2% (2025)
Share aged 65 and over-5.1%
12.8% (2025)

Income-group medianWorld

Share aged 65 and over (12.8%, 2025) is below the median for High income countries (17.8%, 2025).

High income median: 17.8% (2025)

About Costa RicaAbout this place

Costa Rica has a population of 5.2 million (2025), ranking 127th out of 218 countries by population. It covers 51,100 square kilometres. Population density is 101.5 people per square kilometre of land area (2024). Its capital is San José. It is a presidential republic. The population grew from 4,555,962 in 2010 to 5,152,950 in 2025.

18.3% of the population is under 15 (2025). 12.8% is 65 or older (2025), above the Latin America & Caribbean median of 10.8% (2025). The fertility rate is 1.32 births per woman (2024), below the Latin America & Caribbean median of 1.62 births per woman (2024). Life expectancy is 79.8 years (2023). 79.7% of the population lives in urban areas (2025), above the Latin America & Caribbean median of 72.0% (2025).

GDP is $102.90 billion (2025). GDP per capita (PPP) is $28,443 (2025), below the High income median of $49,305 (2025). The economy grew 4.6% (2025), above the Latin America & Caribbean median of 3.4% (2025). Inflation was -0.1% (2025). Unemployment was 6.8% of the labor force (2025), above the High income median of 5.1% (2025).

Secondary enrollment is 121.8% (2024, gross), above the Latin America & Caribbean median of 92.8% (2024). The Human Development Index is 0.833 (2023). Measles immunization coverage is 98% of children ages 12-23 months (2025).

Headline indicators

Population
5.2 million (2025)
Costa Rica5.2 million (2025)
Latin America & Caribbean666.6 million (2025)
World8.22 billion (2025)
Rank127th out of 218 countries (2025)
Life expectancy
79.8 (2023)
95% uncertainty interval: 78.7–80.9

Region medianWorld

Costa Rica79.8 (2023)
Region median75.0 (2023)
Income-group median81.0 (2023)
World73.5 (2024)
Rank36th out of 185 countries (2023)
Infant mortality
9.1 (2024)

Region medianWorld

Costa Rica9.1 (2024)
Region median12.0 (2024)
Income-group median3.6 (2024)
World27.7 (2024)
Rank118th out of 196 countries (2024)
GDP
$102.90 billion (2025)
Costa Rica$102.90 billion (2025)
Region median$27.10 billion (2025)
Income-group median$98.18 billion (2025)
World$118.35 trillion (2025)
Rank75th out of 211 countries (2025)
GDP per capita, PPP
$28,443 (2025)

Region medianWorld

Costa Rica$28,443 (2025)
Region median$23,315 (2025)
Income-group median$49,305 (2025)
World$21,914 (2025)
Rank78th out of 200 countries (2025)
Unemployment Modeled estimate
6.8% (2025)

Region medianWorld

Costa Rica6.8% (2025)
Region median6.0% (2025)
Income-group median5.1% (2025)
World4.8% (2025)
Rank64th out of 188 countries (2025)
Internet users
87.2% (2024)

Region medianWorld

Costa Rica87.2% (2024)
Region median79.9% (2024)
Income-group median93.5% (2024)
World73.6% (2025)
Rank75th out of 188 countries (2025)
Human Development Index Modeled estimate
0.833 (2023)

Region medianWorld

Costa Rica0.833 (2023)
Region median0.777 (2023)
Income-group median0.913 (2023)
World0.756 (2023)
Rank62nd out of 193 countries (2023)

Where Costa Rica sits in Latin America & Caribbean

Costa Rica ranks 18th of 42 for Population (1 = highest)

Every country in the region on the same scale24,941212.8 million

Ranks compare the published figures. The strip shows point values; where a source publishes an uncertainty interval for a figure, it is shown with the figure.

How Costa Rica has changed

Internet users

Internet users rose from 5.8% in 2000 to 87.2% in 2024.

Women in parliament

Women in parliament rose from 19.3% in 2000 to 49.1% in 2025.

Population growth

Population growth fell from 1.9% in 2000 to 0.4% in 2025.

Share aged under 15

Share aged under 15 fell from 31.1% in 2000 to 18.3% in 2025.

Share aged 65 and over

Share aged 65 and over rose from 5.6% in 2000 to 12.8% in 2025.

Fertility rate

Fertility rate fell from 2.41 births per woman in 2000 to 1.32 in 2024.

A change is shown only when it is large enough to describe: at least 10 percent, or a quarter of the spread across countries, whichever is larger. The full history of every series is in the data download.

Data notes

No recent data for:

  • Government debt: latest figure is from 2001 (39.3%), outside the current window.
  • Adult literacy: latest figure is from 2011 (97.4%), outside the current window.

Modeled estimates (the source models the figure rather than counting it directly): Healthy life expectancy, Maternal mortality, Unemployment, Women's labor-force participation, Human Development Index.

The poverty figure uses the international line of $3.00 a day at 2021 PPP, the World Bank's current line. National poverty lines differ and are not shown.

About these numbers

  • Every figure carries its year. The figure shown is the most recent year the source publishes for this country, within a set limit: five years for most indicators, ten for survey-based ones. A figure outside its limit is not shown as current; the page says so and gives the latest year instead.
  • Comparisons are descriptive. Each figure is shown beside its regional median, its income-group median, and the world figure, each with its year. Most international series publish no margin of error, so no comparison is presented as proven.
  • Regional and income-group figures are medians computed from the member countries. The world figure is the World Bank's published world aggregate where one exists.
  • Ranks read "55th out of 218 countries", with the year those figures cover. Ranks carry no range, because the sources publish no uncertainty for these figures.
  • Where the source models a figure rather than counting it directly, the figure is tagged "Modeled estimate".

More findings

Life expectancyHighest fifth
79.8 (2023)

Region medianWorld

Life expectancy (79.8, 2023) is among the highest fifth in Latin America & Caribbean.

Ranks 36th out of 185 countries (2023), highest value first.
InflationLowest fifth
-0.1% (2025)

Inflation (-0.1%, 2025) is among the lowest fifth in Latin America & Caribbean.

Ranks 169th out of 181 countries (2025), highest value first.

People

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Populationpeople5.2 million (2025)3.0 million (2025)2.9 million (2025)8.22 billion (2025)127th of 218
Population growth% per year0.4% (2025)0.5% (2025)0.4% (2025)0.9% (2025)143rd of 217
Share aged under 15% of population18.3% (2025)19.2% (2025)15.9% (2025)24.4% (2025)136th of 218
Share aged 65 and over% of population12.8% (2025)10.8% (2025)17.8% (2025)10.4% (2025)78th of 218
Urban population% of population79.7% (2025)72.0% (2025)81.3% (2025)57.8% (2025)59th of 217
Population densitypeople per sq. km of land area101.5 (2024)103.6 (2024)147.0 (2024)62.1 (2023)104th of 216
Fertility ratebirths per woman1.32 (2024)1.62 (2024)1.45 (2024)2.19 (2024)189th of 218

Population: age structure and projections

Age and sex, 2023

UN estimates for 2023, with the outline of the projected 2050 population (UN medium projection) behind them.

100+95-9990-9485-8980-8475-7970-7465-6960-6455-5950-5445-4940-4435-3930-3425-2920-2415-1910-145-90-4MaleFemale
MaleFemale2050 outline (UN medium projection)

Population projection to 2100

The UN's medium projection, with its 80% and 95% ranges. Estimates run to 2023; from 2024 the figures are projections, and the ranges widen as the future gets less certain.

2.2 million4.0 million5.9 million2024204420642084
UN medium projection80% range95% range
YearProjected population80% range95% range
20505.3 million5.0 million to 5.7 million4.8 million to 5.8 million
21003.8 million2.7 million to 5.0 million2.2 million to 5.7 million

Source: United Nations, Department of Economic and Social Affairs, Population Division (2024), World Population Prospects 2024 (CC BY 3.0 IGO).

Health

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Life expectancyyears79.8 (2023)
95% uncertainty interval: 78.7–80.9
75.0 (2023)81.0 (2023)73.5 (2024)36th of 185
Healthy life expectancy Modeled estimateyears67.1 (2023)
95% uncertainty interval: 62.8–71.0
63.5 (2023)68.8 (2023)47th of 185
Infant mortalityper 1,000 live births9.1 (2024)12.0 (2024)3.6 (2024)27.7 (2024)118th of 196
Under-5 mortalityper 1,000 live births10.4 (2024)13.1 (2024)4.7 (2024)37.4 (2024)118th of 196
Maternal mortality Modeled estimateper 100,000 live births24 (2023)54 (2023)8 (2023)197 (2023)120th of 194
Health spending% of GDP6.9% (2023)6.8% (2023)8.0% (2023)10.1% (2023)87th of 193
Measles immunization% of children ages 12-23 months98% (2025)90% (2025)94% (2025)84% (2024)18th of 193
DTP3 immunization% of children ages 12-23 months96% (2025)87% (2025)95% (2025)43rd of 193

Economy

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
GDPcurrent US$$102.90 billion (2025)$27.10 billion (2025)$98.18 billion (2025)$118.35 trillion (2025)75th of 211
GDP per capita, PPPconstant 2021 international $$28,443 (2025)$23,315 (2025)$49,305 (2025)$21,914 (2025)78th of 200
GDP growth% per year4.6% (2025)3.4% (2025)2.2% (2025)2.9% (2025)61st of 211
Inflation% per year-0.1% (2025)2.5% (2025)2.3% (2025)3.0% (2025)169th of 181
Unemployment Modeled estimate% of labor force6.8% (2025)6.0% (2025)5.1% (2025)4.8% (2025)64th of 188
Trade% of GDP71.5% (2025)76.5% (2025)101.0% (2025)68.5% (2025)111th of 184
Remittances received% of GDP0.8% (2025)3.2% (2025)0.7% (2025)0.8% (2025)125th of 178
Government debt% of GDPNo recent data (latest 2001: 39.3%)

Poverty and inequality

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Poverty at $3.00 a day% of population0.8% (2025)1.9% (2024)0.4% (2023)10.1% (2024)94th of 151
Gini indexindex (0 to 100)45.5 (2025)42.8 (2024)32.2 (2023)14th of 151

Education

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Adult literacy% of people ages 15 and aboveNo recent data (latest 2011: 97.4%)
Secondary enrollment% gross121.8% (2024)92.8% (2024)103.4% (2024)77.3% (2024)14th of 176
Education spending% of GDP5.3% (2023)3.9% (2023)4.3% (2022)3.6% (2023)46th of 184

Gender

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Women's labor-force participation Modeled estimate% of female population ages 15+46.0% (2025)52.5% (2025)55.1% (2025)48.9% (2025)136th of 187
Women in parliament% of seats49.1% (2025)31.3% (2025)31.3% (2025)27.2% (2025)8th of 190

Infrastructure

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Access to electricity% of population99.8% (2024)99.8% (2024)100.0% (2024)91.9% (2024)126th of 215
Internet users% of population87.2% (2024)79.9% (2024)93.5% (2024)73.6% (2025)75th of 188
Safely managed drinking water% of population80.5% (2024)68.3% (2024)98.7% (2024)73.7% (2024)76th of 150

Environment

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
CO2 emissions per capitat CO2e per capita1.63 (2024)2.52 (2024)5.15 (2024)4.69 (2024)122nd of 203
Forest area% of land area59.1% (2024)49.7% (2024)33.0% (2024)31.1% (2023)32nd of 214
Renewable energy share% of total final energy consumption34.2% (2021)12.8% (2021)11.3% (2021)19.7% (2020)72nd of 212

Development

IndicatorCosta RicaRegion medianIncome-group medianWorldRank
Human Development Index Modeled estimateindex (0 to 1)0.833 (2023)0.777 (2023)0.913 (2023)0.756 (2023)62nd of 193

Similar countries elsewhere

The closest matches on income per person, population, urban share, life expectancy, and the share aged 65 and over.

CountryPopulationGDP per capita, PPPLife expectancy
Costa Rica this country5.2 million (2025)$28,443 (2025)79.8 (2023)
Chile19.9 million (2025)$30,863 (2025)81.1 (2023)
Panama4.6 million (2025)$37,516 (2025)79.3 (2023)
Armenia3.1 million (2025)$21,153 (2025)77.0 (2023)
New Zealand5.3 million (2025)$48,233 (2025)80.7 (2023)
Israel10.1 million (2025)$48,197 (2025)82.6 (2023)

Explore this data

The World development practice panel carries every country's full indicator history in one file, with a codebook, ready to load into Analysis Studio.

Download the practice panel (CSV) Codebook Open a Studio

Download this country's data

Every indicator for Costa Rica: the full published history of each series, with its source organization and unit.

Download CSV

Sources and licenses

  • World Bank, World Development Indicators. The World Bank: World Development Indicators: [source organization named in the series metadata] License: CC BY 4.0 (World Bank Terms of Use for Datasets), unless a series is specifically labeled otherwise in its metadata
  • UN World Population Prospects 2024 (UN DESA, Population Division). United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. License: CC BY 3.0 IGO
  • UNDP Human Development Report 2025. UNDP (2025). Human Development Report 2025. Credit with a link to the license; changes indicated. Only the current edition's time series is published (each edition recalculates the whole series). License: CC BY 3.0 IGO
  • CIA World Factbook, final edition (January 2026). CIA World Factbook, final edition (January 2026). Facts are a frozen snapshot and will not update; every use is vintage-labeled on the page. License: Public domain (work of the U.S. government). The Factbook was discontinued on 2026-02-04; the final edition is dated January 2026.
  • Natural Earth. Made with Natural Earth (crediting optional under its terms; given anyway). Boundaries are illustrative and imply no position. License: Public domain
  • WHO Global Health Observatory. WHO, Life expectancy at birth (WHO life tables, Global Health Estimates 2000-2023), 2023, accessed 2026-11-16; underlying data provided by Costa Rica. WHO, Healthy life expectancy (HALE) at birth (Global Health Estimates 2000-2023), 2023, accessed 2026-11-16; underlying data provided by Costa Rica. WHO, Measles-containing-vaccine first-dose (MCV1) immunization coverage (WHO/UNICEF Estimates of National Immunization Coverage), 2025, accessed 2026-11-16; underlying data provided by Costa Rica. WHO, Diphtheria tetanus toxoid and pertussis (DTP3) immunization coverage (WHO/UNICEF Estimates of National Immunization Coverage), 2025, accessed 2026-11-16; underlying data provided by Costa Rica. License: WHO data Terms and Conditions (grant, request ID 202611675) — royalty-free use for public health purposes

The organization behind each indicator series is named in this page's data download and in the codebook. Full standards are on the methods page.

Capital, area, currency, languages, and government are from the CIA World Factbook final edition (January 2026), a frozen snapshot that will not update.

Country Profiles · Methods, sources, and licenses · Maineblock Data

Country Profiles is part of Maineblock's Data hub. Figures are published as reported by the sources named on each page, with the year of every figure shown.