Skip to content

Economy of Bosnia and Herzegovina vs Costa Rica compared: GDP & Debt

Updated on by Georank

Bosnia and Herzegovina has a GDP of $32.6B compared to $103B for Costa Rica, ranking 110/197 and 74/197 by economy size, respectively.

Bosnia and Herzegovina has $9.76B in government debt (29.9% of GDP), compared to $62.2B (60.4% of GDP) in Costa Rica.

Bosnia and Herzegovina vs Costa Rica GDP by year

Bosnia and Herzegovina
Costa Rica
1x
Year GDP, current $
Bosnia Costa Rica
2025 $32,599,982,936 $102,904,921,157
2024 $29,737,363,103 $96,715,644,331
2023 $27,592,361,498 $87,512,637,056
2022 $24,534,663,636 $71,001,226,361
2021 $23,672,712,121 $65,588,938,787
2020 $20,226,038,370 $62,806,591,555
2019 $20,482,608,984 $64,753,504,730
2018 $20,484,058,033 $62,567,765,946
2017 $18,326,373,136 $60,516,044,661
2016 $17,116,926,554 $58,847,019,588
2015 $16,404,348,361 $56,441,920,888
2014 $18,558,734,107 $52,016,408,816
2013 $18,179,109,209 $50,949,668,763
2012 $17,226,735,996 $47,231,655,493
2011 $18,644,233,537 $42,762,613,785
2010 $17,176,315,804 $37,658,616,966
2009 $17,613,949,091 $30,745,714,234
2008 $19,112,796,623 $30,801,745,703
2007 $15,778,734,264 $26,884,700,688
2006 $12,864,841,906 $22,715,540,342
2005 $11,222,796,337 $20,040,642,421
2004 $10,156,541,221 $18,610,594,844
2003 $8,498,894,359 $17,271,760,397
2002 $6,728,220,983 $16,578,820,799
2001 $5,800,615,375 $15,976,174,476
2000 $5,567,772,769 $15,013,629,579
1999 $4,686,256,363 $14,254,866,284
1998 $4,116,774,301 $13,684,255,998
1997 $3,671,909,673 $12,614,602,322
1996 $2,786,045,322 $11,678,424,727
1995 $1,866,572,954 $11,578,594,333
1994 $1,255,802,469 $10,489,903,834
1993 $3,630,668,950 $9,564,816,063
1992 $4,735,044,707 $8,579,754,953
1991 $6,122,959,184 $7,215,725,635
1990 $7,753,478,261 $5,711,687,787
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–2025, retrieved 2026-07-08).

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

GDP per capita in Bosnia and Herzegovina vs Costa Rica by year

Bosnia and Herzegovina
GDP per capita

GDP per capita, PPP
Costa Rica
GDP per capita

GDP per capita, PPP
1x
Year Current $
Bosnia Costa Rica
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $10,382 - $19,970 -
2024 $9,398 $25,043 $18,853 $31,107
2023 $8,663 $23,376 $17,141 $28,909
2022 $7,656 $21,651 $13,972 $26,226
2021 $7,295 $18,287 $12,962 $23,853
2020 $6,130 $16,370 $12,476 $22,100
2019 $6,122 $16,429 $12,952 $23,340
2018 $6,048 $14,859 $12,620 $21,498
2017 $5,345 $13,627 $12,317 $20,499
2016 $4,929 $12,899 $12,091 $19,202
2015 $4,662 $11,845 $11,715 $17,525
2014 $5,206 $11,168 $10,911 $16,394
2013 $5,035 $10,808 $10,803 $15,232
2012 $4,694 $10,121 $10,127 $14,464
2011 $4,983 $9,761 $9,276 $13,614
2010 $4,506 $9,086 $8,266 $12,928
2009 $4,540 $8,698 $6,833 $12,274
2008 $4,842 $8,587 $6,937 $12,472
2007 $3,931 $7,686 $6,138 $11,842
2006 $3,166 $6,869 $5,257 $10,800
2005 $2,740 $5,956 $4,703 $9,899
2004 $2,453 $5,407 $4,431 $9,365
2003 $2,034 $4,917 $4,173 $8,863
2002 $1,607 $4,665 $4,068 $8,461
2001 $1,388 $4,307 $3,985 $8,190
2000 $1,338 $4,148 $3,813 $7,879
1999 $1,135 $3,875 $3,691 $7,563
1998 $1,007 $3,524 $3,617 $7,306
1997 $914 $3,041 $3,408 $6,890
1996 $719 $2,269 $3,227 $6,568
1995 $502 $1,507 $3,275 $6,515
1994 $337 $1,269 $3,040 $6,276
1993 $930 $1,067 $2,840 $6,025
1992 $1,118 $982 $2,612 $5,635
1991 $1,373 $975 $2,253 $5,175
1990 $1,743 $1,043 $1,830 $5,021
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–2025, retrieved 2026-07-08).

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

