Skip to content

Economy of Hungary vs Madagascar compared: GDP & Debt

Updated on by Georank team

Hungary has a GDP of $223B compared to $17.4B for Madagascar, ranking 55/197 and 136/197 by economy size, respectively.

Hungary has $164B in government debt (73.5% of GDP), compared to $8.77B (50.3% of GDP) in Madagascar.

Hungary vs Madagascar GDP by year

Hungary
Madagascar
1x
Year GDP, current $
Hungary Madagascar
2024 $222,722,738,926 $17,420,501,490
2023 $213,240,316,635 $15,869,945,478
2022 $177,002,580,544 $15,325,603,273
2021 $183,282,685,440 $14,354,731,964
2020 $158,468,487,754 $13,051,441,204
2019 $164,936,682,034 $14,104,664,679
2018 $161,184,691,014 $13,760,033,282
2017 $143,335,098,992 $13,176,313,594
2016 $128,983,560,865 $11,848,613,858
2015 $125,244,126,623 $11,323,020,701
2014 $141,128,696,412 $12,522,957,399
2013 $135,646,053,779 $12,423,555,455
2012 $128,470,269,690 $11,578,975,062
2011 $141,712,804,954 $11,551,819,618
2010 $131,898,737,241 $9,982,711,338
2009 $130,807,441,076 $9,616,879,409
2008 $158,228,265,916 $10,725,137,724
2007 $140,123,326,896 $8,524,620,890
2006 $115,604,111,412 $6,395,712,491
2005 $113,098,237,571 $5,859,269,753
2004 $104,015,363,080 $5,064,732,626
2003 $85,190,469,121 $6,372,498,890
2002 $67,636,468,625 $5,351,701,663
2001 $53,800,068,066 $5,438,332,602
2000 $47,275,954,429 $4,629,247,204
1999 $49,160,204,397 $4,277,903,780
1998 $48,784,412,624 $4,401,967,633
1997 $47,398,564,799 $4,262,965,420
1996 $46,833,767,124 $4,931,861,039
1995 $46,577,614,589 $3,838,100,904
1994 $43,307,949,890 $3,522,227,092
1993 $40,256,233,360 $4,063,298,919
1992 $38,857,339,125 $3,714,966,678
1991 $34,867,307,353 $3,254,713,056
1990 $34,478,360,679 $3,931,334,875
1989 $30,422,508,938 $3,175,638,333
1988 $29,799,838,597 $3,189,456,965
1987 $27,232,016,527 $3,212,900,556
1986 $24,778,163,812 $4,347,989,788
1985 $21,510,643,750 $3,802,557,895
1984 $21,242,726,264 $3,905,938,481
1983 $21,910,365,258 $4,686,457,031
1982 $24,141,667,188 $4,784,977,326
1981 $23,705,883,892 $4,759,333,998
1980 $23,116,977,148 $5,201,818,348
1979 $19,959,731,325 $3,463,565,854
1978 $17,286,744,154 $2,669,755,115
1977 $14,783,674,055 $2,358,930,406
1976 $13,235,612,079 $2,181,844,179
1975 $11,420,392,515 $2,283,049,215
1974 $10,016,338,179 $1,917,508,190
1973 $9,138,292,402 $1,653,062,335
1972 $7,379,313,742 $1,341,590,690
1971 $6,291,568,221 $1,199,507,631
1970 $5,780,929,203 $1,111,859,571
1969 $5,429,812,387 $1,056,391,056
1968 $4,886,222,555 $1,031,669,637
1967 - $956,436,932
1966 - $900,264,585
1965 - $833,563,473
1964 - $802,482,184
1963 - $759,345,864
1962 - $739,286,908
1961 - $699,161,945
1960 - $673,081,725

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

GeoRank.org/economy/hungary/madagascar | CC BY

GDP per capita in Hungary vs Madagascar by year

Hungary
GDP per capita

GDP per capita, PPP
Madagascar
GDP per capita

