GDP calculator
Expenditure approach to calculate GDP
GDP = personal consumption + gross investment + government consumption + net exports (exports − imports)
Resource cost-income approach to calculate GDP
GNP = employee compensation + proprietors' income + rental income + corporate profits + interest income
GDP = GNP + indirect business taxes + depreciation + net income of foreigners
* Net income of foreigners: income domestic citizens earn abroad minus income foreigners earn domestically
