Skip to content

Population in Costa Rica compared to Slovenia: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Costa Rica was 5,152,950 in 2025 vs 2,130,986 people in Slovenia in 2025. In 2026, based on the adjusted UN estimation, the current Costa Rica's population is 5,186,356 people compared to 2,128,778 in Slovenia.

Population statistics:

  • Costa Rica's population is 2.44 times bigger than Slovenia's.
  • Costa Rica is ranked the 126th most populous country in the world, while Slovenia is the 147th.
  • The countries together account for 0.09% of the world: 0.06% for Costa Rica vs 0.03% for Slovenia.
  • For the last 10 years, Costa Rica has had an average growth rate of +0.71% per year vs +0.3% in Slovenia.
  • Since 2006, the population of Costa Rica has increased from 4.32M people to 5.19M (20% growth), while Slovenia has grown from 2.01M to 2.13M (6.07% growth).

Costa Rica vs Slovenia: population by year and forecast

Costa Rica
Factual

Projection
Slovenia
Factual

Projection
1x
Year Population
Costa Rica Slovenia
2100 3,803,678 1,644,125
2099 3,841,913 1,648,345
2098 3,880,484 1,652,436
2097 3,919,475 1,656,808
2096 3,958,826 1,661,055
2095 3,998,552 1,665,286
2094 4,038,516 1,669,464
2093 4,078,807 1,673,724
2092 4,119,351 1,677,938
2091 4,160,111 1,682,129
2090 4,200,989 1,686,674
2089 4,241,888 1,691,063
2088 4,282,758 1,695,484
2087 4,323,650 1,700,115
2086 4,364,399 1,705,042
2085 4,404,935 1,709,916
2084 4,445,179 1,714,895
2083 4,485,048 1,720,145
2082 4,524,570 1,725,470
2081 4,563,658 1,731,075
2080 4,602,126 1,737,192
2079 4,640,060 1,743,318
2078 4,677,313 1,749,967
2077 4,713,901 1,756,612
2076 4,749,678 1,763,483
2075 4,784,723 1,770,727
2074 4,819,050 1,778,405
2073 4,852,492 1,786,591
2072 4,885,078 1,794,570
2071 4,916,792 1,802,890
2070 4,947,655 1,811,432
2069 4,977,764 1,820,576
2068 5,006,939 1,829,837
2067 5,035,207 1,838,874
2066 5,062,849 1,848,063
2065 5,089,797 1,857,701
2064 5,115,866 1,867,621
2063 5,141,239 1,877,265
2062 5,165,574 1,886,945
2061 5,189,146 1,896,873
2060 5,211,857 1,907,096
2059 5,233,370 1,917,040
2058 5,253,830 1,926,374
2057 5,273,143 1,936,340
2056 5,291,310 1,945,710
2055 5,308,124 1,955,123
2054 5,323,598 1,964,235
2053 5,337,707 1,972,942
2052 5,350,263 1,981,547
2051 5,361,152 1,989,616
2050 5,370,484 1,997,469
2049 5,378,189 2,004,847
2048 5,384,366 2,011,668
2047 5,388,962 2,018,540
2046 5,391,996 2,025,170
2045 5,393,493 2,031,795
2044 5,393,407 2,038,314
2043 5,391,873 2,044,630
2042 5,388,912 2,050,809
2041 5,384,386 2,056,524
2040 5,378,629 2,061,772
2039 5,371,473 2,067,224
2038 5,362,904 2,072,439
2037 5,353,217 2,078,235
2036 5,342,317 2,083,743
2035 5,330,286 2,089,024
2034 5,317,189 2,093,994
2033 5,302,930 2,099,177
2032 5,287,714 2,104,208
2031 5,271,514 2,109,288
2030 5,254,366 2,114,024
2029 5,236,206 2,118,491
2028 5,217,031 2,122,680
2027 5,196,723 2,125,958
2026 5,175,408 2,128,778
2025 5,152,950 2,130,986
2024 5,129,910 2,127,400
2023 5,105,525 2,120,461
2022 5,081,765 2,112,076
2021 5,059,988 2,108,079
2020 5,034,320 2,102,419
2019 4,999,553 2,088,385
2018 4,957,818 2,073,894
2017 4,913,177 2,066,388
2016 4,866,998 2,065,042
2015 4,818,038 2,063,531
2014 4,767,119 2,061,980
2013 4,716,147 2,059,953
2012 4,663,934 2,057,159
2011 4,609,833 2,052,843
2010 4,555,962 2,048,583
2009 4,499,791 2,039,669
2008 4,440,056 2,021,316
2007 4,380,248 2,018,122
2006 4,321,340 2,006,868
2005 4,261,240 2,000,474
2004 4,200,078 1,997,012
2003 4,138,784 1,995,733
2002 4,075,705 1,994,530
2001 4,008,947 1,992,060
2000 3,937,739 1,988,925
1999 3,862,101 1,983,045
1998 3,782,838 1,981,629
1997 3,701,711 1,985,956
1996 3,619,013 1,988,628
1995 3,535,176 1,989,872
1994 3,451,122 1,989,443
1993 3,367,434 1,991,746
1992 3,284,258 1,996,498
1991 3,202,176 1,999,429
1990 3,121,706 1,998,161
1989 3,043,827 1,996,351
1988 2,968,103 1,995,196
1987 2,892,699 1,989,776
1986 2,817,216 1,965,964
1985 2,741,894 1,941,641
1984 2,667,595 1,932,154
1983 2,595,153 1,922,321
1982 2,524,806 1,910,334
1981 2,456,637 1,906,531
1980 2,390,633 1,901,315
1979 2,326,490 1,882,599
1978 2,264,510 1,862,548
1977 2,205,025 1,842,377
1976 2,147,774 1,820,249
1975 2,092,719 1,793,581
1974 2,039,643 1,776,132
1973 1,988,343 1,766,697
1972 1,938,248 1,752,233
1971 1,888,539 1,738,335
1970 1,838,949 1,724,891
1969 1,789,276 1,713,874
1968 1,739,731 1,704,546
1967 1,689,523 1,689,528
1966 1,638,116 1,669,905
1965 1,586,208 1,649,160
1964 1,533,960 1,632,114
1963 1,481,604 1,616,971
1962 1,429,445 1,603,649
1961 1,377,920 1,594,131
1960 1,327,496 1,584,720

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/costa-rica/slovenia | CC BY

