Skip to content

Economy of Indonesia vs Madagascar compared: GDP & Debt

Updated on by Georank

Indonesia has a GDP of $1.45T compared to $19.6B for Madagascar, ranking 17/197 and 136/197 by economy size, respectively.

Indonesia has $593B in government debt (41% of GDP), compared to $9.56B (48.7% of GDP) in Madagascar.

Indonesia vs Madagascar GDP by year

Indonesia
Madagascar
1x
Year GDP, current $
Indonesia Madagascar
2025 $1,445,642,584,164 $19,620,352,036
2024 $1,396,301,788,462 $17,592,832,696
2023 $1,371,166,925,750 $16,036,707,976
2022 $1,319,101,183,380 $15,342,178,598
2021 $1,186,509,691,087 $14,354,731,964
2020 $1,059,054,842,698 $13,051,441,204
2019 $1,119,099,871,350 $14,104,664,679
2018 $1,042,271,532,989 $13,760,033,282
2017 $1,015,618,744,160 $13,176,313,594
2016 $931,877,364,038 $11,848,613,858
2015 $860,854,232,686 $11,323,020,701
2014 $890,814,755,534 $12,522,957,399
2013 $912,524,136,718 $12,423,555,455
2012 $917,869,913,333 $11,578,975,062
2011 $892,969,104,563 $11,551,819,618
2010 $755,094,157,622 $9,982,711,338
2009 $539,580,085,612 $9,616,879,409
2008 $510,228,634,992 $10,725,137,724
2007 $432,216,737,775 $8,524,620,890
2006 $364,570,515,618 $6,395,712,491
2005 $285,868,619,196 $5,859,269,753
2004 $256,836,875,295 $5,064,732,626
2003 $234,772,463,824 $6,372,498,890
2002 $195,660,611,165 $5,351,701,663
2001 $160,446,947,785 $5,438,332,602
2000 $165,021,012,078 $4,629,247,204
1999 $140,001,351,215 $4,277,903,780
1998 $95,445,547,873 $4,401,967,633
1997 $215,748,998,610 $4,262,965,420
1996 $227,369,679,375 $4,931,861,039
1995 $202,132,028,723 $3,838,100,904
1994 $176,892,143,932 $3,522,227,092
1993 $158,006,700,302 $4,063,298,919
1992 $128,026,966,580 $3,714,966,678
1991 $116,621,996,217 $3,254,713,056
1990 $106,140,727,334 $3,931,334,875
1989 $94,451,427,877 $3,175,638,333
1988 $84,300,174,486 $3,189,456,965
1987 $75,929,617,558 $3,212,900,556
1986 $79,954,072,545 $4,347,989,788
1985 $85,289,488,375 $3,802,557,895
1984 $84,853,700,028 $3,905,938,481
1983 $81,052,283,384 $4,686,457,031
1982 $90,158,449,295 $4,784,977,326
1981 $85,518,233,419 $4,759,333,998
1980 $72,482,337,397 $5,201,818,348
1979 $51,400,186,343 $3,463,565,854
1978 $51,455,719,076 $2,669,755,115
1977 $45,808,915,663 $2,358,930,406
1976 $37,269,156,627 $2,181,844,179
1975 $30,463,855,422 $2,283,049,215
1974 $25,802,409,639 $1,917,508,190
1973 $16,273,253,012 $1,653,062,335
1972 $10,997,590,361 $1,341,590,690
1971 $9,333,536,370 $1,199,507,631
1970 $9,150,684,932 $1,111,859,571
1969 $8,337,423,313 $1,056,391,056
1968 $7,076,465,300 $1,031,669,637
1967 $5,667,756,628 $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–2025, retrieved 2026-07-08).

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

GDP per capita in Indonesia vs Madagascar by year

Indonesia
GDP per capita

GDP per capita, PPP
Madagascar
GDP per capita

