We develop a framework that uses price and quantity information on both firms' outputs and inputs to assess the roles, on firm dynamics and welfare, of efficiency, input prices, demand/quality, idiosyncratic markups, and residual wedges. Our strategy nests previous approaches limited by data...