GDP is the total market value of all final goods and services produced within a country in a given period. It counts the value added by factors of production located within that country. GDP is calculated using either the expenditure approach (summing consumption, investment, government spending, and net exports) or the income approach (summing national income plus some adjustments). While GDP measures economic output, it does not fully capture a nation's social welfare, as it excludes non-market activities and costs of issues like pollution and disasters.