Skip to content

Costa Rica vs Slovenia statistics compared

Updated on by Georank team

Costa Rica has a population of 5.13M (ranked 126/197), compared with 2.13M in Slovenia (ranked 147/197). Costa Rica's land area is 19,714 sq mi versus 7,774 sq mi for Slovenia (ranked 126th vs. 151st).

By GDP, Costa Rica ranks 73/197 ($95.4B) and Slovenia ranks 86/197 ($73B). By GDP per capita, Costa Rica ranks 62/197 ($18,587), while Slovenia ranks 34/197 ($34,301).

Main facts and rankings

Costa Rica Slovenia
Population
5181862
2124138
Population rank 126/197 147/197
GDP
$95.4B
2024
$73B
2024
GDP rank 73/197 86/197
GDP per capita
$18,587
2024
$34,301
2024
GDP per capita rank 62/197 34/197
GDP per capita, PPP
$31,107
2024
$57,186
2024
Government debt
$57B
2024
$48.6B
2024
Debt-to-GDP ratio
59.8%
2024
66.6%
2024
Government debt per person
$11,106
2024
$22,842
2024
Government debt per person rank 50/185 29/185
Average annual personal income after taxes
$12,150
2026
$22,215
2026
Land area 19,714 sq mi 7,774 sq mi
Population density
262.6 ppl/mi²
2026
273.2 ppl/mi²
2026
Fertility rate
1.33
2023
1.51
2023
Median age
35.6 years
2024
45.3 years
2024
Life expectancy
81.4 years
2026
82.1 years
2026

Costa Rica and Slovenia: Comparison Charts

Costa Rica and Slovenia economies compared

GDP
Costa Rica

Slovenia
1x
Year GDP
Costa Rica Slovenia
2024 $95,350,423,177 $72,972,015,197
2023 $86,497,941,439 $69,255,264,238
2022 $69,243,626,029 $59,899,117,741
2021 $64,960,725,734 $61,540,813,362
2020 $62,395,610,760 $53,384,760,135
2019 $64,417,670,521 $53,909,922,736
2018 $62,420,164,992 $53,689,067,640
2017 $60,516,044,657 $48,153,200,135
2016 $58,847,019,610 $44,290,685,824
2015 $56,441,920,821 $42,709,468,275
2014 $52,016,408,854 $49,514,466,380
2013 $50,949,668,842 $47,867,056,859
2012 $47,231,655,432 $46,167,053,954
2011 $42,762,613,699 $51,199,194,599
2010 $37,658,616,952 $47,793,117,241
2009 $30,745,714,313 $49,975,540,955
2008 $30,801,745,700 $55,509,332,322
2007 $26,884,700,709 $47,880,266,543
2006 $22,715,540,324 $39,260,368,837
2005 $20,040,642,477 $35,947,936,824
2004 $18,610,594,846 $34,156,553,313
2003 $17,271,760,507 $29,360,575,032
2002 $16,578,820,687 $23,214,593,516
2001 $15,976,174,337 $20,668,868,707
2000 $15,013,629,662 $20,159,190,702
1999 $14,254,866,285 $22,609,669,084
1998 $13,684,255,947 $22,058,635,314
1997 $12,614,602,382 $20,726,878,752
1996 $11,678,424,507 $21,470,699,363
1995 $11,578,594,260 $21,367,422,159
1994 $10,489,903,725 $16,400,767,070
1993 $9,564,815,975 $14,449,298,372
1992 $8,579,754,758 $14,277,261,541
1991 $7,215,725,487 $14,454,495,059
1990 $5,711,687,787 $19,832,029,087
1989 $5,251,025,767 -
1988 $4,614,629,898 -
1987 $4,532,952,047 -
1986 $4,418,983,871 -
1985 $3,919,203,960 -
1984 $3,660,477,856 -
1983 $3,146,772,631 -
1982 $2,606,623,555 -
1981 $2,623,803,096 -
1980 $4,831,447,001 -
1979 $4,035,519,323 -
1978 $3,523,208,810 -
1977 $3,072,427,013 -
1976 $2,412,555,426 -
1975 $1,960,863,466 -
1974 $1,666,544,754 -
1973 $1,528,925,846 -
1972 $1,238,251,696 -
1971 $1,077,147,538 -
1970 $984,830,158 -
1969 $853,630,204 -
1968 $773,841,494 -
1967 $699,456,619 -
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/slovenia | CC BY

