Skip to content

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

Updated on by Georank

The latest officially reported population of Costa Rica was 5,152,950 in 2025 vs 285,721,236 people in Indonesia in 2025. In 2026, based on the adjusted UN estimation, the current Costa Rica's population is 5,186,356 people compared to 289,027,659 in Indonesia.

Population statistics:

  • Indonesia's population is 55.7 times bigger than Costa Rica's.
  • Costa Rica is ranked the 126th most populous country in the world, while Indonesia is the 4th.
  • The countries together account for 3.54% of the world: 0.06% for Costa Rica vs 3.48% for Indonesia.
  • For the last 10 years, Costa Rica has had an average growth rate of +0.71% per year vs +0.9% in Indonesia.
  • Since 2006, the population of Costa Rica has increased from 4.32M people to 5.19M (20% growth), while Indonesia has grown from 234M to 289M (23.5% growth).

Costa Rica vs Indonesia: population by year and forecast

Costa Rica
Factual

Projection
Indonesia
Factual

Projection
1x
Year Population
Costa Rica Indonesia
2100 3,803,678 297,217,412
2099 3,841,913 298,340,219
2098 3,880,484 299,449,882
2097 3,919,475 300,549,857
2096 3,958,826 301,634,112
2095 3,998,552 302,698,798
2094 4,038,516 303,751,488
2093 4,078,807 304,790,169
2092 4,119,351 305,809,796
2091 4,160,111 306,805,664
2090 4,200,989 307,780,044
2089 4,241,888 308,727,665
2088 4,282,758 309,652,467
2087 4,323,650 310,557,120
2086 4,364,399 311,434,804
2085 4,404,935 312,284,488
2084 4,445,179 313,107,329
2083 4,485,048 313,904,231
2082 4,524,570 314,670,881
2081 4,563,658 315,404,888
2080 4,602,126 316,109,402
2079 4,640,060 316,790,074
2078 4,677,313 317,438,140
2077 4,713,901 318,056,534
2076 4,749,678 318,635,038
2075 4,784,723 319,190,402
2074 4,819,050 319,709,426
2073 4,852,492 320,201,444
2072 4,885,078 320,659,562
2071 4,916,792 321,086,184
2070 4,947,655 321,485,042
2069 4,977,764 321,858,064
2068 5,006,939 322,201,979
2067 5,035,207 322,516,545
2066 5,062,849 322,798,892
2065 5,089,797 323,048,550
2064 5,115,866 323,268,759
2063 5,141,239 323,456,004
2062 5,165,574 323,612,644
2061 5,189,146 323,734,699
2060 5,211,857 323,814,746
2059 5,233,370 323,854,683
2058 5,253,830 323,844,015
2057 5,273,143 323,786,943
2056 5,291,310 323,671,172
2055 5,308,124 323,502,155
2054 5,323,598 323,274,189
2053 5,337,707 322,982,358
2052 5,350,263 322,627,695
2051 5,361,152 322,202,850
2050 5,370,484 321,699,802
2049 5,378,189 321,119,283
2048 5,384,366 320,457,830
2047 5,388,962 319,728,668
2046 5,391,996 318,921,027
2045 5,393,493 318,028,206
2044 5,393,407 317,051,440
2043 5,391,873 315,992,168
2042 5,388,912 314,856,940
2041 5,384,386 313,643,892
2040 5,378,629 312,358,800
2039 5,371,473 311,001,176
2038 5,362,904 309,578,763
2037 5,353,217 308,089,917
2036 5,342,317 306,544,452
2035 5,330,286 304,940,852
2034 5,317,189 303,275,782
2033 5,302,930 301,552,643
2032 5,287,714 299,781,696
2031 5,271,514 297,956,985
2030 5,254,366 296,081,262
2029 5,236,206 294,145,245
2028 5,217,031 292,143,454
2027 5,196,723 290,069,053
2026 5,175,408 287,927,760
2025 5,152,950 285,721,236
2024 5,129,910 283,487,931
2023 5,105,525 281,190,067
2022 5,081,765 278,830,529
2021 5,059,988 276,758,053
2020 5,034,320 274,814,866
2019 4,999,553 272,489,381
2018 4,957,818 269,951,846
2017 4,913,177 267,346,658
2016 4,866,998 264,627,418
2015 4,818,038 261,799,249
2014 4,767,119 258,877,399
2013 4,716,147 255,852,467
2012 4,663,934 252,698,525
2011 4,609,833 249,470,032
2010 4,555,962 246,305,322
2009 4,499,791 243,220,028
2008 4,440,056 240,157,903
2007 4,380,248 237,062,337
2006 4,321,340 233,951,652
2005 4,261,240 230,871,650
2004 4,200,078 227,926,649
2003 4,138,784 225,048,008
2002 4,075,705 222,088,495
2001 4,008,947 219,097,902
2000 3,937,739 216,077,790
1999 3,862,101 213,004,668
1998 3,782,838 209,826,788
1997 3,701,711 206,536,095
1996 3,619,013 203,204,348
1995 3,535,176 199,888,057
1994 3,451,122 196,591,828
1993 3,367,434 193,305,168
1992 3,284,258 190,043,744
1991 3,202,176 186,778,238
1990 3,121,706 183,501,098
1989 3,043,827 180,201,630
1988 2,968,103 176,855,065
1987 2,892,699 173,511,154
1986 2,817,216 170,175,065
1985 2,741,894 166,776,185
1984 2,667,595 163,251,124
1983 2,595,153 159,651,381
1982 2,524,806 156,052,152
1981 2,456,637 152,485,035
1980 2,390,633 148,950,540
1979 2,326,490 145,434,834
1978 2,264,510 141,953,163
1977 2,205,025 138,533,541
1976 2,147,774 135,173,655
1975 2,092,719 131,843,848
1974 2,039,643 128,555,045
1973 1,988,343 125,288,515
1972 1,938,248 122,039,841
1971 1,888,539 118,833,702
1970 1,838,949 115,657,495
1969 1,789,276 112,517,639
1968 1,739,731 109,450,006
1967 1,689,523 106,526,393
1966 1,638,116 103,792,754
1965 1,586,208 101,365,130
1964 1,533,960 98,833,749
1963 1,481,604 96,051,424
1962 1,429,445 93,375,850
1961 1,377,920 90,791,249
1960 1,327,496 88,296,070

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

