Suppose you want to open a small bakery. You know the price of a loaf, but to decide how many loaves to bake you need to understand something deeper: what your costs look like at every level of production. That’s what this chapter is about. We peek behind the supply curve to see how a firm turns inputs into outputs, and how that process shapes its costs.