Skip to content

Costa Rica vs Sri Lanka statistics compared

Updated on by Georank team

Costa Rica has a population of 5.13M (ranked 126/197), compared with 21.9M in Sri Lanka (ranked 61/197). Costa Rica's land area is 19,714 sq mi versus 23,884 sq mi for Sri Lanka (ranked 126th vs. 122nd).

By GDP, Costa Rica ranks 73/197 ($95.4B) and Sri Lanka ranks 72/197 ($99B). By GDP per capita, Costa Rica ranks 62/197 ($18,587), while Sri Lanka ranks 124/197 ($4,516).

Main facts and rankings

Costa Rica Sri Lanka
Population
5181862
22185425
Population rank 126/197 63/197
GDP
$95.4B
2024
$99B
2024
GDP rank 73/197 72/197
GDP per capita
$18,587
2024
$4,516
2024
GDP per capita rank 62/197 124/197
GDP per capita, PPP
$31,107
2024
$15,633
2024
Government debt
$57B
2024
$99.8B
2024
Debt-to-GDP ratio
59.8%
2024
100.8%
2024
Government debt per person
$11,106
2024
$4,554
2024
Government debt per person rank 50/185 85/185
Average annual personal income after taxes
$12,150
2026
$2,874
2026
Land area 19,714 sq mi 23,884 sq mi
Population density
262.6 ppl/mi²
2026
928 ppl/mi²
2026
Fertility rate
1.33
2023
1.97
2023
Median age
35.6 years
2024
34.1 years
2024
Life expectancy
81.4 years
2026
78 years
2026

Costa Rica and Sri Lanka: Comparison Charts

Costa Rica and Sri Lanka economies compared

GDP
Costa Rica

Sri Lanka
1x
Year GDP
Costa Rica Sri Lanka
2024 $95,350,423,177 $98,963,185,510
2023 $86,497,941,439 $83,716,142,582
2022 $69,243,626,029 $74,143,020,263
2021 $64,960,725,734 $88,556,698,938
2020 $62,395,610,760 $84,335,574,582
2019 $64,417,670,521 $88,998,706,297
2018 $62,420,164,992 $94,450,015,983
2017 $60,516,044,657 $94,369,350,286
2016 $58,847,019,610 $88,000,211,172
2015 $56,441,920,821 $85,090,301,052
2014 $52,016,408,854 $82,531,125,191
2013 $50,949,668,842 $76,976,203,829
2012 $47,231,655,432 $70,447,217,164
2011 $42,762,613,699 $67,753,285,897
2010 $37,658,616,952 $58,636,049,434
2009 $30,745,714,313 $42,066,224,093
2008 $30,801,745,700 $40,713,826,215
2007 $26,884,700,709 $32,350,238,760
2006 $22,715,540,324 $28,267,410,543
2005 $20,040,642,477 $24,405,791,045
2004 $18,610,594,846 $20,662,525,941
2003 $17,271,760,507 $18,881,765,437
2002 $16,578,820,687 $16,536,535,647
2001 $15,976,174,337 $15,749,753,805
2000 $15,013,629,662 $16,595,882,819
1999 $14,254,866,285 $15,711,933,513
1998 $13,684,255,947 $15,760,736,956
1997 $12,614,602,382 $15,091,913,884
1996 $11,678,424,507 $13,897,738,375
1995 $11,578,594,260 $13,029,697,561
1994 $10,489,903,725 $11,717,604,209
1993 $9,564,815,975 $10,338,679,636
1992 $8,579,754,758 $9,703,011,636
1991 $7,215,725,487 $9,000,362,582
1990 $5,711,687,787 $8,032,551,173
1989 $5,251,025,767 $6,987,267,684
1988 $4,614,629,898 $6,978,371,581
1987 $4,532,952,047 $6,682,167,120
1986 $4,418,983,871 $6,405,210,564
1985 $3,919,203,960 $5,978,460,972
1984 $3,660,477,856 $6,043,474,843
1983 $3,146,772,631 $5,167,913,302
1982 $2,606,623,555 $4,768,765,017
1981 $2,623,803,096 $4,415,844,156
1980 $4,831,447,001 $4,024,621,900
1979 $4,035,519,323 $3,364,611,432
1978 $3,523,208,810 $2,733,183,857
1977 $3,072,427,013 $4,104,509,583
1976 $2,412,555,426 $3,591,319,857
1975 $1,960,863,466 $3,791,298,146
1974 $1,666,544,754 $3,574,586,466
1973 $1,528,925,846 $2,875,625,000
1972 $1,238,251,696 $2,553,936,348
1971 $1,077,147,538 $2,369,308,600
1970 $984,830,158 $2,296,470,588
1969 $853,630,204 $1,965,546,218
1968 $773,841,494 $1,801,344,538
1967 $699,456,619 $1,859,465,021
1966 $647,305,630 $1,751,470,588
1965 $592,981,162 $1,698,319,328
1964 $542,578,367 $1,309,747,899
1963 $511,902,137 $1,240,672,269
1962 $479,180,824 $1,434,156,379
1961 $490,325,182 $1,444,327,731
1960 $507,513,830 $1,409,873,950

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Costa Rica and Sri Lanka economies compared

