Skip to content

Costa Rica statistics: country profile & rankings

Updated on by Georank team

Costa Rica is a high-income country with a population of 5.13M people. The capital and largest city is San Jose, with 342K residents. Costa Rica shares land borders with Panama and Nicaragua.

Costa Rica ranks 72/197 by GDP ($95.4B) and 62/197 by GDP per capita ($18,587). The top category for both exports and imports is machinery & equipment.

Main facts and rankings

Costa Rica Rank
Population
5170484
126/197
GDP
$95.4B
2024
72/197
GDP per capita
$18,587
2024
62/197
GDP per capita, PPP
$30,063
2024
73/197
Government debt
$57B
2024
69/185
Debt-to-GDP ratio
59.7%
2025
83/185
Government debt per person
$11,106
2024
51/185
Average annual personal income after taxes
$12,322
2025
64/197
Land area 19,714 sq mi 126/197
Population density 260.2 ppl/mi² 91/197
Fertility rate 1.33 171/196
Median age 35.6 years 72/196
Life expectancy 81.2 years 39/197

Costa Rica trends dashboard: time-series charts

Costa Rica's economy ranked

Year GDP
1960 $507,513,830
1961 $490,325,182
1962 $479,180,824
1963 $511,902,137
1964 $542,578,367
1965 $592,981,162
1966 $647,305,630
1967 $699,456,619
1968 $773,841,494
1969 $853,630,204
1970 $984,830,158
1971 $1,077,147,538
1972 $1,238,251,696
1973 $1,528,925,846
1974 $1,666,544,754
1975 $1,960,863,466
1976 $2,412,555,426
1977 $3,072,427,013
1978 $3,523,208,810
1979 $4,035,519,323
1980 $4,831,447,001
1981 $2,623,803,096
1982 $2,606,623,555
1983 $3,146,772,631
1984 $3,660,477,856
1985 $3,919,203,960
1986 $4,418,983,871
1987 $4,532,952,047
1988 $4,614,629,898
1989 $5,251,025,767
1990 $5,711,687,787
1991 $7,215,725,487
1992 $8,579,754,758
1993 $9,564,815,975
1994 $10,489,903,725
1995 $11,578,594,260
1996 $11,678,424,507
1997 $12,614,602,382
1998 $13,684,255,947
1999 $14,254,866,285
2000 $15,013,629,662
2001 $15,976,174,337
2002 $16,578,820,687
2003 $17,271,760,507
2004 $18,610,594,846
2005 $20,040,642,477
2006 $22,715,540,324
2007 $26,884,700,709
2008 $30,801,745,700
2009 $30,745,714,313
2010 $37,658,616,952
2011 $42,762,613,699
2012 $47,231,655,432
2013 $50,949,668,842
2014 $52,016,408,854
2015 $56,441,920,821
2016 $58,847,019,610
2017 $60,516,044,657
2018 $62,420,164,992
2019 $64,417,670,521
2020 $62,395,610,760
2021 $64,960,725,734
2022 $69,243,626,029
2023 $86,497,941,439
2024 $95,350,423,177

Costa Rica's economy ranked

Year GDP per capita
1960 $382
1961 $356
1962 $335
1963 $346
1964 $354
1965 $374
1966 $395
1967 $414
1968 $445
1969 $477
1970 $536
1971 $570
1972 $639
1973 $769
1974 $817
1975 $937
1976 $1,123
1977 $1,393
1978 $1,556
1979 $1,735
1980 $2,021
1981 $1,068
1982 $1,032
1983 $1,213
1984 $1,372
1985 $1,429
1986 $1,569
1987 $1,567
1988 $1,555
1989 $1,725
1990 $1,830
1991 $2,253
1992 $2,612
1993 $2,840
1994 $3,040
1995 $3,275
1996 $3,227
1997 $3,408
1998 $3,617
1999 $3,691
2000 $3,813
2001 $3,985
2002 $4,068
2003 $4,173
2004 $4,431
2005 $4,703
2006 $5,257
2007 $6,138
2008 $6,937
2009 $6,833
2010 $8,266
2011 $9,276
2012 $10,127
2013 $10,803
2014 $10,911
2015 $11,715
2016 $12,091
2017 $12,317
2018 $12,590
2019 $12,885
2020 $12,394
2021 $12,838
2022 $13,626
2023 $16,942
2024 $18,587

Costa Rica's life expectancy calculator