From 2006 to 2016, the population of Costa Rica increased by 545,658 people (a 12.6% growth), while Slovenia gained 58,174 people (a 2.9% growth).

For the next 10 years, from 2016 to 2026, Costa Rica gained 319,358 people (a 6.56% growth), while Slovenia's population increased by 63,736 people (a 3.09% growth).

Costa Rica was ranked 119th most populous country in 2006 and is 126th in 2026. Slovenia was ranked 141st in 2006 and ranked 147th now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Costa Rica's population will grow by 3.55% to 5,370,484 people with a rank change from 126th to 127th. The population of Slovenia will decrease by 6.17% to 1,997,469 people and will still be ranked 147th.

Costa Rica is projected to reach its peak in 2045 at 5.39M people, while Slovenia's population already peaked in 2025 at 2.13M people and is projected to decrease to 1.64M people by 2100.

Population growth rate by year

Costa Rica
Factual

Projection
Slovenia
Factual

Projection
1x
Year Growth rate
Costa Rica Slovenia
2100 -1% -0.26%
2099 -0.99% -0.25%
2098 -0.99% -0.26%
2097 -0.99% -0.26%
2096 -0.99% -0.25%
2095 -0.99% -0.25%
2094 -0.99% -0.25%
2093 -0.98% -0.25%
2092 -0.98% -0.25%
2091 -0.97% -0.27%
2090 -0.96% -0.26%
2089 -0.95% -0.26%
2088 -0.95% -0.27%
2087 -0.93% -0.29%
2086 -0.92% -0.29%
2085 -0.91% -0.29%
2084 -0.89% -0.31%
2083 -0.87% -0.31%
2082 -0.86% -0.32%
2081 -0.84% -0.35%
2080 -0.82% -0.35%
2079 -0.8% -0.38%
2078 -0.78% -0.38%
2077 -0.75% -0.39%
2076 -0.73% -0.41%
2075 -0.71% -0.43%
2074 -0.69% -0.46%
2073 -0.67% -0.44%
2072 -0.65% -0.46%
2071 -0.62% -0.47%
2070 -0.6% -0.5%
2069 -0.58% -0.51%
2068 -0.56% -0.49%
2067 -0.55% -0.5%
2066 -0.53% -0.52%
2065 -0.51% -0.53%
2064 -0.49% -0.51%
2063 -0.47% -0.51%
2062 -0.45% -0.52%
2061 -0.44% -0.54%
2060 -0.41% -0.52%
2059 -0.39% -0.48%
2058 -0.37% -0.51%
2057 -0.34% -0.48%
2056 -0.32% -0.48%
2055 -0.29% -0.46%
2054 -0.26% -0.44%
2053 -0.23% -0.43%
2052 -0.2% -0.41%
2051 -0.17% -0.39%
2050 -0.14% -0.37%
2049 -0.11% -0.34%
2048 -0.09% -0.34%
2047 -0.06% -0.33%
2046 -0.03% -0.33%
2045 0.002% -0.32%
2044 0.03% -0.31%
2043 0.05% -0.3%
2042 0.08% -0.28%
2041 0.11% -0.25%
2040 0.13% -0.26%
2039 0.16% -0.25%
2038 0.18% -0.28%
2037 0.2% -0.26%
2036 0.23% -0.25%
2035 0.25% -0.24%
2034 0.27% -0.25%
2033 0.29% -0.24%
2032 0.31% -0.24%
2031 0.33% -0.22%
2030 0.35% -0.21%
2029 0.37% -0.2%
2028 0.39% -0.15%
2027 0.41% -0.13%
2026 0.44% -0.1%
2025 0.45% 0.17%
2024 0.48% 0.33%
2023 0.47% 0.4%
2022 0.43% 0.19%
2021 0.51% 0.27%
2020 0.7% 0.67%
2019 0.84% 0.7%
2018 0.91% 0.36%
2017 0.95% 0.07%
2016 1.02% 0.07%
2015 1.07% 0.08%
2014 1.08% 0.1%
2013 1.12% 0.14%
2012 1.17% 0.21%
2011 1.18% 0.21%
2010 1.25% 0.44%
2009 1.35% 0.91%
2008 1.37% 0.16%
2007 1.36% 0.56%
2006 1.41% 0.32%
2005 1.46% 0.17%
2004 1.48% 0.06%
2003 1.55% 0.06%
2002 1.67% 0.12%
2001 1.81% 0.16%
2000 1.96% 0.3%
1999 2.1% 0.07%
1998 2.19% -0.22%
1997 2.29% -0.13%
1996 2.37% -0.06%
1995 2.44% 0.02%
1994 2.49% -0.12%
1993 2.53% -0.24%
1992 2.56% -0.15%
1991 2.58% 0.06%
1990 2.56% 0.09%
1989 2.55% 0.06%
1988 2.61% 0.27%
1987 2.68% 1.21%
1986 2.75% 1.25%
1985 2.79% 0.49%
1984 2.79% 0.51%
1983 2.79% 0.63%
1982 2.77% 0.2%
1981 2.76% 0.27%
1980 2.76% 0.99%
1979 2.74% 1.08%
1978 2.7% 1.09%
1977 2.67% 1.22%
1976 2.63% 1.49%
1975 2.6% 0.98%
1974 2.58% 0.53%
1973 2.58% 0.83%
1972 2.63% 0.8%
1971 2.7% 0.78%
1970 2.78% 0.64%
1969 2.85% 0.55%
1968 2.97% 0.89%
1967 3.14% 1.18%
1966 3.27% 1.26%
1965 3.41% 1.04%
1964 3.53% 0.94%
1963 3.65% 0.83%
1962 3.74% 0.6%
1961 3.8% 0.59%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

