Skip to content

Costa Rica vs Indonesia statistics compared

Updated on by Georank team

Costa Rica has a population of 5.13M (ranked 126/197), compared with 283M in Indonesia (ranked 4/197). Costa Rica's land area is 19,714 sq mi versus 730,720 sq mi for Indonesia (ranked 126th vs. 14th).

By GDP, Costa Rica ranks 73/197 ($95.4B) and Indonesia ranks 16/197 ($1.4T). By GDP per capita, Costa Rica ranks 62/197 ($18,587), while Indonesia ranks 121/197 ($4,925).

Main facts and rankings

Costa Rica Indonesia
Population
5181862
288551776
Population rank 126/197 4/197
GDP
$95.4B
2024
$1.4T
2024
GDP rank 73/197 16/197
GDP per capita
$18,587
2024
$4,925
2024
GDP per capita rank 62/197 121/197
GDP per capita, PPP
$31,107
2024
$16,448
2024
Government debt
$57B
2024
$561B
2024
Debt-to-GDP ratio
59.8%
2024
40.2%
2024
Government debt per person
$11,106
2024
$1,978
2024
Government debt per person rank 50/185 120/185
Average annual personal income after taxes
$12,150
2026
$3,371
2026
Land area 19,714 sq mi 730,720 sq mi
Population density
262.6 ppl/mi²
2026
394 ppl/mi²
2026
Fertility rate
1.33
2023
2.13
2023
Median age
35.6 years
2024
31.1 years
2024
Life expectancy
81.4 years
2026
71.6 years
2026

Costa Rica and Indonesia: Comparison Charts

Costa Rica and Indonesia economies compared

GDP
Costa Rica

Indonesia
1x
Year GDP
Costa Rica Indonesia
2024 $95,350,423,177 $1,396,300,098,191
2023 $86,497,941,439 $1,371,169,301,564
2022 $69,243,626,029 $1,319,101,183,380
2021 $64,960,725,734 $1,186,509,691,087
2020 $62,395,610,760 $1,059,054,842,698
2019 $64,417,670,521 $1,119,099,871,350
2018 $62,420,164,992 $1,042,271,532,989
2017 $60,516,044,657 $1,015,618,744,160
2016 $58,847,019,610 $931,877,364,038
2015 $56,441,920,821 $860,854,232,686
2014 $52,016,408,854 $890,814,755,534
2013 $50,949,668,842 $912,524,136,718
2012 $47,231,655,432 $917,869,913,333
2011 $42,762,613,699 $892,969,104,563
2010 $37,658,616,952 $755,094,157,622
2009 $30,745,714,313 $539,580,085,612
2008 $30,801,745,700 $510,228,634,992
2007 $26,884,700,709 $432,216,737,775
2006 $22,715,540,324 $364,570,515,618
2005 $20,040,642,477 $285,868,619,196
2004 $18,610,594,846 $256,836,875,295
2003 $17,271,760,507 $234,772,463,824
2002 $16,578,820,687 $195,660,611,165
2001 $15,976,174,337 $160,446,947,785
2000 $15,013,629,662 $165,021,012,078
1999 $14,254,866,285 $140,001,351,215
1998 $13,684,255,947 $95,445,547,873
1997 $12,614,602,382 $215,748,998,610
1996 $11,678,424,507 $227,369,679,375
1995 $11,578,594,260 $202,132,028,723
1994 $10,489,903,725 $176,892,143,932
1993 $9,564,815,975 $158,006,700,302
1992 $8,579,754,758 $128,026,966,580
1991 $7,215,725,487 $116,621,996,217
1990 $5,711,687,787 $106,140,727,334
1989 $5,251,025,767 $94,451,427,877
1988 $4,614,629,898 $84,300,174,486
1987 $4,532,952,047 $75,929,617,558
1986 $4,418,983,871 $79,954,072,545
1985 $3,919,203,960 $85,289,488,375
1984 $3,660,477,856 $84,853,700,028
1983 $3,146,772,631 $81,052,283,384
1982 $2,606,623,555 $90,158,449,295
1981 $2,623,803,096 $85,518,233,419
1980 $4,831,447,001 $72,482,337,397
1979 $4,035,519,323 $51,400,186,343
1978 $3,523,208,810 $51,455,719,076
1977 $3,072,427,013 $45,808,915,663
1976 $2,412,555,426 $37,269,156,627
1975 $1,960,863,466 $30,463,855,422
1974 $1,666,544,754 $25,802,409,639
1973 $1,528,925,846 $16,273,253,012
1972 $1,238,251,696 $10,997,590,361
1971 $1,077,147,538 $9,333,536,370
1970 $984,830,158 $9,150,684,932
1969 $853,630,204 $8,337,423,313
1968 $773,841,494 $7,076,465,300
1967 $699,456,619 $5,667,756,628
1966 $647,305,630 -
1965 $592,981,162 -
1964 $542,578,367 -
1963 $511,902,137 -
1962 $479,180,824 -
1961 $490,325,182 -
1960 $507,513,830 -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Costa Rica and Indonesia economies compared