GDP per capita, PPP
1x
Year Current $
Indonesia Madagascar
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $5,060 - $599 -
2024 $4,925 $16,448 $550 $1,884
2023 $4,876 $15,416 $514 $1,808
2022 $4,731 $14,285 $504 $1,717
2021 $4,287 $12,757 $483 $1,577
2020 $3,854 $11,729 $451 $1,490
2019 $4,107 $11,986 $500 $1,612
2018 $3,861 $11,372 $500 $1,547
2017 $3,799 $10,688 $492 $1,547
2016 $3,521 $10,263 $454 $1,562
2015 $3,288 $10,028 $445 $1,497
2014 $3,441 $10,065 $506 $1,499
2013 $3,567 $9,866 $515 $1,473
2012 $3,632 $9,530 $494 $1,464
2011 $3,579 $8,937 $506 $1,475
2010 $3,066 $8,353 $450 $1,464
2009 $2,218 $7,868 $446 $1,480
2008 $2,125 $7,569 $513 $1,577
2007 $1,823 $7,096 $420 $1,493
2006 $1,558 $6,583 $324 $1,416
2005 $1,238 $6,134 $306 $1,343
2004 $1,127 $5,700 $272.2 $1,280
2003 $1,043 $5,353 $353 $1,219
2002 $881 $5,076 $305 $1,121
2001 $732 $4,849 $319 $1,299
2000 $764 $4,639 $280.3 $1,236
1999 $657 $4,386 $267.4 $1,194
1998 $455 $4,356 $284.2 $1,162
1997 $1,045 $5,037 $284.4 $1,142
1996 $1,119 $4,807 $340 $1,119
1995 $1,011 $4,451 $273.1 $1,111
1994 $900 $4,096 $258.7 $1,104
1993 $817 $3,793 $308 $1,116
1992 $674 $3,538 $290.2 $1,101
1991 $624 $3,305 $262 $1,096
1990 $578 $3,044 $326 $1,166
1989 $524 - $271.3 -
1988 $477 - $280.5 -
1987 $438 - $290.8 -
1986 $470 - $405 -
1985 $511 - $364 -
1984 $520 - $385 -
1983 $508 - $476 -
1982 $578 - $501 -
1981 $561 - $513 -
1980 $487 - $578 -
1979 $353 - $396 -
1978 $362 - $315 -
1977 $331 - $286.9 -
1976 $275.7 - $273.5 -
1975 $231.1 - $295 -
1974 $200.7 - $255.3 -
1973 $129.9 - $226.8 -
1972 $90.1 - $189.6 -
1971 $78.5 - $174.6 -
1970 $79.1 - $166.6 -
1969 $74.1 - $162.9 -
1968 $64.7 - $163.6 -
1967 $53.2 - $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–2025, retrieved 2026-07-08).

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

Indonesia's GDP per capita is $5,060, ranking 123/197, compared to $599 in Madagascar, ranking 194/197. Adjusted for purchasing power (GDP per capita PPP), Indonesia ranks 107th at $16,448, while Madagascar ranks 187th at $1,884.

Economic indicators

Indonesia Madagascar
Gross domestic product
$1.45T
2025
$19.6B
2025
GDP rank
17/197
2025
136/197
2025
GDP growth
5.11%
2024-2025
3%
2024-2025
GDP per capita
$5,060
2025
$599
2025
GDP per capita rank
123/197
2025
194/197
2025
GDP per capita, PPP
$16,448
2024
$1,884
2024
GDP per capita PPP rank
107/197
2024
187/197
2024
Government debt
$593B
2025
$9.56B
2025
Debt-to-GDP ratio
41%
2025
48.7%
2025
Government debt per person
$2,076
2025
$292
2025
Government debt per person rank
119/185
2025
179/185
2025
Average annual personal income after taxes
$3,470
2026
$1,285
2026
Market capitalization of domestic companies
$950B
2025
n/a
Number of millionaires
178,605
2024
n/a
Number of billionaires
33
2026
n/a
Income share by richest 10%
28.7%
2025
29.6%
2021
Income share by poorest 10%
3.5%
2025
2.9%
2021
Government expenditure, % of GDP
16.2%
2025
13.5%
2025
Consumer prices inflation
1.91%
2024-2025
8.05%
2024-2025
Central bank interest rate
5.5%
2026
n/a
Unemployment rate
3.31%
2023
3.19%
2022
Population
289027659
33936132

