Skip to content

Economy of El Salvador vs South Africa compared: GDP & Debt

Updated on by Georank team

El Salvador has a GDP of $35.4B compared to $401B for South Africa, ranking 105/197 and 40/197 by economy size, respectively.

El Salvador has $30.9B in government debt (87.5% of GDP), compared to $305B (76% of GDP) in South Africa.

El Salvador vs South Africa GDP by year

El Salvador
South Africa
1x
Year GDP, current $
El Salvador South Africa
2024 $35,364,960,000 $401,144,998,374
2023 $33,853,940,000 $381,440,724,491
2022 $31,870,120,000 $407,596,043,068
2021 $29,043,140,000 $419,986,284,375
2020 $24,921,190,000 $337,974,655,408
2019 $26,881,140,000 $389,330,032,224
2018 $26,020,850,000 $405,260,723,893
2017 $24,979,190,000 $381,448,814,653
2016 $24,191,430,000 $323,585,509,674
2015 $23,438,240,000 $346,709,790,459
2014 $22,593,470,000 $381,198,869,776
2013 $21,990,960,000 $400,886,013,596
2012 $21,386,150,000 $434,400,545,086
2011 $20,283,780,000 $458,199,494,831
2010 $18,447,920,000 $417,363,822,802
2009 $17,601,620,000 $329,754,060,647
2008 $17,986,890,000 $316,131,258,616
2007 $17,011,750,000 $333,077,117,254
2006 $15,999,890,000 $303,858,675,364
2005 $14,698,000,000 $288,867,217,197
2004 $13,724,810,900 $255,806,908,595
2003 $13,243,892,200 $197,018,965,309
2002 $12,664,190,300 $129,087,556,612
2001 $12,282,533,600 $135,429,905,923
2000 $11,784,927,700 $151,752,757,215
1999 $11,284,197,000 $151,516,957,079
1998 $10,936,669,900 $152,982,984,557
1997 $10,221,705,900 $168,978,057,328
1996 $9,586,327,800 $163,234,925,381
1995 $8,921,947,100 $171,735,933,897
1994 $7,679,384,000 $153,512,712,382
1993 $6,680,269,200 $147,194,747,566
1992 $5,813,399,300 $146,956,150,987
1991 $5,252,342,400 $135,203,698,238
1990 $4,817,542,204 $126,048,140,142
1989 $4,372,215,300 $108,055,624,082
1988 $4,189,880,000 $103,976,831,871
1987 $3,958,045,800 $96,535,763,418
1986 $3,771,663,200 $73,354,771,399
1985 $3,800,368,600 $64,459,376,087
1984 $3,661,683,400 $84,870,163,366
1983 $3,506,347,800 $96,204,110,942
1982 $3,399,189,100 $85,904,057,409
1981 $3,437,200,200 $93,141,472,164
1980 $3,573,959,900 $89,411,864,402
1979 $3,463,639,900 $63,038,658,089
1978 $3,127,960,000 $51,607,412,902
1977 $2,941,640,100 $45,328,411,332
1976 $2,328,280,100 $41,150,460,288
1975 $1,884,120,100 $42,906,905,672
1974 $1,665,880,000 $41,389,186,095
1973 $1,442,320,000 $33,262,772,008
1972 $1,263,720,000 $24,515,919,217
1971 $1,186,120,000 $23,411,076,638
1970 $1,132,920,000 $21,218,391,513
1969 $1,049,400,000 $19,256,992,297
1968 $1,009,760,100 $17,124,793,150
1967 $976,200,000 $15,821,393,671
1966 $929,520,000 $14,211,394,315
1965 $877,720,000 $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/el-salvador/south-africa | CC BY

GDP per capita in El Salvador vs South Africa by year

El Salvador
GDP per capita

GDP per capita, PPP
South Africa
GDP per capita

