Skip to content

Economy of Afghanistan vs South Africa compared: GDP & Debt

Updated on by Georank team

Afghanistan has a GDP of $17.2B compared to $401B for South Africa, ranking 137/197 and 40/197 by economy size, respectively.

Afghanistan has $1.44B in government debt (8.8% of GDP), compared to $305B (76% of GDP) in South Africa.

Afghanistan vs South Africa GDP by year

Afghanistan
South Africa
1x
Year GDP, current $
Afghanistan South Africa
2024 - $401,144,998,374
2023 $17,152,234,637 $381,440,724,491
2022 $14,497,243,872 $407,596,043,068
2021 $14,259,995,441 $419,986,284,375
2020 $19,955,929,052 $337,974,655,408
2019 $18,799,444,490 $389,330,032,224
2018 $18,053,222,687 $405,260,723,893
2017 $18,753,456,498 $381,448,814,653
2016 $18,116,572,395 $323,585,509,674
2015 $19,134,221,645 $346,709,790,459
2014 $20,497,128,556 $381,198,869,776
2013 $20,146,416,758 $400,886,013,596
2012 $19,907,329,778 $434,400,545,086
2011 $17,805,098,206 $458,199,494,831
2010 $15,856,668,556 $417,363,822,802
2009 $12,416,152,732 $329,754,060,647
2008 $10,109,297,048 $316,131,258,616
2007 $9,747,886,187 $333,077,117,254
2006 $6,971,758,282 $303,858,675,364
2005 $6,203,256,539 $288,867,217,197
2004 $5,224,896,719 $255,806,908,595
2003 $4,520,946,819 $197,018,965,309
2002 $3,825,701,439 $129,087,556,612
2001 $2,813,571,754 $135,429,905,923
2000 $3,521,418,060 $151,752,757,215
1999 - $151,516,957,079
1998 - $152,982,984,557
1997 - $168,978,057,328
1996 - $163,234,925,381
1995 - $171,735,933,897
1994 - $153,512,712,382
1993 - $147,194,747,566
1992 - $146,956,150,987
1991 - $135,203,698,238
1990 - $126,048,140,142
1989 - $108,055,624,082
1988 - $103,976,831,871
1987 - $96,535,763,418
1986 - $73,354,771,399
1985 - $64,459,376,087
1984 - $84,870,163,366
1983 - $96,204,110,942
1982 - $85,904,057,409
1981 - $93,141,472,164
1980 - $89,411,864,402
1979 - $63,038,658,089
1978 - $51,607,412,902
1977 - $45,328,411,332
1976 - $41,150,460,288
1975 - $42,906,905,672
1974 - $41,389,186,095
1973 - $33,262,772,008
1972 - $24,515,919,217
1971 - $23,411,076,638
1970 - $21,218,391,513
1969 - $19,256,992,297
1968 - $17,124,793,150
1967 - $15,821,393,671
1966 - $14,211,394,315
1965 - $13,068,994,772
1964 - $11,955,995,218
1963 - $10,854,195,658
1962 - $9,813,996,074
1961 - $9,225,996,310
1960 - $8,748,596,501

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

GeoRank.org/economy/afghanistan/south-africa | CC BY

GDP per capita in Afghanistan vs South Africa by year

Afghanistan
GDP per capita

GDP per capita, PPP
South Africa
GDP per capita