Bosnia and Herzegovina's GDP per capita is $10,382, ranking 87/197, compared to $19,970 in Costa Rica, ranking 59/197. Adjusted for purchasing power (GDP per capita PPP), Bosnia and Herzegovina ranks 83rd at $25,043, while Costa Rica ranks 72nd at $31,107.

Economic indicators

Bosnia Costa Rica
Gross domestic product
$32.6B
2025
$103B
2025
GDP rank
110/197
2025
74/197
2025
GDP growth
2.13%
2024-2025
4.56%
2024-2025
GDP per capita
$10,382
2025
$19,970
2025
GDP per capita rank
87/197
2025
59/197
2025
GDP per capita, PPP
$25,043
2024
$31,107
2024
GDP per capita PPP rank
83/197
2024
72/197
2024
Government debt
$9.76B
2025
$62.2B
2025
Debt-to-GDP ratio
29.9%
2025
60.4%
2025
Government debt per person
$3,108
2025
$12,064
2025
Government debt per person rank
104/185
2025
51/185
2025
Average annual personal income after taxes
$9,479
2026
$12,879
2026
Market capitalization of domestic companies n/a
$2.23B
2022
Income share by richest 10%
23.6%
2021
34.3%
2025
Income share by poorest 10%
3.3%
2021
1.8%
2025
Government expenditure, % of GDP
44.9%
2025
17.8%
2025
Consumer prices inflation
4%
2024-2025
-0.07%
2024-2025
Central bank interest rate n/a
3.5%
2025
Unemployment rate
10.7%
2024
6.34%
2025
Population
3114736
5186356

Spending and national debt comparison by year

Bosnia and Herzegovina
Spending

Debt
Costa Rica
Spending

Debt
1x
Year % of GDP
Bosnia Costa Rica
Government spending Government debt Government spending Government debt
2025 44.9% 29.9% 17.8% 60.4%
2024 43.3% 29.4% 18.6% 58.9%
2023 41.9% 29% 18.3% 60.4%
2022 39.4% 31.2% 18.7% 61.4%
2021 40.6% 35.8% 20.6% 67%
2020 45.4% 37.2% 22.1% 66.5%
2019 39.9% 32.8% 21.6% 56.1%
2018 40.4% 34.5% 18.9% 51.7%
2017 40% 38.6% 19.2% 47.1%
2016 41.5% 44.9% 18.8% 44.1%
2015 42.7% 46.4% 18.8% 39.8%
2014 46.2% 47.1% 18.4% 37.4%
2013 43.8% 43.8% 18.5% 35.1%
2012 47.9% 43.6% 17.3% 33.7%
2011 46.4% 40.9% 17.2% 29.5%
2010 48.7% 42.2% 18% 28.1%
2009 49% 36.4% 16.7% 26%
2008 48.4% 30.3% 15.2% 24%
2007 45.2% 18.2% 14.6% 27%
2006 44.2% 20.6% 15.2% 33%
2005 44.5% 24.9% 15.9% 37.3%
2004 45.6% 25.5% 17% 41%
2003 47.3% 27.6% 17.6% 40.6%
2002 47.4% 31.1% 18.6% 41.4%
2001 50.2% 35.1% 17.3% 39.6%
2000 56.2% 34.6% 16.9% 38.9%
1999 57.5% 56% 16.7% 39%
1998 54.4% 54.4% 16% 40.7%
1997 - - 16.3% 30.6%
1996 - - 17.3% 33.7%
1995 - - 16.4% 29.1%
1994 - - 17.4% 27%
1993 - - 13.8% 24.4%
1992 - - 13.7% 23.3%
1991 - - 14% 28.4%
1990 - - 18.9% 18.5%
1989 - - 26.1% 19.3%
1988 - - 24.5% 18.2%
1987 - - 27.2% 21.2%
1986 - - 26.4% 26.1%
1985 - - 21.8% 22.8%
1984 - - 22.8% 25.2%
1983 - - 23.6% 29.8%
1982 - - 18.4% 31.8%
1981 - - 21% 32.3%
1980 - - 25% 37.7%
1979 - - 24.9% 39.5%
1978 - - 23.2% 41.7%
1977 - - 19.3% 27.8%
1976 - - 20.1% 29.5%
1975 - - 19.1% 26.1%
1974 - - 18.3% 30.3%
1973 - - 18.4% 32.8%
1972 - - 17.2% 31.8%
1971 - - 17.5% 30.4%
1970 - - 14.9% 28.6%
1969 - - 14.5% 26.1%
1968 - - 13.8% 27.7%
1967 - - 14.7% 26.7%
1966 - - 14.3% 24.8%
1965 - - 13.8% 24.1%
1964 - - 13.5% 22.7%
1963 - - 13.3% 21.8%
1962 - - 14% 19.7%
1961 - - 13.2% 20.3%
1960 - - 12.5% 16.1%

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

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