Year Life expectancy, years
1950 57.5
1951 57.8
1952 58.1
1953 59.1
1954 59.9
1955 60.5
1956 61.2
1957 61.6
1958 62.3
1959 62.9
1960 63.5
1961 63.9
1962 64.2
1963 64.3
1964 64.5
1965 64.8
1966 65.1
1967 65.6
1968 65.8
1969 66.4
1970 66.8
1971 67.4
1972 68
1973 68.7
1974 69.4
1975 70.3
1976 70.9
1977 71.5
1978 72
1979 72.5
1980 73
1981 73.4
1982 73.9
1983 74.2
1984 74.6
1985 74.8
1986 74.9
1987 75.2
1988 75.5
1989 75.9
1990 76.1
1991 76.2
1992 76.4
1993 76.3
1994 76.3
1995 76.4
1996 76.4
1997 76.6
1998 76.9
1999 77.1
2000 77.3
2001 77.6
2002 77.9
2003 78.2
2004 78.5
2005 78.9
2006 79
2007 79.1
2008 79.2
2009 79.4
2010 79.4
2011 79.6
2012 79.9
2013 80.2
2014 80.2
2015 80.4
2016 80
2017 80
2018 80.1
2019 80.3
2020 79.7
2021 78.1
2022 79.3
2023 80.8
2024 81
2025 81.2

Costa Rica's population clock and projection

Year Population
1960 1,327,496
1961 1,377,920
1962 1,429,445
1963 1,481,604
1964 1,533,960
1965 1,586,208
1966 1,638,116
1967 1,689,523
1968 1,739,731
1969 1,789,276
1970 1,838,949
1971 1,888,539
1972 1,938,248
1973 1,988,343
1974 2,039,643
1975 2,092,719
1976 2,147,774
1977 2,205,025
1978 2,264,510
1979 2,326,490
1980 2,390,633
1981 2,456,637
1982 2,524,806
1983 2,595,153
1984 2,667,595
1985 2,741,894
1986 2,817,216
1987 2,892,699
1988 2,968,103
1989 3,043,827
1990 3,121,706
1991 3,202,176
1992 3,284,258
1993 3,367,434
1994 3,451,122
1995 3,535,176
1996 3,619,013
1997 3,701,711
1998 3,782,838
1999 3,862,101
2000 3,937,739
2001 4,008,947
2002 4,075,705
2003 4,138,784
2004 4,200,078
2005 4,261,240
2006 4,321,340
2007 4,380,248
2008 4,440,056
2009 4,499,791
2010 4,555,962
2011 4,609,833
2012 4,663,934
2013 4,716,147
2014 4,767,119
2015 4,818,038
2016 4,866,998
2017 4,913,177
2018 4,957,818
2019 4,999,553
2020 5,034,320
2021 5,059,988
2022 5,081,765
2023 5,105,525
2024 5,129,910

Costa Rica's birth and fertility rates

Year Fertility rate
1960 6.71
1961 6.65
1962 6.54
1963 6.39
1964 6.19
1965 5.96
1966 5.7
1967 5.42
1968 5.03
1969 4.84
1970 4.59
1971 4.36
1972 4.16
1973 3.99
1974 3.89
1975 3.8
1976 3.75
1977 3.7
1978 3.66
1979 3.65
1980 3.58
1981 3.56
1982 3.54
1983 3.53
1984 3.52
1985 3.51
1986 3.45
1987 3.38
1988 3.31
1989 3.24
1990 3.17
1991 3.08
1992 3
1993 2.93
1994 2.86
1995 2.78
1996 2.68
1997 2.59
1998 2.53
1999 2.48
2000 2.41
2001 2.31
2002 2.16
2003 2.08
2004 2.03
2005 2.04
2006 1.94
2007 1.95
2008 1.98
2009 1.95
2010 1.83
2011 1.88
2012 1.85
2013 1.78
2014 1.8
2015 1.8
2016 1.75
2017 1.71
2018 1.71
2019 1.6
2020 1.45
2021 1.35
2022 1.34
2023 1.33

Costa Rica's demographics