GDP per capita
Costa Rica

Sri Lanka
1x
Year GDP per capita
Costa Rica Sri Lanka
2024 $18,587 $4,516
2023 $16,942 $3,799
2022 $13,626 $3,343
2021 $12,838 $3,997
2020 $12,394 $3,848
2019 $12,885 $4,082
2018 $12,590 $4,359
2017 $12,317 $4,399
2016 $12,091 $4,149
2015 $11,715 $4,058
2014 $10,911 $3,972
2013 $10,803 $3,739
2012 $10,127 $3,328
2011 $9,276 $3,225
2010 $8,266 $2,808
2009 $6,833 $2,027
2008 $6,937 $1,974
2007 $6,138 $1,579
2006 $5,257 $1,389
2005 $4,703 $1,207
2004 $4,431 $1,029
2003 $4,173 $946
2002 $4,068 $835
2001 $3,985 $804
2000 $3,813 $860
1999 $3,691 $829
1998 $3,617 $848
1997 $3,408 $827
1996 $3,227 $776
1995 $3,275 $742
1994 $3,040 $678
1993 $2,840 $607
1992 $2,612 $580
1991 $2,253 $546
1990 $1,830 $491
1989 $1,725 $430
1988 $1,555 $434
1987 $1,567 $420
1986 $1,569 $407
1985 $1,429 $385
1984 $1,372 $391
1983 $1,213 $336
1982 $1,032 $312
1981 $1,068 $292.5
1980 $2,021 $271.1
1979 $1,735 $230.8
1978 $1,556 $191
1977 $1,393 $292.1
1976 $1,123 $260.3
1975 $937 $279.8
1974 $817 $268.7
1973 $769 $220.2
1972 $639 $199.4
1971 $570 $188.8
1970 $536 $186.9
1969 $477 $163.6
1968 $445 $153.5
1967 $414 $162.3
1966 $395 $156.6
1965 $374 $155.6
1964 $354 $122.9
1963 $346 $119.4
1962 $335 $141.4
1961 $356 $145.9
1960 $382 $145.9

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Costa Rica vs. Sri Lanka life expectancy calculator

Life expectancy
Costa Rica

