Macroscope
All countries

Costa Rica

Latin America and the Caribbean

All indicators of the Macroscope base for Costa Rica, with sources. Below: what past UN and IMF releases projected and what actually happened.

Population
5.11M
persons, 1 July, 2023
Births
45.4k
births per year, 2025
Total fertility rate
1.33
children per woman, 2023
Internet users
87.2
% of population, 2024
Mobile cellular subscriptions
136
per 100 people, 2024
GDP per capita, PPP
28,443
constant 2021 international $, 2025
Urban population
79.7
% of population, 2025

What the data shows

Computed with the same code as the observations under the main chart and in the API (get_insights). Moving together in time does not prove a cause.

How the indicators changed

  • Fertility (TFR): 6.32 in 1950 → 1.33 in 2023 (−79%). Peak: 6.73 in 1959; the latest value is 80% lower. Thresholds: below 2.1 since 2003, below 1.5 since 2020. The trend broke around 1962 and 1972: +0.03 → −0.27 → −0.06 a year.
  • Births: 41.6k in 1950 → 45.4k in 2025 (+9%). Peak: 84.2k in 1987; the latest value is 46% lower. The trend broke around 1990 and 2017: +0.94k → −0.55k → −3.02k a year.
  • Population: 927k in 1950 → 5.11M in 2023 (×5.5).
  • Internet: 0% in 1990 → 87.2% in 2024 (+87 pp). Thresholds: above 10% since 2002, above 50% since 2014. Fastest growth in 2014–2019: 53% → 81.2%.
  • Urban share: 34.1% in 1960 → 79.7% in 2025 (+46 pp). Thresholds: above 50% since 1992, above 75% since 2015. The trend broke around 1990 and 2012: +0.47 → +1.2 → +0.5 a year.
  • GDP per person (PPP): 10,980 PPP dollars in 1990 → 28,443 PPP dollars in 2025 (×2.6).
  • GDP growth: on average 2.2% in the 1980s, 4.9% in the 1990s, 4.3% in the 2000s, 3.8% in the 2010s, 3.8% in the 2020s. Lowest: −7.3% in 1982; highest: 9.2% in 1992.
  • Inflation: on average 27.1% in the 1980s, 16.0% in the 1990s, 10.9% in the 2000s, 3.2% in the 2010s, 1.8% in the 2020s. Lowest: −0.4% in 2024; highest: 90.3% in 1982.

What changed at the same time

  • The fastest decline of "Fertility (TFR)" was in 1963–1973: 6.39 → 3.99. Over the same years: births 63.3k → 59.8k; population 1.48M → 1.99M; urban share 34.5% → 40.7%; no data for the others in those years.
  • Over the last 10 years (2013–2023): fertility (TFR) 1.78 → 1.33; births 69.7k → 52k; population 4.72M → 5.11M; internet 46% → 85.4%; urban share 73.9% → 78.9%; GDP per person (PPP) 20,242 PPP dollars → 26,379 PPP dollars; GDP growth 2.5% → 4.8%; inflation 5.2% → 0.5%.

How the indicators relate

  • Fertility (TFR) and internet (1990–2023, 33 years): levels are strongly related, in opposite directions (r = −0.91); year-to-year changes show no reliable link (r = 0.03). This looks like a shared trend: both change over time, but not in step from year to year.
  • Fertility (TFR) and urban share (1960–2023, 64 years): levels are strongly related, in opposite directions (r = −0.90); year-to-year changes show no reliable link (r = −0.19). This looks like a shared trend: both change over time, but not in step from year to year.
  • Fertility (TFR) and GDP per person (PPP) (1990–2023, 34 years): levels are strongly related, in opposite directions (r = −0.94); year-to-year changes show no reliable link (r = 0.28). This looks like a shared trend: both change over time, but not in step from year to year.