Spending and national debt comparison by year

Indonesia
Spending

Debt
Madagascar
Spending

Debt
1x
Year % of GDP
Indonesia Madagascar
Government spending Government debt Government spending Government debt
2025 16.2% 41% 13.5% 48.7%
2024 16.9% 40.2% 16.1% 49.8%
2023 16.6% 39.6% 17.7% 52.1%
2022 17.3% 40.1% 16.2% 49.8%
2021 18.1% 41.1% 13.9% 49.4%
2020 18.4% 39.7% 16.4% 52.9%
2019 16.4% 30.6% 15.4% 41.3%
2018 16.6% 30.4% 14.4% 42.9%
2017 16.4% 29.4% 14.9% 40.1%
2016 16.9% 28% 13.5% 40.3%
2015 17.6% 27% 13% 44.1%
2014 18.4% 24.6% 12.6% 37.8%
2013 18.8% 24.9% 12.7% 36.2%
2012 18.8% 23% 11.5% 30.4%
2011 17.7% 23.1% 12% 29.9%
2010 16.9% 26.4% 12.3% 32.3%
2009 17% 26.5% 12.5% 34.9%
2008 19.4% 30.3% 15.7% 31%
2007 18.7% 38.1% 16.1% 28.2%
2006 18.4% 35.8% 18.5% 32.2%
2005 17.4% 42.6% 18.4% 74.4%
2004 17.8% 51.3% 21.7% 81.9%
2003 18.2% 55.6% 16.6% 85.9%
2002 16.9% 62.3% 12.4% 86.7%
2001 19.5% 73.7% 15.3% 82.1%
2000 15.3% 87.4% 15.3% 90.2%
1999 15.1% 95.9% 15.5% 104.1%
1998 15.1% 72.5% 16.9% 108.5%
1997 15.2% 26.4% 14.5% 89.7%
1996 11.5% 27.5% 14.4% 98.7%
1995 11.9% 32% 14.5% 95.8%
1994 13.5% 37% 16.7% 96%
1993 14.1% 40.4% 17.1% 105.2%
1992 16.8% 42.6% 16.2% 110.9%
1991 15% 39.2% 13.5% 113.8%
1990 15.8% 40.8% 13.3% 92.7%
1989 16.5% 42.5% 15.5% 122%
1988 17.3% 45.6% 11.4% 126.6%
1987 18% 49.7% 10.4% 127.5%
1986 20.9% 38.3% 11.1% 84.9%
1985 18.5% 28% 11.8% 82.7%
1984 16.1% 23.5% 13.9% 70.9%
1983 18.2% 23.1% 13.4% 57.5%
1982 18.8% 18.6% 14.3% 56.1%
1981 24.4% 16.4% 18.2% 51.5%
1980 22.1% 17.3% 22.7% 37.7%
1979 20.9% 22% - -
1978 20.1% 30.3% - -
1977 19.5% 27.7% - -
1976 21.8% 38.1% - -
1975 20.5% 36.7% - -
1974 17.3% 34.4% - -
1973 16.3% 43.1% - -
1972 15.7% 51.2% - -
1971 14.5% 50.5% - -
1970 13.8% 46.7% - -
1969 12.8% - - -
1968 8.82% - - -
1967 10.4% - - -
1966 9.18% - - -
1965 10.7% - - -
1964 9.55% - - -
1963 10.3% - - -
1962 7.89% - - -
1961 15.1% - - -
1960 14.4% - - -

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

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

In 2025, Indonesia's government spending was $234B, accounting for 16.2% of its GDP, while Madagascar spent $2.65B, or 13.5% of GDP.

Debt-to-GDP ratio is 41% in Indonesia and 48.7% in Madagascar, ranking 130/185 and 109/185, respectively.

Government deficit by year

Deficit/surplus
Indonesia