GDP per capita, PPP
1x
Year Current $
Afghanistan South Africa
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 - - $6,267 $15,456
2023 $414 $2,202 $6,034 $15,200
2022 $357 $2,123 $6,534 $14,749
2021 $356 $2,144 $6,829 $13,682
2020 $511 $2,562 $5,581 $12,671
2019 $497 $2,583 $6,534 $13,361
2018 $491 $2,432 $6,914 $13,347
2017 $525 $2,336 $6,618 $13,738
2016 $522 $2,213 $5,651 $13,519
2015 $566 $2,284 $6,112 $13,398
2014 $625 $2,224 $6,857 $13,359
2013 $637 $2,133 $7,332 $13,369
2012 $651 $1,988 $8,077 $12,987
2011 $607 $1,744 $8,646 $13,143
2010 $561 $1,766 $7,973 $12,637
2009 $452 $1,571 $6,375 $12,261
2008 $382 $1,334 $6,185 $12,525
2007 $376 $1,287 $6,592 $12,047
2006 $274.2 $1,122 $6,077 $11,250
2005 $254.2 $1,076 $5,837 $10,441
2004 $221.8 $972 $5,221 $9,714
2003 $198.9 $967 $4,062 $9,139
2002 $179 $927 $2,688 $8,792
2001 $138.7 $748 $2,847 $8,428
2000 $174.9 $814 $3,218 $8,095
1999 - - $3,242 $7,667
1998 - - $3,310 $7,463
1997 - - $3,700 $7,433
1996 - - $3,618 $7,208
1995 - - $3,856 $6,875
1994 - - $3,489 $6,611
1993 - - $3,400 $6,375
1992 - - $3,462 $6,275
1991 - - $3,243 $6,383
1990 - - $3,093 $6,382
1989 - - $2,727 -
1988 - - $2,702 -
1987 - - $2,586 -
1986 - - $2,027 -
1985 - - $1,839 -
1984 - - $2,504 -
1983 - - $2,938 -
1982 - - $2,717 -
1981 - - $3,050 -
1980 - - $3,029 -
1979 - - $2,202 -
1978 - - $1,852 -
1977 - - $1,671 -
1976 - - $1,559 -
1975 - - $1,670 -
1974 - - $1,656 -
1973 - - $1,369 -
1972 - - $1,038 -
1971 - - $1,020 -
1970 - - $952 -
1969 - - $891 -
1968 - - $817 -
1967 - - $779 -
1966 - - $722 -
1965 - - $685 -
1964 - - $646 -
1963 - - $605 -
1962 - - $563 -
1961 - - $546 -
1960 - - $532 -

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

GeoRank.org/economy/afghanistan/south-africa | CC BY

Afghanistan's GDP per capita is $414, ranking 196/197, compared to $6,267 in South Africa, ranking 111/197. Adjusted for purchasing power (GDP per capita PPP), Afghanistan ranks 184th at $2,202, while South Africa ranks 112th at $15,456.

Economic indicators

Afghanistan South Africa
Gross domestic product
$17.2B
2023
$401B
2024
GDP rank
137/197
2023
40/197
2024
GDP growth
2.27%
2022-2023
0.53%
2023-2024
GDP per capita
$414
2023
$6,267
2024
GDP per capita rank
196/197
2023
111/197
2024
GDP per capita, PPP
$2,202
2023
$15,456
2024
GDP per capita PPP rank
184/197
2023
112/197
2024
Government debt
$1.44B
2023
$305B
2024
Debt-to-GDP ratio
8.8%
2024
76%
2024
Government debt per person
$34.8
2023
$4,761
2024
Government debt per person rank
185/185
2023
83/185
2024
Average annual personal income after taxes
$1,869
2026
$15,431
2026
Market capitalization of domestic companies n/a
$986B
2024
Number of millionaires n/a
90,595
2025
Number of billionaires n/a
7
2025
Income share by richest 10% n/a
50.5%
2014
Income share by poorest 10% n/a
0.9%
2014
Government expenditure, % of GDP
19.4%
2024
33%
2024
Consumer prices inflation
-4.3%
2023-2024
4.36%
2023-2024
Central bank interest rate
6%
2021
6.75%
2025
Unemployment rate
5.68%
2021
32.3%
2024
Population
45409324
65683993

Spending and national debt comparison by year

Afghanistan
Spending

Debt
South Africa
Spending

