Skip to content

Economy of Costa Rica vs Sweden compared: GDP & Debt

Updated on by Georank team

Costa Rica has a GDP of $95.4B compared to $604B for Sweden, ranking 73/197 and 26/197 by economy size, respectively.

Costa Rica has $57B in government debt (59.8% of GDP), compared to $199B (33% of GDP) in Sweden.

Costa Rica vs Sweden GDP by year

Costa Rica
Sweden
1x
Year GDP, current $
Costa Rica Sweden
2024 $95,350,423,177 $603,715,224,266
2023 $86,497,941,439 $578,990,915,246
2022 $69,243,626,029 $575,071,237,641
2021 $64,960,725,734 $631,693,331,301
2020 $62,395,610,760 $544,265,668,452
2019 $64,417,670,521 $530,894,124,494
2018 $62,420,164,992 $549,649,344,043
2017 $60,516,044,657 $535,172,356,785
2016 $58,847,019,610 $513,058,312,951
2015 $56,441,920,821 $501,602,351,912
2014 $52,016,408,854 $577,727,767,304
2013 $50,949,668,842 $584,125,353,119
2012 $47,231,655,432 $549,739,674,655
2011 $42,762,613,699 $570,538,581,144
2010 $37,658,616,952 $492,750,897,239
2009 $30,745,714,313 $434,311,714,442
2008 $30,801,745,700 $514,614,100,833
2007 $26,884,700,709 $490,047,789,548
2006 $22,715,540,324 $422,528,394,459
2005 $20,040,642,477 $391,688,455,929
2004 $18,610,594,846 $384,545,442,175
2003 $17,271,760,507 $334,072,443,516
2002 $16,578,820,687 $267,371,907,447
2001 $15,976,174,337 $242,497,797,485
2000 $15,013,629,662 $262,903,560,280
1999 $14,254,866,285 $274,318,357,862
1998 $13,684,255,947 $270,887,306,759
1997 $12,614,602,382 $268,249,616,891
1996 $11,678,424,507 $291,949,597,375
1995 $11,578,594,260 $267,050,453,507
1994 $10,489,903,725 $228,699,066,874
1993 $9,564,815,975 $212,644,602,616
1992 $8,579,754,758 $283,908,914,454
1991 $7,215,725,487 $273,831,464,572
1990 $5,711,687,787 $261,466,577,009
1989 $5,251,025,767 $217,632,340,195
1988 $4,614,629,898 $206,686,590,776
1987 $4,532,952,047 $182,744,315,974
1986 $4,418,983,871 $150,279,869,729
1985 $3,919,203,960 $113,958,084,357
1984 $3,660,477,856 $109,043,045,407
1983 $3,146,772,631 $104,862,109,663
1982 $2,606,623,555 $114,214,731,799
1981 $2,623,803,096 $129,498,921,476
1980 $4,831,447,001 $141,886,067,004
1979 $4,035,519,323 $123,207,527,699
1978 $3,523,208,810 $104,290,933,496
1977 $3,072,427,013 $94,331,782,622
1976 $2,412,555,426 $89,232,517,046
1975 $1,960,863,466 $82,765,232,648
1974 $1,666,544,754 $65,917,634,590
1973 $1,528,925,846 $59,318,842,992
1972 $1,238,251,696 $48,883,173,400
1971 $1,077,147,538 $41,506,151,115
1970 $984,830,158 $38,037,226,668
1969 $853,630,204 $33,967,301,561
1968 $773,841,494 $31,277,871,669
1967 $699,456,619 $29,474,881,506
1966 $647,305,630 $27,154,716,721
1965 $592,981,162 $24,963,947,415
1964 $542,578,367 $22,685,490,195
1963 $511,902,137 $20,342,131,882
1962 $479,180,824 $18,794,066,990
1961 $490,325,182 $17,329,620,585
1960 $507,513,830 $15,930,075,467

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

GeoRank.org/economy/costa-rica/sweden | CC BY

GDP per capita in Costa Rica vs Sweden by year

Costa Rica
GDP per capita

GDP per capita, PPP
Sweden
GDP per capita

