Skip to content

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

Updated on by Georank team

The latest officially reported population of Costa Rica was 5,129,910 in 2024 vs 283,487,931 people in Indonesia in 2024. In 2026, based on the adjusted UN estimation, the current Costa Rica's population is 5,181,862 people compared to 288,551,776 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.77% per year vs +0.94% in Indonesia.
  • Since 2006, the population of Costa Rica has increased from 4.32M people to 5.18M (19.9% growth), while Indonesia has grown from 234M to 289M (23.3% 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,804,183 297,263,579
2099 3,842,423 298,386,561
2098 3,880,999 299,496,396
2097 3,919,996 300,596,542
2096 3,959,352 301,680,965
2095 3,999,084 302,745,817
2094 4,039,053 303,798,670
2093 4,079,349 304,837,512
2092 4,119,898 305,857,297
2091 4,160,663 306,853,321
2090 4,201,548 307,827,852
2089 4,242,452 308,775,620
2088 4,283,327 309,700,566
2087 4,324,225 310,605,359
2086 4,364,979 311,483,180
2085 4,405,520 312,332,996
2084 4,445,770 313,155,965
2083 4,485,644 313,952,990
2082 4,525,171 314,719,759
2081 4,564,265 315,453,880
2080 4,602,737 316,158,503
2079 4,640,677 316,839,281
2078 4,677,935 317,487,448
2077 4,714,527 318,105,938
2076 4,750,309 318,684,532
2075 4,785,359 319,239,982
2074 4,819,691 319,759,087
2073 4,853,137 320,251,181
2072 4,885,727 320,709,370
2071 4,917,445 321,136,059
2070 4,948,313 321,534,979
2069 4,978,425 321,908,058
2068 5,007,604 322,252,027
2067 5,035,877 322,566,642
2066 5,063,521 322,849,032
2065 5,090,474 323,098,730
2064 5,116,546 323,318,973
2063 5,141,922 323,506,247
2062 5,166,260 323,662,911
2061 5,189,836 323,784,985
2060 5,212,549 323,865,045
2059 5,234,066 323,904,988
2058 5,254,528 323,894,318
2057 5,273,844 323,837,237
2056 5,292,013 323,721,448
2055 5,308,829 323,552,405
2054 5,324,305 323,324,404
2053 5,338,417 323,032,528
2052 5,350,974 322,677,809
2051 5,361,865 322,252,898
2050 5,371,197 321,749,772
2049 5,378,904 321,169,163
2048 5,385,081 320,507,607
2047 5,389,678 319,778,332
2046 5,392,713 318,970,565
2045 5,394,209 318,077,606
2044 5,394,124 317,100,688
2043 5,392,590 316,041,251
2042 5,389,628 314,905,847
2041 5,385,101 313,692,611
2040 5,379,344 312,407,319
2039 5,372,186 311,049,484
2038 5,363,617 309,626,850
2037 5,353,928 308,137,773
2036 5,343,027 306,592,068
2035 5,330,994 304,988,219
2034 5,317,895 303,322,890
2033 5,303,634 301,599,483
2032 5,288,416 299,828,261
2031 5,272,215 298,003,267
2030 5,255,064 296,127,253
2029 5,236,901 294,190,935
2028 5,217,724 292,188,833
2027 5,197,413 290,114,110
2026 5,176,096 287,972,484
2025 5,153,634 285,765,617
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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 314,864 people (a 6.47% growth), while Indonesia's population increased by 23,924,358 people (a 9.04% 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.65% to 5,371,197 people and will still be ranked 126th. The population of Indonesia will increase by 11.5% to 321,749,772 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.46% 0.8%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

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

Live population counters

Costa Rica Indonesia
Current population
5181862
288551776
Population rank 126/197 4/197
Percent of world population 0.06% 3.48%
One net population change
21.6 minutes
13.7 seconds
One birth every
10.1 minutes
7.04 seconds
One death every
18.9 minutes
14.9 seconds
Daily growth/decline +67 +6,296
Annual growth/decline +24,385 +2,297,864
Annual growth/decline rate +0.48% +0.82%
Population growth rate rank 138/197 115/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 - 967 - -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-04-06).

GeoRank.org/population/costa-rica/indonesia | 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 Indonesia 98.9% is from natural causes (a gain of 25,242,860 people) and 1.1% is from migration (a loss of 280,258 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–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/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-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.