We develop and estimate a search model in which identical consumers trade with price-setting firms that differ in productivity. We use the estimated model to characterize the qualitative and quantitative differences in prices and markups across firms. We explore how individual firms respond to changes in cost and demand and how they pass these through to their prices and markup.