GDP per capita, PPP
1x
Year Current $
Costa Rica Sweden
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $18,587 $31,107 $57,117 $71,845
2023 $16,942 $28,909 $54,950 $69,226
2022 $13,626 $26,226 $54,837 $67,076
2021 $12,838 $23,853 $60,648 $62,732
2020 $12,394 $22,100 $52,569 $57,489
2019 $12,885 $23,340 $51,649 $57,046
2018 $12,590 $21,498 $54,018 $53,122
2017 $12,317 $20,499 $53,210 $51,474
2016 $12,091 $19,202 $51,704 $50,290
2015 $11,715 $17,525 $51,188 $48,772
2014 $10,911 $16,394 $59,583 $46,841
2013 $10,803 $15,232 $60,844 $46,098
2012 $10,127 $14,464 $57,750 $45,207
2011 $9,276 $13,614 $60,379 $44,333
2010 $8,266 $12,928 $52,543 $41,951
2009 $6,833 $12,274 $46,708 $40,094
2008 $6,937 $12,472 $55,817 $41,907
2007 $6,138 $11,842 $53,568 $40,813
2006 $5,257 $10,800 $46,531 $37,672
2005 $4,703 $9,899 $43,378 $34,198
2004 $4,431 $9,365 $42,758 $33,805
2003 $4,173 $8,863 $37,292 $31,788
2002 $4,068 $8,461 $29,958 $30,987
2001 $3,985 $8,190 $27,259 $29,946
2000 $3,813 $7,879 $29,633 $29,636
1999 $3,691 $7,563 $30,969 $27,496
1998 $3,617 $7,306 $30,605 $25,897
1997 $3,408 $6,890 $30,324 $24,817
1996 $3,227 $6,568 $33,022 $23,952
1995 $3,275 $6,515 $30,254 $23,084
1994 $3,040 $6,276 $26,046 $21,835
1993 $2,840 $6,025 $24,390 $20,700
1992 $2,612 $5,635 $32,753 $20,767
1991 $2,253 $5,175 $31,777 $20,663
1990 $1,830 $5,021 $30,549 $20,357
1989 $1,725 - $25,625 -
1988 $1,555 - $24,499 -
1987 $1,567 - $21,761 -
1986 $1,569 - $17,955 -
1985 $1,429 - $13,647 -
1984 $1,372 - $13,080 -
1983 $1,213 - $12,590 -
1982 $1,032 - $13,719 -
1981 $1,068 - $15,564 -
1980 $2,021 - $17,073 -
1979 $1,735 - $14,856 -
1978 $1,556 - $12,602 -
1977 $1,393 - $11,432 -
1976 $1,123 - $10,853 -
1975 $937 - $10,103 -
1974 $817 - $8,078 -
1973 $769 - $7,291 -
1972 $639 - $6,018 -
1971 $570 - $5,125 -
1970 $536 - $4,729 -
1969 $477 - $4,263 -
1968 $445 - $3,953 -
1967 $414 - $3,746 -
1966 $395 - $3,478 -
1965 $374 - $3,228 -
1964 $354 - $2,961 -
1963 $346 - $2,675 -
1962 $335 - $2,485 -
1961 $356 - $2,304 -
1960 $382 - $2,128 -

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

GeoRank.org/economy/costa-rica/sweden | CC BY

Costa Rica's GDP per capita is $18,587, ranking 62/197, compared to $57,117 in Sweden, ranking 17/197. Adjusted for purchasing power (GDP per capita PPP), Costa Rica ranks 72nd at $31,107, while Sweden ranks 23rd at $71,845.

Economic indicators

Costa Rica Sweden
Gross domestic product
$95.4B
2024
$604B
2024
GDP rank
73/197
2024
26/197
2024
GDP growth
4.32%
2023-2024
0.82%
2023-2024
GDP per capita
$18,587
2024
$57,117
2024
GDP per capita rank
62/197
2024
17/197
2024
GDP per capita, PPP
$31,107
2024
$71,845
2024
GDP per capita PPP rank
72/197
2024
23/197
2024
Government debt
$57B
2024
$199B
2024
Debt-to-GDP ratio
59.8%
2024
33%
2024
Government debt per person
$11,106
2024
$18,842
2024
Government debt per person rank
50/185
2024
32/185
2024
Average annual personal income after taxes
$12,150
2026
$42,066
2026
Market capitalization of domestic companies
$2.23B
2022
$290B
2003
Number of millionaires n/a
490,000
2025
Number of billionaires n/a
45
2025
Income share by richest 10%
34.2%
2024
22.3%
2023
Income share by poorest 10%
1.7%
2024
2.8%
2023
Government expenditure, % of GDP
18.9%
2024
49.3%
2024
Consumer prices inflation
-0.41%
2023-2024
2.84%
2023-2024
Central bank interest rate
3.5%
2025
1.75%
2025
Unemployment rate
6.94%
2024
8.31%
2024
Population
5181862
10680056