GDP per capita, PPP
1x
Year Current $
El Salvador South Africa
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $5,580 $13,264 $6,267 $15,456
2023 $5,365 $12,680 $6,034 $15,200
2022 $5,075 $11,876 $6,534 $14,749
2021 $4,643 $10,810 $6,829 $13,682
2020 $3,997 $9,393 $5,581 $12,671
2019 $4,320 $9,757 $6,534 $13,361
2018 $4,184 $9,204 $6,914 $13,347
2017 $4,020 $8,965 $6,618 $13,738
2016 $3,901 $8,456 $5,651 $13,519
2015 $3,790 $7,934 $6,112 $13,398
2014 $3,666 $7,504 $6,857 $13,359
2013 $3,582 $7,093 $7,332 $13,369
2012 $3,498 $6,708 $8,077 $12,987
2011 $3,331 $6,594 $8,646 $13,143
2010 $3,040 $6,248 $7,973 $12,637
2009 $2,910 $6,063 $6,375 $12,261
2008 $2,983 $6,175 $6,185 $12,525
2007 $2,831 $5,949 $6,592 $12,047
2006 $2,666 $5,695 $6,077 $11,250
2005 $2,447 $5,292 $5,837 $10,441
2004 $2,286 $4,998 $5,221 $9,714
2003 $2,208 $4,829 $4,062 $9,139
2002 $2,115 $4,672 $2,688 $8,792
2001 $2,058 $4,543 $2,847 $8,428
2000 $1,983 $4,422 $3,218 $8,095
1999 $1,908 $4,298 $3,242 $7,667
1998 $1,860 $4,171 $3,310 $7,463
1997 $1,749 $4,043 $3,700 $7,433
1996 $1,651 $3,880 $3,618 $7,208
1995 $1,548 $3,808 $3,856 $6,875
1994 $1,344 $3,591 $3,489 $6,611
1993 $1,180 $3,390 $3,400 $6,375
1992 $1,041 $3,171 $3,462 $6,275
1991 $956 $2,945 $3,243 $6,383
1990 $892 $2,856 $3,093 $6,382
1989 $825 - $2,727 -
1988 $806 - $2,702 -
1987 $777 - $2,586 -
1986 $755 - $2,027 -
1985 $776 - $1,839 -
1984 $763 - $2,504 -
1983 $745 - $2,938 -
1982 $735 - $2,717 -
1981 $752 - $3,050 -
1980 $787 - $3,029 -
1979 $773 - $2,202 -
1978 $712 - $1,852 -
1977 $684 - $1,671 -
1976 $553 - $1,559 -
1975 $457 - $1,670 -
1974 $413 - $1,656 -
1973 $366 - $1,369 -
1972 $329 - $1,038 -
1971 $316 - $1,020 -
1970 $309 - $952 -
1969 $293.4 - $891 -
1968 $290.1 - $817 -
1967 $288.4 - $779 -
1966 $282.4 - $722 -
1965 $274.3 - $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/el-salvador/south-africa | CC BY

El Salvador's GDP per capita is $5,580, ranking 116/197, compared to $6,267 in South Africa, ranking 111/197. Adjusted for purchasing power (GDP per capita PPP), El Salvador ranks 120th at $13,264, while South Africa ranks 112th at $15,456.

Economic indicators

El Salvador South Africa
Gross domestic product
$35.4B
2024
$401B
2024
GDP rank
105/197
2024
40/197
2024
GDP growth
2.6%
2023-2024
0.53%
2023-2024
GDP per capita
$5,580
2024
$6,267
2024
GDP per capita rank
116/197
2024
111/197
2024
GDP per capita, PPP
$13,264
2024
$15,456
2024
GDP per capita PPP rank
120/197
2024
112/197
2024
Government debt
$30.9B
2024
$305B
2024
Debt-to-GDP ratio
87.5%
2024
76%
2024
Government debt per person
$4,883
2024
$4,761
2024
Government debt per person rank
81/185
2024
83/185
2024
Average annual personal income after taxes
$4,768
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%
29.7%
2023
50.5%
2014
Income share by poorest 10%
1.9%
2023
0.9%
2014
Government expenditure, % of GDP
31.4%
2024
33%
2024
Consumer prices inflation
0.85%
2023-2024
4.36%
2023-2024
Central bank interest rate n/a
6.75%
2025
Unemployment rate
2.71%
2024
32.3%
2024
Population
6399793
65683993

Spending and national debt comparison by year

El Salvador
Spending

Debt
South Africa
Spending