Sri Lanka
1x
Year Life expectancy, years
Costa Rica Sri Lanka
2026 81.4 78
2025 81.2 77.9
2024 81 77.7
2023 80.8 77.5
2022 79.3 77.3
2021 78.1 76.3
2020 79.7 76.9
2019 80.3 76.7
2018 80.1 76.5
2017 80 76.2
2016 80 76.1
2015 80.4 76
2014 80.2 75.8
2013 80.2 75.5
2012 79.9 75.2
2011 79.6 74.7
2010 79.4 74.5
2009 79.4 70.3
2008 79.2 72.6
2007 79.1 73
2006 79 72.8
2005 78.9 73.1
2004 78.5 68
2003 78.2 72.4
2002 77.9 72.3
2001 77.6 71.8
2000 77.3 71.2
1999 77.1 70.4
1998 76.9 70.1
1997 76.6 69.9
1996 76.4 69.8
1995 76.4 69.7
1994 76.3 70.2
1993 76.3 70
1992 76.4 69.6
1991 76.2 69.1
1990 76.1 69.2
1989 75.9 67.3
1988 75.5 69
1987 75.2 69
1986 74.9 69
1985 74.8 68.9
1984 74.6 68.8
1983 74.2 68.7
1982 73.9 68.7
1981 73.4 68.4
1980 73 68
1979 72.5 67.5
1978 72 66.8
1977 71.5 66.4
1976 70.9 65.8
1975 70.3 65.4
1974 69.4 65
1973 68.7 64.8
1972 68 64.6
1971 67.4 64.2
1970 66.8 64.4
1969 66.4 64.1
1968 65.8 63.9
1967 65.6 63.6
1966 65.1 63.2
1965 64.8 62.8
1964 64.5 62.4
1963 64.3 62
1962 64.2 61.6
1961 63.9 61.2
1960 63.5 60.6
1959 62.9 60
1958 62.3 59.3
1957 61.6 58.5
1956 61.2 57.9
1955 60.5 57.2
1954 59.9 56.4
1953 59.1 55.6
1952 58.1 54.9
1951 57.8 54
1950 57.5 53.2

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Costa Rica and Sri Lanka population clocks and comparison

Population
Costa Rica

Sri Lanka
1x
Year Population
Costa Rica Sri Lanka
2024 5,129,910 21,916,000
2023 5,105,525 22,037,000
2022 5,081,765 22,181,000
2021 5,059,988 22,156,000
2020 5,034,320 21,919,000
2019 4,999,553 21,803,000
2018 4,957,818 21,670,000
2017 4,913,177 21,453,000
2016 4,866,998 21,209,000
2015 4,818,038 20,970,000
2014 4,767,119 20,778,000
2013 4,716,147 20,585,000
2012 4,663,934 21,169,458
2011 4,609,833 21,009,048
2010 4,555,962 20,879,089
2009 4,499,791 20,756,435
2008 4,440,056 20,629,378
2007 4,380,248 20,492,545
2006 4,321,340 20,352,411
2005 4,261,240 20,216,524
2004 4,200,078 20,087,605
2003 4,138,784 19,951,521
2002 4,075,705 19,805,752
2001 4,008,947 19,600,362
2000 3,937,739 19,293,054
1999 3,862,101 18,944,731
1998 3,782,838 18,596,003
1997 3,701,711 18,248,200
1996 3,619,013 17,905,018
1995 3,535,176 17,564,068
1994 3,451,122 17,275,773
1993 3,367,434 17,025,918
1992 3,284,258 16,739,284
1991 3,202,176 16,475,354
1990 3,121,706 16,352,458
1989 3,043,827 16,248,557
1988 2,968,103 16,078,621
1987 2,892,699 15,916,576
1986 2,817,216 15,731,256
1985 2,741,894 15,544,154
1984 2,667,595 15,441,860
1983 2,595,153 15,388,794
1982 2,524,806 15,286,567
1981 2,456,637 15,099,414
1980 2,390,633 14,847,974
1979 2,326,490 14,579,614
1978 2,264,510 14,310,128
1977 2,205,025 14,049,371
1976 2,147,774 13,796,770
1975 2,092,719 13,548,984
1974 2,039,643 13,305,693
1973 1,988,343 13,060,916
1972 1,938,248 12,809,205
1971 1,888,539 12,551,910
1970 1,838,949 12,287,110
1969 1,789,276 12,013,858
1968 1,739,731 11,736,088
1967 1,689,523 11,457,328
1966 1,638,116 11,183,928
1965 1,586,208 10,916,965
1964 1,533,960 10,653,397
1963 1,481,604 10,395,040
1962 1,429,445 10,143,754
1961 1,377,920 9,899,372
1960 1,327,496 9,661,389

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Fertility rates in Costa Rica and Sri Lanka

Fertility rate
Costa Rica