Forecasts vs actual

  • Fertility (TFR): past UN projections. The outcome was below the projection in 11 of 11 revisions (1998–2022) and above in none; median gap −9.5%.
  • The UN 1998 projection did not expect today's level (1.33, 2023) before its horizon ended (2047).
  • The UN 2000 projection did not expect today's level (1.33, 2023) before its horizon ended (2047).
  • Fertility (TFR): UN 2024 projection (medium): 2050 — 1.38 (+4% vs 2023), 2100 — 1.49 (+12% vs 2023); low variant for 2100: 0.99.
  • Births: past UN projections. The outcome was below the projection in 12 of 12 revisions (1998–2022) and above in none; median gap −30%.
  • The UN 2010 projection did not expect today's level (45.4k, 2025) before its horizon ended (2097).
  • The UN 2022 projection expected today's level (45.4k, 2025) only around 2064: reality is 39 years ahead of it.
  • National statistics for 2025: 45.4k, 10% below the UN 2024 medium variant (50.6k).
  • Births: UN 2024 projection (medium): 2050 — 40.9k (−10% vs 2025), 2100 — 24.3k (−46% vs 2025); low variant for 2100: 7.28k.
  • Population: past UN projections. The outcome was below the projection in 12 of 12 revisions (1998–2022) and above in none; median gap −6%.
  • The UN 1998 projection expected this level (5.11M) already around 2013: reality is 10 years behind it.
  • The UN 2017 projection expected this level (5.11M) already around 2021: reality is 2 years behind it.
  • Population: UN 2024 projection (medium): 2050 — 5.35M (+5% vs 2023), 2100 — 3.78M (−26% vs 2023); low variant for 2100: 2.52M.
  • GDP growth: IMF next-year forecasts (36 editions, 2007–2024). On average the outcome was 0 pp below the forecast; below it in 50% of cases; typical error ±1.8 pp. The biggest miss was for 2020: IMF, April 2019 expected 2.8%, the outcome was −4.1%.
  • GDP growth: latest IMF forecast (IMF, April 2026): 2026 — 3.6%, 2028 — 3.6%, 2031 — 3.5%.
  • Inflation: IMF next-year forecasts (36 editions, 2007–2024). On average the outcome was 0.7 pp below the forecast; below it in 75% of cases; typical error ±2.4 pp. The biggest miss was for 2022: IMF, April 2021 expected 1.1%, the outcome was 8.3%.
  • Inflation: latest IMF forecast (IMF, April 2026): 2026 — −0.4%, 2028 — 2.3%, 2031 — 3%.

UN projections vs actual

Solid line: actual data, UN WPP 2024 estimates to 2023, then national statistics where comparable with the UN. Dashed: medium variants of past UN revisions. The table shows what each revision expected for the latest year (or five-year period) with actual data.

Population

persons, 1 July
Costa Rica: PopulationActual 2023: 5.11M3M4M5M6M7M19902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 1998202325 years5.8M5.11M−11.9%
UN 2000202323 years5.8M5.11M−11.9%
UN 2002202321 years5.51M5.11M−7.4%
UN 2004202319 years5.44M5.11M−6.2%
UN 2006202317 years5.44M5.11M−6.2%
UN 2008202315 years5.42M5.11M−5.7%
UN 2010202313 years5.42M5.11M−5.8%
UN 2012202311 years5.45M5.11M−6.4%
UN 201520238 years5.17M5.11M−1.2%
UN 201720236 years5.17M5.11M−1.2%
UN 201920234 years5.22M5.11M−2.3%
UN 202220231 year5.21M5.11M−2%

Births

births per year
Costa Rica: BirthsActual 2025: 45.4k40k60k80k100k19902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 19982020–202524 years96.8k51k−47.3%
UN 20002020–202522 years96.8k51k−47.4%
UN 20022020–202520 years79k51k−35.5%
UN 20042020–202518 years76.2k51k−33.1%
UN 20062020–202516 years76.2k51k−33.1%
UN 20082020–202514 years75.8k51k−32.7%
UN 20102020–202512 years68.3k51k−25.4%
UN 20122020–202510 years70k51k−27.2%
UN 20152020–20258 years65.7k51k−22.5%
UN 20172020–20256 years65.8k51k−22.5%
UN 20192020–20254 years66k51k−22.8%
UN 202220253 years59.5k45.4k−23.8%

