Skip to content

Economy of Hungary vs Sri Lanka compared: GDP & Debt

Updated on by Georank

Hungary has a GDP of $246B compared to $109B for Sri Lanka, ranking 55/197 and 71/197 by economy size, respectively.

Hungary has $185B in government debt (75.2% of GDP), compared to $100B (100.8% of GDP) in Sri Lanka.

Hungary vs Sri Lanka GDP by year

Hungary
Sri Lanka
1x
Year GDP, current $
Hungary Sri Lanka
2025 $246,490,213,513 $108,825,231,671
2024 $222,848,211,034 $99,616,111,266
2023 $213,029,511,029 $84,080,307,356
2022 $177,002,580,544 $74,143,020,304
2021 $183,282,685,440 $88,556,699,052
2020 $158,468,487,754 $84,335,574,372
2019 $164,936,682,034 $88,998,706,178
2018 $161,184,691,014 $94,450,015,983
2017 $143,335,098,992 $94,369,350,439
2016 $128,983,560,865 $88,000,210,878
2015 $125,244,126,623 $85,090,300,896
2014 $141,128,696,412 $82,531,125,462
2013 $135,646,053,779 $76,976,204,075
2012 $128,470,269,690 $70,447,216,891
2011 $141,712,804,954 $67,753,285,882
2010 $131,898,737,241 $58,636,049,581
2009 $130,807,441,076 $42,066,224,093
2008 $158,228,265,916 $40,713,826,215
2007 $140,123,326,896 $32,350,238,760
2006 $115,604,111,412 $28,267,410,543
2005 $113,098,237,571 $24,405,791,045
2004 $104,015,363,080 $20,662,525,941
2003 $85,190,469,121 $18,881,765,437
2002 $67,636,468,625 $16,536,535,647
2001 $53,800,068,066 $15,749,753,805
2000 $47,275,954,429 $16,595,882,819
1999 $49,160,204,397 $15,711,933,513
1998 $48,784,412,624 $15,760,736,956
1997 $47,398,564,799 $15,091,913,884
1996 $46,833,767,124 $13,897,738,375
1995 $46,577,614,589 $13,029,697,561
1994 $43,307,949,890 $11,717,604,209
1993 $40,256,233,360 $10,338,679,636
1992 $38,857,339,125 $9,703,011,636
1991 $34,867,307,353 $9,000,362,582
1990 $34,478,360,679 $8,032,551,173
1989 $30,422,508,938 $6,987,267,684
1988 $29,799,838,597 $6,978,371,581
1987 $27,232,016,527 $6,682,167,120
1986 $24,778,163,812 $6,405,210,564
1985 $21,510,643,750 $5,978,460,972
1984 $21,242,726,264 $6,043,474,843
1983 $21,910,365,258 $5,167,913,302
1982 $24,141,667,188 $4,768,765,017
1981 $23,705,883,892 $4,415,844,156
1980 $23,116,977,148 $4,024,621,900
1979 $19,959,731,325 $3,364,611,432
1978 $17,286,744,154 $2,733,183,857
1977 $14,783,674,055 $4,104,509,583
1976 $13,235,612,079 $3,591,319,857
1975 $11,420,392,515 $3,791,298,146
1974 $10,016,338,179 $3,574,586,466
1973 $9,138,292,402 $2,875,625,000
1972 $7,379,313,742 $2,553,936,348
1971 $6,291,568,221 $2,369,308,600
1970 $5,780,929,203 $2,296,470,588
1969 $5,429,812,387 $1,965,546,218
1968 $4,886,222,555 $1,801,344,538
1967 - $1,859,465,021
1966 - $1,751,470,588
1965 - $1,698,319,328
1964 - $1,309,747,899
1963 - $1,240,672,269
1962 - $1,434,156,379
1961 - $1,444,327,731
1960 - $1,409,873,950

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/hungary/sri-lanka | CC BY

GDP per capita in Hungary vs Sri Lanka by year

Hungary
GDP per capita

GDP per capita, PPP
Sri Lanka
GDP per capita