GDP per capita
Costa Rica

Indonesia
1x
Year GDP per capita
Costa Rica Indonesia
2024 $18,587 $4,925
2023 $16,942 $4,876
2022 $13,626 $4,731
2021 $12,838 $4,287
2020 $12,394 $3,854
2019 $12,885 $4,107
2018 $12,590 $3,861
2017 $12,317 $3,799
2016 $12,091 $3,521
2015 $11,715 $3,288
2014 $10,911 $3,441
2013 $10,803 $3,567
2012 $10,127 $3,632
2011 $9,276 $3,579
2010 $8,266 $3,066
2009 $6,833 $2,218
2008 $6,937 $2,125
2007 $6,138 $1,823
2006 $5,257 $1,558
2005 $4,703 $1,238
2004 $4,431 $1,127
2003 $4,173 $1,043
2002 $4,068 $881
2001 $3,985 $732
2000 $3,813 $764
1999 $3,691 $657
1998 $3,617 $455
1997 $3,408 $1,045
1996 $3,227 $1,119
1995 $3,275 $1,011
1994 $3,040 $900
1993 $2,840 $817
1992 $2,612 $674
1991 $2,253 $624
1990 $1,830 $578
1989 $1,725 $524
1988 $1,555 $477
1987 $1,567 $438
1986 $1,569 $470
1985 $1,429 $511
1984 $1,372 $520
1983 $1,213 $508
1982 $1,032 $578
1981 $1,068 $561
1980 $2,021 $487
1979 $1,735 $353
1978 $1,556 $362
1977 $1,393 $331
1976 $1,123 $275.7
1975 $937 $231.1
1974 $817 $200.7
1973 $769 $129.9
1972 $639 $90.1
1971 $570 $78.5
1970 $536 $79.1
1969 $477 $74.1
1968 $445 $64.7
1967 $414 $53.2
1966 $395 -
1965 $374 -
1964 $354 -
1963 $346 -
1962 $335 -
1961 $356 -
1960 $382 -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Costa Rica vs. Indonesia life expectancy calculator

Life expectancy
Costa Rica

Indonesia
1x
Year Life expectancy, years
Costa Rica Indonesia
2026 81.4 71.6
2025 81.2 71.4
2024 81 71.3
2023 80.8 71.1
2022 79.3 70.9
2021 78.1 67.5
2020 79.7 68.8
2019 80.3 70.3
2018 80.1 70.1
2017 80 70
2016 80 69.7
2015 80.4 69.5
2014 80.2 69.3
2013 80.2 69.1
2012 79.9 68.9
2011 79.6 68.6
2010 79.4 68.4
2009 79.4 68.3
2008 79.2 68.1
2007 79.1 67.9
2006 79 67.7
2005 78.9 67.5
2004 78.5 65.5
2003 78.2 67.1
2002 77.9 67
2001 77.6 66.6
2000 77.3 66.3
1999 77.1 66
1998 76.9 65.9
1997 76.6 65.8
1996 76.4 65.5
1995 76.4 65.3
1994 76.3 65
1993 76.3 64.9
1992 76.4 64.2
1991 76.2 63.7
1990 76.1 63.2
1989 75.9 62.9
1988 75.5 62.4
1987 75.2 62.1
1986 74.9 61.7
1985 74.8 61.4
1984 74.6 60.9
1983 74.2 60.3
1982 73.9 59.7
1981 73.4 59.1
1980 73 58.7
1979 72.5 58.2
1978 72 57.6
1977 71.5 57.1
1976 70.9 56.4
1975 70.3 56
1974 69.4 55.4
1973 68.7 54.9
1972 68 54.4
1971 67.4 53.8
1970 66.8 53.3
1969 66.4 52.6
1968 65.8 51.9
1967 65.6 51.3
1966 65.1 48.4
1965 64.8 42.8
1964 64.5 49.4
1963 64.3 48.7
1962 64.2 48.1
1961 63.9 47.4
1960 63.5 46.8
1959 62.9 46.2
1958 62.3 45.4
1957 61.6 45
1956 61.2 44.3
1955 60.5 43.6
1954 59.9 42.9
1953 59.1 42.2
1952 58.1 41.5
1951 57.8 40.8
1950 57.5 40.2

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

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

