Skip to content

Economy of South Africa vs Spain compared: GDP & Debt

Updated on by Georank team

South Africa has a GDP of $401B compared to $1.73T for Spain, ranking 40/197 and 15/197 by economy size, respectively.

South Africa has $305B in government debt (76% of GDP), compared to $1.75T (101.6% of GDP) in Spain.

South Africa vs Spain GDP by year

South Africa
Spain
1x
Year GDP, current $
South Africa Spain
2024 $401,144,998,374 $1,725,671,652,742
2023 $381,440,724,491 $1,619,481,980,720
2022 $407,596,043,068 $1,448,850,658,407
2021 $419,986,284,375 $1,461,244,901,853
2020 $337,974,655,408 $1,289,783,836,971
2019 $389,330,032,224 $1,403,496,387,686
2018 $405,260,723,893 $1,431,642,809,327
2017 $381,448,814,653 $1,321,754,088,819
2016 $323,585,509,674 $1,243,015,667,917
2015 $346,709,790,459 $1,206,164,777,553
2014 $381,198,869,776 $1,380,244,561,362
2013 $400,886,013,596 $1,362,186,923,158
2012 $434,400,545,086 $1,330,994,811,670
2011 $458,199,494,831 $1,487,568,659,241
2010 $417,363,822,802 $1,427,989,078,917
2009 $329,754,060,647 $1,496,587,590,848
2008 $316,131,258,616 $1,636,115,447,613
2007 $333,077,117,254 $1,476,746,276,855
2006 $303,858,675,364 $1,261,846,683,275
2005 $288,867,217,197 $1,154,667,551,776
2004 $255,806,908,595 $1,069,829,382,515
2003 $197,018,965,309 $907,963,217,058
2002 $129,087,556,612 $708,938,227,244
2001 $135,429,905,923 $627,798,682,379
2000 $151,752,757,215 $598,102,854,756
1999 $151,516,957,079 $634,394,904,387
1998 $152,982,984,557 $618,731,484,575
1997 $168,978,057,328 $589,739,772,727
1996 $163,234,925,381 $642,251,412,058
1995 $171,735,933,897 $614,170,002,669
1994 $153,512,712,382 $530,183,651,720
1993 $147,194,747,566 $524,700,572,624
1992 $146,956,150,987 $630,465,353,486
1991 $135,203,698,238 $576,753,902,322
1990 $126,048,140,142 $536,175,326,477
1989 $108,055,624,082 $414,460,794,097
1988 $103,976,831,871 $375,891,716,898
1987 $96,535,763,418 $318,520,253,335
1986 $73,354,771,399 $251,141,555,186
1985 $64,459,376,087 $180,664,322,896
1984 $84,870,163,366 $171,979,977,230
1983 $96,204,110,942 $170,829,074,246
1982 $85,904,057,409 $195,856,752,991
1981 $93,141,472,164 $202,663,023,968
1980 $89,411,864,402 $232,600,556,974
1979 $63,038,658,089 $214,448,666,336
1978 $51,607,412,902 $160,484,969,618
1977 $45,328,411,332 $132,354,665,936
1976 $41,150,460,288 $118,422,534,195
1975 $42,906,905,672 $114,695,060,870
1974 $41,389,186,095 $97,204,522,642
1973 $33,262,772,008 $78,583,355,226
1972 $24,515,919,217 $59,090,176,029
1971 $23,411,076,638 $46,586,119,760
1970 $21,218,391,513 $40,963,715,237
1969 $19,256,992,297 $37,090,689,288
1968 $17,124,793,150 $32,394,326,464
1967 $15,821,393,671 $32,570,905,397
1966 $14,211,394,315 $29,559,436,183
1965 $13,068,994,772 $25,479,619,607
1964 $11,955,995,218 $21,966,876,027
1963 $10,854,195,658 $19,631,714,760
1962 $9,813,996,074 $16,609,632,791
1961 $9,225,996,310 $14,238,126,760
1960 $8,748,596,501 $12,424,514,014

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

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