Spending and national debt comparison by year

Costa Rica
Spending

Debt
Sweden
Spending

Debt
1x
Year % of GDP
Costa Rica Sweden
Government spending Government debt Government spending Government debt
2024 18.9% 59.8% 49.3% 33%
2023 18.5% 61.1% 48.9% 31.8%
2022 19.2% 63% 48.3% 33.9%
2021 20.8% 67.6% 49.3% 37%
2020 22.3% 66.9% 52% 40.2%
2019 21.7% 56.4% 48.8% 35.8%
2018 18.9% 51.8% 49.8% 39.9%
2017 19.2% 47.1% 49.2% 41.6%
2016 18.8% 44.1% 49.5% 42.9%
2015 18.8% 39.8% 49.4% 44.5%
2014 18.4% 37.4% 50.7% 45.7%
2013 18.5% 35.1% 51.4% 40.8%
2012 17.3% 33.7% 50.2% 38%
2011 17.2% 29.5% 49.1% 37.7%
2010 18% 28.1% 49.7% 38.6%
2009 16.7% 26% 51.7% 41.2%
2008 15.2% 24% 49.4% 38%
2007 14.6% 27% 48.5% 39.2%
2006 15.2% 33% 50.1% 43.8%
2005 15.9% 37.3% 51.2% 48.9%
2004 17% 41% 51.7% 48.7%
2003 17.6% 40.6% 53% 49.4%
2002 18.6% 41.4% 52.7% 49.8%
2001 17.3% 39.6% 51.7% 52%
2000 16.9% 38.9% 52.2% 50.4%
1999 16.7% 39% 55.2% 60.3%
1998 16% 40.7% 55.6% 65.4%
1997 16.3% 30.6% 57.9% 67.7%
1996 17.3% 33.7% 60% 68.9%
1995 16.4% 29.1% 62.1% 68.7%
1994 17.4% 27% 65.3% 68.6%
1993 13.8% 24.4% 67.9% 66.1%
1992 13.7% 23.3% 66.5% 45.7%
1991 14% 28.4% 61.2% 40.2%
1990 18.9% 18.5% 57.5% 40.3%
1989 26.1% 19.3% 35.8% 44.8%
1988 24.5% 18.2% 37.9% 50.3%
1987 27.2% 21.2% 40.9% 56%
1986 26.4% 26.1% 42.1% 59.5%
1985 21.8% 22.8% 47.6% 61.2%
1984 22.8% 25.2% 46.7% 57.5%
1983 23.6% 29.8% 48.6% 54.5%
1982 18.4% 31.8% 46.4% 47.9%
1981 21% 32.3% 46.1% 41.5%
1980 25% 37.7% 41% 34.4%
1979 24.9% 39.5% 39.9% 28.3%
1978 23.2% 41.7% 39.1% 24%
1977 19.3% 27.8% 35.7% 21%
1976 20.1% 29.5% 32.3% 19%
1975 19.1% 26.1% 30.6% 19.9%
1974 18.3% 30.3% 30.1% 19.4%
1973 18.4% 32.8% 31.1% 18%
1972 17.2% 31.8% 31.9% 17.2%
1971 17.5% 30.4% 29.8% 16.9%
1970 14.9% 28.6% 29.5% 16.9%
1969 14.5% 26.1% 28.7% 17.6%
1968 13.8% 27.7% 28.3% 17.6%
1967 14.7% 26.7% 27.7% 16.1%
1966 14.3% 24.8% 26.5% 15.3%
1965 13.8% 24.1% 24.6% 17%
1964 13.5% 22.7% 23.4% 18.7%
1963 13.3% 21.8% 24.4% 20.7%
1962 14% 19.7% 23.4% 23%
1961 13.2% 20.3% 23.7% 26%
1960 12.5% 16.1% 24.4% 28.6%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1995, retrieved 2026-02-20).

GeoRank.org/economy/costa-rica/sweden | CC BY

