When a competitive equilibrium is achieved in a market, the total net benefit to society is maximized. Competitive equilibrium happens when profit-maximizing producers and utility-maximizing consumers within a market arrive a set free price. When the price is set as negotiated, the quantity supplied is exactly equal to the quantity demanded.