GDP per capita in South Africa vs Spain by year

South Africa
GDP per capita

GDP per capita, PPP
Spain
GDP per capita

GDP per capita, PPP
1x
Year Current $
South Africa Spain
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $6,267 $15,456 $35,327 $57,965
2023 $6,034 $15,200 $33,493 $55,682
2022 $6,534 $14,749 $30,319 $51,399
2021 $6,829 $13,682 $30,799 $44,252
2020 $5,581 $12,671 $27,234 $39,328
2019 $6,534 $13,361 $29,787 $44,043
2018 $6,914 $13,347 $30,602 $41,015
2017 $6,618 $13,738 $28,381 $39,825
2016 $5,651 $13,519 $26,756 $37,613
2015 $6,112 $13,398 $25,982 $35,229
2014 $6,857 $13,359 $29,708 $33,761
2013 $7,332 $13,369 $29,229 $32,614
2012 $8,077 $12,987 $28,456 $31,870
2011 $8,646 $13,143 $31,825 $32,016
2010 $7,973 $12,637 $30,659 $31,805
2009 $6,375 $12,261 $32,280 $32,218
2008 $6,185 $12,525 $35,603 $33,350
2007 $6,592 $12,047 $32,652 $32,536
2006 $6,077 $11,250 $28,422 $30,749
2005 $5,837 $10,441 $26,451 $27,630
2004 $5,221 $9,714 $24,925 $26,160
2003 $4,062 $9,139 $21,522 $25,057
2002 $2,688 $8,792 $17,111 $24,378
2001 $2,847 $8,428 $15,368 $22,952
2000 $3,218 $8,095 $14,743 $21,582
1999 $3,242 $7,667 $15,708 $19,938
1998 $3,310 $7,463 $15,382 $19,083
1997 $3,700 $7,433 $14,722 $17,903
1996 $3,618 $7,208 $16,101 $16,971
1995 $3,856 $6,875 $15,461 $16,276
1994 $3,489 $6,611 $13,406 $15,582
1993 $3,400 $6,375 $13,330 $14,973
1992 $3,462 $6,275 $16,101 $14,855
1991 $3,243 $6,383 $14,801 $14,461
1990 $3,093 $6,382 $13,795 $13,676
1989 $2,727 - $10,674 -
1988 $2,702 - $9,696 -
1987 $2,586 - $8,234 -
1986 $2,027 - $6,509 -
1985 $1,839 - $4,696 -
1984 $2,504 - $4,487 -
1983 $2,938 - $4,475 -
1982 $2,717 - $5,156 -
1981 $3,050 - $5,367 -
1980 $3,029 - $6,204 -
1979 $2,202 - $5,766 -
1978 $1,852 - $4,353 -
1977 $1,671 - $3,625 -
1976 $1,559 - $3,277 -
1975 $1,670 - $3,208 -
1974 $1,656 - $2,748 -
1973 $1,369 - $2,246 -
1972 $1,038 - $1,708 -
1971 $1,020 - $1,361 -
1970 $952 - $1,211 -
1969 $891 - $1,109 -
1968 $817 - $978 -
1967 $779 - $997 -
1966 $722 - $916 -
1965 $685 - $797 -
1964 $646 - $695 -
1963 $605 - $627 -
1962 $563 - $535 -
1961 $546 - $463 -
1960 $532 - $408 -

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

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

South Africa's GDP per capita is $6,267, ranking 111/197, compared to $35,327 in Spain, ranking 32/197. Adjusted for purchasing power (GDP per capita PPP), South Africa ranks 112th at $15,456, while Spain ranks 34th at $57,965.

Economic indicators