Costa Rica and Indonesia population clocks and comparison

Population
Costa Rica

Indonesia
1x
Year Population
Costa Rica Indonesia
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: World Bank | Health (1960–2024, retrieved 2026-04-06).

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

Fertility rates in Costa Rica and Indonesia

Fertility rate
Costa Rica

Indonesia
1x
Year Fertility rate
Costa Rica Indonesia
2023 1.33 2.13
2022 1.34 2.15
2021 1.35 2.17
2020 1.45 2.19
2019 1.6 2.21
2018 1.71 2.22
2017 1.71 2.25
2016 1.75 2.31
2015 1.8 2.35
2014 1.8 2.39
2013 1.78 2.44
2012 1.85 2.51
2011 1.88 2.52
2010 1.83 2.46
2009 1.95 2.44
2008 1.98 2.44
2007 1.95 2.48
2006 1.94 2.46
2005 2.04 2.45
2004 2.03 2.42
2003 2.08 2.41
2002 2.16 2.44
2001 2.31 2.47
2000 2.41 2.5
1999 2.48 2.57
1998 2.53 2.66
1997 2.59 2.74
1996 2.68 2.78
1995 2.78 2.81
1994 2.86 2.85
1993 2.93 2.9
1992 3 2.95
1991 3.08 3.06
1990 3.17 3.11
1989 3.24 3.25
1988 3.31 3.35
1987 3.38 3.42
1986 3.45 3.53
1985 3.51 3.73
1984 3.52 3.96
1983 3.53 4.11
1982 3.54 4.25
1981 3.56 4.36
1980 3.58 4.5
1979 3.65 4.63
1978 3.66 4.73
1977 3.7 4.81
1976 3.75 4.92
1975 3.8 5.03
1974 3.89 5.09
1973 3.99 5.25
1972 4.16 5.32
1971 4.36 5.4
1970 4.59 5.49
1969 4.84 5.55
1968 5.03 5.57
1967 5.42 5.58
1966 5.7 5.59
1965 5.96 5.59
1964 6.19 5.57
1963 6.39 5.55
1962 6.54 5.53
1961 6.65 5.52
1960 6.71 5.51

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

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

Costa Rica and Indonesia demographics compared

Median age
Costa Rica

Indonesia
1x
Year Median age, years
Costa Rica Indonesia
2024 35.6 31.1
2023 35.1 30.8
2022 34.5 30.6
2021 34 30.3
2020 33.5 30.1
2019 33 29.9
2018 32.6 29.6
2017 32.1 29.4
2016 31.7 29.1
2015 31.2 28.9
2014 30.7 28.6
2013 30.3 28.3
2012 29.8 28.1
2011 29.4 27.9
2010 29 27.6
2009 28.6 27.3
2008 28.2 27.1
2007 27.8 26.8
2006 27.4 26.5
2005 27 26.2
2004 26.7 25.9
2003 26.3 25.6
2002 25.9 25.2
2001 25.5 24.9
2000 25.2 24.6
1999 24.9 24.3
1998 24.7 24
1997 24.4 23.7
1996 24.1 23.5
1995 23.9 23.2
1994 23.6 22.9
1993 23.4 22.6
1992 23.2 22.3
1991 22.9 22
1990 22.7 21.7
1989 22.5 21.4
1988 22.3 21.1
1987 22.1 20.9
1986 21.8 20.6
1985 21.6 20.3
1984 21.4 20.1
1983 21.2 19.9
1982 20.9 19.7
1981 20.6 19.6
1980 20.3 19.4
1979 20 19.3
1978 19.7 19.2
1977 19.5 19.1
1976 19.2 19
1975 18.9 18.9
1974 18.6 18.9
1973 18.4 18.8
1972 18.1 18.8
1971 17.8 18.9
1970 17.6 19
1969 17.3 19.1
1968 17.1 19.3
1967 16.9 19.4
1966 16.8 19.6
1965 16.7 19.8
1964 16.7 19.9
1963 16.7 20
1962 16.7 20.1
1961 16.8 20.1
1960 16.8 20.1

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

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

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Costa Rica and Indonesia.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Costa Rica Indonesia
GNI, Atlas method
$80.2B
2024
$1.39T
2024
Government expenditure, % of GDP
18.9%
2024
16.8%
2024
Education expenditure, % of GDP
6.25%
2021
1.28%
2023
Military expenditure, % of GDP n/a
0.78%
2024
Armed forces personnel
10,000
2020
676,000
2020
Deficit/surplus, % of GDP
-3.78%
2024
-2.3%
2024
Unemployment rate
6.94%
2024
3.31%
2023
Services, % of GDP
68.8%
2024
43.8%
2024
Industry, % of GDP
19.7%
2024
39.3%
2024
Economic freedom index
69.1
2026
65.1
2026
Income share by richest 10%
34.2%
2024
28.8%
2024
Income share by poorest 10%
1.7%
2024
3.5%
2024
Number of millionaires n/a
178,605
2025
Percentage of millionaires n/a
0.09%
2025
Number of billionaires n/a
33
2025
Percentage of billionaires n/a
0.00002%
2025
Listed domestic companies
9
2022
903
2023
Market capitalization of domestic companies
$2.23B
2022
$758B
2023
Total reserves including gold
$14.2B
2024
$156B
2024
Personal remittances received
$725M
2024
$16B
2024
International tourist arrivals
1,146,500
2020
4,053,000
2020
International tourism as share of exports
7.41%
2020
1.98%
2020
Banked people share
71.4%
2024
56.3%
2024

