Formulas Used:
personal consumption + gross investment + government consumption + net exports of goods and services
The most common approach to measuring and quantifying GDP is the expenditure method:
GDP = private consumption + gross investment + government spending + (exports - imports), or,
Gross Domestic Product = C + I + G + (X - M).