South Africa Spain
Gross domestic product
$401B
2024
$1.73T
2024
GDP rank
40/197
2024
15/197
2024
GDP growth
0.53%
2023-2024
3.46%
2023-2024
GDP per capita
$6,267
2024
$35,327
2024
GDP per capita rank
111/197
2024
32/197
2024
GDP per capita, PPP
$15,456
2024
$57,965
2024
GDP per capita PPP rank
112/197
2024
34/197
2024
Government debt
$305B
2024
$1.75T
2024
Debt-to-GDP ratio
76%
2024
101.6%
2024
Government debt per person
$4,761
2024
$35,909
2024
Government debt per person rank
83/185
2024
20/185
2024
Average annual personal income after taxes
$15,431
2026
$25,470
2026
Market capitalization of domestic companies
$986B
2024
$754B
2024
Number of millionaires
90,595
2025
1,202,000
2025
Number of billionaires
7
2025
34
2025
Income share by richest 10%
50.5%
2014
24.5%
2023
Income share by poorest 10%
0.9%
2014
2.2%
2023
Government expenditure, % of GDP
33%
2024
45.3%
2024
Consumer prices inflation
4.36%
2023-2024
2.77%
2023-2024
Central bank interest rate
6.75%
2025
n/a
Unemployment rate
32.3%
2024
11.3%
2024
Population
65683993
48806901

Spending and national debt comparison by year

South Africa
Spending

Debt
Spain
Spending

Debt
1x
Year % of GDP
South Africa Spain
Government spending Government debt Government spending Government debt
2024 33% 76% 45.3% 101.6%
2023 32.5% 73.2% 45.5% 105.1%
2022 31.9% 70.7% 46.4% 109.2%
2021 32.7% 68.8% 49.5% 115.6%
2020 34.6% 68.9% 51.4% 119.2%
2019 31.4% 56.1% 42% 97.6%
2018 30.2% 51.5% 41.5% 99.7%
2017 29.9% 48.6% 41% 101.1%
2016 29.9% 47.1% 42.1% 102%
2015 30.2% 45.2% 43.7% 102.4%
2014 29.3% 43.3% 45.1% 104.4%
2013 28.9% 40.4% 46.2% 100%
2012 28.6% 37.4% 49.2% 89.6%
2011 28.1% 34.7% 45.9% 69.5%
2010 28.3% 31.2% 45.8% 60.3%
2009 28.5% 27% 46.1% 53.1%
2008 26% 24% 41.3% 39.6%
2007 24.4% 24.3% 39.2% 35.7%
2006 24.7% 28% 38.4% 39%
2005 25.1% 29.6% 38.4% 42.4%
2004 22.7% 30.7% 38.8% 45.3%
2003 22.6% 31.5% 38.4% 47.7%
2002 22.2% 31.8% 38.6% 51.2%
2001 22.6% 38% 38.4% 54.1%
2000 22.6% 37.9% 39.1% 57.8%
1999 26.7% 45.9% 40% 60.9%
1998 27.1% 45.8% 41% 62.4%
1997 27.9% 45.8% 41.5% 64.3%
1996 28.5% 44.3% 42.9% 65.4%
1995 27.2% 47% 44.1% 61.6%
1994 31.3% 46.4% 44.8% 57%
1993 29.1% 39.8% 46.3% 54.6%
1992 29.8% 34.8% 43.9% 44.1%
1991 27.8% 34.7% 42.6% 41.9%
1990 28.7% 31.8% 41.1% 41.3%
1989 29.6% 33.3% 32.1% 39.2%
1988 23.9% 30.6% 28.6% 38.2%
1987 28% 33.5% 31.1% 42.1%
1986 27.8% 32.5% 28.4% 36.5%
1985 26.8% 26.3% 27.6% 31.5%
1984 25.2% 23.2% 27% 18.3%
1983 25.1% 28.7% 26% 13.4%
1982 23.8% 31.3% 21.5% 12%
1981 23.3% 27.4% 18.1% 10.9%
1980 21.8% 33.3% 16.3% 10.2%
1979 26.5% 41.9% 14.3% 9.88%
1978 26.8% 44.7% 14.3% 9.93%
1977 27.3% 45.3% 12.8% 8.75%
1976 23% 35% 11.5% 8.21%
1975 21.2% 32.8% 11.4% 11.9%
1974 19.1% 33.7% 11.4% 13.6%
1973 21% 38.2% 9.88% 16.3%
1972 22.9% 41.1% 12.5% 17.6%
1971 19.9% 41.1% 14% 17.9%
1970 20% 43.3% 12.3% 19.2%
1969 18.8% 44.4% 12.3% 18.8%
1968 19.4% 42.7% 12.8% 18.3%
1967 18.8% 41.1% 12.5% 17.6%
1966 18.3% 41.4% 11.8% 17.7%
1965 18.2% 42.7% 14% 18.1%
1964 11.3% 30% 12.7% 19.5%
1963 15.9% 43.4% 12.4% 21%
1962 15.9% 45.7% 10.6% 24.4%
1961 15.7% 52.8% 9.97% 26.7%
1960 16.7% 52.9% 11% 29.4%

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

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

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