Year Median age, years
1960 16.8
1961 16.8
1962 16.7
1963 16.7
1964 16.7
1965 16.7
1966 16.8
1967 16.9
1968 17.1
1969 17.3
1970 17.6
1971 17.8
1972 18.1
1973 18.4
1974 18.6
1975 18.9
1976 19.2
1977 19.5
1978 19.7
1979 20
1980 20.3
1981 20.6
1982 20.9
1983 21.2
1984 21.4
1985 21.6
1986 21.8
1987 22.1
1988 22.3
1989 22.5
1990 22.7
1991 22.9
1992 23.2
1993 23.4
1994 23.6
1995 23.9
1996 24.1
1997 24.4
1998 24.7
1999 24.9
2000 25.2
2001 25.5
2002 25.9
2003 26.3
2004 26.7
2005 27
2006 27.4
2007 27.8
2008 28.2
2009 28.6
2010 29
2011 29.4
2012 29.8
2013 30.3
2014 30.7
2015 31.2
2016 31.7
2017 32.1
2018 32.6
2019 33
2020 33.5
2021 34
2022 34.5
2023 35.1
2024 35.6

Costa Rica vs. World: Interactive Maps

Use the buttons below to toggle between world maps that display different statistics comparing Costa Rica with other countries.

GDP per capita

GDP

Life expectancy

Population

Population density

Fertility rate

Median age

Land area

Costa Rica: National Statistics

Finance

Costa Rica Rank
GNI, Atlas method
$80.2B
2024
76/194
Government expenditure, % of GDP
18.3%
2025
169/195
Education expenditure, % of GDP
6.25%
2021
21/193
Armed forces personnel
10,000
2020
132/174
Deficit/surplus, % of GDP
-3.23%
2025
105/188
Unemployment rate
6.94%
2024
64/196
Services, % of GDP
68.8%
2024
31/191
Industry, % of GDP
19.7%
2024
132/194
Economic freedom index
68.6
2025
47/197
Income share by richest 10%
34.2%
2024
21/169
Income share by poorest 10%
1.7%
2024
150/169
Listed domestic companies
9
2022
99/103
Market capitalization of domestic companies
$2.23B
2022
90/100
Total reserves including gold
$14.2B
2024
70/177
Personal remittances received
$725M
2024
98/190
International tourist arrivals
1,146,500
2020
84/188
International tourism as share of exports
7.41%
2020
78/184
Banked people share
71.4%
2024
78/158

Energy

Costa Rica Rank
Energy use, kg of oil equivalent per capita
1,025 kg
2023
92/177
GDP PPP per kg equivalent of energy use
$27.4
2023
12/173
Carbon dioxide (CO2) emissions
8.57 megatons
2023
114/187
CO2 emissions per capita
1.68 tons
2023
114/187
Fossil fuel energy use share
51.6%
2023
106/176
Renewable energy use share
34.2%
2021
72/193
Alternative and nuclear energy use share
37.7%
2023
10/147
Net energy imports use share
60.4%
2023
37/144
Electric power consumption per capita
2,206 kWh
2023
81/147
Renewable electricity output share
99.4%
2021
5/192
Hydroelectric share
69.3%
2023
28/192
Nuclear share
0%
2021
65/192
Electricity access
100%
2023
23/195

Society

Costa Rica Rank
% of world population
0.06%
2024
126/197
Annual migration change
+967
2024
69/196
Urban population
83.2%
2024
39/195
Male:Female ratio
50:50
2024
N/A
Average male height
5.71 ft
2025
85/190
Average female height
5.26 ft
2025
98/190
Quality of life index
65
2025
57/197
Corruption Perceptions Index
58
2024
52/197
Higher education index
73
2025
52/183
Homicides per 100K people
17.7
2023
20/197
Road traffic mortality per 100K people
14.8
2019
99/197
Visa free countries
144
2025
60/195
Adult literacy rate
98%
2021
71/196
English speaking
8.15%
2023
134/197
People using the Internet
85.4%
2023
76/195

Health

Costa Rica Rank
Government health expenditure per capita
$979
2022
63/191
Out-of-pocket health expenditure per capita
$219.6
2022
66/191
Life expectancy
81.2 years
2025
39/197
Foreign aid share of health expenditure
0.03%
2022
142/178
Physicians per 1,000 people
2.64
2022
65/193
Maternal mortality per 100K births
24
2023
119/193
Mortality rate before reaching 5 years of age, per 1,000 live births
10.5
2023
118/192
Obesity rate
32.3%
2022
42/189
Diabetes prevalence
9.8%
2024
82/195
Air quality index
80
2025
41/197
Tobacco use prevalence
8.9%
2022
140/164
Pure alcohol consumption per capita
3.4 liters
2020
112/186

Territory