GDP per capita, PPP
1x
Year Current $
Hungary Madagascar
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $23,292 $48,552 $545 $1,884
2023 $22,231 $46,592 $509 $1,808
2022 $18,428 $44,366 $504 $1,717
2021 $19,031 $38,887 $483 $1,577
2020 $16,387 $35,584 $451 $1,490
2019 $17,013 $35,627 $500 $1,612
2018 $16,605 $32,258 $500 $1,547
2017 $14,736 $29,728 $492 $1,547
2016 $13,216 $28,179 $454 $1,562
2015 $12,783 $26,938 $445 $1,497
2014 $14,353 $25,796 $506 $1,499
2013 $13,739 $24,592 $515 $1,473
2012 $12,950 $23,205 $494 $1,464
2011 $14,211 $22,992 $506 $1,475
2010 $13,190 $21,691 $450 $1,464
2009 $13,051 $20,691 $446 $1,480
2008 $15,763 $20,709 $513 $1,577
2007 $13,935 $19,089 $420 $1,493
2006 $11,478 $18,362 $324 $1,416
2005 $11,212 $17,091 $306 $1,343
2004 $10,291 $16,251 $272.2 $1,280
2003 $8,410 $15,460 $353 $1,219
2002 $6,658 $14,532 $305 $1,121
2001 $5,281 $13,223 $319 $1,299
2000 $4,630 $11,872 $280.3 $1,236
1999 $4,802 $10,892 $267.4 $1,194
1998 $4,752 $10,415 $284.2 $1,162
1997 $4,606 $9,846 $284.4 $1,142
1996 $4,542 $9,388 $340 $1,119
1995 $4,509 $9,222 $273.1 $1,111
1994 $4,187 $8,888 $258.7 $1,104
1993 $3,887 $8,441 $308 $1,116
1992 $3,747 $8,284 $290.2 $1,101
1991 $3,361 $8,352 $262 $1,096
1990 $3,324 $9,169 $326 $1,166
1989 $2,902 - $271.3 -
1988 $2,812 - $280.5 -
1987 $2,566 - $290.8 -
1986 $2,331 - $405 -
1985 $2,020 - $364 -
1984 $1,991 - $385 -
1983 $2,050 - $476 -
1982 $2,255 - $501 -
1981 $2,213 - $513 -
1980 $2,158 - $578 -
1979 $1,865 - $396 -
1978 $1,618 - $315 -
1977 $1,388 - $286.9 -
1976 $1,249 - $273.5 -
1975 $1,083 - $295 -
1974 $956 - $255.3 -
1973 $876 - $226.8 -
1972 $710 - $189.6 -
1971 $607 - $174.6 -
1970 $559 - $166.6 -
1969 $527 - $162.9 -
1968 $476 - $163.6 -
1967 - - $155.9 -
1966 - - $150.7 -
1965 - - $143.2 -
1964 - - $141.5 -
1963 - - $137.4 -
1962 - - $137.3 -
1961 - - $133.3 -
1960 - - $131.7 -

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

GeoRank.org/economy/hungary/madagascar | CC BY

Hungary's GDP per capita is $23,292, ranking 55/197, compared to $545 in Madagascar, ranking 193/197. Adjusted for purchasing power (GDP per capita PPP), Hungary ranks 48th at $48,552, while Madagascar ranks 187th at $1,884.

Economic indicators

Hungary Madagascar
Gross domestic product
$223B
2024
$17.4B
2024
GDP rank
55/197
2024
136/197
2024
GDP growth
0.56%
2023-2024
4.2%
2023-2024
GDP per capita
$23,292
2024
$545
2024
GDP per capita rank
55/197
2024
193/197
2024
GDP per capita, PPP
$48,552
2024
$1,884
2024
GDP per capita PPP rank
48/197
2024
187/197
2024
Government debt
$164B
2024
$8.77B
2024
Debt-to-GDP ratio
73.5%
2024
50.3%
2024
Government debt per person
$17,109
2024
$274.3
2024
Government debt per person rank
37/185
2024
180/185
2024
Average annual personal income after taxes
$16,996
2026
$1,268
2026
Market capitalization of domestic companies
$41.5B
2024
n/a
Number of millionaires
24,692
2025
n/a
Number of billionaires
4
2025
n/a
Income share by richest 10%
24.4%
2022
29.6%
2021
Income share by poorest 10%
2.8%
2022
2.9%
2021
Government expenditure, % of GDP
46.9%
2024
16.2%
2024
Consumer prices inflation
3.7%
2023-2024
9.87%
2022-2023
Central bank interest rate
6.5%
2024
n/a
Unemployment rate
4.47%
2024
3.19%
2022
Population
9475525
33750171

Spending and national debt comparison by year

Hungary
Spending

Debt
Madagascar
Spending

