Marginal cost is the additional cost incurred when producing one more unit of output. It is calculated as the change in total cost divided by the change in quantity. This is distinct from average cost (cost per unit) or total cost (cost of all units produced).