Sri Lanka
1x
Year Fertility rate
Costa Rica Sri Lanka
2023 1.33 1.97
2022 1.34 1.98
2021 1.35 2
2020 1.45 2.01
2019 1.6 2.02
2018 1.71 2.03
2017 1.71 2.04
2016 1.75 2.06
2015 1.8 2.09
2014 1.8 2.13
2013 1.78 2.18
2012 1.85 2.17
2011 1.88 2.14
2010 1.83 2.13
2009 1.95 2.18
2008 1.98 2.23
2007 1.95 2.3
2006 1.94 2.29
2005 2.04 2.26
2004 2.03 2.27
2003 2.08 2.3
2002 2.16 2.31
2001 2.31 2.28
2000 2.41 2.21
1999 2.48 2.14
1998 2.53 2.14
1997 2.59 2.22
1996 2.68 2.29
1995 2.78 2.35
1994 2.86 2.4
1993 2.93 2.44
1992 3 2.49
1991 3.08 2.51
1990 3.17 2.54
1989 3.24 2.58
1988 3.31 2.57
1987 3.38 2.64
1986 3.45 2.74
1985 3.51 2.9
1984 3.52 3.01
1983 3.53 3.11
1982 3.54 3.32
1981 3.56 3.65
1980 3.58 3.73
1979 3.65 3.82
1978 3.66 3.81
1977 3.7 3.74
1976 3.75 3.78
1975 3.8 3.82
1974 3.89 3.86
1973 3.99 4
1972 4.16 4.16
1971 4.36 4.27
1970 4.59 4.39
1969 4.84 4.5
1968 5.03 4.66
1967 5.42 4.79
1966 5.7 4.83
1965 5.96 4.93
1964 6.19 5.06
1963 6.39 5.12
1962 6.54 5.18
1961 6.65 5.24
1960 6.71 5.35

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Costa Rica and Sri Lanka demographics compared

Median age
Costa Rica

Sri Lanka
1x
Year Median age, years
Costa Rica Sri Lanka
2024 35.6 34.1
2023 35.1 33.8
2022 34.5 33.6
2021 34 33.3
2020 33.5 33.1
2019 33 32.8
2018 32.6 32.5
2017 32.1 32.3
2016 31.7 32
2015 31.2 31.7
2014 30.7 31.4
2013 30.3 31.1
2012 29.8 30.8
2011 29.4 30.5
2010 29 30.2
2009 28.6 29.9
2008 28.2 29.6
2007 27.8 29.3
2006 27.4 29
2005 27 28.8
2004 26.7 28.5
2003 26.3 28.2
2002 25.9 27.9
2001 25.5 27.6
2000 25.2 27.2
1999 24.9 26.9
1998 24.7 26.5
1997 24.4 26.2
1996 24.1 25.8
1995 23.9 25.3
1994 23.6 24.9
1993 23.4 24.6
1992 23.2 24.3
1991 22.9 23.9
1990 22.7 23.6
1989 22.5 23.4
1988 22.3 23.1
1987 22.1 22.8
1986 21.8 22.5
1985 21.6 22.2
1984 21.4 22
1983 21.2 21.9
1982 20.9 21.7
1981 20.6 21.6
1980 20.3 21.5
1979 20 21.3
1978 19.7 21.2
1977 19.5 21
1976 19.2 20.9
1975 18.9 20.7
1974 18.6 20.6
1973 18.4 20.4
1972 18.1 20.2
1971 17.8 20.1
1970 17.6 20
1969 17.3 19.9
1968 17.1 19.8
1967 16.9 19.7
1966 16.8 19.6
1965 16.7 19.5
1964 16.7 19.5
1963 16.7 19.5
1962 16.7 19.5
1961 16.8 19.5
1960 16.8 19.5

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