Debt-to-GDP ratio is 76% in South Africa and 101.6% in Spain, ranking 48/185 and 21/185, respectively.

Government deficit by year

Deficit/surplus
South Africa

Spain
1x
Year Deficit/surplus, % of GDP
South Africa Spain
2024 -5.79% -3.15%
2023 -5.55% -3.52%
2022 -4.25% -4.63%
2021 -5.54% -6.66%
2020 -9.62% -10%
2019 -5.07% -3.04%
2018 -3.73% -2.58%
2017 -4.02% -3.1%
2016 -3.72% -4.26%
2015 -4.37% -5.26%
2014 -3.93% -6.07%
2013 -3.9% -7.49%
2012 -4.04% -11.5%
2011 -3.7% -9.69%
2010 -4.51% -9.49%
2009 -4.67% -11.2%
2008 -0.49% -4.56%
2007 1.22% 1.88%
2006 0.81% 2.12%
2005 -0.1% 1.23%
2004 -1.04% -0.1%
2003 -1.59% -0.37%
2002 -0.96% -0.32%
2001 -1.02% -0.45%
2000 -1.38% -1.16%
1999 -2.21% -1.24%
1998 -2.56% -2.63%
1997 -4.08% -3.86%
1996 -4.53% -5.87%
1995 -4.38% -6.79%
1994 -8.09% -6.31%
1993 -8.54% -6.89%
1992 -7.09% -4.26%
1991 -4.85% -4.58%
1990 -3.82% -3.9%
1989 -8.3% -3.24%
1988 -3.29% -2.95%
1987 -6.36% -3.52%
1986 -5.69% -5.18%
1985 -4.86% -6.04%
1984 -5.24% -5.25%
1983 -5.3% -4.77%
1982 -3.88% -5.76%
1981 -3.72% -2.88%
1980 -1.91% -2.55%
1979 -4.65% -1.51%
1978 -5.42% -1.63%
1977 -5.52% -0.24%
1976 -4.19% 0.43%
1975 -2.62% 0.26%
1974 -1.5% 0.11%
1973 -4.54% 1.09%
1972 -5.39% 0.24%
1971 -1.96% -0.96%
1970 -3.19% 0.09%
1969 -3.94% -0.06%
1968 -3.38% -0.55%
1967 -3.8% -0.32%
1966 -3.04% 0.07%
1965 -3.15% -0.04%
1964 -1.19% 0.18%
1963 -2.26% -0.54%
1962 -1.4% 1.27%
1961 -3.25% 1.9%
1960 -2.36% 0.69%
1959 -4.4% 0.54%
1958 -3.5% 0.23%
1957 -2.8% 1.13%
1956 -2.12% -0.05%
1955 -2.9% 0.6%
1954 -2.53% 0.7%
1953 -3.72% 1.02%
1952 -4.14% 0.81%
1951 -0.4% -0.24%
1950 -2.33% -0.44%
1949 -6.87% -0.35%
1948 -6.03% -1.21%
1947 -1.82% -1.09%
1946 -4.03% -2.24%
1945 -7.41% -4.56%
1944 -8.94% -5.44%
1943 -8.49% -7.73%
1942 -9.08% -2.48%
1941 -7.3% -4.34%
1940 -10.9% -3.54%
1939 -2.96% -
1938 -3.91% -
1937 -2.16% -
1936 -2.58% -
1935 -3.2% -0.49%
1934 -3.29% -1.17%
1933 -3.31% -0.72%
1932 -4.72% -0.3%
1931 -5.31% 0.1%
1930 -5.19% 0.3%
1929 -4.41% -0.07%
1928 -3.29% -0.31%
1927 -3.79% -0.54%
1926 -4.76% -0.65%
1925 -4.92% -1.19%
1924 -4.72% -1.76%
1923 -5.53% -1.89%
1922 -4.51% -2.26%
1921 -5.38% -3.33%
1920 -5.52% -2.4%
1919 -2.6% -1.82%
1918 -3.7% -1.8%
1917 -3.52% -1.49%
1916 -2.57% -1.15%
1915 -10.7% -2.97%
1914 -11.6% -1.04%
1913 -4.15% -0.09%
1912 - -0.33%
1911 - 0.19%
1910 - 0.09%
1909 - -0.29%
1908 - 0.59%
1907 - 0.66%
1906 - 0.91%
1905 - 0.71%
1904 - 0.52%
1903 - 0.28%
1902 - 0.74%
1901 - 0.69%
1900 - 1.04%
1899 - 2.75%
1898 - 0.13%
1897 - -0.64%
1896 - 0.46%
1895 - 0.83%
1894 - -0.08%
1893 - 0.87%
1892 - -0.67%
1891 - -0.41%
1890 - -0.4%
1889 - -0.38%
1888 - -0.97%
1887 - -0.73%
1886 - -0.08%
1885 - -0.78%
1884 - -0.23%
1883 - -0.38%
1882 - 0.38%
1881 - 0.08%
1880 - -0.02%
1879 - -0.52%
1878 - -0.08%
1877 - 0.11%
1876 - 0.1%
1875 - -1.42%
1874 - -0.1%
1873 - 2.22%
1872 - -2.27%
1871 - -2.64%
1870 - -3.42%
1869 - -2.64%
1868 - -1.46%
1867 - -0.79%
1866 - -0.83%
1865 - -1.84%
1864 - -2.48%
1863 - -1.55%
1862 - -1.76%
1861 - -1.77%
1860 - -0.94%
1859 - 0.39%
1858 - -0.44%
1857 - -0.41%
1856 - -0.46%
1855 - -0.76%
1854 - -0.32%
1853 - -0.02%
1852 - -0.11%
1851 - -0.25%
1850 - 0.31%

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

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

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