Debt
1x
Year % of GDP
El Salvador South Africa
Government spending Government debt Government spending Government debt
2024 31.4% 87.5% 33% 76%
2023 30.5% 85.1% 32.5% 73.2%
2022 28.7% 83.7% 31.9% 70.7%
2021 31.1% 88% 32.7% 68.8%
2020 32.7% 95.4% 34.6% 68.9%
2019 27.8% 77.9% 31.4% 56.1%
2018 27.6% 77% 30.2% 51.5%
2017 28.1% 77.1% 29.9% 48.6%
2016 27.5% 75.2% 29.9% 47.1%
2015 27.1% 73.5% 30.2% 45.2%
2014 27.6% 71.8% 29.3% 43.3%
2013 28.5% 69.7% 28.9% 40.4%
2012 27.4% 70% 28.6% 37.4%
2011 25.3% 65.6% 28.1% 34.7%
2010 25.6% 66.8% 28.3% 31.2%
2009 26% 65.8% 28.5% 27%
2008 24.5% 54.2% 26% 24%
2007 22.8% 52.2% 24.4% 24.3%
2006 23.4% 52.6% 24.7% 28%
2005 22.4% 46.3% 25.1% 29.6%
2004 21.5% 46.8% 22.7% 30.7%
2003 22.6% 46% 22.6% 31.5%
2002 22.5% 43.8% 22.2% 31.8%
2001 21.7% 37.8% 22.6% 38%
2000 21% 29.6% 22.6% 37.9%
1999 19.7% 28% 26.7% 45.9%
1998 19.3% 25.7% 27.1% 45.8%
1997 18.6% 27.8% 27.9% 45.8%
1996 21% 28.5% 28.5% 44.3%
1995 18.6% 28% 27.2% 47%
1994 18.9% 30.5% 31.3% 46.4%
1993 18.5% 31.9% 29.1% 39.8%
1992 20.8% 36.4% 29.8% 34.8%
1991 18.5% 43.3% 27.8% 34.7%
1990 15.9% - 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 (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1999, retrieved 2026-02-20).

GeoRank.org/economy/el-salvador/south-africa | CC BY

In 2024, El Salvador's government spending was $11.1B, accounting for 31.4% of its GDP, while South Africa spent $132B, or 33% of GDP.

Debt-to-GDP ratio is 87.5% in El Salvador and 76% in South Africa, ranking 36/185 and 48/185, respectively.

Government deficit by year

Deficit/surplus
El Salvador