In 2025, Bosnia and Herzegovina's government spending was $14.6B, accounting for 44.9% of its GDP, while Costa Rica spent $18.3B, or 17.8% of GDP.

Debt-to-GDP ratio is 29.9% in Bosnia and Herzegovina and 60.4% in Costa Rica, ranking 156/185 and 77/185, respectively.

Government deficit by year

Deficit/surplus
Bosnia and Herzegovina

Costa Rica
1x
Year Deficit/surplus, % of GDP
Bosnia Costa Rica
2025 -2.41% -3.35%
2024 -1.96% -3.73%
2023 -1.67% -3.21%
2022 0.15% -2.74%
2021 -0.18% -5.04%
2020 -4.5% -8.32%
2019 1.37% -6.65%
2018 1.63% -5.65%
2017 1.79% -5.88%
2016 0.34% -5.09%
2015 -0.19% -5.52%
2014 -2.87% -5.45%
2013 -2.19% -5.25%
2012 -3.76% -4.22%
2011 -2.73% -3.91%
2010 -4.06% -4.96%
2009 -5.34% -3.25%
2008 -3.82% 0.18%
2007 0.17% 0.56%
2006 2.08% -1.04%
2005 0.74% -2.09%
2004 -0.18% -3.42%
2003 -0.44% -3.43%
2002 -2.99% -4.99%
2001 -3.44% -3.47%
2000 -4.63% -3.68%
1999 -2.78% -2.88%
1998 -0.98% -2.96%
1997 - -3.39%
1996 - -4.32%
1995 - -3.68%
1994 - -5.46%
1993 - -1.52%
1992 - -1.51%
1991 - -2.41%
1990 - -4.4%
1989 - -1.55%
1988 - 0.57%
1987 - -2.57%
1986 - -4.26%
1985 - -1.06%
1984 - -0.5%
1983 - -1.84%
1982 - -0.94%
1981 - -3.14%
1980 - -7.24%
1979 - -6.6%
1978 - -4.12%
1977 - -2.63%
1976 - -2.42%
1975 - -1.13%
1974 - 0.26%
1973 - -2.41%
1972 - -4.54%
1971 - -4.72%
1970 - -1.41%
1969 - -1.61%
1968 - -1.72%
1967 - -3.03%
1966 - -2.12%
1965 - -1.71%
1964 - -1.51%
1963 - -2.01%
1962 - -1.99%
1961 - -0.71%
1960 - -0.19%
1959 - 0.49%
1958 - 0%
1957 - 0.3%
1956 - 0.05%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1956–1989, retrieved 2026-07-08).

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

In 2025, Bosnia and Herzegovina's government deficit, the difference between spending and revenue, was $784M, equivalent to 2.41% of GDP. This compares to Costa Rica's deficit of $3.45B, or 3.35% of GDP.

Over the past 28 years, Bosnia and Herzegovina recorded a fiscal deficit in 20 of those years, while Costa Rica ran a deficit in 26 years. On average, Bosnia and Herzegovina posted an annual deficit equal to 1.53% of GDP, compared to deficit of 3.91% of GDP for Costa Rica.

Inflation comparison by year

Inflation
Bosnia and Herzegovina

Costa Rica
1x
Year Consumer prices inflation
Bosnia Costa Rica
2025 4% -0.07%
2024 1.7% -0.41%
2023 6.1% 0.53%
2022 14% 8.27%
2021 2% 1.73%
2020 -1% 0.72%
2019 0.6% 2.1%
2018 1.4% 2.22%
2017 0.8% 1.63%
2016 -1.6% -0.02%
2015 -1% 0.8%
2014 -0.9% 4.52%
2013 -0.1% 5.23%
2012 2.1% 4.5%
2011 4% 4.88%
2010 2.1% 5.66%
2009 -0.4% 7.84%
2008 7.4% 13.4%
2007 1.5% 9.36%
2006 6.1% 11.5%
2005 3.6% 13.8%
2004 0.3% 12.3%
2003 0.5% 9.45%
2002 0.3% 9.17%
2001 3.2% 11.3%
2000 5% 11%
1999 2.8% 10%
1998 -0.3% 11.7%
1997 5.7% 13.2%

Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2025, retrieved 2026-07-08); World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