Debt
1x
Year % of GDP
Afghanistan South Africa
Government spending Government debt Government spending Government debt
2024 19.4% 8.8% 33% 76%
2023 17% 8.42% 32.5% 73.2%
2022 16.1% 10.8% 31.9% 70.7%
2021 17.9% 11.2% 32.7% 68.8%
2020 27.9% 7.33% 34.6% 68.9%
2019 28% 6.14% 31.4% 56.1%
2018 28.9% 7.38% 30.2% 51.5%
2017 27.7% 8% 29.9% 48.6%
2016 28% 8.44% 29.9% 47.1%
2015 25.9% 9.15% 30.2% 45.2%
2014 25.4% 8.7% 29.3% 43.3%
2013 25% 6.92% 28.9% 40.4%
2012 25% 6.77% 28.6% 37.4%
2011 21.9% 7.52% 28.1% 34.7%
2010 20.8% 7.71% 28.3% 31.2%
2009 21.2% 16.2% 28.5% 27%
2008 20.9% 19.1% 26% 24%
2007 21.4% 20.1% 24.4% 24.3%
2006 18.3% 23% 24.7% 28%
2005 15.7% 206.4% 25.1% 29.6%
2004 15.1% 245% 22.7% 30.7%
2003 11.9% 270.6% 22.6% 31.5%
2002 6.94% 346% 22.2% 31.8%
2001 - - 22.6% 38%
2000 - - 22.6% 37.9%
1999 - - 26.7% 45.9%
1998 - - 27.1% 45.8%
1997 - - 27.9% 45.8%
1996 - - 28.5% 44.3%
1995 - - 27.2% 47%
1994 - - 31.3% 46.4%
1993 - - 29.1% 39.8%
1992 - - 29.8% 34.8%
1991 - - 27.8% 34.7%
1990 - - 28.7% 31.8%
1989 - - 29.6% 33.3%
1988 - - 23.9% 30.6%
1987 - - 28% 33.5%
1986 - - 27.8% 32.5%
1985 - - 26.8% 26.3%
1984 - - 25.2% 23.2%
1983 - - 25.1% 28.7%
1982 - - 23.8% 31.3%
1981 - - 23.3% 27.4%
1980 - - 21.8% 33.3%
1979 - - 26.5% 41.9%
1978 - - 26.8% 44.7%
1977 - - 27.3% 45.3%
1976 - - 23% 35%
1975 - - 21.2% 32.8%
1974 - - 19.1% 33.7%
1973 - - 21% 38.2%
1972 - - 22.9% 41.1%
1971 - - 19.9% 41.1%
1970 - - 20% 43.3%
1969 - - 18.8% 44.4%
1968 - - 19.4% 42.7%
1967 - - 18.8% 41.1%
1966 - - 18.3% 41.4%
1965 - - 18.2% 42.7%
1964 - - 11.3% 30%
1963 - - 15.9% 43.4%
1962 - - 15.9% 45.7%
1961 - - 15.7% 52.8%
1960 - - 16.7% 52.9%

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

GeoRank.org/economy/afghanistan/south-africa | CC BY

In 2024, Afghanistan's government spending was $2.91B, accounting for 19.4% of its GDP, while South Africa spent $132B, or 33% of GDP.

Debt-to-GDP ratio is 8.8% in Afghanistan and 76% in South Africa, ranking 181/185 and 48/185, respectively.

Government deficit by year

Deficit/surplus
Afghanistan