From 2006 to 2016, the population of Costa Rica increased by 545,658 people (a 12.6% growth), while Indonesia gained 30,675,766 people (a 13.1% growth).

For the next 10 years, from 2016 to 2026, Costa Rica gained 319,358 people (a 6.56% growth), while Indonesia's population increased by 24,400,241 people (a 9.22% growth).

Costa Rica was ranked 119th most populous country in 2006 and is 126th in 2026. Indonesia was ranked 4th in 2006 and still ranked 4th 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 Indonesia will increase by 11.3% to 321,699,802 people and rank change from 4th to 6th.

Costa Rica is projected to reach its peak in 2045 at 5.39M people compared to the peak of 324M people in 2059 for Indonesia.

Population growth rate by year

Costa Rica
Factual

Projection
Indonesia
Factual

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

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

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

Live population counters

Costa Rica Indonesia
Current population
5186356
289027659
Population rank 126/197 4/197
Percent of world population 0.06% 3.48%
One net population change
22.9 minutes
14.2 seconds
One birth every
10.3 minutes
7.06 seconds
One death every
18.4 minutes
14.6 seconds
Daily growth/decline +63 +6,119
Annual growth/decline +23,040 +2,233,305
Annual growth/decline rate +0.45% +0.79%
Population growth rate rank 134/197 112/197
One migration net change every
8.78 hours
13.3 minutes
Annual migration change +1,000 -39,509
Net migration rank 63/196 171/196
Foreign-born residents 628,404 445,726
Foreign-born residents rank 75/195 86/195
Foreign-born share of population 12.2% 0.2%
Foreign-born share rank 55/195 188/195

Natural population change vs migration

Costa Rica
Natural

Migration
Indonesia
Natural

