The difference between optimal and actual output in a market, caused by inefficiencies in the allocation of resources.