Skip to content

Economy of Libya vs Madagascar compared: GDP & Debt

Updated on by Georank team

Libya has a GDP of $48.5B compared to $17.4B for Madagascar, ranking 95/197 and 136/197 by economy size, respectively.

Libya vs Madagascar GDP by year

Libya
Madagascar
1x
Year GDP, current $
Libya Madagascar
2024 $48,487,151,215 $17,420,501,490
2023 $44,027,664,915 $15,869,945,478
2022 $43,246,297,922 $15,325,603,273
2021 $35,217,995,647 $14,354,731,964
2020 $46,854,285,441 $13,051,441,204
2019 $69,254,496,472 $14,104,664,679
2018 $76,686,029,772 $13,760,033,282
2017 $67,157,452,182 $13,176,313,594
2016 $49,912,073,701 $11,848,613,858
2015 $48,717,501,321 $11,323,020,701
2014 $57,372,355,592 $12,522,957,399
2013 $75,351,107,029 $12,423,555,455
2012 $92,540,938,129 $11,578,975,062
2011 $48,169,263,294 $11,551,819,618
2010 $75,380,825,062 $9,982,711,338
2009 $60,808,562,033 $9,616,879,409
2008 $86,710,767,415 $10,725,137,724
2007 $68,032,978,391 $8,524,620,890
2006 $60,094,231,607 $6,395,712,491
2005 $47,334,691,241 $5,859,269,753
2004 $33,122,307,692 $5,064,732,626
2003 $26,265,625,000 $6,372,498,890
2002 $20,481,889,764 $5,351,701,663
2001 $34,112,093,927 $5,438,332,602
2000 $38,270,954,138 $4,629,247,204
1999 $35,975,860,857 $4,277,903,780
1998 $27,251,301,398 $4,401,967,633
1997 $30,700,897,875 $4,262,965,420
1996 $27,884,615,385 $4,931,861,039
1995 $25,541,379,187 $3,838,100,904
1994 $28,610,549,763 $3,522,227,092
1993 $30,660,051,911 $4,063,298,919
1992 $33,887,047,909 $3,714,966,678
1991 $31,991,821,265 $3,254,713,056
1990 $28,904,183,602 $3,931,334,875
1989 $25,156,707,899 $3,175,638,333
1988 $24,308,959,591 $3,189,456,965
1987 $26,697,659,335 $3,212,900,556
1986 $24,180,400,959 $4,347,989,788
1985 $31,530,566,324 $3,802,557,895
1984 $29,476,109,153 $3,905,938,481
1983 $33,200,520,140 $4,686,457,031
1982 $33,760,146,991 $4,784,977,326
1981 $36,374,353,880 $4,759,333,998
1980 $40,953,924,949 $5,201,818,348
1979 $30,536,429,497 $3,463,565,854
1978 $22,136,422,643 $2,669,755,115
1977 $22,428,297,108 $2,358,930,406
1976 $19,096,943,017 $2,181,844,179
1975 $14,710,912,458 $2,283,049,215
1974 $15,112,543,717 $1,917,508,190
1973 $8,625,889,430 $1,653,062,335
1972 $6,299,395,544 $1,341,590,690
1971 $5,260,185,125 $1,199,507,631
1970 $4,601,649,451 $1,111,859,571
1969 $4,380,987,481 $1,056,391,056
1968 $3,850,623,095 $1,031,669,637
1967 $2,726,986,913 $956,436,932
1966 $2,312,438,536 $900,264,585
1965 $1,804,979,680 $833,563,473
1964 $1,341,395,421 $802,482,184
1963 $892,327,911 $759,345,864
1962 $619,725,785 $739,286,908
1961 $443,905,612 $699,161,945
1960 $401,644,249 $673,081,725

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

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

GDP per capita in Libya vs Madagascar by year

Libya
GDP per capita

GDP per capita, PPP
Madagascar
GDP per capita