Costa Rica and Slovenia economies compared

GDP per capita
Costa Rica

Slovenia
1x
Year GDP per capita
Costa Rica Slovenia
2024 $18,587 $34,301
2023 $16,942 $32,660
2022 $13,626 $28,360
2021 $12,838 $29,193
2020 $12,394 $25,392
2019 $12,885 $25,814
2018 $12,590 $25,888
2017 $12,317 $23,303
2016 $12,091 $21,448
2015 $11,715 $20,697
2014 $10,911 $24,013
2013 $10,803 $23,237
2012 $10,127 $22,442
2011 $9,276 $24,941
2010 $8,266 $23,330
2009 $6,833 $24,502
2008 $6,937 $27,462
2007 $6,138 $23,725
2006 $5,257 $19,563
2005 $4,703 $17,970
2004 $4,431 $17,104
2003 $4,173 $14,712
2002 $4,068 $11,639
2001 $3,985 $10,376
2000 $3,813 $10,136
1999 $3,691 $11,401
1998 $3,617 $11,132
1997 $3,408 $10,437
1996 $3,227 $10,797
1995 $3,275 $10,738
1994 $3,040 $8,244
1993 $2,840 $7,255
1992 $2,612 $7,151
1991 $2,253 $7,229
1990 $1,830 $9,925
1989 $1,725 -
1988 $1,555 -
1987 $1,567 -
1986 $1,569 -
1985 $1,429 -
1984 $1,372 -
1983 $1,213 -
1982 $1,032 -
1981 $1,068 -
1980 $2,021 -
1979 $1,735 -
1978 $1,556 -
1977 $1,393 -
1976 $1,123 -
1975 $937 -
1974 $817 -
1973 $769 -
1972 $639 -
1971 $570 -
1970 $536 -
1969 $477 -
1968 $445 -
1967 $414 -
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/slovenia | CC BY

Costa Rica vs. Slovenia life expectancy calculator

Life expectancy
Costa Rica

Slovenia
1x
Year Life expectancy, years
Costa Rica Slovenia
2026 81.4 82.1
2025 81.2 81.9
2024 81 81.8
2023 80.8 81.6
2022 79.3 80.8
2021 78.1 80.4
2020 79.7 80.4
2019 80.3 81
2018 80.1 80.9
2017 80 80.6
2016 80 80.5
2015 80.4 80.5
2014 80.2 80.3
2013 80.2 80.1
2012 79.9 79.8
2011 79.6 79.6
2010 79.4 79.3
2009 79.4 79
2008 79.2 78.6
2007 79.1 78.3
2006 79 77.8
2005 78.9 77.5
2004 78.5 76.9
2003 78.2 76.3
2002 77.9 76.3
2001 77.6 76.2
2000 77.3 75.8
1999 77.1 75.5
1998 76.9 75.1
1997 76.6 75
1996 76.4 74.8
1995 76.4 74.4
1994 76.3 73.9
1993 76.3 73.6
1992 76.4 73.4
1991 76.2 73.5
1990 76.1 73.5
1989 75.9 73.3
1988 75.5 72.8
1987 75.2 72.4
1986 74.9 72.1
1985 74.8 71.8
1984 74.6 71.3
1983 74.2 71.2
1982 73.9 71.4
1981 73.4 71.6
1980 73 71.8
1979 72.5 71.6
1978 72 71.6
1977 71.5 71.3
1976 70.9 71.1
1975 70.3 71.1
1974 69.4 71
1973 68.7 70.8
1972 68 70.3
1971 67.4 69.7
1970 66.8 69
1969 66.4 68.6
1968 65.8 68.6
1967 65.6 69
1966 65.1 68.9
1965 64.8 68.7
1964 64.5 68.5
1963 64.3 68.6
1962 64.2 68.9
1961 63.9 68.9
1960 63.5 68.5
1959 62.9 68.2
1958 62.3 67.7
1957 61.6 67
1956 61.2 66.5
1955 60.5 66.1
1954 59.9 66.1
1953 59.1 65.3
1952 58.1 63.8
1951 57.8 62.3
1950 57.5 61.8

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

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