Over the past 29 years, Bosnia and Herzegovina has recorded an average annual inflation rate of 2.41%, compared with 6.42% in Costa Rica. In 2025, inflation was 4% in Bosnia and Herzegovina and -0.07% in Costa Rica.

Top exports between countries

Bosnia
Export category Export value
Metals $37K
Machinery & equipment $6K
Wood & paper products $1K
Costa Rica
Export category Export value
Textiles & consumer goods $1K

Balance of trade

Bosnia Costa Rica
Current account balance
-$1.02B
2025
-$687M
2025
Current account balance ranking
117/190
2025
108/190
2025
Current account balance, % of GDP
-3.14%
2025
-0.67%
2025
Goods imports
$16.3B
2025
$24.4B
2025
Goods exports
$9.5B
2025
$23.5B
2025
Service imports
$1.42B
2025
$8.64B
2025
Service exports
$3.92B
2025
$18.1B
2025
Imports of goods and services, % of GDP
54.1%
2025
32.6%
2025
Exports of goods and services, % of GDP
41%
2025
38.8%
2025

Economic freedom indices

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

Bosnia Costa Rica
Economic freedom 63.1 69.1
Economic freedom ranking 83/197 43/197
Property rights 46.9 66
Government integrity 36.8 64.1
Judicial effectiveness 36.1 76.9
Tax burden 93.9 78.6
Government spending 48.4 89.3
Fiscal health 96.2 75.6
Business freedom 65.1 79.9
Labor freedom 62.7 55.9
Monetary freedom 77.5 78.2
Trade freedom 69 75
Investment freedom 65 50
Financial freedom 60 40

Economic freedom comparison by year

Bosnia and Herzegovina
Costa Rica
1x
Year Economic freedom index
Bosnia Costa Rica
2026 63.1 69.1
2025 63.5 68.6
2024 62 67.7
2023 62.9 66.5
2022 63.4 65.4
2021 62.9 64.2
2020 62.6 65.8
2019 61.9 65.3
2018 61.4 65.6
2017 60.2 65
2016 58.6 67.4
2015 59 67.2
2014 58.4 66.9
2013 57.3 67
2012 57.3 68
2011 57.5 67.3
2010 56.2 65.9
2009 53.1 66.4
2008 53.9 64.2
2007 54.4 64
2006 55.6 65.9
2005 48.8 66.1
2004 44.7 66.4
2003 40.6 67
2002 37.4 67.5
2001 36.6 67.6
2000 45.1 68.4
1999 29.4 67.4
1998 29.4 65.6
1997 - 65.6
1996 - 66.4
1995 - 68

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

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | CC BY

The Economic Freedom Index for Bosnia and Herzegovina is 63.1, ranking 83/197, compared to 69.1 for Costa Rica, ranking 43/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Bosnia Costa Rica
Services, % of GDP
57.7%
2025
69.2%
2025
Industry, % of GDP
21.5%
2025
19.9%
2025
Agriculture, forestry, and fishing, % of GDP
4.36%
2025
3.37%
2025
GNI, Atlas method
$31.2B
2025
$92.4B
2025
GNI per capita, PPP
$25,810
2025
$30,760
2025
Total reserves including gold
$9.42B
2024
$17.1B
2025
Total reserves ranking
83/177
2024
70/177
2025
Net foreign direct investment
-$526M
2025
-$5.12B
2025
Net inflows of foreign direct investment
$1B
2024
$5.4B
2024
Net outflows of foreign direct investment
$119M
2024
$337M
2024
Servicing debt to the IMF, % of GNI
4.91%
2024
6.31%
2023
Poverty at national poverty lines
16.9%
2015
17.1%
2025
Gross capital formation, % of GDP
28.7%
2025
15.8%
2025

GDP per capita map

1x

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

GeoRank.org/economy/bosnia-and-herzegovina/costa-rica | 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–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1956–1995, retrieved 2026-07-08)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  5. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  6. TradeMap (2020–2024, retrieved 2026-07-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  8. LivingCost (2026, retrieved 2026-07-08)

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.