In 2024, Costa Rica's government spending was $18B, accounting for 18.9% of its GDP, while Sweden spent $298B, or 49.3% of GDP.

Debt-to-GDP ratio is 59.8% in Costa Rica and 33% in Sweden, ranking 79/185 and 148/185, respectively.

Government deficit by year

Deficit/surplus
Costa Rica

Sweden
1x
Year Deficit/surplus, % of GDP
Costa Rica Sweden
2024 -3.78% -1.72%
2023 -3.25% -0.63%
2022 -2.81% 1%
2021 -5.09% -0.15%
2020 -8.38% -3.18%
2019 -6.68% 0.44%
2018 -5.66% 0.67%
2017 -5.88% 1.29%
2016 -5.09% 0.86%
2015 -5.52% -0.27%
2014 -5.45% -1.84%
2013 -5.25% -1.63%
2012 -4.22% -1.19%
2011 -3.91% -0.41%
2010 -4.96% -0.14%
2009 -3.25% -0.89%
2008 0.18% 1.87%
2007 0.56% 3.37%
2006 -1.04% 2.2%
2005 -2.09% 2.08%
2004 -3.42% 0.17%
2003 -3.43% -1.25%
2002 -4.99% -1.46%
2001 -3.47% 1.37%
2000 -3.68% 3.11%
1999 -2.88% 0.6%
1998 -2.96% 0.82%
1997 -3.39% -1.57%
1996 -4.32% -3.11%
1995 -3.68% -7.01%
1994 -5.46% -8.77%
1993 -1.52% -10.9%
1992 -1.51% -8.51%
1991 -2.41% 0.28%
1990 -4.4% 3.7%
1989 -1.55% 1.5%
1988 0.57% -0.64%
1987 -2.57% -2%
1986 -4.26% -6.21%
1985 -1.06% -9.91%
1984 -0.5% -12.1%
1983 -1.84% -15.1%
1982 -0.94% -13.4%
1981 -3.14% -12.8%
1980 -7.24% -11.5%
1979 -6.6% -9.95%
1978 -4.12% -7.32%
1977 -2.63% -3.32%
1976 -2.42% -1.27%
1975 -1.13% -4.05%
1974 0.26% -4.12%
1973 -2.41% -3.28%
1972 -4.54% -2.17%
1971 -4.72% -1.67%
1970 -1.41% -2.64%
1969 -1.61% -2.03%
1968 -1.72% -2.37%
1967 -3.03% -1.41%
1966 -2.12% -0.33%
1965 -1.71% -0.17%
1964 -1.51% -0.1%
1963 -2.01% 0.41%
1962 -1.99% 0.7%
1961 -0.71% 0.56%
1960 -0.19% -2.67%
1959 0.49% -2.53%
1958 0% -2.31%
1957 0.3% -2.1%
1956 0.05% -1.21%
1955 - -1.72%
1954 - -1.52%
1953 - -2.47%
1952 - -0.16%
1951 - -0.9%
1950 - -1.64%
1949 - -0.74%
1948 - 0.29%
1947 - -1.08%
1946 - -0.61%
1945 - -8.04%
1944 - -8.66%
1943 - -10.7%
1942 - -11.8%
1941 - -13.1%
1940 - -8.16%
1939 - -1.13%
1938 - -0.07%
1937 - 0.46%
1936 - -0.64%
1935 - -2.19%
1934 - -1.88%
1933 - -4.1%
1932 - -1.56%
1931 - -0.05%
1930 - 0.09%
1929 - -0.39%
1928 - -0.06%
1927 - -1.14%
1926 - -1.11%
1925 - -1.44%
1924 - -0.99%
1923 - -1.65%
1922 - -3.17%
1921 - -3.55%
1920 - -0.6%
1919 - 0.17%
1918 - -8.59%
1917 - -0.26%
1916 - -0.23%
1915 - -0.94%
1914 - -0.55%
1913 - -0.17%
1912 - -0.51%
1911 - -0.87%
1910 - -0.81%
1909 - -2.08%
1908 - -2.27%
1907 - -0.68%
1906 - -0.66%
1905 - -0.34%
1904 - -0.56%
1903 - 0.08%
1902 - -1.57%
1901 - -1.34%
1900 - -0.32%
1899 - 0.57%
1898 - 0.91%
1897 - 1.09%
1896 - -0.59%
1895 - 1%
1894 - 0.47%
1893 - -0.49%
1892 - -0.68%
1891 - -0.6%
1890 - 0.33%
1889 - 0.19%
1888 - -0.05%
1887 - -1.5%
1886 - -0.98%
1885 - -0.08%
1884 - 0.24%
1883 - 0.16%
1882 - 0.36%
1881 - -0.17%
1880 - -0.47%
1879 - -1.89%
1878 - -2.04%
1877 - -1.21%
1876 - -1.07%
1875 - -1.26%
1874 - -1.05%
1873 - 0.06%
1872 - -0.15%
1871 - 0.22%
1870 - -0.42%
1869 - -1.52%
1868 - -1.67%
1867 - -1.17%
1866 - -3.01%
1865 - -2.02%
1864 - -2.3%
1863 - -1.58%
1862 - -1.35%
1861 - -1.11%
1860 - -2.03%
1859 - -2.17%
1858 - -2.36%
1857 - -0.62%
1856 - -0.08%
1855 - -0.09%
1854 - -0.19%
1853 - 0.17%
1852 - -0.31%
1851 - -0.07%
1850 - 0.004%
1849 - 0.09%
1848 - 0.12%
1847 - 0.08%
1846 - 0.13%
1845 - 0.04%
1844 - 0.009%
1843 - 0.05%
1842 - -0.12%
1841 - 0.06%
1840 - -0.01%
1839 - -0.006%
1838 - 0.09%
1837 - -0.38%
1836 - -0.08%
1835 - 0.08%
1834 - -0.12%
1833 - 0.09%
1832 - 0.01%
1831 - -0.1%
1830 - -0.45%
1829 - 2.7%
1828 - 0.03%
1827 - -0.16%
1826 - 0.37%
1825 - 0.18%
1824 - -0.23%
1823 - 0.37%
1822 - -0.03%
1821 - -0.49%
1820 - 0.26%
1819 - 0.09%
1818 - 0.35%
1817 - 0.35%
1816 - 0.16%
1815 - 2.34%
1814 - -0.45%
1813 - -0.37%
1812 - 3.47%
1811 - -0.48%
1810 - -3.05%
1809 - -7.65%
1808 - -5.04%
1807 - 0.1%
1806 - 0.55%
1805 - 0.52%
1804 - -0.25%
1803 - 11.6%
1802 - 2.17%
1801 - 0.01%
1800 - -0.44%