Costa Rica and Slovenia population clocks and comparison

Population
Costa Rica

Slovenia
1x
Year Population
Costa Rica Slovenia
2024 5,129,910 2,127,400
2023 5,105,525 2,120,461
2022 5,081,765 2,112,076
2021 5,059,988 2,108,079
2020 5,034,320 2,102,419
2019 4,999,553 2,088,385
2018 4,957,818 2,073,894
2017 4,913,177 2,066,388
2016 4,866,998 2,065,042
2015 4,818,038 2,063,531
2014 4,767,119 2,061,980
2013 4,716,147 2,059,953
2012 4,663,934 2,057,159
2011 4,609,833 2,052,843
2010 4,555,962 2,048,583
2009 4,499,791 2,039,669
2008 4,440,056 2,021,316
2007 4,380,248 2,018,122
2006 4,321,340 2,006,868
2005 4,261,240 2,000,474
2004 4,200,078 1,997,012
2003 4,138,784 1,995,733
2002 4,075,705 1,994,530
2001 4,008,947 1,992,060
2000 3,937,739 1,988,925
1999 3,862,101 1,983,045
1998 3,782,838 1,981,629
1997 3,701,711 1,985,956
1996 3,619,013 1,988,628
1995 3,535,176 1,989,872
1994 3,451,122 1,989,443
1993 3,367,434 1,991,746
1992 3,284,258 1,996,498
1991 3,202,176 1,999,429
1990 3,121,706 1,998,161
1989 3,043,827 1,996,351
1988 2,968,103 1,995,196
1987 2,892,699 1,989,776
1986 2,817,216 1,965,964
1985 2,741,894 1,941,641
1984 2,667,595 1,932,154
1983 2,595,153 1,922,321
1982 2,524,806 1,910,334
1981 2,456,637 1,906,531
1980 2,390,633 1,901,315
1979 2,326,490 1,882,599
1978 2,264,510 1,862,548
1977 2,205,025 1,842,377
1976 2,147,774 1,820,249
1975 2,092,719 1,793,581
1974 2,039,643 1,776,132
1973 1,988,343 1,766,697
1972 1,938,248 1,752,233
1971 1,888,539 1,738,335
1970 1,838,949 1,724,891
1969 1,789,276 1,713,874
1968 1,739,731 1,704,546
1967 1,689,523 1,689,528
1966 1,638,116 1,669,905
1965 1,586,208 1,649,160
1964 1,533,960 1,632,114
1963 1,481,604 1,616,971
1962 1,429,445 1,603,649
1961 1,377,920 1,594,131
1960 1,327,496 1,584,720

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

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

Fertility rates in Costa Rica and Slovenia

Fertility rate
Costa Rica

