Empirical work on price-cost margins often treats costs as exogenous. Allowing for endogenous costs when estimating price-cost margins is the topic of this paper. Methodologically, the endogenous cost model we propose leads to an additional equation that allows for the simultaneity in price setting in the product and the input market (labor in our case). In other words, the usual two-equation set-up ...