We quantify the effect of a minimum wage on compression throughout the earnings distribution. Using the case of Brazil …, which experienced a large decrease in earnings inequality while its real minimum wage increased from 1996-2012, we document … develop an equilibrium search model with heterogeneous firms and workers and find that effects of the minimum wage are …