Competition ensures that the ‘marginal utility’ of the last item sold determines the price of that commodity. The size of the market in a particular commodity–that is, the number of items that need to be sold before marginal utility no longer covers the costs of production–is explained by the scarcity, and hence price, of the inputs into production. Price is a direct measure of value.