Slovenia
1x
Year Fertility rate
Costa Rica Slovenia
2023 1.33 1.51
2022 1.34 1.55
2021 1.35 1.64
2020 1.45 1.59
2019 1.6 1.61
2018 1.71 1.6
2017 1.71 1.62
2016 1.75 1.58
2015 1.8 1.57
2014 1.8 1.58
2013 1.78 1.55
2012 1.85 1.58
2011 1.88 1.56
2010 1.83 1.57
2009 1.95 1.53
2008 1.98 1.53
2007 1.95 1.38
2006 1.94 1.31
2005 2.04 1.26
2004 2.03 1.25
2003 2.08 1.2
2002 2.16 1.21
2001 2.31 1.21
2000 2.41 1.26
1999 2.48 1.21
1998 2.53 1.23
1997 2.59 1.25
1996 2.68 1.28
1995 2.78 1.29
1994 2.86 1.32
1993 2.93 1.33
1992 3 1.33
1991 3.08 1.42
1990 3.17 1.46
1989 3.24 1.52
1988 3.31 1.63
1987 3.38 1.65
1986 3.45 1.67
1985 3.51 1.71
1984 3.52 1.74
1983 3.53 1.81
1982 3.54 1.93
1981 3.56 1.96
1980 3.58 2.11
1979 3.65 2.22
1978 3.66 2.2
1977 3.7 2.17
1976 3.75 2.2
1975 3.8 2.17
1974 3.89 2.13
1973 3.99 2.2
1972 4.16 2.17
1971 4.36 2.16
1970 4.59 2.11
1969 4.84 2.17
1968 5.03 2.25
1967 5.42 2.37
1966 5.7 2.47
1965 5.96 2.43
1964 6.19 2.31
1963 6.39 2.27
1962 6.54 2.28
1961 6.65 2.27
1960 6.71 2.19

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

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

Costa Rica and Slovenia demographics compared

Median age
Costa Rica

Slovenia
1x
Year Median age, years
Costa Rica Slovenia
2024 35.6 45.3
2023 35.1 44.9
2022 34.5 44.5
2021 34 44.1
2020 33.5 44
2019 33 44
2018 32.6 43.8
2017 32.1 43.6
2016 31.7 43.3
2015 31.2 43
2014 30.7 42.7
2013 30.3 42.4
2012 29.8 42
2011 29.4 41.7
2010 29 41.4
2009 28.6 41.2
2008 28.2 41
2007 27.8 40.7
2006 27.4 40.4
2005 27 40
2004 26.7 39.6
2003 26.3 39.2
2002 25.9 38.8
2001 25.5 38.4
2000 25.2 38
1999 24.9 37.6
1998 24.7 37.1
1997 24.4 36.7
1996 24.1 36.3
1995 23.9 36
1994 23.6 35.8
1993 23.4 35.4
1992 23.2 35
1991 22.9 34.6
1990 22.7 34.2
1989 22.5 33.8
1988 22.3 33.5
1987 22.1 33.3
1986 21.8 32.9
1985 21.6 32.6
1984 21.4 32.4
1983 21.2 32.2
1982 20.9 31.9
1981 20.6 31.7
1980 20.3 31.5
1979 20 31.4
1978 19.7 31.3
1977 19.5 31.2
1976 19.2 31.1
1975 18.9 31.1
1974 18.6 31.2
1973 18.4 31.2
1972 18.1 31.1
1971 17.8 30.9
1970 17.6 30.8
1969 17.3 30.6
1968 17.1 30.5
1967 16.9 30.4
1966 16.8 30.2
1965 16.7 30.1
1964 16.7 29.9
1963 16.7 29.7
1962 16.7 29.5
1961 16.8 29.3
1960 16.8 29

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Costa Rica Slovenia
GNI, Atlas method
$80.2B
2024
$67.6B
2024
Government expenditure, % of GDP
18.9%
2024
46.5%
2024
Education expenditure, % of GDP
6.25%
2021
5.28%
2022
Military expenditure, % of GDP n/a
1.31%
2024
Armed forces personnel
10,000
2020
7,000
2020
Deficit/surplus, % of GDP
-3.78%
2024
-0.93%
2024
Unemployment rate
6.94%
2024
3.7%
2024
Services, % of GDP
68.8%
2024
57.9%
2024
Industry, % of GDP
19.7%
2024
29.1%
2024
Economic freedom index
69.1
2026
69.7
2026
Income share by richest 10%
34.2%
2024
20.6%
2023
Income share by poorest 10%
1.7%
2024
4.1%
2023
Listed domestic companies
9
2022
18
2024
Market capitalization of domestic companies
$2.23B
2022
$11.4B
2024
Total reserves including gold
$14.2B
2024
$2.83B
2024
Personal remittances received
$725M
2024
$907M
2024
International tourist arrivals
1,146,500
2020
1,216,000
2020
International tourism as share of exports
7.41%
2020
3.39%
2020
Banked people share
71.4%
2024
98.7%
2024