South Africa
1x
Year Deficit/surplus, % of GDP
Afghanistan South Africa
2024 -0.54% -5.79%
2023 -1.33% -5.55%
2022 -1% -4.25%
2021 -0.48% -5.54%
2020 -2.24% -9.62%
2019 -1.06% -5.07%
2018 1.63% -3.73%
2017 -0.67% -4.02%
2016 0.13% -3.72%
2015 -1.38% -4.37%
2014 -1.72% -3.93%
2013 -0.63% -3.9%
2012 0.18% -4.04%
2011 -0.67% -3.7%
2010 0.93% -4.51%
2009 -1.76% -4.67%
2008 -3.86% -0.49%
2007 -2.46% 1.22%
2006 0.68% 0.81%
2005 -0.92% -0.1%
2004 -2.39% -1.04%
2003 -2.1% -1.59%
2002 -0.1% -0.96%
2001 - -1.02%
2000 - -1.38%
1999 - -2.21%
1998 - -2.56%
1997 - -4.08%
1996 - -4.53%
1995 - -4.38%
1994 - -8.09%
1993 - -8.54%
1992 - -7.09%
1991 - -4.85%
1990 - -3.82%
1989 - -8.3%
1988 - -3.29%
1987 - -6.36%
1986 - -5.69%
1985 - -4.86%
1984 - -5.24%
1983 - -5.3%
1982 - -3.88%
1981 - -3.72%
1980 - -1.91%
1979 - -4.65%
1978 - -5.42%
1977 - -5.52%
1976 - -4.19%
1975 - -2.62%
1974 - -1.5%
1973 - -4.54%
1972 - -5.39%
1971 - -1.96%
1970 - -3.19%
1969 - -3.94%
1968 - -3.38%
1967 - -3.8%
1966 - -3.04%
1965 - -3.15%
1964 - -1.19%
1963 - -2.26%
1962 - -1.4%
1961 - -3.25%
1960 - -2.36%
1959 - -4.4%
1958 - -3.5%
1957 - -2.8%
1956 - -2.12%
1955 - -2.9%
1954 - -2.53%
1953 - -3.72%
1952 - -4.14%
1951 - -0.4%
1950 - -2.33%
1949 - -6.87%
1948 - -6.03%
1947 - -1.82%
1946 - -4.03%
1945 - -7.41%
1944 - -8.94%
1943 - -8.49%
1942 - -9.08%
1941 - -7.3%
1940 - -10.9%
1939 - -2.96%
1938 - -3.91%
1937 - -2.16%
1936 - -2.58%
1935 - -3.2%
1934 - -3.29%
1933 - -3.31%
1932 - -4.72%
1931 - -5.31%
1930 - -5.19%
1929 - -4.41%
1928 - -3.29%
1927 - -3.79%
1926 - -4.76%
1925 - -4.92%
1924 - -4.72%
1923 - -5.53%
1922 - -4.51%
1921 - -5.38%
1920 - -5.52%
1919 - -2.6%
1918 - -3.7%
1917 - -3.52%
1916 - -2.57%
1915 - -10.7%
1914 - -11.6%
1913 - -4.15%

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

GeoRank.org/economy/afghanistan/south-africa | CC BY

In 2023, Afghanistan's government deficit, the difference between spending and revenue, was $228M, equivalent to 1.33% of GDP. This compares to South Africa's deficit of $21.2B, or 5.55% of GDP.

Over the past 22 years, Afghanistan recorded a fiscal deficit in 17 of those years, while South Africa ran a deficit in 20 years. On average, Afghanistan posted an annual deficit equal to 0.96% of GDP, compared to deficit of 3.31% of GDP for South Africa.

Inflation comparison by year

Inflation
Afghanistan

South Africa
1x
Year Consumer prices inflation
Afghanistan South Africa
2024 -4.3% 4.36%
2023 -7.7% 6.08%
2022 10.6% 7.04%
2021 7.8% 4.62%
2020 5.6% 3.23%
2019 2.3% 4.1%
2018 0.6% 4.51%
2017 5% 5.19%
2016 4.4% 6.6%
2015 -0.7% 4.52%
2014 4.7% 6.13%
2013 7.4% 5.78%
2012 6.4% 5.74%
2011 11.8% 5%
2010 2.2% 4.07%
2009 -6.8% 7.24%
2008 26.4% 9.91%
2007 8.7% 6.18%
2006 6.8% 3.24%
2005 10.6% 2.06%
2004 16.4% -0.69%
2003 35.7% 5.68%
2002 - 9.49%
2001 - 5.7%
2000 - 5.34%
1999 - 5.18%
1998 - 6.88%
1997 - 8.6%

Data sources: World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06); International Monetary Fund (IMF) | World Economic Outlook (2003–2024, retrieved 2026-02-20).