GDP per capita, PPP
1x
Year Current $
Hungary Sri Lanka
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $25,907 - $5,002 -
2024 $23,305 $48,552 $4,545 $15,633
2023 $22,209 $46,592 $3,815 $14,456
2022 $18,428 $44,366 $3,343 $14,194
2021 $19,031 $38,887 $3,997 $14,316
2020 $16,387 $35,584 $3,848 $12,941
2019 $17,013 $35,627 $4,082 $14,113
2018 $16,605 $32,258 $4,359 $14,178
2017 $14,736 $29,728 $4,399 $13,610
2016 $13,216 $28,179 $4,149 $13,079
2015 $12,783 $26,938 $4,058 $12,227
2014 $14,353 $25,796 $3,972 $11,721
2013 $13,739 $24,592 $3,739 $11,253
2012 $12,950 $23,205 $3,328 $10,249
2011 $14,211 $22,992 $3,225 $9,076
2010 $13,190 $21,691 $2,808 $8,234
2009 $13,051 $20,691 $2,027 $7,576
2008 $15,763 $20,709 $1,974 $7,317
2007 $13,935 $19,089 $1,579 $6,820
2006 $11,478 $18,362 $1,389 $6,261
2005 $11,212 $17,091 $1,207 $5,679
2004 $10,291 $16,251 $1,029 $5,216
2003 $8,410 $15,460 $946 $4,850
2002 $6,658 $14,532 $835 $4,522
2001 $5,281 $13,223 $804 $4,328
2000 $4,630 $11,872 $860 $4,368
1999 $4,802 $10,892 $829 $4,103
1998 $4,752 $10,415 $848 $3,952
1997 $4,606 $9,846 $827 $3,804
1996 $4,542 $9,388 $776 $3,582
1995 $4,509 $9,222 $742 $3,454
1994 $4,187 $8,888 $678 $3,260
1993 $3,887 $8,441 $607 $3,067
1992 $3,747 $8,284 $580 $2,851
1991 $3,361 $8,352 $546 $2,713
1990 $3,324 $9,169 $491 $2,527
1989 $2,902 - $430 -
1988 $2,812 - $434 -
1987 $2,566 - $420 -
1986 $2,331 - $407 -
1985 $2,020 - $385 -
1984 $1,991 - $391 -
1983 $2,050 - $336 -
1982 $2,255 - $312 -
1981 $2,213 - $292.5 -
1980 $2,158 - $271.1 -
1979 $1,865 - $230.8 -
1978 $1,618 - $191 -
1977 $1,388 - $292.1 -
1976 $1,249 - $260.3 -
1975 $1,083 - $279.8 -
1974 $956 - $268.7 -
1973 $876 - $220.2 -
1972 $710 - $199.4 -
1971 $607 - $188.8 -
1970 $559 - $186.9 -
1969 $527 - $163.6 -
1968 $476 - $153.5 -
1967 - - $162.3 -
1966 - - $156.6 -
1965 - - $155.6 -
1964 - - $122.9 -
1963 - - $119.4 -
1962 - - $141.4 -
1961 - - $145.9 -
1960 - - $145.9 -

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/hungary/sri-lanka | CC BY

Hungary's GDP per capita is $25,907, ranking 52/197, compared to $5,002 in Sri Lanka, ranking 124/197. Adjusted for purchasing power (GDP per capita PPP), Hungary ranks 48th at $48,552, while Sri Lanka ranks 111th at $15,633.

Economic indicators

