South Africa
76 series · 1653–2025 · Upper middle income · Sub-Saharan Africa
National accounts
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Nominal GDPMillions of local currency | nGDP | 1911–2025 | 7,677,596 (2025) |
| Nominal GDP (USD)Millions of US dollars | nGDP_USD | 1911–2025 | 429,438 (2025) |
| Real GDPMillions of local currency | rGDP | 1804–2025 | 4,729,938 (2025) |
| Real GDP per capitaConstant local currency per person | rGDP_pc | 1804–2025 | 74,201 (2025) |
| Real GDP (USD)Millions of US dollars | rGDP_USD | 1850–2025 | 369,997 (2025) |
| DeflatorIndex, 2015 = 100 | deflator | 1911–2025 | 162.3 (2025) |
| Real GDP per capita (USD)US dollars per person | rGDP_pc_USD | 1850–2025 | 5,804 (2025) |
Consumption and investment
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Total consumptionMillions of local currency | cons | 1946–2025 | 6,489,450 (2025) |
| Total consumption (% of GDP)Percent of GDP | cons_GDP | 1946–2025 | 84.5 (2025) |
| Total consumption (USD)Millions of US dollars | cons_USD | 1946–2025 | 362,981 (2025) |
| Household consumptionMillions of local currency | hcons | 1946–2025 | 5,038,553 (2025) |
| Household consumption (% of GDP)Percent of GDP | hcons_GDP | 1946–2025 | 65.6 (2025) |
| Household consumption (USD)Millions of US dollars | hcons_USD | 1946–2025 | 281,826 (2025) |
| Government consumptionMillions of local currency | gcons | 1946–2025 | 1,450,762 (2025) |
| Government consumption (% of GDP)Percent of GDP | gcons_GDP | 1946–2025 | 18.9 (2025) |
| Government consumption (USD)Millions of US dollars | gcons_USD | 1946–2025 | 81,147 (2025) |
| Gross capital formationMillions of local currency | inv | 1946–2025 | 1,145,887 (2025) |
| Gross capital formation (% of GDP)Percent of GDP | inv_GDP | 1946–2025 | 14.9 (2025) |
| Gross capital formation (USD)Millions of US dollars | inv_USD | 1946–2025 | 64,094 (2025) |
| Gross fixed capital formationMillions of local currency | finv | 1946–2025 | 1,087,485 (2025) |
| Gross fixed capital formation (% of GDP)Percent of GDP | finv_GDP | 1946–2025 | 14.2 (2025) |
| Gross fixed capital formation (USD)Millions of US dollars | finv_USD | 1946–2025 | 60,827 (2025) |
External sector
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| ExportsMillions of local currency | exports | 1826–2025 | 2,434,827 (2025) |
| Exports (% of GDP)Percent of GDP | exports_GDP | 1911–2025 | 31.7 (2025) |
| Exports (USD)Millions of US dollars | exports_USD | 1900–2025 | 136,190 (2025) |
| ImportsMillions of local currency | imports | 1826–2025 | 2,341,881 (2025) |
| Imports (% of GDP)Percent of GDP | imports_GDP | 1911–2025 | 30.5 (2025) |
| Imports (USD)Millions of US dollars | imports_USD | 1900–2025 | 130,991 (2025) |
| Current accountMillions of local currency | CA | 1923–2025 | -32,458 (2025) |
| Current account (% of GDP)Percent of GDP | CA_GDP | 1923–2025 | -0.423 (2025) |
| USD exchange rateLocal currency per US dollar | USDfx | 1900–2025 | 17.9 (2025) |
| Real effective exchange rateIndex, 2015 = 100 | REER | 1960–2025 | 98.1 (2025) |
| Current account (USD)Millions of US dollars | CA_USD | 1923–2025 | -1,816 (2025) |
Government finances
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Government expenditureMillions of local currency | govexp | 1911–2025 | 2,622,614 (2025) |
| General government expenditureMillions of local currency | gen_govexp | 1913–2025 | 2,622,614 (2025) |
| General government expenditure (% of GDP)Percent of GDP | gen_govexp_GDP | 1913–2025 | 34.2 (2025) |
| Central government expenditureMillions of local currency | cgovexp | 1911–2025 | 2,542,212 (2025) |
| Central government expenditure (% of GDP)Percent of GDP | cgovexp_GDP | 1911–2025 | 33.1 (2025) |
| Government revenueMillions of local currency | govrev | 1911–2025 | 2,178,662 (2025) |
| General government revenueMillions of local currency | gen_govrev | 1913–2025 | 2,178,662 (2025) |
| Central government revenueMillions of local currency | cgovrev | 1911–2025 | 2,240,280 (2025) |
| General government revenue (% of GDP)Percent of GDP | gen_govrev_GDP | 1913–2025 | 28.4 (2025) |
| Central government revenue (% of GDP)Percent of GDP | cgovrev_GDP | 1911–2025 | 29.2 (2025) |
| Government tax revenueMillions of local currency | govtax | 1977–2025 | 2,042,608 (2025) |
| General government tax revenueMillions of local currency | gen_govtax | 1977–2024 | 2,037,165 (2024) |
| Central government tax revenueMillions of local currency | cgovtax | 1990–2025 | 2,042,608 (2025) |
| General government tax revenue (% of GDP)Percent of GDP | gen_govtax_GDP | 1977–2024 | 27.6 (2024) |
| Central government tax revenue (% of GDP)Percent of GDP | cgovtax_GDP | 1990–2025 | 26.6 (2025) |
| Government deficit (% of GDP)Percent of GDP | govdef_GDP | 1911–2025 | -5.78 (2025) |
| General government deficit (% of GDP)Percent of GDP | gen_govdef_GDP | 1913–2025 | -5.78 (2025) |
| General government deficitMillions of local currency | gen_govdef | 1913–2025 | -443,952 (2025) |
| Central government deficit (% of GDP)Percent of GDP | cgovdef_GDP | 1911–2025 | -4.53 (2025) |
| Central government deficitMillions of local currency | cgovdef | 1911–2025 | -348,046 (2025) |
| Government debt (% of GDP)Percent of GDP | govdebt_GDP | 1865–2025 | 78.6 (2025) |
| General government debt (% of GDP)Percent of GDP | gen_govdebt_GDP | 1913–2025 | 78.6 (2025) |
| General government debtMillions of local currency | gen_govdebt | 1913–2025 | 6,037,821 (2025) |
| Central government debt (% of GDP)Percent of GDP | cgovdebt_GDP | 1865–2025 | 78.1 (2025) |
| Central government debtMillions of local currency | cgovdebt | 1911–2025 | 5,992,526 (2025) |
| Government debtMillions of local currency | govdebt | 1911–2025 | 6,037,821 (2025) |
| Government deficitMillions of local currency | govdef | 1911–2025 | -443,952 (2025) |
| Government expenditure (% of GDP)Percent of GDP | govexp_GDP | 1911–2025 | 34.2 (2025) |
| Government revenue (% of GDP)Percent of GDP | govrev_GDP | 1911–2025 | 28.4 (2025) |
| Government tax revenue (% of GDP)Percent of GDP | govtax_GDP | 1977–2025 | 26.6 (2025) |
Money and interest rates
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Short-term interest ratePercent | strate | 1925–2025 | 7.18 (2025) |
| Long-term interest ratePercent | ltrate | 1937–2025 | 10.2 (2025) |
| Central bank policy ratePercent | cbrate | 1930–2025 | 6.75 (2025) |
| M0 (monetary base)Millions of local currency | M0 | 1876–2025 | 563,633 (2025) |
| M1Millions of local currency | M1 | 1948–2025 | 2,920,580 (2025) |
| M2Millions of local currency | M2 | 1948–2025 | 4,811,264 (2025) |
| M3Millions of local currency | M3 | 1965–2025 | 5,850,271 (2025) |
Prices and labor markets
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| House price indexIndex, 2015 = 100 | HPI | 1966–2025 | 140.2 (2025) |
| Real house price indexIndex, 2015 = 100 | rHPI | 1966–2025 | 87.3 (2025) |
| Consumer price indexIndex, 2015 = 100 | CPI | 1653–2025 | 160.6 (2025) |
| InflationPercent | infl | 1653–2025 | 3.22 (2025) |
| PopulationMillions of people | pop | 1700–2025 | 63.7 (2025) |
| Unemployment ratePercent | unemp | 1980–2025 | 32.3 (2025) |
Please cite: Müller, K., Xu, C., Lehbib, M., & Chen, Z. (2025). The Global Macro Database: A New International Macroeconomic Dataset. NBER Working Paper 33714. BibTeX →