South Africa
1x
Year Deficit/surplus, % of GDP
El Salvador South Africa
2024 -4.55% -5.79%
2023 -4.69% -5.55%
2022 -2.68% -4.25%
2021 -5.53% -5.54%
2020 -8.18% -9.62%
2019 -3.07% -5.07%
2018 -2.71% -3.73%
2017 -2.53% -4.02%
2016 -3.1% -3.72%
2015 -3.63% -4.37%
2014 -4.02% -3.93%
2013 -4.46% -3.9%
2012 -3.81% -4.04%
2011 -4.47% -3.7%
2010 -4.97% -4.51%
2009 -6.65% -4.67%
2008 -3.8% -0.49%
2007 -2.32% 1.22%
2006 -3.42% 0.81%
2005 -3.47% -0.1%
2004 -2.76% -1.04%
2003 -4.23% -1.59%
2002 -5.5% -0.96%
2001 -4.95% -1.02%
2000 -3.45% -1.38%
1999 -3.08% -2.21%
1998 -2.94% -2.56%
1997 -1.97% -4.08%
1996 -2.7% -4.53%
1995 -0.18% -4.38%
1994 -0.94% -8.09%
1993 -1.42% -8.54%
1992 -4.29% -7.09%
1991 -2.3% -4.85%
1990 -0.61% -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 (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/el-salvador/south-africa | CC BY

In 2024, El Salvador's government deficit, the difference between spending and revenue, was $1.61B, equivalent to 4.55% of GDP. This compares to South Africa's deficit of $23.2B, or 5.79% of GDP.

Over the past 35 years, El Salvador recorded a fiscal deficit in 35 of those years, while South Africa ran a deficit in 33 years. On average, El Salvador posted an annual deficit equal to 3.52% of GDP, compared to deficit of 3.75% of GDP for South Africa.

Inflation comparison by year

Inflation
El Salvador

South Africa
1x
Year Consumer prices inflation
El Salvador South Africa
2024 0.85% 4.36%
2023 4.05% 6.08%
2022 7.2% 7.04%
2021 3.47% 4.62%
2020 -0.37% 3.23%
2019 0.08% 4.1%
2018 1.09% 4.51%
2017 1.01% 5.19%
2016 0.6% 6.6%
2015 -0.73% 4.52%
2014 1.14% 6.13%
2013 0.76% 5.78%
2012 1.73% 5.74%
2011 5.13% 5%
2010 1.18% 4.07%
2009 1.06% 7.24%
2008 6.71% 9.91%
2007 4.58% 6.18%
2006 4.04% 3.24%
2005 4.69% 2.06%
2004 4.45% -0.69%
2003 2.12% 5.68%
2002 1.87% 9.49%
2001 3.75% 5.7%
2000 2.27% 5.34%
1999 0.51% 5.18%
1998 2.55% 6.88%
1997 4.49% 8.6%

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

GeoRank.org/economy/el-salvador/south-africa | CC BY

Over the past 28 years, El Salvador has recorded an average annual inflation rate of 2.51%, compared with 5.42% in South Africa. In 2024, inflation was 0.85% in El Salvador and 4.36% in South Africa.

Top exports between countries

El Salvador
Export category Export value
Raw agricultural goods $1.09M
Textiles & consumer goods $163K
Machinery & equipment $12K
Metals $1K
Wood & paper products $1K
South Africa
Export category Export value
Animal & marine products $602K
Processed food, beverages & tobacco $329K
Chemicals & pharma $136K
Textiles & consumer goods $69K
Machinery & equipment $37K
Wood & paper products $6K
Miscellaneous $4K
Raw materials & minerals $1K

Balance of trade

El Salvador South Africa
Current account balance
-$633M
2024
-$2.58B
2024
Current account balance ranking
110/190
2024
152/190
2024
Current account balance, % of GDP
-1.79%
2024
-0.64%
2024
Goods imports
$15.1B
2024
$99.8B
2024
Goods exports
$5.59B
2024
$112B
2024
Service imports
$3.26B
2024
$20B
2024
Service exports
$6B
2024
$16.1B
2024
Imports of goods and services, % of GDP
51.9%
2024
29.9%
2024
Exports of goods and services, % of GDP
32.8%
2024
31.8%
2024

Economic freedom indices

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

El Salvador South Africa
Economic freedom 57.7 58.6
Economic freedom ranking 114/197 110/197
Property rights 42.7 48.8
Government integrity 31.5 46.7
Judicial effectiveness 15.3 64.6
Tax burden 76.8 65.4
Government spending 72.7 68.4
Fiscal health 59.4 45.3
Business freedom 65.7 67.9
Labor freedom 51.6 70.8
Monetary freedom 70.6 75.8
Trade freedom 76.4 68.8
Investment freedom 70 40
Financial freedom 60 40

Economic freedom comparison by year

El Salvador
South Africa
1x
Year Economic freedom index
El Salvador South Africa
2026 57.7 58.6
2025 56.6 57.3
2024 54.4 55.3
2023 56 55.7
2022 59.6 56.2
2021 61 59.7
2020 61.6 58.8
2019 61.8 58.3
2018 63.2 63
2017 64.1 62.3
2016 65.1 61.9
2015 65.7 62.6
2014 66.2 62.5
2013 66.7 61.8
2012 68.7 62.7
2011 68.8 62.7
2010 69.9 62.8
2009 69.8 63.8
2008 68.5 63.4
2007 68.9 63.5
2006 69.6 63.7
2005 71.5 62.9
2004 71.2 66.3
2003 71.5 67.1
2002 73 64
2001 73 63.8
2000 76.3 63.7
1999 75.1 63.3
1998 70.2 64.3
1997 70.5 63.2
1996 70.1 62.5
1995 69.1 60.7

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

GeoRank.org/economy/el-salvador/south-africa | CC BY

The Economic Freedom Index for El Salvador is 57.7, ranking 114/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

El Salvador South Africa
Services, % of GDP
61%
2024
63%
2024
Industry, % of GDP
22.4%
2024
24.3%
2024
Agriculture, forestry, and fishing, % of GDP
4.38%
2024
2.81%
2024
GNI, Atlas method
$32.5B
2024
$391B
2024
GNI per capita, PPP
$12,420
2024
$15,150
2024
Total reserves including gold
$3.7B
2024
$65.4B
2024
Total reserves ranking
110/177
2024
36/177
2024
Net foreign direct investment
-$636M
2024
-$3.59B
2024
Net inflows of foreign direct investment
$924M
2024
$2.33B
2024
Net outflows of foreign direct investment
$288M
2024
-$1.26B
2024
Servicing debt to the IMF, % of GNI
35%
2024
5.74%
2024
Poverty at national poverty lines
27.2%
2023
55.5%
2014
Gross capital formation, % of GDP
20.3%
2024
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/el-salvador/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 (1990–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.