Hungary Sri Lanka
Gross domestic product
$246B
2025
$109B
2025
GDP rank
55/197
2025
71/197
2025
GDP growth
0.51%
2024-2025
4.95%
2024-2025
GDP per capita
$25,907
2025
$5,002
2025
GDP per capita rank
52/197
2025
124/197
2025
GDP per capita, PPP
$48,552
2024
$15,633
2024
GDP per capita PPP rank
48/197
2024
111/197
2024
Government debt
$185B
2025
$100B
2024
Debt-to-GDP ratio
75.2%
2025
100.8%
2024
Government debt per person
$19,473
2025
$4,584
2024
Government debt per person rank
33/185
2025
90/185
2024
Average annual personal income after taxes
$18,331
2026
$2,830
2026
Market capitalization of domestic companies
$62.6B
2025
$26.1B
2025
Number of millionaires
27,000
2026
n/a
Number of billionaires
4
2026
n/a
Income share by richest 10%
24.4%
2022
30.8%
2019
Income share by poorest 10%
2.8%
2022
3.1%
2019
Government expenditure, % of GDP
47.5%
2025
19.1%
2024
Consumer prices inflation
4.41%
2024-2025
-4.76%
2024-2025
Central bank interest rate
6.25%
2026
7.75%
2025
Unemployment rate
4.4%
2025
4.32%
2024
Population
9454659
21926160

Spending and national debt comparison by year

Hungary
Spending

Debt
Sri Lanka
Spending

Debt
1x
Year % of GDP
Hungary Sri Lanka
Government spending Government debt Government spending Government debt
2025 47.5% 75.2% - -
2024 46.9% 73.5% 19.1% 100.8%
2023 49.3% 73.2% 19.5% 110.4%
2022 48.9% 74.1% 18.6% 115.9%
2021 48.1% 76.2% 20% 102.7%
2020 51% 78.7% 22.1% 96.9%
2019 45.8% 65% 19.5% 82.6%
2018 45.9% 68.8% 17.5% 83.6%
2017 46.6% 72% 17.9% 72.3%
2016 46.7% 74.6% 18.2% 75%
2015 50.4% 75.7% 19.3% 76.3%
2014 50% 76.5% 17.2% 69.6%
2013 50.1% 77.2% 16.6% 69.5%
2012 49.2% 78.4% 17.3% 67.5%
2011 49.1% 80.5% 19.1% 69.4%
2010 48.9% 80.2% 19.3% 68.7%
2009 50.7% 78.2% 21% 72.8%
2008 48.8% 71.8% 19.1% 68.8%
2007 49.9% 65.6% 19.9% 71.8%
2006 51.4% 64.5% 20.5% 74.3%
2005 49.4% 60.6% 20.1% 76.6%
2004 48.8% 58.9% 19.3% 86.5%
2003 49.2% 58.2% 19.3% 86.5%
2002 51% 55.6% 20.8% 96.3%
2001 47.2% 52.2% 22.4% 84.4%
2000 47.3% 55.6% 21.7% 79.2%
1999 48.9% 60.3% 20.5% 77.7%
1998 50.7% 60.4% 21.4% 74.2%
1997 49.5% 62.2% 21.4% 70.1%
1996 50.9% 71.2% 23.1% 76.2%
1995 55% 83.9% 24.8% 77.8%
1994 - 86.2% 24.1% 77.9%
1993 - 87.2% 23.2% 79.2%
1992 - 76.5% 23% 77.9%
1991 - 74.2% 26.4% 80.5%
1990 - 63.7% 25.4% 78.9%
1989 - 70.7% - -

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

GeoRank.org/economy/hungary/sri-lanka | CC BY

In 2025, Hungary's government spending was $117B, accounting for 47.5% of its GDP, while Sri Lanka spent $19B, or 19.1% of GDP.

Debt-to-GDP ratio is 75.2% in Hungary and 100.8% in Sri Lanka, ranking 50/185 and 24/185, respectively.

Government deficit by year

Deficit/surplus
Hungary