GeoRank.org/economy/afghanistan/south-africa | CC BY

Over the past 22 years, Afghanistan has recorded an average annual inflation rate of 7%, compared with 5.03% in South Africa. In 2024, inflation was -4.3% in Afghanistan and 4.36% in South Africa.

Top exports between countries

Afghanistan
Export category Export value
South Africa
Export category Export value
Processed food, beverages & tobacco $3.66M
Textiles & consumer goods $129K
Animal & marine products $66K
Machinery & equipment $31K
Chemicals & pharma $19K
Raw agricultural goods $18K
Metals $5K
Wood & paper products $5K
Raw materials & minerals $2K

Balance of trade

Afghanistan South Africa
Current account balance
-$3.14B
2020
-$2.58B
2024
Current account balance ranking
159/190
2020
152/190
2024
Current account balance, % of GDP
-15.7%
2020
-0.64%
2024
Goods imports
$5.88B
2020
$99.8B
2024
Goods exports
$777M
2020
$112B
2024
Service imports
$1.11B
2020
$20B
2024
Service exports
$700M
2020
$16.1B
2024
Imports of goods and services, % of GDP
50.7%
2023
29.9%
2024
Exports of goods and services, % of GDP
16.9%
2023
31.8%
2024

Economic freedom indices

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

Afghanistan South Africa
Economic freedom 53 58.6
Economic freedom ranking 142/197 110/197
Property rights 3.6 48.8
Government integrity 13.5 46.7
Judicial effectiveness 0 64.6
Tax burden 92 65.4
Government spending 90.8 68.4
Fiscal health 98.4 45.3
Business freedom 33.7 67.9
Labor freedom 44.4 70.8
Monetary freedom 84.9 75.8
Trade freedom 68.6 68.8
Investment freedom 10 40
Financial freedom 10 40

Economic freedom comparison by year

Afghanistan
South Africa
1x
Year Economic freedom index
Afghanistan South Africa
2026 - 58.6
2025 - 57.3
2024 - 55.3
2023 - 55.7
2022 - 56.2
2021 53 59.7
2020 54.7 58.8
2019 51.5 58.3
2018 51.3 63
2017 48.9 62.3
2016 - 61.9
2015 - 62.6
2014 - 62.5
2013 - 61.8
2012 - 62.7
2011 - 62.7
2010 - 62.8
2009 - 63.8
2008 - 63.4
2007 - 63.5
2006 - 63.7
2005 - 62.9
2004 - 66.3
2003 - 67.1
2002 - 64
2001 - 63.8
2000 - 63.7
1999 - 63.3
1998 - 64.3
1997 - 63.2
1996 - 62.5
1995 - 60.7

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

GeoRank.org/economy/afghanistan/south-africa | CC BY

The Economic Freedom Index for Afghanistan is 53, ranking 142/197, compared to 58.6 for South Africa, ranking 110/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Afghanistan South Africa
Services, % of GDP
46.4%
2023
63%
2024
Industry, % of GDP
13.4%
2023
24.3%
2024
Agriculture, forestry, and fishing, % of GDP
34.7%
2023
2.81%
2024
GNI, Atlas method
$15.5B
2023
$391B
2024
GNI per capita, PPP
$2,210
2023
$15,150
2024
Total reserves including gold
$9.75B
2020
$65.4B
2024
Total reserves ranking
78/177
2020
36/177
2024
Net foreign direct investment
$24.3M
2020
-$3.59B
2024
Net inflows of foreign direct investment
$0
2024
$2.33B
2024
Net outflows of foreign direct investment
$0
2024
-$1.26B
2024
Servicing debt to the IMF, % of GNI
0.25%
2023
5.74%
2024
Poverty at national poverty lines
47.1%
2019
55.5%
2014
Gross capital formation, % of GDP
15.3%
2023
14.1%
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/afghanistan/south-africa | 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) | Public Finances in Modern History (1913–1999, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Fiscal Monitor (2000–2024, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  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.