Total fertility rate

children per woman
Costa Rica: Total fertility rateActual 2023: 1.3311.522.533.519902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 19982015–202020 years2.321.68−27.7%
UN 20002015–202018 years2.321.68−27.7%
UN 20022015–202016 years1.921.68−12.6%
UN 20042015–202014 years1.851.68−9.5%
UN 20062015–202012 years1.851.68−9.5%
UN 20082015–202010 years1.851.68−9.4%
UN 20102015–20208 years1.721.68−2.4%
UN 20122015–20206 years1.731.68−3%
UN 20152015–20202 years1.771.68−5%
UN 20172015–20200 years1.761.68−4.9%
UN 202220231 year1.521.33−12.4%

IMF forecasts vs actual

Solid line: actual values from the latest IMF edition (data get revised, so we use the newest). Dashed: April editions, current year and five years ahead. The table covers next-year forecasts from all editions: mean error shows bias, mean absolute error shows accuracy.

Real GDP growth

% per year
Costa Rica: Real GDP growthActual 2025: 4.6−505102000200520102015202020252030
  • Actual (IMF)
  • WEO, April editions
IndicatorForecastsMean errorMean absolute errorActual below forecast
Real GDP growth360 pp1.8 pp50%
Inflation36−0.7 pp2.4 pp75%
Unemployment rate29+1.2 pp3.6 pp31%
Government gross debt26−2.2 pp3.8 pp65%

All indicators

Demography

Population

5.11M persons, 1 July latest value, 2023

Costa Rica: Population1950: 927k; 2023: 5.11M02M4M6M19501975200020252050

Population on 1 July. UN estimate to 2023, medium variant from 2024; past UN revisions for forecast checks.

Source: UN DESA, World Population Prospects 2024

Births

45.4k births per year latest value, 2025

Costa Rica: Births1950: 41.6k; 2025: 45.4k020k40k60k80k100k19501975200020252050

Live births per calendar year. UN WPP 2024 and national statistics (64 countries, 2015-2025).

Source: UN VSR table 3 (16 Sep 2026)

Total fertility rate

1.33 children per woman latest value, 2023

Costa Rica: Total fertility rate1950: 6.32; 2023: 1.330.002.004.006.008.0019501975200020252050

Average number of children a woman would have at the age-specific fertility rates of the year.

Source: UN DESA, World Population Prospects 2024

Life expectancy at birth, women

83.4 years latest value, 2023

Costa Rica: Life expectancy at birth, women1950: 58; 2023: 83.402040608010019501975200020252050

Years a newborn girl would live at the mortality rates of the year (UN).

Source: UN DESA, World Population Prospects 2024

Life expectancy at birth, men

78.1 years latest value, 2023

Costa Rica: Life expectancy at birth, men1950: 56.9; 2023: 78.102040608010019501975200020252050

Years a newborn boy would live at the mortality rates of the year (UN).

Source: UN DESA, World Population Prospects 2024

Median age

34.1 years latest value, 2023

Costa Rica: Median age1950: 16.8; 2023: 34.10102030405019501975200020252050

Age that divides the population in two halves (UN).

Source: UN DESA, World Population Prospects 2024

Mean age of mothers at childbirth

28.2 years latest value, 2023

Costa Rica: Mean age of mothers at childbirth1950: 29.3; 2023: 28.201020304019501975200020252050

Mean age of mothers at the birth of their children of any order (UN).

Source: UN DESA, World Population Prospects 2024

Sex ratio at birth

104.5 boys per 100 girls latest value, 2023

Costa Rica: Sex ratio at birth1950: 104.7; 2023: 104.505010015019501975200020252050

Boys born per 100 girls born (UN).

Source: UN DESA, World Population Prospects 2024

Net migration

1k persons per year latest value, 2023

Costa Rica: Net migration1950: 0.39k; 2023: 1k05k10k15k20k19501975200020252050

Immigrants minus emigrants per year (UN estimate and projection).

Source: UN DESA, World Population Prospects 2024

Old-age dependency