GDP per capita, PPP
1x
Year Current $
Libya Madagascar
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $6,569 $14,304 $545 $1,884
2023 $6,027 $13,847 $509 $1,808
2022 $5,987 $12,266 $504 $1,717
2021 $4,936 $12,642 $483 $1,577
2020 $6,650 $10,955 $451 $1,490
2019 $9,963 $16,194 $500 $1,612
2018 $11,197 $18,879 $500 $1,547
2017 $9,966 $18,026 $492 $1,547
2016 $7,526 $16,961 $454 $1,562
2015 $7,458 $17,903 $445 $1,497
2014 $8,926 $17,510 $506 $1,499
2013 $11,952 $21,151 $515 $1,473
2012 $14,976 $26,826 $494 $1,464
2011 $7,594 $15,698 $506 $1,475
2010 $11,601 $30,234 $450 $1,464
2009 $9,551 $29,027 $446 $1,480
2008 $13,906 $30,812 $513 $1,577
2007 $11,145 $30,929 $420 $1,493
2006 $10,049 $28,936 $324 $1,416
2005 $8,079 $26,903 $306 $1,343
2004 $5,774 $23,813 $272.2 $1,280
2003 $4,674 $22,663 $353 $1,219
2002 $3,718 $20,061 $305 $1,121
2001 $6,313 $20,332 $319 $1,299
2000 $7,214 $20,617 $280.3 $1,236
1999 $6,895 $19,769 $267.4 $1,194
1998 $5,301 $19,639 $284.2 $1,162
1997 $6,062 $20,439 $284.4 $1,142
1996 $5,591 $19,392 $340 $1,119
1995 $5,205 $18,952 $273.1 $1,111
1994 $5,933 $19,318 $258.7 $1,104
1993 $6,478 $18,904 $308 $1,116
1992 $7,303 $19,572 $290.2 $1,101
1991 $7,040 $20,085 $262 $1,096
1990 $6,502 $17,173 $326 $1,166
1989 $5,793 - $271.3 -
1988 $5,736 - $280.5 -
1987 $6,465 - $290.8 -
1986 $6,019 - $405 -
1985 $8,087 - $364 -
1984 $7,811 - $385 -
1983 $8,927 - $476 -
1982 $9,064 - $501 -
1981 $10,044 - $513 -
1980 $11,960 - $578 -
1979 $9,443 - $396 -
1978 $7,252 - $315 -
1977 $7,783 - $286.9 -
1976 $7,018 - $273.5 -
1975 $5,721 - $295 -
1974 $6,214 - $255.3 -
1973 $3,727 - $226.8 -
1972 $2,830 - $189.6 -
1971 $2,443 - $174.6 -
1970 $2,210 - $166.6 -
1969 $2,175 - $162.9 -
1968 $1,972 - $163.6 -
1967 $1,437 - $155.9 -
1966 $1,251 - $150.7 -
1965 $1,001 - $143.2 -
1964 $765 - $141.5 -
1963 $528 - $137.4 -
1962 $382 - $137.3 -
1961 $285.3 - $133.3 -
1960 $269 - $131.7 -

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

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

Libya's GDP per capita is $6,569, ranking 107/197, compared to $545 in Madagascar, ranking 193/197. Adjusted for purchasing power (GDP per capita PPP), Libya ranks 118th at $14,304, while Madagascar ranks 187th at $1,884.

Economic indicators

Libya Madagascar
Gross domestic product
$48.5B
2024
$17.4B
2024
GDP rank
95/197
2024
136/197
2024
GDP growth
1.9%
2023-2024
4.2%
2023-2024
GDP per capita
$6,569
2024
$545
2024
GDP per capita rank
107/197
2024
193/197
2024
GDP per capita, PPP
$14,304
2024
$1,884
2024
GDP per capita PPP rank
118/197
2024
187/197
2024
Government debt n/a
$8.77B
2024
Debt-to-GDP ratio n/a
50.3%
2024
Government debt per person n/a
$274.3
2024
Government debt per person rank n/a
180/185
2024
Average annual personal income after taxes
$3,172
2026
$1,268
2026
Income share by richest 10% n/a
29.6%
2021
Income share by poorest 10% n/a
2.9%
2021
Government expenditure, % of GDP
94.8%
2024
16.2%
2024
Consumer prices inflation
2.13%
2023-2024
9.87%
2022-2023
Unemployment rate
30%
2004
3.19%
2022
Population
7559873
33750171

Government deficit by year

Deficit/surplus
Libya

Madagascar
1x
Year Deficit/surplus, % of GDP
Libya Madagascar
2024 -25.1% -2.48%
2023 8.22% -4.19%
2022 23.6% -5.46%
2021 14.8% -2.83%
2020 -22.3% -3.96%
2019 11.9% -1.42%
2018 9.39% -1.34%
2017 -11.1% -2.1%
2016 -29.3% -1.11%
2015 -28.5% -2.85%
2014 -30.5% -1.96%
2013 -16.3% -3.4%
2012 24.6% -2.24%
2011 -11.5% -2.04%
2010 11.5% -0.76%
2009 -5.46% -2.26%
2008 27.7% -1.72%
2007 28.4% -2.31%
2006 29.1% -5.71%
2005 30.4% -2.47%
2004 11.3% -4.23%
2003 6.17% -3.32%
2002 6.99% -4.09%
2001 0.07% -3.61%
2000 13.6% -2.35%
1999 5.69% -2.42%
1998 -2.36% -5.31%
1997 -2.1% -2%
1996 11.3% -3.97%
1995 3.8% -5.09%
1994 -2.67% -7.23%
1993 -5.77% -6.34%
1992 0.11% -5%
1991 8.41% -4.4%
1990 3.36% -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%

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

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

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