Data sources: International Monetary Fund (IMF) | Public Finances in Modern History (1800–1989, retrieved 2026-02-20); International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/costa-rica/sweden | CC BY

In 2024, Costa Rica's government deficit, the difference between spending and revenue, was $3.61B, equivalent to 3.78% of GDP. This compares to Sweden's deficit of $10.4B, or 1.72% of GDP.

Over the past 65 years, Costa Rica recorded a fiscal deficit in 61 of those years, while Sweden ran a deficit in 45 years. On average, Costa Rica posted an annual deficit equal to 3.11% of GDP, compared to deficit of 2.46% of GDP for Sweden.

Inflation comparison by year

Inflation
Costa Rica

Sweden
1x
Year Consumer prices inflation
Costa Rica Sweden
2024 -0.41% 2.84%
2023 0.53% 8.55%
2022 8.27% 8.37%
2021 1.73% 2.16%
2020 0.72% 0.5%
2019 2.1% 1.78%
2018 2.22% 1.95%
2017 1.63% 1.79%
2016 -0.02% 0.98%
2015 0.8% -0.05%
2014 4.52% -0.18%
2013 5.23% -0.04%
2012 4.5% 0.89%
2011 4.88% 2.96%
2010 5.66% 1.16%
2009 7.84% -0.49%
2008 13.4% 3.44%
2007 9.36% 2.21%
2006 11.5% 1.36%
2005 13.8% 0.45%
2004 12.3% 0.37%
2003 9.45% 1.93%
2002 9.17% 2.16%
2001 11.3% 2.41%
2000 11% 0.9%
1999 10% 0.46%
1998 11.7% -0.27%
1997 13.2% 0.66%

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

GeoRank.org/economy/costa-rica/sweden | CC BY

Over the past 28 years, Costa Rica has recorded an average annual inflation rate of 6.66%, compared with 1.76% in Sweden. In 2024, inflation was -0.41% in Costa Rica and 2.84% in Sweden.

Top exports between countries