17.1 persons 65+ per 100 aged 20-64 latest value, 2020

Costa Rica: Old-age dependency1950: 7.9; 2020: 17.10102030405019501975200020252050

Persons aged 65+ per 100 aged 20-64, every five years (UN).

Source: UN DESA, World Population Prospects 2024

Digitalisation

Internet users

87.2 % of population latest value, 2024

Costa Rica: Internet users1990: 0; 2024: 87.20204060801001990199520002005201020152020

Share of individuals who used the Internet in the last three months from any device. ITU data.

Source: World Bank, World Development Indicators

Mobile cellular subscriptions

136 per 100 people latest value, 2024

Costa Rica: Mobile cellular subscriptions1960: 0; 2024: 1360501001502001960197019801990200020102020

Active mobile cellular subscriptions per 100 people; can exceed 100 when people have several SIM cards. ITU data.

Source: World Bank, World Development Indicators

Fixed broadband subscriptions

23.3 subscriptions per 100 people latest value, 2024

Costa Rica: Fixed broadband subscriptions2002: 0.2; 2024: 23.305101520252005201020152020

Fixed subscriptions to high-speed Internet (256 kbit/s or more) per 100 people. ITU data.

Source: World Bank, World Development Indicators

Economy

GDP per capita, PPP

28,443 constant 2021 international $ latest value, 2025

Costa Rica: GDP per capita, PPP1990: 10,980; 2025: 28,443010,00020,00030,00019901995200020052010201520202025

Gross domestic product per person at purchasing power parity, constant 2021 international dollars (World Bank, ICP).

Source: World Bank, World Development Indicators

Real GDP growth

4.6 % per year latest value, 2025

Costa Rica: Real GDP growth1980: 0.8; 2025: 4.6024681019801990200020102020

Annual change of GDP at constant prices. Actual values and forecasts from IMF WEO editions.

Source: IMF World Economic Outlook, April 2026

Inflation

−0.1 % per year, average latest value, 2025

Costa Rica: Inflation1980: 18.1; 2025: −0.102040608010019801990200020102020

Change of the annual average consumer price index (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Government gross debt

58.9 % of GDP latest value, 2024

Costa Rica: Government gross debt1996: 33.7; 2024: 58.902040608020002005201020152020

General government gross debt, percent of GDP (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Unemployment rate

6.3 % of labour force latest value, 2025

Costa Rica: Unemployment rate1980: 5.9; 2025: 6.30510152019801990200020102020

Unemployed as a share of the labour force (IMF WEO; national definitions).

Source: IMF World Economic Outlook, April 2026

GDP per capita, US dollars

19,162 current US dollars latest value, 2025

Costa Rica: GDP per capita, US dollars1980: 2,109; 2025: 19,16205,00010,00015,00020,00019801990200020102020

GDP per person in current US dollars at market exchange rates (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Society

Urban population

79.7 % of population latest value, 2025

Costa Rica: Urban population1960: 34.1; 2025: 79.70204060801960197019801990200020102020

Share of people living in urban areas as defined by national statistical offices (World Bank, from UN World Urbanization Prospects).

Source: World Bank, World Development Indicators

Tertiary enrolment, women

60.5 % gross latest value, 2019

Costa Rica: Tertiary enrolment, women2004: 28.4; 2019: 60.5020406080200520102015

Women enrolled in tertiary education as a share of women in the five-year age group after secondary school; can exceed 100 (UNESCO).

Source: World Bank, World Development Indicators

Women with upper secondary education

44.4 % of women 25+ latest value, 2024

Costa Rica: Women with upper secondary education1973: 10; 2024: 44.40102030405019801990200020102020

Share of women aged 25+ who completed at least upper secondary education (UNESCO).

Source: World Bank, World Development Indicators

Life expectancy at birth

81 years latest value, 2024

Costa Rica: Life expectancy at birth1960: 63.5; 2024: 810204060801001960197019801990200020102020

Life expectancy at birth, both sexes (World Bank, from UN and national statistics).

Source: World Bank, World Development Indicators

Same region: Latin America and the Caribbean