Debt
1x
Year % of GDP
Hungary Madagascar
Government spending Government debt Government spending Government debt
2024 46.9% 73.5% 16.2% 50.3%
2023 49.2% 73% 17.9% 52.7%
2022 48.7% 73.9% 16.2% 49.9%
2021 48.1% 76.2% 13.9% 49.4%
2020 51% 78.7% 16.4% 52.9%
2019 45.8% 65% 15.4% 41.3%
2018 45.9% 68.8% 14.4% 42.9%
2017 46.6% 72% 14.9% 40.1%
2016 46.7% 74.6% 13.5% 40.3%
2015 50.4% 75.7% 13% 44.1%
2014 50% 76.5% 12.6% 37.8%
2013 50.1% 77.2% 12.7% 36.2%
2012 49.2% 78.4% 11.5% 30.4%
2011 49.1% 80.5% 12% 29.9%
2010 48.9% 80.2% 12.3% 32.3%
2009 50.7% 78.2% 12.5% 34.9%
2008 48.8% 71.8% 15.7% 31%
2007 49.9% 65.6% 16.1% 28.2%
2006 51.4% 64.5% 18.5% 32.2%
2005 49.4% 60.6% 18.4% 74.4%
2004 48.8% 58.9% 21.7% 81.9%
2003 49.2% 58.2% 16.6% 85.9%
2002 51% 55.6% 12.4% 86.7%
2001 47.2% 52.2% 15.3% 82.1%
2000 47.3% 55.6% 15.3% 90.2%
1999 48.9% 60.3% 15.5% 104.1%
1998 50.7% 60.4% 16.9% 108.5%
1997 49.5% 62.2% 14.5% 89.7%
1996 50.9% 71.2% 14.4% 98.7%
1995 55% 83.9% 14.5% 95.8%
1994 - 86.2% 16.7% 96%
1993 - 87.2% 17.1% 105.2%
1992 - 76.5% 16.2% 110.9%
1991 - 74.2% 13.5% 113.8%
1990 - 63.7% 13.3% 92.7%
1989 - 70.7% 15.5% 122%
1988 - - 11.4% 126.6%
1987 - - 10.4% 127.5%
1986 - - 11.1% 84.9%
1985 - - 11.8% 82.7%
1984 - - 13.9% 70.9%
1983 - - 13.4% 57.5%
1982 - - 14.3% 56.1%
1981 - - 18.2% 51.5%
1980 - - 22.7% 37.7%

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

GeoRank.org/economy/hungary/madagascar | CC BY

In 2024, Hungary's government spending was $104B, accounting for 46.9% of its GDP, while Madagascar spent $2.82B, or 16.2% of GDP.

Debt-to-GDP ratio is 73.5% in Hungary and 50.3% in Madagascar, ranking 49/185 and 106/185, respectively.

Government deficit by year

Deficit/surplus
Hungary

Madagascar
1x
Year Deficit/surplus, % of GDP
Hungary Madagascar
2024 -4.92% -2.48%
2023 -6.75% -4.19%
2022 -6.17% -5.46%
2021 -7.11% -2.83%
2020 -7.49% -3.96%
2019 -2.02% -1.42%
2018 -2.05% -1.34%
2017 -2.45% -2.1%
2016 -1.79% -1.11%
2015 -2% -2.85%
2014 -2.77% -1.96%
2013 -2.6% -3.4%
2012 -2.33% -2.24%
2011 -5.22% -2.04%
2010 -4.44% -0.76%
2009 -4.76% -2.26%
2008 -3.78% -1.72%
2007 -5.09% -2.31%
2006 -9.27% -5.71%
2005 -7.79% -2.47%
2004 -6.6% -4.23%
2003 -7.19% -3.32%
2002 -8.79% -4.09%
2001 -4% -3.61%
2000 -3.04% -2.35%
1999 -5.27% -2.42%
1998 -7.41% -5.31%
1997 -5.54% -2%
1996 -4.36% -3.97%
1995 -8.57% -5.09%
1994 - -7.23%
1993 - -6.34%
1992 - -5%
1991 - -4.4%
1990 - -0.49%
1989 - -3.35%
1988 - -0.57%
1987 - -2.12%
1986 - -2.24%
1985 - -2.39%
1984 - -6.09%
1983 - -6.04%
1982 - -6.97%
1981 - -9.97%
1980 - -11%
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–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1927–1989, retrieved 2026-02-20).

GeoRank.org/economy/hungary/madagascar | CC BY

In 2024, Hungary's government deficit, the difference between spending and revenue, was $10.9B, equivalent to 4.92% of GDP. This compares to Madagascar's deficit of $432M, or 2.48% of GDP.

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

Inflation comparison by year

Inflation
Hungary

Madagascar
1x
Year Consumer prices inflation
Hungary Madagascar
2024 3.7% -
2023 17.1% 9.87%
2022 14.6% 8.16%
2021 5.11% 5.81%
2020 3.33% 4.2%
2019 3.34% 5.61%
2018 2.85% 8.59%
2017 2.35% 8.61%
2016 0.39% 6.04%
2015 -0.06% 7.4%
2014 -0.23% 6.08%
2013 1.73% 5.83%
2012 5.65% 5.71%
2011 3.93% 9.48%
2010 4.86% 9.25%
2009 4.21% 8.95%
2008 6.04% 9.3%
2007 7.96% 10.3%
2006 3.93% 10.8%
2005 3.56% 18.4%
2004 6.74% 14%
2003 4.66% -1.7%
2002 5.27% 16.5%
2001 9.12% 7.92%
2000 9.8% 11.9%
1999 10% 9.93%
1998 14.2% 6.21%
1997 18.3% 4.49%

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