Madagascar
1x
Year Deficit/surplus, % of GDP
Indonesia Madagascar
2025 -2.92% -2.21%
2024 -2.28% -2.49%
2023 -1.64% -4.15%
2022 -2.31% -5.45%
2021 -4.4% -2.83%
2020 -6.07% -3.96%
2019 -2.09% -1.42%
2018 -1.69% -1.34%
2017 -2.26% -2.1%
2016 -2.56% -1.11%
2015 -2.72% -2.85%
2014 -1.8% -1.96%
2013 -1.96% -3.4%
2012 -1.59% -2.24%
2011 -0.7% -2.04%
2010 -1.24% -0.76%
2009 -1.64% -2.26%
2008 0.05% -1.72%
2007 -0.95% -2.31%
2006 0.45% -5.71%
2005 0.46% -2.47%
2004 -0.26% -4.23%
2003 -1.08% -3.32%
2002 -0.58% -4.09%
2001 -1.76% -3.61%
2000 -1.87% -2.35%
1999 -0.96% -2.42%
1998 -1.89% -5.31%
1997 -1.03% -2%
1996 0.96% -3.97%
1995 0.64% -5.09%
1994 0.005% -7.23%
1993 -0.59% -6.34%
1992 -1.54% -5%
1991 0.51% -4.4%
1990 0.97% -0.49%
1989 -1.72% -3.35%
1988 -2.68% -0.57%
1987 -0.9% -2.12%
1986 -2.94% -2.24%
1985 -0.45% -2.39%
1984 1.83% -6.09%
1983 -1% -6.04%
1982 -1.11% -6.97%
1981 -0.69% -9.97%
1980 -0.82% -11%
1979 -0.67% -
1978 -2.03% -
1977 -0.38% -
1976 -2.63% -
1975 -2.33% -
1974 -0.35% -
1973 -1.33% -
1972 -1.82% -
1971 -2.51% -
1970 -3.02% -
1969 -2.8% -
1968 0% -
1967 -0.35% -
1966 -5.06% -
1965 -6.62% -
1964 -5.58% -
1963 -5.24% -
1962 -3.1% -
1961 -4.57% -
1960 -1.65% -
1959 -4.06% -
1958 -6.67% -
1957 -2.92% -
1956 -1.38% -
1955 -1.6% -
1954 -3.16% -
1953 -2.33% -
1952 -3.66% -
1951 1.52% -

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

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

In 2025, Indonesia's government deficit, the difference between spending and revenue, was $42.2B, equivalent to 2.92% of GDP. This compares to Madagascar's deficit of $433M, or 2.21% of GDP.

Over the past 46 years, Indonesia recorded a fiscal deficit in 37 of those years, while Madagascar ran a deficit in 46 years. On average, Indonesia posted an annual deficit equal to 1.28% of GDP, compared to deficit of 3.6% of GDP for Madagascar.

Inflation comparison by year

Inflation
Indonesia

Madagascar
1x
Year Consumer prices inflation
Indonesia Madagascar
2025 1.91% 8.05%
2024 2.18% 7.61%
2023 3.67% 9.87%
2022 4.21% 8.16%
2021 1.56% 5.81%
2020 1.92% 4.2%
2019 3.03% 5.61%
2018 3.2% 8.59%
2017 3.81% 8.61%
2016 3.53% 6.04%
2015 6.36% 7.4%
2014 6.39% 6.08%
2013 6.41% 5.83%
2012 4.28% 5.71%
2011 5.36% 9.48%
2010 5.13% 9.25%
2009 4.39% 8.95%
2008 10.2% 9.3%
2007 6.41% 10.3%
2006 13.1% 10.8%
2005 10.5% 18.4%
2004 6.06% 14%
2003 6.76% -1.7%
2002 11.9% 16.5%
2001 11.5% 7.92%
2000 3.69% 11.9%
1999 20.5% 9.93%
1998 58.5% 6.21%
1997 6.23% 4.49%

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

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

Over the past 29 years, Indonesia has recorded an average annual inflation rate of 8.02%, compared with 8.38% in Madagascar. In 2025, inflation was 1.91% in Indonesia and 8.05% in Madagascar.