Energy

Costa Rica Slovenia
Energy use, kg of oil equivalent per capita
1,025 kg
2023
2,896 kg
2023
GDP PPP per kg equivalent of energy use
$28.2
2023
$19.4
2023
Carbon dioxide (CO2) emissions
8.38 megatons
2024
13.3 megatons
2024
CO2 emissions per capita
1.63 tons
2024
6.27 tons
2024
Fossil fuel energy use share
51.6%
2023
57.8%
2023
Renewable energy use share
34.2%
2021
23.4%
2021
Alternative and nuclear energy use share
37.7%
2023
32.5%
2023
Net energy imports use share
60.4%
2023
48.9%
2023
Electric power consumption per capita
2,206 kWh
2023
6,418 kWh
2023
Renewable electricity output share
99.4%
2021
36.1%
2021
Hydroelectric share
69.3%
2023
33.5%
2023
Nuclear share
0%
2021
35.3%
2023
Electricity access
100%
2023
100%
2023

Society

Costa Rica Slovenia
% of world population
0.06%
2024
0.03%
2024
Annual migration change
+1,000
2025
+2,711
2025
Urban population
79.3%
2024
55.8%
2024
Male:Female ratio
49.4:50.6
2024
50.2:49.8
2024
Average male height
5.71 ft
2025
5.94 ft
2025
Average female height
5.26 ft
2025
5.49 ft
2025
Quality of life index
64.8
2026
79.8
2026
Corruption Perceptions Index
56
2025
58
2025
Higher education index
73
2026
85
2026
Homicides per 100K people
17.7
2023
0.57
2023
Road traffic mortality per 100K people
14.8
2019
5.1
2019
Visa free countries
142
2025
171
2025
Adult literacy rate
98%
2021
99.6%
2001
English speaking
8.15%
2023
59%
2023
People using the Internet
85.4%
2023
90.8%
2024

Health

Costa Rica Slovenia
Government health expenditure per capita
$1,163
2023
$3,371
2024
Out-of-pocket health expenditure per capita
$280.7
2023
$396
2024
Life expectancy
81.4 years
2026
82.1 years
2026
Foreign aid share of health expenditure
0.01%
2023
0.05%
2023
Physicians per 1,000 people
2.69
2022
3.37
2022
Age at first childbirth n/a
29.1 years
2023
Maternal mortality per 100K births
24
2023
3
2023
Mortality rate before reaching 5 years of age
10.5
2023
2.2
2023
Obesity rate
32.3%
2022
19.9%
2022
Diabetes prevalence
9.8%
2024
7%
2024
Air quality index
80
2026
52
2026
Tobacco use prevalence
8.9%
2022
20.1%
2022
Pure alcohol consumption per capita
3.4 liters
2020
10.4 liters
2020

Territory

Costa Rica Slovenia
% of world land
0.03%
2026
0.01%
2026
Land area per capita
3,843 sq mi
2024
3,654 sq mi
2024
Agricultural land area
6,534 sq mi
2026
2,360 sq mi
2026
Forest area
11,907 sq mi
2026
4,756 sq mi
2026
Roads length
3,129 mi
2017
24,224 mi
2012

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–2019, 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)
  12. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)

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.