Gross domestic product measures the economic transaction in an economy, according to quantities bought and sold and market prices.