Top exports between countries

Indonesia
Export category Export value
Chemicals & pharma $25.5M
Processed food, beverages & tobacco $8.89M
Wood & paper products $6.05M
Textiles & consumer goods $1.65M
Machinery & equipment $765K
Raw materials & minerals $387K
Miscellaneous $291K
Animal & marine products $147K
Raw agricultural goods $116K
Metals $14K
Madagascar
Export category Export value
Chemicals & pharma $36.5M
Raw agricultural goods $32.4M
Textiles & consumer goods $4.16M
Raw materials & minerals $2M
Processed food, beverages & tobacco $1.18M
Miscellaneous $12K
Animal & marine products $3K
Wood & paper products $2K

Balance of trade

Indonesia Madagascar
Current account balance
-$1.52B
2025
-$749M
2024
Current account balance ranking
129/190
2025
110/190
2024
Current account balance, % of GDP
-0.11%
2025
-4.26%
2024
Goods imports
$231B
2025
$4.16B
2024
Goods exports
$280B
2025
$2.58B
2024
Service imports
$63B
2025
$1.27B
2024
Service exports
$42.5B
2025
$1.53B
2024
Imports of goods and services, % of GDP
20.5%
2025
32.9%
2025
Exports of goods and services, % of GDP
22.8%
2025
21.3%
2025

Economic freedom indices

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

Indonesia Madagascar
Economic freedom 65.1 57
Economic freedom ranking 67/197 119/197
Property rights 39.7 39.8
Government integrity 42 26.8
Judicial effectiveness 43.1 33.7
Tax burden 81.5 90.5
Government spending 91.4 91.5
Fiscal health 89.8 68.8
Business freedom 69.2 37.3
Labor freedom 56.8 56.1
Monetary freedom 79.4 71.8
Trade freedom 78.6 67.6
Investment freedom 50 50
Financial freedom 60 50

Economic freedom comparison by year

Indonesia
Madagascar
1x
Year Economic freedom index
Indonesia Madagascar
2026 65.1 57
2025 65.2 57
2024 63.5 57.3
2023 63.5 58.9
2022 64.4 58.9
2021 66.9 57.7
2020 67.2 60.5
2019 65.8 56.6
2018 64.2 56.8
2017 61.9 57.4
2016 59.4 61.1
2015 58.1 61.7
2014 58.5 61.7
2013 56.9 62
2012 56.4 62.4
2011 56 61.2
2010 55.5 63.2
2009 53.4 62.2
2008 53.2 62.4
2007 53.2 61.1
2006 51.9 61
2005 52.9 63.1
2004 52.1 60.9
2003 55.8 62.8
2002 54.8 56.8
2001 52.5 53.9
2000 55.2 54.4
1999 61.5 52.8
1998 63.4 51.8
1997 62 53.8
1996 61 52.2
1995 54.9 51.6

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

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

The Economic Freedom Index for Indonesia is 65.1, ranking 67/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

Indonesia Madagascar
Services, % of GDP
43.9%
2025
48.8%
2025
Industry, % of GDP
38.7%
2025
23.9%
2025
Agriculture, forestry, and fishing, % of GDP
13.1%
2025
21.7%
2025
GNI, Atlas method
$1.46T
2025
$18.2B
2025
GNI per capita, PPP
$17,190
2025
$1,910
2025
Total reserves including gold
$157B
2025
$2.78B
2024
Total reserves ranking
22/177
2025
122/177
2024
Net foreign direct investment
-$14.4B
2025
-$472M
2024
Net inflows of foreign direct investment
$24.3B
2024
$606M
2024
Net outflows of foreign direct investment
$8.39B
2024
$134M
2024
Servicing debt to the IMF, % of GNI
5.64%
2024
1.71%
2024
Poverty at national poverty lines
9%
2024
75.2%
2021
Gross capital formation, % of GDP
30.6%
2025
24.1%
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/indonesia/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–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 (1951–1999, 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 (2024–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.