Skip to content

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

Updated on by Georank team

The latest officially reported population of Costa Rica was 5,129,910 in 2024 vs 9,562,065 people in Hungary in 2024. In 2026, based on the adjusted UN estimation, the current Costa Rica's population is 5,181,862 people compared to 9,475,525 in Hungary.

Population statistics:

  • Hungary's population is 1.83 times bigger than Costa Rica's.
  • Costa Rica is ranked the 126th most populous country in the world, while Hungary is the 98th.
  • The countries together account for 0.18% of the world: 0.06% for Costa Rica vs 0.11% for Hungary.
  • For the last 10 years, Costa Rica has had an average growth rate of +0.77% per year vs -0.29% in Hungary.
  • Since 2006, the population of Costa Rica has increased from 4.32M people to 5.18M (19.9% growth), while Hungary has declined from 10.1M to 9.48M (5.92% decline).

Costa Rica vs Hungary: population by year and forecast

Costa Rica
Factual

Projection
Hungary
Factual

Projection
1x
Year Population
Costa Rica Hungary
2100 3,804,183 7,370,355
2099 3,842,423 7,386,200
2098 3,880,999 7,401,408
2097 3,919,996 7,415,908
2096 3,959,352 7,430,531
2095 3,999,084 7,445,269
2094 4,039,053 7,460,108
2093 4,079,349 7,475,111
2092 4,119,898 7,489,534
2091 4,160,663 7,504,343
2090 4,201,548 7,519,276
2089 4,242,452 7,534,960
2088 4,283,327 7,550,399
2087 4,324,225 7,566,507
2086 4,364,979 7,583,518
2085 4,405,520 7,600,748
2084 4,445,770 7,617,497
2083 4,485,644 7,634,894
2082 4,525,171 7,653,272
2081 4,564,265 7,672,270
2080 4,602,737 7,692,156
2079 4,640,677 7,712,929
2078 4,677,935 7,734,118
2077 4,714,527 7,756,481
2076 4,750,309 7,780,266
2075 4,785,359 7,805,336
2074 4,819,691 7,832,068
2073 4,853,137 7,860,016
2072 4,885,727 7,889,448
2071 4,917,445 7,920,271
2070 4,948,313 7,952,370
2069 4,978,425 7,985,309
2068 5,007,604 8,019,321
2067 5,035,877 8,053,791
2066 5,063,521 8,088,854
2065 5,090,474 8,125,079
2064 5,116,546 8,161,993
2063 5,141,922 8,198,019
2062 5,166,260 8,233,954
2061 5,189,836 8,269,395
2060 5,212,549 8,304,498
2059 5,234,066 8,339,351
2058 5,254,528 8,372,516
2057 5,273,844 8,405,403
2056 5,292,013 8,438,397
2055 5,308,829 8,470,451
2054 5,324,305 8,502,165
2053 5,338,417 8,533,102
2052 5,350,974 8,563,943
2051 5,361,865 8,594,925
2050 5,371,197 8,625,864
2049 5,378,904 8,657,469
2048 5,385,081 8,689,207
2047 5,389,678 8,721,846
2046 5,392,713 8,755,100
2045 5,394,209 8,789,106
2044 5,394,124 8,823,256
2043 5,392,590 8,857,823
2042 5,389,628 8,893,508
2041 5,385,101 8,929,696
2040 5,379,344 8,966,615
2039 5,372,186 9,004,383
2038 5,363,617 9,041,989
2037 5,353,928 9,080,597
2036 5,343,027 9,118,668
2035 5,330,994 9,157,148
2034 5,317,895 9,195,286
2033 5,303,634 9,232,883
2032 5,288,416 9,270,132
2031 5,272,215 9,306,671
2030 5,255,064 9,342,584
2029 5,236,901 9,377,706
2028 5,217,724 9,411,230
2027 5,197,413 9,443,534
2026 5,176,096 9,475,525
2025 5,153,634 9,535,248
2024 5,129,910 9,562,065
2023 5,105,525 9,592,186
2022 5,081,765 9,605,074
2021 5,059,988 9,630,932
2020 5,034,320 9,670,419
2019 4,999,553 9,694,824
2018 4,957,818 9,706,964
2017 4,913,177 9,726,756
2016 4,866,998 9,759,755
2015 4,818,038 9,797,755
2014 4,767,119 9,833,038
2013 4,716,147 9,872,734
2012 4,663,934 9,920,362
2011 4,609,833 9,971,727
2010 4,555,962 10,000,023
2009 4,499,791 10,022,650
2008 4,440,056 10,038,188
2007 4,380,248 10,055,780
2006 4,321,340 10,071,370
2005 4,261,240 10,087,065
2004 4,200,078 10,107,146
2003 4,138,784 10,129,552
2002 4,075,705 10,158,608
2001 4,008,947 10,187,576
2000 3,937,739 10,210,971
1999 3,862,101 10,237,530
1998 3,782,838 10,266,570
1997 3,701,711 10,290,486
1996 3,619,013 10,311,238
1995 3,535,176 10,328,965
1994 3,451,122 10,343,355
1993 3,367,434 10,357,523
1992 3,284,258 10,369,341
1991 3,202,176 10,373,400
1990 3,121,706 10,373,988
1989 3,043,827 10,481,719
1988 2,968,103 10,596,487
1987 2,892,699 10,612,741
1986 2,817,216 10,630,564
1985 2,741,894 10,648,713
1984 2,667,595 10,668,095
1983 2,595,153 10,689,463
1982 2,524,806 10,705,535
1981 2,456,637 10,711,848
1980 2,390,633 10,711,122
1979 2,326,490 10,704,152
1978 2,264,510 10,684,822
1977 2,205,025 10,648,031
1976 2,147,774 10,598,677
1975 2,092,719 10,540,525
1974 2,039,643 10,478,720
1973 1,988,343 10,432,055
1972 1,938,248 10,398,489
1971 1,888,539 10,367,537
1970 1,838,949 10,337,910
1969 1,789,276 10,298,723
1968 1,739,731 10,255,815
1967 1,689,523 10,216,604
1966 1,638,116 10,178,653
1965 1,586,208 10,147,935
1964 1,533,960 10,119,835
1963 1,481,604 10,087,947
1962 1,429,445 10,060,825
1961 1,377,920 10,027,958
1960 1,327,496 9,983,512

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/hungary | CC BY