Energy

Costa Rica Indonesia
Energy use, kg of oil equivalent per capita
1,025 kg
2023
977 kg
2023
GDP PPP per kg equivalent of energy use
$28.2
2023
$15.8
2023
Carbon dioxide (CO2) emissions
8.38 megatons
2024
812 megatons
2024
CO2 emissions per capita
1.63 tons
2024
2.87 tons
2024
Fossil fuel energy use share
51.6%
2023
77.2%
2022
Renewable energy use share
34.2%
2021
20.2%
2021
Alternative and nuclear energy use share
37.7%
2023
11.5%
2023
Net energy imports use share
60.4%
2023
-89.5%
2023
Electric power consumption per capita
2,206 kWh
2023
1,445 kWh
2023
Renewable electricity output share
99.4%
2021
15.5%
2021
Hydroelectric share
69.3%
2023
5.67%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
100%
2023
99.4%
2023

Society

Costa Rica Indonesia
% of world population
0.06%
2024
3.49%
2024
Annual migration change
+1,000
2025
-39,509
2025
Urban population
79.3%
2024
58.8%
2024
Male:Female ratio
49.4:50.6
2024
50.2:49.8
2024
Average male height
5.71 ft
2025
5.46 ft
2025
Average female height
5.26 ft
2025
5.07 ft
2025
Quality of life index
64.8
2026
48.9
2026
Corruption Perceptions Index
56
2025
34
2025
Higher education index
73
2026
72
2026
Homicides per 100K people
17.7
2023
0.31
2022
Road traffic mortality per 100K people
14.8
2019
11.3
2019
Visa free countries
142
2025
88
2025
Adult literacy rate
98%
2021
96%
2020
English speaking
8.15%
2023
30.8%
2023
People using the Internet
85.4%
2023
72.8%
2024

Health

Costa Rica Indonesia
Government health expenditure per capita
$1,163
2023
$131.8
2023
Out-of-pocket health expenditure per capita
$280.7
2023
$41
2023
Life expectancy
81.4 years
2026
71.6 years
2026
Foreign aid share of health expenditure
0.01%
2023
0.56%
2023
Physicians per 1,000 people
2.69
2022
0.52
2023
Age at first childbirth n/a
22.4 years
2025
Maternal mortality per 100K births
24
2023
140
2023
Mortality rate before reaching 5 years of age
10.5
2023
20.6
2023
Obesity rate
32.3%
2022
11.5%
2022
Diabetes prevalence
9.8%
2024
11.3%
2024
Air quality index
80
2026
17
2026
Tobacco use prevalence
8.9%
2022
38.2%
2022
Pure alcohol consumption per capita
3.4 liters
2020
0.07 liters
2020

Territory

Costa Rica Indonesia
% of world land
0.03%
2026
1.27%
2026
Land area per capita
3,843 sq mi
2024
2,578 sq mi
2024
Agricultural land area
6,534 sq mi
2026
212,828 sq mi
2026
Forest area
11,907 sq mi
2026
348,714 sq mi
2026
Roads length
3,129 mi
2017
340,572 mi
2025

In-depth comparisons

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 (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2025, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  11. EduRank (2026, retrieved 2025-10-13)

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.