GeoRank.org/population/costa-rica/slovenia | CC BY

In 2025, the population of Costa Rica grew by 0.45%, while Slovenia's population grew by 0.17%.

Live population counters

Costa Rica Slovenia
Current population
5186356
2128778
Population rank 126/197 147/197
Percent of world population 0.06% 0.03%
One net population change
22.9 minutes
2.45 hours
One birth every
10.3 minutes
31.3 minutes
One death every
18.4 minutes
24.5 minutes
Daily growth/decline +63 +10
Annual growth/decline +23,040 +3,586
Annual growth/decline rate +0.45% +0.17%
Population growth rate rank 134/197 153/197
One migration net change every
8.78 hours
3.24 hours
Annual migration change +1,000 +2,711
Net migration rank 63/196 55/196
Foreign-born residents 628,404 315,122
Foreign-born residents rank 75/195 97/195
Foreign-born share of population 12.2% 14.9%
Foreign-born share rank 55/195 44/195

Natural population change vs migration

Costa Rica
Natural

Migration
Slovenia
Natural

Migration
1x
Year Population change
Costa Rica Slovenia
Natural Migration Natural Migration
2025 - 1,000 - 2,711
2024 22,699 967 -4,680 3,319
2023 24,109 995 -4,665 5,339
2022 21,409 1,006 -4,858 9,014
2021 20,119 1,018 -4,216 2,477
2020 29,164 1,029 -5,256 28,514
2019 37,682 1,653 -1,254 16,352
2018 42,469 1,673 -1,037 14,640
2017 43,471 1,671 -207 1,359
2016 45,565 1,649 826 1,195
2015 49,077 1,617 826 712
2014 49,559 1,589 2,268 -70
2013 49,227 1,579 1,648 639
2012 52,036 1,587 2,674 1,117
2011 52,884 1,695 3,285 2,190
2010 50,803 2,357 3,687 -410
2009 55,757 3,432 3,060 11,594
2008 56,491 3,794 3,437 2,971
2007 55,244 4,080 1,211 14,191
2006 54,177 4,321 602 6,081
2005 57,139 4,567 -600 6,317
2004 55,769 4,856 -599 1,759
2003 56,743 5,216 -1,996 3,218
2002 58,388 5,812 -1,197 1,975
2001 62,199 7,119 -996 4,527
2000 64,268 8,826 -398 3,124
1999 64,922 13,253 -1,388 10,291
1998 64,788 15,556 -1,189 -5,280
1997 64,954 16,954 -794 -1,298
1996 66,094 17,393 0 -2,456
1995 67,585 16,609 0 356
1994 68,336 15,587 199 -153
1993 69,016 14,431 -199 -4,641
1992 69,830 13,069 598 -5,547
1991 70,506 10,757 2,199 -3,325
1990 71,727 7,949 3,797 618
1989 72,327 3,758 4,592 -2,718
1988 72,944 2,414 5,986 -3,023
1987 73,188 2,267 5,771 2,972
1986 73,211 2,302 6,094 32,700
1985 72,776 2,357 6,213 3,404
1984 71,062 2,402 5,990 3,280
1983 68,972 2,449 6,343 3,613
1982 66,826 2,453 9,170 -8,695
1981 64,632 2,431 10,485 -5,016
1980 62,561 2,387 11,027 3,128
1979 60,984 2,349 12,614 2,107
1978 58,327 2,296 11,920 2,113
1977 56,122 2,228 12,160 2,584
1976 54,019 2,129 12,196 2,226
1975 51,979 1,992 11,658 2,421
1974 50,349 1,839 11,367 3,145
1973 48,943 1,468 11,837 2,175
1972 48,417 1,366 10,513 2,924
1971 48,341 1,296 10,951 2,286
1970 48,398 1,137 10,004 260
1969 48,790 1,017 9,427 685
1968 48,361 939 11,250 438
1967 50,193 926 13,516 -192
1966 50,755 930 15,697 -1,262
1965 51,196 932 14,513 -1,421
1964 51,435 934 12,567 -349
1963 51,403 938 14,068 -180
1962 51,046 934 13,150 148
1961 50,149 924 14,985 -306
1960 48,857 910 12,678 -929

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/costa-rica/slovenia | CC BY

Over the last 10 years, 96.2% of the population change in Costa Rica is from natural causes (a gain of 335,764 people) and 3.8% is from migration (a gain of 13,278 people). In Slovenia 22.8% is from natural causes (a loss of 24,521 people) and 77.2% is from migration (a gain of 82,921 people).

As of 2024, 628,404 residents or 12.2% of the population were not native-born in Costa Rica, compared to 315,122 people or 14.9% in Slovenia.

Biggest cities by population

Costa Rica
City Population
San Jose 335K
Limon 71.5K
Liberia 65.9K
Alajuela 44.4K
Puntarenas 41.5K
Cartago 22.8K
Heredia 16.7K
Tamarindo 7.13K
Santa Teresa 3K
Slovenia
City Population
Ljubljana 284K
Maribor 114K
Kranj 37.6K
Celje 37.1K
Velenje 25.6K
Novo Mesto 24.2K
Nova Gorica 13K
Izola 11.7K
Murska Sobota 11.2K
Piran 3.79K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

GeoRank.org/population/costa-rica/slovenia | CC BY

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Health (1960–2025, retrieved 2026-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
  5. Wikidata (2026, retrieved 2026-07-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.