From 2006 to 2016, the population of Costa Rica increased by 545,658 people (a 12.6% growth), while Hungary lost 311,615 people (a 3.09% decline).

For the next 10 years, from 2016 to 2026, Costa Rica gained 314,864 people (a 6.47% growth), while Hungary's population decreased by 284,230 people (a 2.91% decline).

Costa Rica was ranked 119th most populous country in 2006 and is 126th in 2026. Hungary was ranked 81st in 2006 and ranked 98th 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 Hungary will decrease by 8.97% to 8,625,864 people and rank change from 98th to 111th.

Costa Rica is projected to reach its peak in 2045 at 5.39M people, while Hungary's population already peaked in 1981 at 10.7M people and is projected to decrease to 7.37M people by 2100.

Population growth rate by year

Costa Rica
Factual

Projection
Hungary
Factual

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

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/hungary | CC BY

In 2024, the population of Costa Rica grew by 0.48%, while Hungary's population declined by 0.31%.

Live population counters

Costa Rica Hungary
Current population
5181862
9475525
Population rank 126/197 98/197
Percent of world population 0.06% 0.11%
One net population change
21.6 minutes
17.4 minutes
One birth every
10.1 minutes
6.02 minutes
One death every
18.9 minutes
4.09 minutes
Daily growth/decline +67 -83
Annual growth/decline +24,385 -30,121
Annual growth/decline rate +0.48% -0.31%
Population growth rate rank 138/197 179/197
One migration net change every
8.78 hours
32.3 minutes
Annual migration change +1,000 -16,331
Net migration rank 63/196 149/196
Foreign-born residents 628,404 689,565
Foreign-born residents rank 75/195 71/195
Foreign-born share of population 12.2% 7.1%
Foreign-born share rank 55/195 79/195