Over the past 35 years, Libya recorded a fiscal deficit in 13 of those years, while Madagascar ran a deficit in 35 years. On average, Libya posted an annual surplus equal to 2.79% of GDP, compared to deficit of 3.21% of GDP for Madagascar.

Inflation comparison by year

Inflation
Libya

Madagascar
1x
Year Consumer prices inflation
Libya Madagascar
2024 2.13% -
2023 2.37% 9.87%
2022 4.51% 8.16%
2021 2.87% 5.81%
2020 1.45% 4.2%
2019 -2.16% 5.61%
2018 13.2% 8.59%
2017 25.8% 8.61%
2016 25.9% 6.04%
2015 10.4% 7.4%
2014 2.43% 6.08%
2013 2.61% 5.83%
2012 6.06% 5.71%
2011 15.5% 9.48%
2010 2.8% 9.25%
2009 2.46% 8.95%
2008 10.4% 9.3%
2007 6.25% 10.3%
2006 1.46% 10.8%
2005 2.65% 18.4%
2004 -2.2% 14%
2003 -2.19% -1.7%
2002 -9.8% 16.5%
2001 -8.81% 7.92%
2000 -2.9% 11.9%
1999 2.65% 9.93%
1998 3.71% 6.21%
1997 3.55% 4.49%

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

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

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

Top exports between countries

Libya
Export category Export value
Madagascar
Export category Export value
Raw agricultural goods $308K
Textiles & consumer goods $26K
Machinery & equipment $3K
Miscellaneous $3K

Balance of trade

Libya Madagascar
Current account balance
$1.86B
2023
-$829M
2022
Current account balance ranking
46/190
2023
119/190
2022
Current account balance, % of GDP
+4.24%
2023
-5.41%
2022
Goods imports
$23.2B
2023
$4.52B
2022
Goods exports
$37.1B
2023
$3.55B
2022
Service imports
$10.1B
2023
$1.52B
2022
Service exports
$642M
2023
$1.14B
2022
Imports of goods and services, % of GDP
56.8%
2024
31.7%
2024
Exports of goods and services, % of GDP
72%
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.

Libya Madagascar
Economic freedom 35.9 57
Economic freedom ranking 189/197 119/197
Property rights 6.3 39.8
Government integrity 10.3 26.8
Judicial effectiveness 4.9 33.7
Tax burden 95 90.5
Government spending 0 91.5
Fiscal health 19.9 68.8
Business freedom 32.4 37.3
Labor freedom 48.2 56.1
Monetary freedom 75.2 71.8
Trade freedom 80 67.6
Investment freedom 5 50
Financial freedom 20 50

Economic freedom comparison by year

Libya
Madagascar
1x
Year Economic freedom index
Libya Madagascar
2026 - 57
2025 - 57
2024 - 57.3
2023 - 58.9
2022 - 58.9
2021 - 57.7
2020 - 60.5
2019 - 56.6
2018 - 56.8
2017 - 57.4
2016 - 61.1
2015 - 61.7
2014 - 61.7
2013 - 62
2012 35.9 62.4
2011 38.6 61.2
2010 40.2 63.2
2009 43.5 62.2
2008 38.7 62.4
2007 37 61.1
2006 33.2 61
2005 32.8 63.1
2004 31.5 60.9
2003 34.6 62.8
2002 35.4 56.8
2001 34 53.9
2000 34.7 54.4
1999 32.3 52.8
1998 32 51.8
1997 28.9 53.8
1996 31.7 52.2
1995 - 51.6

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

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

The Economic Freedom Index for Libya is 35.9, ranking 189/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

Libya Madagascar
Services, % of GDP
28.3%
2024
47.7%
2024
Industry, % of GDP
73.5%
2024
22.8%
2024
Agriculture, forestry, and fishing, % of GDP
2.39%
2024
22.5%
2024
GNI, Atlas method
$50.9B
2024
$16.4B
2024
GNI per capita, PPP
$15,400
2024
$1,830
2024
Total reserves including gold
$92.9B
2024
$2.78B
2024
Total reserves ranking
29/177
2024
120/177
2024
Net foreign direct investment
-$795M
2023
-$326M
2022
Net inflows of foreign direct investment
$0
2024
$606M
2024
Net outflows of foreign direct investment
-$56.5M
2024
$134M
2024
Servicing debt to the IMF, % of GNI n/a
1.72%
2024
Poverty at national poverty lines
7.4%
2005
75.2%
2021
Gross capital formation, % of GDP
14.3%
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/libya/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. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  5. International Monetary Fund (IMF) | Public Finances in Modern History (1980–1989, retrieved 2026-02-20)
  6. TradeMap (2023–2024, retrieved 2026-02-08)
  7. Central Intelligence Agency (CIA) (2004–2005, retrieved 2026-02-20)
  8. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  9. 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.