The law of supply and demand is the principle that the price of a good or service will adjust until the quantity supplied equals the quantity demanded, assuming all other factors remain constant.