Natural population change vs migration

Costa Rica
Natural

Migration
Hungary
Natural

Migration
1x
Year Population change
Costa Rica Hungary
Natural Migration Natural Migration
2025 - 1,000 - -16,331
2024 - 967 - 16,223
2023 24,109 995 -41,247 49,213
2022 21,409 1,006 -47,065 41,871
2021 20,119 1,018 -61,638 20,372
2020 29,164 1,029 -47,385 9,147
2019 37,682 1,653 -36,840 34,339
2018 42,469 1,673 -37,858 34,190
2017 43,471 1,671 -37,934 20,200
2016 45,565 1,649 -31,231 68
2015 49,077 1,617 -39,191 13,856
2014 49,559 1,589 -32,449 11,581
2013 49,227 1,579 -36,529 5,635
2012 52,036 1,587 -38,689 15,286
2011 52,884 1,695 -40,884 1,859
2010 50,803 2,357 -40,000 10,592
2009 55,757 3,432 -34,077 17,281
2008 56,491 3,794 -31,118 16,166
2007 55,244 4,080 -35,195 13,697
2006 54,177 4,321 -32,228 19,890
2005 57,139 4,567 -38,331 16,925
2004 55,769 4,856 -37,396 16,637
2003 56,743 5,216 -41,531 13,879
2002 58,388 5,812 -36,571 2,822
2001 62,199 7,119 -35,657 10,386
2000 64,268 8,826 -37,780 13,414
1999 64,922 13,253 -49,140 12,819
1998 64,788 15,556 -43,120 13,568
1997 64,954 16,954 -38,075 14,186
1996 66,094 17,393 -38,152 14,605
1995 67,585 16,609 -34,086 14,927
1994 68,336 15,587 -31,030 15,159
1993 69,016 14,431 -33,144 15,540
1992 69,830 13,069 -26,960 16,238
1991 70,506 10,757 -17,635 16,873
1990 71,727 7,949 -19,710 16,991
1989 72,327 3,758 -20,963 -16,991
1988 72,944 2,414 -15,895 -16,052
1987 73,188 2,267 -15,919 -16,175
1986 73,211 2,302 -18,072 -16,339
1985 72,776 2,357 -18,103 -15,890
1984 71,062 2,402 -21,336 -16,216
1983 68,972 2,449 -21,379 -16,047
1982 66,826 2,453 -10,705 -16,531
1981 64,632 2,431 -2,142 -16,869
1980 62,561 2,387 3,213 -17,795
1979 60,984 2,349 23,549 3,629
1978 58,327 2,296 27,780 290
1977 56,122 2,228 45,787 -54
1976 54,019 2,129 52,993 -472
1975 51,979 1,992 63,243 -335
1974 50,349 1,839 60,777 132
1973 48,943 1,468 33,382 -1,512
1972 48,417 1,366 34,315 -8
1971 48,341 1,296 26,956 -15
1970 48,398 1,137 32,048 -96
1969 48,790 1,017 38,105 -333
1968 48,361 939 39,997 -324
1967 50,193 926 39,845 -414
1966 50,755 930 36,643 -726
1965 51,196 932 24,355 -537
1964 51,435 934 31,371 -739
1963 51,403 938 32,282 -822
1962 51,046 934 21,128 -1,738
1961 50,149 924 44,123 -1,177
1960 48,857 910 44,926 -1,108

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

GeoRank.org/population/costa-rica/hungary | 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 Hungary 63.7% is from natural causes (a loss of 412,838 people) and 36.3% is from migration (a gain of 234,837 people).

As of 2024, 628,404 residents or 12.2% of the population were not native-born in Costa Rica, compared to 689,565 people or 7.1% in Hungary.

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
Hungary
City Population
Budapest 1.69M
Debrecen 202K
Szeged 157K
Miskolc 141K
Pecs 139K
Gyor 129K
Nyiregyhaza 115K
Kecskemet 109K
Szekesfehervar 95.2K
Szombathely 76.9K

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/hungary | 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.