Skip to content

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

Updated on by Georank team

The latest officially reported population of Costa Rica was 5,129,910 in 2024 vs 2,127,400 people in Slovenia in 2024. In 2026, based on the adjusted UN estimation, the current Costa Rica's population is 5,181,862 people compared to 2,124,138 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.77% per year vs +0.29% in Slovenia.
  • Since 2006, the population of Costa Rica has increased from 4.32M people to 5.18M (19.9% growth), while Slovenia has grown from 2.01M to 2.12M (5.84% 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,804,183 1,640,541
2099 3,842,423 1,644,752
2098 3,880,999 1,648,834
2097 3,919,996 1,653,196
2096 3,959,352 1,657,434
2095 3,999,084 1,661,656
2094 4,039,053 1,665,825
2093 4,079,349 1,670,076
2092 4,119,898 1,674,280
2091 4,160,663 1,678,462
2090 4,201,548 1,682,998
2089 4,242,452 1,687,376
2088 4,283,327 1,691,788
2087 4,324,225 1,696,409
2086 4,364,979 1,701,325
2085 4,405,520 1,706,189
2084 4,445,770 1,711,157
2083 4,485,644 1,716,396
2082 4,525,171 1,721,709
2081 4,564,265 1,727,302
2080 4,602,737 1,733,405
2079 4,640,677 1,739,518
2078 4,677,935 1,746,152
2077 4,714,527 1,752,783
2076 4,750,309 1,759,639
2075 4,785,359 1,766,867
2074 4,819,691 1,774,528
2073 4,853,137 1,782,697
2072 4,885,727 1,790,658
2071 4,917,445 1,798,960
2070 4,948,313 1,807,483
2069 4,978,425 1,816,607
2068 5,007,604 1,825,849
2067 5,035,877 1,834,865
2066 5,063,521 1,844,034
2065 5,090,474 1,853,651
2064 5,116,546 1,863,550
2063 5,141,922 1,873,173
2062 5,166,260 1,882,832
2061 5,189,836 1,892,739
2060 5,212,549 1,902,939
2059 5,234,066 1,912,861
2058 5,254,528 1,922,175
2057 5,273,844 1,932,119
2056 5,292,013 1,941,469
2055 5,308,829 1,950,861
2054 5,324,305 1,959,953
2053 5,338,417 1,968,641
2052 5,350,974 1,977,227
2051 5,361,865 1,985,279
2050 5,371,197 1,993,115
2049 5,378,904 2,000,477
2048 5,385,081 2,007,283
2047 5,389,678 2,014,140
2046 5,392,713 2,020,756
2045 5,394,209 2,027,366
2044 5,394,124 2,033,871
2043 5,392,590 2,040,173
2042 5,389,628 2,046,339
2041 5,385,101 2,052,041
2040 5,379,344 2,057,278
2039 5,372,186 2,062,718
2038 5,363,617 2,067,922
2037 5,353,928 2,073,705
2036 5,343,027 2,079,201
2035 5,330,994 2,084,471
2034 5,317,895 2,089,430
2033 5,303,634 2,094,601
2032 5,288,416 2,099,622
2031 5,272,215 2,104,690
2030 5,255,064 2,109,416
2029 5,236,901 2,113,874
2028 5,217,724 2,118,053
2027 5,197,413 2,121,324
2026 5,176,096 2,124,138
2025 5,153,634 2,126,340
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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 314,864 people (a 6.47% growth), while Slovenia's population increased by 59,096 people (a 2.86% 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.65% to 5,371,197 people and will still be ranked 126th. The population of Slovenia will decrease by 6.17% to 1,993,115 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 2024 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.46% -0.05%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

In 2024, the population of Costa Rica grew by 0.48%, while Slovenia's population grew by 0.33%.

Live population counters

Costa Rica Slovenia
Current population
5181862
2124138
Population rank 126/197 147/197
Percent of world population 0.06% 0.03%
One net population change
21.6 minutes
1.26 hours
One birth every
10.1 minutes
31 minutes
One death every
18.9 minutes
24.3 minutes
Daily growth/decline +67 +19
Annual growth/decline +24,385 +6,939
Annual growth/decline rate +0.48% +0.33%
Population growth rate rank 138/197 148/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 - 967 - 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-04-06).

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

Over the last 10 years, 96.3% of the population change in Costa Rica is from natural causes (a gain of 362,624 people) and 3.69% is from migration (a gain of 13,900 people). In Slovenia 18.1% is from natural causes (a loss of 17,573 people) and 81.9% is from migration (a gain of 79,532 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–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

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-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. Wikidata (2026, retrieved 2026-02-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.