Sri Lanka
1x
Year Deficit/surplus, % of GDP
Hungary Sri Lanka
2025 -4.68% -
2024 -4.9% -5.43%
2023 -6.77% -8.32%
2022 -6.19% -10.2%
2021 -7.11% -11.7%
2020 -7.49% -13.4%
2019 -2.02% -7.52%
2018 -2.05% -4.96%
2017 -2.45% -5.1%
2016 -1.79% -5%
2015 -2% -6.64%
2014 -2.77% -5.99%
2013 -2.6% -5%
2012 -2.33% -5.44%
2011 -5.22% -6.01%
2010 -4.44% -6.73%
2009 -4.76% -8.33%
2008 -3.78% -5.93%
2007 -5.09% -5.81%
2006 -9.27% -5.91%
2005 -7.79% -5.93%
2004 -6.6% -6.32%
2003 -7.19% -6.15%
2002 -8.79% -6.9%
2001 -4% -8.48%
2000 -3.04% -7.78%
1999 -5.27% -5.58%
1998 -7.41% -6.79%
1997 -5.54% -5.71%
1996 -4.36% -6.89%
1995 -8.57% -7.11%
1994 - -7.41%
1993 - -5.77%
1992 - -4.95%
1991 - -7.97%
1990 - -6.39%
1989 - -
1988 - -
1987 - -
1986 - -
1985 - -
1984 - -
1983 - -
1982 - -
1981 - -
1980 - -
1979 - -
1978 - -
1977 - -
1976 - -
1975 - -
1974 - -
1973 - -
1972 - -
1971 - -
1970 - -
1969 - -
1968 - -
1967 - -
1966 - -
1965 - -
1964 - -
1963 - -
1962 - -
1961 - -
1960 - -
1959 - -
1958 - -
1957 - -
1956 - -
1955 - -
1954 - -
1953 - -
1952 - -
1951 - -
1950 - -
1949 - -
1948 - -
1947 - -
1946 - -
1945 - -
1944 - -
1943 -0.17% -
1942 0.31% -
1941 0.2% -
1940 -0.07% -
1939 0.19% -
1938 -0.11% -
1937 -0.01% -
1936 0.08% -
1935 0.03% -
1934 0.04% -
1933 -0.03% -
1932 -0.22% -
1931 -0.32% -
1930 -0.26% -
1929 0.02% -
1928 0.12% -
1927 0.15% -

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

GeoRank.org/economy/hungary/sri-lanka | CC BY

In 2024, Hungary's government deficit, the difference between spending and revenue, was $10.9B, equivalent to 4.9% of GDP. This compares to Sri Lanka's deficit of $5.4B, or 5.43% of GDP.

Over the past 30 years, Hungary recorded a fiscal deficit in 30 of those years, while Sri Lanka ran a deficit in 30 years. On average, Hungary posted an annual deficit equal to 5.05% of GDP, compared to deficit of 6.9% of GDP for Sri Lanka.

Inflation comparison by year

Inflation
Hungary

Sri Lanka
1x
Year Consumer prices inflation
Hungary Sri Lanka
2025 4.41% -4.76%
2024 3.7% -0.43%
2023 17.1% 16.5%
2022 14.6% 49.7%
2021 5.11% 7.01%
2020 3.33% 6.15%
2019 3.34% 3.53%
2018 2.85% 2.14%
2017 2.35% 7.7%
2016 0.39% 3.96%
2015 -0.06% 3.77%
2014 -0.23% 3.18%
2013 1.73% 6.91%
2012 5.65% 7.54%
2011 3.93% 6.72%
2010 4.86% 6.22%
2009 4.21% 3.46%
2008 6.04% 22.6%
2007 7.96% 15.8%
2006 3.93% 10%
2005 3.56% 11.6%
2004 6.74% 7.58%
2003 4.66% 6.31%
2002 5.27% 9.55%
2001 9.12% 14.2%
2000 9.8% 6.18%
1999 10% 4.69%
1998 14.2% 9.36%
1997 18.3% 9.57%

Data sources: World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

GeoRank.org/economy/hungary/sri-lanka | CC BY

Over the past 29 years, Hungary has recorded an average annual inflation rate of 6.1%, compared with 8.86% in Sri Lanka. In 2025, inflation was 4.41% in Hungary and -4.76% in Sri Lanka.

Top exports between countries

