In macroeconomics, the gross domestic product is a measure of the market value of all final goods and services produced in a country over a time period (usually a year). It’s given by:

where

  • is consumption spending, i.e., purchases by households on final goods and services.
  • is investment spending, i.e., by firms on capital goods (like buildings, machinery, equipment, etc.).
  • is government spending, including public investment.
  • is net exports, where is the value of all exports and is the value of all imports.