Migration
1x
Year Population change
Costa Rica Indonesia
Natural Migration Natural Migration
2025 - 1,000 - -39,509
2024 22,699 967 2,307,025 -38,469
2023 24,109 995 2,364,808 -37,501
2022 21,409 1,006 2,429,171 -37,501
2021 20,119 1,018 1,764,332 -11,248
2020 29,164 1,029 2,152,076 -18,743
2019 37,682 1,653 2,548,048 -30,421
2018 42,469 1,673 2,587,219 -29,911
2017 43,471 1,671 2,682,556 -29,467
2016 45,565 1,649 2,814,578 -28,991
2015 49,077 1,617 2,899,165 -28,487
2014 49,559 1,589 3,000,907 -27,988
2013 49,227 1,579 3,104,258 -27,507
2012 52,036 1,587 3,259,811 -28,869
2011 52,884 1,695 3,266,560 -40,543
2010 50,803 2,357 3,161,082 -57,752
2009 55,757 3,432 3,140,944 -73,655
2008 56,491 3,794 3,138,143 -81,364
2007 55,244 4,080 3,211,484 -77,338
2006 54,177 4,321 3,163,026 -75,829
2005 57,139 4,567 3,149,551 -76,784
2004 55,769 4,856 2,894,440 -77,002
2003 56,743 5,216 3,037,698 -97,732
2002 58,388 5,812 3,063,044 -83,985
2001 62,199 7,119 3,066,275 -64,255
2000 64,268 8,826 3,080,621 -42,697
1999 64,922 13,253 3,137,133 -28,799
1998 64,788 15,556 3,258,820 -11,356
1997 64,954 16,954 3,338,243 -4,334
1996 66,094 17,393 3,331,535 -1,854
1995 67,585 16,609 3,304,550 -1,643
1994 68,336 15,587 3,292,127 -2,575
1993 69,016 14,431 3,287,348 -3,485
1992 69,830 13,069 3,241,576 -2,609
1991 70,506 10,757 3,288,791 3,096
1990 71,727 7,949 3,250,906 11,539
1989 72,327 3,758 3,316,792 19,905
1988 72,944 2,414 3,331,242 25,383
1987 73,188 2,267 3,304,520 26,705
1986 73,211 2,302 3,309,905 30,988
1985 72,776 2,357 3,419,412 37,451
1984 71,062 2,402 3,549,570 43,693
1983 68,972 2,449 3,558,949 47,375
1982 66,826 2,453 3,545,504 46,792
1981 64,632 2,431 3,497,244 44,710
1980 62,561 2,387 3,484,846 42,254
1979 60,984 2,349 3,460,621 43,900
1978 58,327 2,296 3,412,980 45,911
1977 56,122 2,228 3,334,779 45,610
1976 54,019 2,129 3,291,479 48,010
1975 51,979 1,992 3,263,794 56,386
1974 50,349 1,839 3,196,136 61,188
1973 48,943 1,468 3,210,643 64,991
1972 48,417 1,366 3,149,726 72,007
1971 48,341 1,296 3,111,304 79,264
1970 48,398 1,137 3,080,421 81,368
1969 48,790 1,017 3,034,825 82,955
1968 48,361 939 2,961,608 55,731
1967 50,193 926 2,909,981 -80,138
1966 50,755 930 2,715,011 -77,645
1965 51,196 932 2,278,891 -61,145
1964 51,435 934 2,700,138 144,819
1963 51,403 938 2,609,526 110,166
1962 51,046 934 2,525,163 106,264
1961 50,149 924 2,434,113 103,628
1960 48,857 910 2,350,971 101,631

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

GeoRank.org/population/costa-rica/indonesia | 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 Indonesia 98.8% is from natural causes (a gain of 24,548,978 people) and 1.17% is from migration (a loss of 290,739 people).

As of 2024, 628,404 residents or 12.2% of the population were not native-born in Costa Rica, compared to 445,726 people or 0.2% in Indonesia.

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
Indonesia
City Population
Jakarta 11.1M
Bali 4.36M
Surabaya 3.01M
Bandung 2.88M
Bekasi 2.38M
Depok 2.33M
Tangerang 2.24M
Medan 2.11M
South Tangerang 1.64M
Semarang 1.62M

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