National income accounting measures a country's total economic output and income. It uses Gross Domestic Product (GDP) and Gross National Product (GNP) to calculate the total value of final goods and services produced. GDP measures output within a country's borders, while GNP includes income from domestic and foreign sources. GDP can be calculated using either the income approach by adding up wages, profits, interest and rents, or the expenditure approach by adding consumption, investment, government spending, and net exports. Real GDP adjusts for inflation to measure output in constant prices.