GeoRank.org/facts/costa-rica/sri-lanka | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Costa Rica Sri Lanka
GNI, Atlas method
$80.2B
2024
$84.6B
2024
Government expenditure, % of GDP
18.9%
2024
19.3%
2024
Education expenditure, % of GDP
6.25%
2021
1.83%
2023
Military expenditure, % of GDP n/a
1.43%
2024
Armed forces personnel
10,000
2020
317,000
2020
Deficit/surplus, % of GDP
-3.78%
2024
-5.64%
2024
Unemployment rate
6.94%
2024
4.67%
2023
Services, % of GDP
68.8%
2024
57.5%
2024
Industry, % of GDP
19.7%
2024
25.5%
2024
Economic freedom index
69.1
2026
50.3
2026
Income share by richest 10%
34.2%
2024
30.8%
2019
Income share by poorest 10%
1.7%
2024
3.1%
2019
Listed domestic companies
9
2022
284
2024
Market capitalization of domestic companies
$2.23B
2022
$19.5B
2024
Total reserves including gold
$14.2B
2024
$6.09B
2024
Personal remittances received
$725M
2024
$6.72B
2024
International tourist arrivals
1,146,500
2020
540,000
2020
International tourism as share of exports
7.41%
2020
8.22%
2020
Banked people share
71.4%
2024
81.7%
2024

Energy

Costa Rica Sri Lanka
Energy use, kg of oil equivalent per capita
1,025 kg
2023
474 kg
2022
GDP PPP per kg equivalent of energy use
$28.2
2023
$29.9
2022
Carbon dioxide (CO2) emissions
8.38 megatons
2024
23.3 megatons
2024
CO2 emissions per capita
1.63 tons
2024
1.06 tons
2024
Fossil fuel energy use share
51.6%
2023
53.9%
2022
Renewable energy use share
34.2%
2021
48.8%
2021
Alternative and nuclear energy use share
37.7%
2023
6.72%
2022
Net energy imports use share
60.4%
2023
60%
2022
Electric power consumption per capita
2,206 kWh
2023
684 kWh
2022
Renewable electricity output share
99.4%
2021
49.2%
2021
Hydroelectric share
69.3%
2023
40.8%
2022
Nuclear share
0%
2021
0%
2021
Electricity access
100%
2023
100%
2023

Society

Costa Rica Sri Lanka
% of world population
0.06%
2024
0.27%
2024
Annual migration change
+1,000
2025
-30,724
2025
Urban population
79.3%
2024
20.3%
2024
Male:Female ratio
49.4:50.6
2024
48.4:51.6
2024
Average male height
5.71 ft
2025
5.52 ft
2025
Average female height
5.26 ft
2025
5.11 ft
2025
Quality of life index
64.8
2026
51.1
2026
Corruption Perceptions Index
56
2025
35
2025
Higher education index
73
2026
53
2026
Homicides per 100K people
17.7
2023
3.43
2019
Road traffic mortality per 100K people
14.8
2019
19.7
2019
Visa free countries
142
2025
55
2025
Adult literacy rate
98%
2021
92.7%
2023
English speaking
8.15%
2023
18.3%
2023
People using the Internet
85.4%
2023
51.2%
2023

Health

Costa Rica Sri Lanka
Government health expenditure per capita
$1,163
2023
$134.2
2023
Out-of-pocket health expenditure per capita
$280.7
2023
$73.6
2023
Life expectancy
81.4 years
2026
78 years
2026
Foreign aid share of health expenditure
0.01%
2023
6.05%
2023
Physicians per 1,000 people
2.69
2022
1.14
2023
Age at first childbirth n/a
25.6 years
2025
Maternal mortality per 100K births
24
2023
18
2023
Mortality rate before reaching 5 years of age
10.5
2023
6.1
2023
Obesity rate
32.3%
2022
10.9%
2022
Diabetes prevalence
9.8%
2024
10.2%
2024
Air quality index
80
2026
40
2026
Tobacco use prevalence
8.9%
2022
19.5%
2022
Pure alcohol consumption per capita
3.4 liters
2020
2.91 liters
2020

Territory

Costa Rica Sri Lanka
% of world land
0.03%
2026
0.04%
2026
Land area per capita
3,843 sq mi
2024
1,090 sq mi
2024
Agricultural land area
6,534 sq mi
2026
11,610 sq mi
2026
Forest area
11,907 sq mi
2026
8,122 sq mi
2026
Roads length
3,129 mi
2017
70,894 mi
2010

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.