GeoRank.org/economy/hungary/madagascar | CC BY

Over the past 27 years, Hungary has recorded an average annual inflation rate of 6.25%, compared with 8.42% in Madagascar. In 2023, inflation was 3.7% in Hungary and 9.87% in Madagascar.

Top exports between countries

Hungary
Export category Export value
Raw materials & minerals $207K
Machinery & equipment $84K
Raw agricultural goods $83K
Chemicals & pharma $81K
Textiles & consumer goods $51K
Processed food, beverages & tobacco $29K
Animal & marine products $8K
Metals $6K
Miscellaneous $5K
Wood & paper products $2K
Madagascar
Export category Export value
Textiles & consumer goods $1.74M
Precious metals & jewellery $151K
Raw agricultural goods $31K
Animal & marine products $6K
Machinery & equipment $4K
Metals $1K

Balance of trade

Hungary Madagascar
Current account balance
$3.52B
2024
-$829M
2022
Current account balance ranking
36/190
2024
119/190
2022
Current account balance, % of GDP
+1.58%
2024
-5.41%
2022
Goods imports
$130B
2024
$4.52B
2022
Goods exports
$129B
2024
$3.55B
2022
Service imports
$27.9B
2024
$1.52B
2022
Service exports
$38.9B
2024
$1.14B
2022
Imports of goods and services, % of GDP
71.1%
2024
31.7%
2024
Exports of goods and services, % of GDP
75.4%
2024
23.3%
2024

Economic freedom indices

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

Hungary Madagascar
Economic freedom 62.5 57
Economic freedom ranking 86/197 119/197
Property rights 67.3 39.8
Government integrity 44 26.8
Judicial effectiveness 61.9 33.7
Tax burden 85.1 90.5
Government spending 30.2 91.5
Fiscal health 32.7 68.8
Business freedom 70.8 37.3
Labor freedom 56.5 56.1
Monetary freedom 72.1 71.8
Trade freedom 79.4 67.6
Investment freedom 80 50
Financial freedom 70 50

Economic freedom comparison by year

Hungary
Madagascar
1x
Year Economic freedom index
Hungary Madagascar
2026 62.5 57
2025 61.4 57
2024 61.2 57.3
2023 64.1 58.9
2022 66.9 58.9
2021 67.2 57.7
2020 66.4 60.5
2019 65 56.6
2018 66.7 56.8
2017 65.8 57.4
2016 66 61.1
2015 66.8 61.7
2014 67 61.7
2013 67.3 62
2012 67.1 62.4
2011 66.6 61.2
2010 66.1 63.2
2009 66.8 62.2
2008 67.6 62.4
2007 64.8 61.1
2006 65 61
2005 63.5 63.1
2004 62.7 60.9
2003 63 62.8
2002 64.5 56.8
2001 65.6 53.9
2000 64.4 54.4
1999 59.6 52.8
1998 56.9 51.8
1997 55.3 53.8
1996 56.8 52.2
1995 55.2 51.6

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

GeoRank.org/economy/hungary/madagascar | CC BY

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

Other economic metrics

Hungary Madagascar
Services, % of GDP
59.5%
2024
47.7%
2024
Industry, % of GDP
23.7%
2024
22.8%
2024
Agriculture, forestry, and fishing, % of GDP
2.71%
2024
22.5%
2024
GNI, Atlas method
$199B
2024
$16.4B
2024
GNI per capita, PPP
$47,290
2024
$1,830
2024
Total reserves including gold
$46.4B
2024
$2.78B
2024
Total reserves ranking
42/177
2024
120/177
2024
Net foreign direct investment
-$15.8B
2024
-$326M
2022
Net inflows of foreign direct investment
-$62.2B
2024
$606M
2024
Net outflows of foreign direct investment
-$78B
2024
$134M
2024
Servicing debt to the IMF, % of GNI n/a
1.72%
2024
Poverty at national poverty lines
12.1%
2021
75.2%
2021
Gross capital formation, % of GDP
23.5%
2024
22.2%
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/hungary/madagascar | 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) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  3. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  4. International Monetary Fund (IMF) | Public Finances in Modern History (1927–1994, retrieved 2026-02-20)
  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.