Costa Rica
74 series · 1800–2025 · High income · Latin America & Caribbean
National accounts
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Nominal GDPMillions of local currency | nGDP | 1936–2025 | 50,838,584 (2025) |
| Nominal GDP (USD)Millions of US dollars | nGDP_USD | 1936–2025 | 100,971 (2025) |
| Real GDPMillions of local currency | rGDP | 1920–2025 | 42,484,280 (2025) |
| Real GDP per capitaConstant local currency per person | rGDP_pc | 1920–2025 | 7,986,137 (2025) |
| Real GDP (USD)Millions of US dollars | rGDP_USD | 1920–2025 | 79,474 (2025) |
| DeflatorIndex, 2015 = 100 | deflator | 1936–2025 | 119.7 (2025) |
| Real GDP per capita (USD)US dollars per person | rGDP_pc_USD | 1920–2025 | 14,939 (2025) |
Consumption and investment
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Total consumptionMillions of local currency | cons | 1950–2025 | 39,716,084 (2025) |
| Total consumption (% of GDP)Percent of GDP | cons_GDP | 1950–2025 | 78.1 (2025) |
| Total consumption (USD)Millions of US dollars | cons_USD | 1950–2025 | 78,881 (2025) |
| Household consumptionMillions of local currency | hcons | 1950–2025 | 32,277,480 (2025) |
| Household consumption (% of GDP)Percent of GDP | hcons_GDP | 1950–2025 | 63.5 (2025) |
| Household consumption (USD)Millions of US dollars | hcons_USD | 1950–2025 | 64,107 (2025) |
| Government consumptionMillions of local currency | gcons | 1950–2025 | 7,439,423 (2025) |
| Government consumption (% of GDP)Percent of GDP | gcons_GDP | 1950–2025 | 14.6 (2025) |
| Government consumption (USD)Millions of US dollars | gcons_USD | 1950–2025 | 14,776 (2025) |
| Gross capital formationMillions of local currency | inv | 1950–2025 | 7,869,889 (2025) |
| Gross capital formation (% of GDP)Percent of GDP | inv_GDP | 1950–2025 | 15.5 (2025) |
| Gross capital formation (USD)Millions of US dollars | inv_USD | 1950–2025 | 15,630 (2025) |
| Gross fixed capital formationMillions of local currency | finv | 1950–2025 | 8,132,628 (2025) |
| Gross fixed capital formation (% of GDP)Percent of GDP | finv_GDP | 1950–2025 | 16.0 (2025) |
| Gross fixed capital formation (USD)Millions of US dollars | finv_USD | 1950–2025 | 16,152 (2025) |
External sector
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| ExportsMillions of local currency | exports | 1820–2025 | 20,069,350 (2025) |
| Exports (% of GDP)Percent of GDP | exports_GDP | 1936–2025 | 39.5 (2025) |
| Exports (USD)Millions of US dollars | exports_USD | 1820–2025 | 39,860 (2025) |
| ImportsMillions of local currency | imports | 1825–2025 | 16,800,996 (2025) |
| Imports (% of GDP)Percent of GDP | imports_GDP | 1936–2025 | 33.0 (2025) |
| Imports (USD)Millions of US dollars | imports_USD | 1825–2025 | 33,369 (2025) |
| Current accountMillions of local currency | CA | 1950–2025 | -339,280 (2025) |
| Current account (% of GDP)Percent of GDP | CA_GDP | 1950–2025 | -0.667 (2025) |
| USD exchange rateLocal currency per US dollar | USDfx | 1800–2025 | 503.5 (2025) |
| Real effective exchange rateIndex, 2015 = 100 | REER | 1960–2025 | 103.3 (2025) |
| Current account (USD)Millions of US dollars | CA_USD | 1950–2025 | -673.8 (2025) |
Government finances
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Government expenditureMillions of local currency | govexp | 1936–2024 | 9,093,854 (2024) |
| General government expenditureMillions of local currency | gen_govexp | 1956–2024 | 9,093,854 (2024) |
| General government expenditure (% of GDP)Percent of GDP | gen_govexp_GDP | 1956–2024 | 18.6 (2024) |
| Central government expenditureMillions of local currency | cgovexp | 1936–2025 | 9,113,045 (2025) |
| Central government expenditure (% of GDP)Percent of GDP | cgovexp_GDP | 1936–2025 | 17.9 (2025) |
| Government revenueMillions of local currency | govrev | 1936–2024 | 7,270,803 (2024) |
| General government revenueMillions of local currency | gen_govrev | 1956–2024 | 7,270,803 (2024) |
| Central government revenueMillions of local currency | cgovrev | 1936–2025 | 8,023,439 (2025) |
| General government revenue (% of GDP)Percent of GDP | gen_govrev_GDP | 1956–2024 | 14.9 (2024) |
| Central government revenue (% of GDP)Percent of GDP | cgovrev_GDP | 1936–2025 | 15.8 (2025) |
| Government tax revenueMillions of local currency | govtax | 1966–2024 | 7,017,511 (2024) |
| General government tax revenueMillions of local currency | gen_govtax | 2002–2024 | 7,017,511 (2024) |
| Central government tax revenueMillions of local currency | cgovtax | 1966–2024 | 6,673,727 (2024) |
| General government tax revenue (% of GDP)Percent of GDP | gen_govtax_GDP | 2002–2024 | 14.4 (2024) |
| Central government tax revenue (% of GDP)Percent of GDP | cgovtax_GDP | 1966–2024 | 13.7 (2024) |
| Government deficit (% of GDP)Percent of GDP | govdef_GDP | 1950–2024 | -3.73 (2024) |
| General government deficit (% of GDP)Percent of GDP | gen_govdef_GDP | 1956–2024 | -3.73 (2024) |
| General government deficitMillions of local currency | gen_govdef | 1956–2024 | -1,823,051 (2024) |
| Central government deficit (% of GDP)Percent of GDP | cgovdef_GDP | 1950–2025 | -3.41 (2025) |
| Central government deficitMillions of local currency | cgovdef | 1950–2025 | -1,733,722 (2025) |
| Government debt (% of GDP)Percent of GDP | govdebt_GDP | 1892–2024 | 58.9 (2024) |
| General government debt (% of GDP)Percent of GDP | gen_govdebt_GDP | 1950–2024 | 58.9 (2024) |
| General government debtMillions of local currency | gen_govdebt | 1950–2024 | 28,796,888 (2024) |
| Central government debt (% of GDP)Percent of GDP | cgovdebt_GDP | 1892–2024 | 59.8 (2024) |
| Central government debtMillions of local currency | cgovdebt | 1936–2024 | 29,219,982 (2024) |
| Government debtMillions of local currency | govdebt | 1936–2024 | 28,796,888 (2024) |
| Government deficitMillions of local currency | govdef | 1950–2024 | -1,823,051 (2024) |
| Government expenditure (% of GDP)Percent of GDP | govexp_GDP | 1936–2024 | 18.6 (2024) |
| Government revenue (% of GDP)Percent of GDP | govrev_GDP | 1936–2024 | 14.9 (2024) |
| Government tax revenue (% of GDP)Percent of GDP | govtax_GDP | 1966–2024 | 14.4 (2024) |
Money and interest rates
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Short-term interest ratePercent | strate | 1982–2025 | 3.45 (2025) |
| Long-term interest ratePercent | ltrate | 2014–2025 | 6.55 (2025) |
| Central bank policy ratePercent | cbrate | 1952–2025 | 3.25 (2025) |
| M0 (monetary base)Millions of local currency | M0 | 1914–2025 | 4,250,867 (2025) |
| M1Millions of local currency | M1 | 1948–2025 | 19,646,750 (2025) |
| M2Millions of local currency | M2 | 1948–2025 | 17,983,976 (2025) |
| M3Millions of local currency | M3 | 1960–2025 | 26,233,890 (2025) |
Prices and labor markets
| Variable | Code | Coverage | Latest |
|---|---|---|---|
| Consumer price indexIndex, 2015 = 100 | CPI | 1936–2025 | 117.8 (2025) |
| InflationPercent | infl | 1937–2025 | -0.0737 (2025) |
| PopulationMillions of people | pop | 1800–2025 | 5.32 (2025) |
| Unemployment ratePercent | unemp | 1976–2025 | 6.33 (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 →