Costa Rica Rank
% of world land
0.03%
2025
126/197
Land area per capita
3,843 sq mi
2024
107/197
Agricultural land area
6,534 sq mi
2025
125/194
Forest area
11,907 sq mi
2025
90/196
Roads length
3,129 mi
2017
129/175

Compare Costa Rica with other countries

Facts comparisons

Facts vs Costa Rica
Afghanistan Compare
Albania Compare
Algeria Compare
Andorra Compare
Angola Compare
Antigua Compare
Argentina Compare
Armenia Compare
Australia Compare
Austria Compare
Azerbaijan Compare
Bahamas Compare
Bahrain Compare
Bangladesh Compare
Barbados Compare
Belarus Compare
Belgium Compare
Belize Compare
Benin Compare
Bhutan Compare
Bolivia Compare
Bosnia Compare
Botswana Compare
Brazil Compare
Brunei Compare
Bulgaria Compare
Burkina Faso Compare
Burundi Compare
Cambodia Compare
Cameroon Compare
Canada Compare
Cape Verde Compare
Cayman Islands Compare
CAR Compare
Chad Compare
Chile Compare
China Compare
Colombia Compare
Comoros Compare
Congo Compare
Croatia Compare
Cuba Compare
Curacao Compare
Cyprus Compare
Czech Republic Compare
DR Congo Compare
Denmark Compare
Djibouti Compare
Dominica Compare
Dominican Republic Compare
East Timor Compare
Ecuador Compare
Egypt Compare
El Salvador Compare
Equatorial Guinea Compare
Eritrea Compare
Estonia Compare
Eswatini Compare
Ethiopia Compare
Fiji Compare
Finland Compare
France Compare
Gabon Compare
Gambia Compare
Georgia Compare
Germany Compare
Ghana Compare
Greece Compare
Grenada Compare
Guatemala Compare
Guinea Compare
Guinea-Bissau Compare
Guyana Compare
Haiti Compare
Honduras Compare
Hungary Compare
Iceland Compare
India Compare
Indonesia Compare
Iran Compare
Iraq Compare
Ireland Compare
Israel Compare
Italy Compare
Ivory Coast Compare
Jamaica Compare
Japan Compare
Jordan Compare
Kazakhstan Compare
Kenya Compare
Kiribati Compare
Kuwait Compare
Kyrgyzstan Compare
Laos Compare
Latvia Compare
Lebanon Compare
Lesotho Compare
Liberia Compare
Libya Compare
Liechtenstein Compare
Lithuania Compare
Luxembourg Compare
Madagascar Compare
Malawi Compare
Malaysia Compare
Maldives Compare
Mali Compare
Malta Compare
Marshall Islands Compare
Mauritania Compare
Mauritius Compare
Mexico Compare
Moldova Compare
Monaco Compare
Mongolia Compare
Montenegro Compare
Morocco Compare
Mozambique Compare
Myanmar Compare
Namibia Compare
Nauru Compare
Nepal Compare
Netherlands Compare
New Zealand Compare
Nicaragua Compare
Niger Compare
Nigeria Compare
North Korea Compare
North Macedonia Compare
Norway Compare
Oman Compare
Pakistan Compare
Palau Compare
Palestine Compare
Panama Compare
Papua New Guinea Compare
Paraguay Compare
Peru Compare
Philippines Compare
Poland Compare
Portugal Compare
Qatar Compare
Romania Compare
Russia Compare
Rwanda Compare
Saint Kitts Compare
Saint Lucia Compare
Saint Vincent Compare
Samoa Compare
San Marino Compare
Sao Tome Compare
Saudi Arabia Compare
Senegal Compare
Serbia Compare
Seychelles Compare
Sierra Leone Compare
Singapore Compare
Slovakia Compare
Slovenia Compare
Solomon Islands Compare
Somalia Compare
South Africa Compare
South Korea Compare
South Sudan Compare
Spain Compare
Sri Lanka Compare
Sudan Compare
Suriname Compare
Sweden Compare
Switzerland Compare
Syria Compare
Taiwan Compare
Tajikistan Compare
Tanzania Compare
Thailand Compare
Togo Compare
Tonga Compare
Trinidad Compare
Tunisia Compare
Turkey Compare
Turkmenistan Compare
Tuvalu Compare
Uganda Compare
Ukraine Compare
UAE Compare
United Kingdom Compare
United States Compare
Uruguay Compare
Uzbekistan Compare
Vanuatu Compare
Vatican Compare
Venezuela Compare
Vietnam Compare
Yemen Compare
Zambia Compare
Zimbabwe Compare