Hungary
Export category Export value
Machinery & equipment $5.69M
Chemicals & pharma $5.35M
Processed food, beverages & tobacco $526K
Wood & paper products $507K
Textiles & consumer goods $197K
Raw agricultural goods $97K
Metals $96K
Raw materials & minerals $96K
Animal & marine products $7K
Miscellaneous $4K
Sri Lanka
Export category Export value
Processed food, beverages & tobacco $28M
Raw materials & minerals $1.91M
Textiles & consumer goods $1.82M
Machinery & equipment $1.51M
Raw agricultural goods $959K
Animal & marine products $117K
Precious metals & jewellery $13K
Wood & paper products $13K
Chemicals & pharma $11K
Metals $3K

Balance of trade

Hungary Sri Lanka
Current account balance
$4.08B
2025
$1.21B
2024
Current account balance ranking
34/190
2025
49/190
2024
Current account balance, % of GDP
+1.65%
2025
+1.21%
2024
Goods imports
$139B
2025
$18.8B
2024
Goods exports
$136B
2025
$12.8B
2024
Service imports
$29.8B
2025
$3.48B
2024
Service exports
$43.1B
2025
$6.91B
2024
Imports of goods and services, % of GDP
68.1%
2025
22.8%
2025
Exports of goods and services, % of GDP
72.6%
2025
19%
2025

Economic freedom indices

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

Hungary Sri Lanka
Economic freedom 62.5 50.3
Economic freedom ranking 86/197 162/197
Property rights 67.3 47.3
Government integrity 44 37.3
Judicial effectiveness 61.9 47.2
Tax burden 85.1 77
Government spending 30.2 89
Fiscal health 32.7 0
Business freedom 70.8 60.1
Labor freedom 56.5 54.3
Monetary freedom 72.1 65.9
Trade freedom 79.4 65.6
Investment freedom 80 30
Financial freedom 70 30

Economic freedom comparison by year

Hungary
Sri Lanka
1x
Year Economic freedom index
Hungary Sri Lanka
2026 62.5 50.3
2025 61.4 49.4
2024 61.2 49.2
2023 64.1 52.2
2022 66.9 53.3
2021 67.2 55.7
2020 66.4 57.4
2019 65 56.4
2018 66.7 57.8
2017 65.8 57.4
2016 66 59.9
2015 66.8 58.6
2014 67 60
2013 67.3 60.7
2012 67.1 58.3
2011 66.6 57.1
2010 66.1 54.6
2009 66.8 56
2008 67.6 58.4
2007 64.8 59.4
2006 65 58.7
2005 63.5 61
2004 62.7 61.6
2003 63 62.5
2002 64.5 64
2001 65.6 66
2000 64.4 63.2
1999 59.6 64
1998 56.9 64.6
1997 55.3 65.5
1996 56.8 62.5
1995 55.2 60.6

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

GeoRank.org/economy/hungary/sri-lanka | CC BY

The Economic Freedom Index for Hungary is 62.5, ranking 86/197, compared to 50.3 for Sri Lanka, ranking 162/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Hungary Sri Lanka
Services, % of GDP
60.1%
2025
54.6%
2025
Industry, % of GDP
23%
2025
25.4%
2025
Agriculture, forestry, and fishing, % of GDP
2.65%
2025
8.36%
2025
GNI, Atlas method
$227B
2025
$102B
2025
GNI per capita, PPP
$48,630
2025
$16,750
2025
Total reserves including gold
$59.1B
2025
$6.09B
2024
Total reserves ranking
42/177
2025
96/177
2024
Net foreign direct investment
$9.1B
2025
-$651M
2024
Net inflows of foreign direct investment
-$61.3B
2024
$761M
2024
Net outflows of foreign direct investment
-$76.3B
2024
$110M
2024
Servicing debt to the IMF, % of GNI n/a
4.96%
2024
Poverty at national poverty lines
12.1%
2021
14.3%
2019
Gross capital formation, % of GDP
22.2%
2025
29.6%
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/hungary/sri-lanka | 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. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  4. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  5. International Monetary Fund (IMF) | Public Finances in Modern History (1927–1994, retrieved 2026-07-08)
  6. TradeMap (2022–2025, 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.