Costa Rica
Export category Export value
Raw agricultural goods $11.6M
Chemicals & pharma $246K
Wood & paper products $124K
Processed food, beverages & tobacco $83K
Animal & marine products $23K
Machinery & equipment $7K
Raw materials & minerals $7K
Textiles & consumer goods $1K
Sweden
Export category Export value
Machinery & equipment $30.1M
Chemicals & pharma $2.97M
Wood & paper products $2.93M
Metals $747K
Processed food, beverages & tobacco $741K
Raw agricultural goods $542K
Raw materials & minerals $506K
Textiles & consumer goods $395K
Precious metals & jewellery $29K
Animal & marine products $15K

Balance of trade

Costa Rica Sweden
Current account balance
-$1.25B
2024
$35.8B
2024
Current account balance ranking
129/190
2024
17/190
2024
Current account balance, % of GDP
-1.31%
2024
+5.92%
2024
Goods imports
$23.1B
2024
$188B
2024
Goods exports
$20.6B
2024
$218B
2024
Service imports
$7.58B
2024
$126B
2024
Service exports
$16.3B
2024
$116B
2024
Imports of goods and services, % of GDP
32.8%
2024
51.6%
2024
Exports of goods and services, % of GDP
38.5%
2024
54.3%
2024

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Costa Rica Sweden
Economic freedom 69.1 77.8
Economic freedom ranking 43/197 14/197
Property rights 66 96.2
Government integrity 64.1 91.6
Judicial effectiveness 76.9 95.6
Tax burden 78.6 51.6
Government spending 89.3 28.4
Fiscal health 75.6 97.5
Business freedom 79.9 84.8
Labor freedom 55.9 65.8
Monetary freedom 78.2 78.1
Trade freedom 75 79.4
Investment freedom 50 85
Financial freedom 40 80

Economic freedom comparison by year

Costa Rica
Sweden
1x
Year Economic freedom index
Costa Rica Sweden
2026 69.1 77.8
2025 68.6 77.9
2024 67.7 77.5
2023 66.5 77.5
2022 65.4 77.9
2021 64.2 74.7
2020 65.8 74.9
2019 65.3 75.2
2018 65.6 76.3
2017 65 74.9
2016 67.4 72
2015 67.2 72.7
2014 66.9 73.1
2013 67 72.9
2012 68 71.7
2011 67.3 71.9
2010 65.9 72.4
2009 66.4 70.5
2008 64.2 70.8
2007 64 69.3
2006 65.9 70.9
2005 66.1 69.8
2004 66.4 70.1
2003 67 70
2002 67.5 70.8
2001 67.6 66.6
2000 68.4 65.1
1999 67.4 64.2
1998 65.6 64
1997 65.6 63.3
1996 66.4 61.8
1995 68 61.4

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09).

GeoRank.org/economy/costa-rica/sweden | CC BY

The Economic Freedom Index for Costa Rica is 69.1, ranking 43/197, compared to 77.8 for Sweden, ranking 14/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Costa Rica Sweden
Services, % of GDP
68.8%
2024
66.4%
2024
Industry, % of GDP
19.7%
2024
21.7%
2024
Agriculture, forestry, and fishing, % of GDP
3.56%
2024
1.42%
2024
GNI, Atlas method
$80.2B
2024
$615B
2024
GNI per capita, PPP
$28,840
2024
$75,000
2024
Total reserves including gold
$14.2B
2024
$62.6B
2024
Total reserves ranking
70/177
2024
37/177
2024
Net foreign direct investment
-$4.96B
2024
$2.08B
2024
Net inflows of foreign direct investment
$5.3B
2024
$27B
2024
Net outflows of foreign direct investment
$337M
2024
$29.6B
2024
Servicing debt to the IMF, % of GNI
6.31%
2023
n/a
Poverty at national poverty lines
20.3%
2024
16.1%
2022
Gross capital formation, % of GDP
15.7%
2024
25.4%
2024

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2024, retrieved 2026-04-06); U.S. Census Bureau (1985–2024, retrieved 2026-02-08).

GeoRank.org/economy/costa-rica/sweden | CC BY

Compare countries by 7 more topics

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 | Economy & Growth (1960–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Public Finances in Modern History (1800–1995, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2021–2024, retrieved 2026-02-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  8. LivingCost (2026, retrieved 2025-10-14)

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.

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.