Gross domestic product (GDP) can be measured as the sum of:
a. consumption, investment, government purchases, and net exports.
This approach is known as the expenditure approach to calculating GDP, which sums up total spending on final goods and services in an economy.