Over the past 65 years, South Africa recorded a fiscal deficit in 63 of those years, while Spain ran a deficit in 51 years. On average, South Africa posted an annual deficit equal to 3.79% of GDP, compared to deficit of 2.94% of GDP for Spain.

Inflation comparison by year

Inflation
South Africa

Spain
1x
Year Consumer prices inflation
South Africa Spain
2024 4.36% 2.77%
2023 6.08% 3.53%
2022 7.04% 8.39%
2021 4.62% 3.09%
2020 3.23% -0.32%
2019 4.1% 0.7%
2018 4.51% 1.67%
2017 5.19% 1.96%
2016 6.6% -0.2%
2015 4.52% -0.5%
2014 6.13% -0.15%
2013 5.78% 1.41%
2012 5.74% 2.45%
2011 5% 3.2%
2010 4.07% 1.8%
2009 7.24% -0.29%
2008 9.91% 4.08%
2007 6.18% 2.79%
2006 3.24% 3.52%
2005 2.06% 3.37%
2004 -0.69% 3.04%
2003 5.68% 3.04%
2002 9.49% 3.07%
2001 5.7% 3.59%
2000 5.34% 3.43%
1999 5.18% 2.31%
1998 6.88% 1.83%
1997 8.6% 1.97%

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

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

Over the past 28 years, South Africa has recorded an average annual inflation rate of 5.42%, compared with 2.34% in Spain. In 2024, inflation was 4.36% in South Africa and 2.77% in Spain.

Top exports between countries

South Africa
Export category Export value
Machinery & equipment $798M
Metals $139M
Animal & marine products $128M
Raw materials & minerals $100M
Raw agricultural goods $55.5M
Processed food, beverages & tobacco $41.9M
Chemicals & pharma $28.5M
Wood & paper products $9.85M
Textiles & consumer goods $9.38M
Weapons & explosives $879K
Spain
Export category Export value
Machinery & equipment $660M
Chemicals & pharma $273M
Textiles & consumer goods $103M
Processed food, beverages & tobacco $101M
Metals $83.2M
Raw materials & minerals $74.8M
Miscellaneous $60.5M
Animal & marine products $40.9M
Wood & paper products $36.8M
Raw agricultural goods $27.8M

Balance of trade

South Africa Spain
Current account balance
-$2.58B
2024
$54.9B
2024
Current account balance ranking
152/190
2024
13/190
2024
Current account balance, % of GDP
-0.64%
2024
+3.18%
2024
Goods imports
$99.8B
2024
$456B
2024
Goods exports
$112B
2024
$419B
2024
Service imports
$20B
2024
$111B
2024
Service exports
$16.1B
2024
$220B
2024
Imports of goods and services, % of GDP
29.9%
2024
32.9%
2024
Exports of goods and services, % of GDP
31.8%
2024
37.1%
2024

Economic freedom indices

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

South Africa Spain
Economic freedom 58.6 66.8
Economic freedom ranking 110/197 59/197
Property rights 48.8 88
Government integrity 46.7 64.2
Judicial effectiveness 64.6 74.3
Tax burden 65.4 58.2
Government spending 68.4 37.3
Fiscal health 45.3 57.3
Business freedom 67.9 82.6
Labor freedom 70.8 61.7
Monetary freedom 75.8 78.2
Trade freedom 68.8 79.4
Investment freedom 40 60
Financial freedom 40 60

Economic freedom comparison by year

South Africa
Spain
1x
Year Economic freedom index
South Africa Spain
2026 58.6 66.8
2025 57.3 66.3
2024 55.3 63.3
2023 55.7 65
2022 56.2 68.2
2021 59.7 69.9
2020 58.8 66.9
2019 58.3 65.7
2018 63 65.1
2017 62.3 63.6
2016 61.9 68.5
2015 62.6 67.6
2014 62.5 67.2
2013 61.8 68
2012 62.7 69.1
2011 62.7 70.2
2010 62.8 69.6
2009 63.8 70.1
2008 63.4 69.1
2007 63.5 69.2
2006 63.7 68.2
2005 62.9 67
2004 66.3 68.9
2003 67.1 68.8
2002 64 68.8
2001 63.8 68.1
2000 63.7 65.9
1999 63.3 65.1
1998 64.3 62.6
1997 63.2 59.6
1996 62.5 59.6
1995 60.7 62.8

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

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

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

Other economic metrics

South Africa Spain
Services, % of GDP
63%
2024
68.9%
2024
Industry, % of GDP
24.3%
2024
19.5%
2024
Agriculture, forestry, and fishing, % of GDP
2.81%
2024
2.75%
2024
GNI, Atlas method
$391B
2024
$1.64T
2024
GNI per capita, PPP
$15,150
2024
$57,670
2024
Total reserves including gold
$65.4B
2024
$108B
2024
Total reserves ranking
36/177
2024
26/177
2024
Net foreign direct investment
-$3.59B
2024
$28.7B
2024
Net inflows of foreign direct investment
$2.33B
2024
$42.8B
2024
Net outflows of foreign direct investment
-$1.26B
2024
$71.5B
2024
Servicing debt to the IMF, % of GNI
5.74%
2024
n/a
Poverty at national poverty lines
55.5%
2014
20.2%
2022
Gross capital formation, % of GDP
14.1%
2024
21.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/south-africa/spain | 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 (1850–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 (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.