In economics, the marginal cost is the change in the total cost that arises when the quantity produced is increased, i.e. the cost of producing additional quantity.[1] In some contexts, it refers to an increment of one unit of output, and in others it refers to the rate of change of total cost as output is increased by an infinitesimal amount. As Figure 1 shows, the marginal cost is measured in dollars per unit, whereas total cost is in dollars, and the marginal cost is the slope of the total cost, the rate at which it increases with output. Marginal cost is different from average cost, which is the total cost divided by the number of units produced.
At each level of production and time period being considered, marginal cost includes all costs that vary with the level of production, whereas costs that do not vary with production are fixed. For example, the marginal cost of producing an automobile will include the costs of labor and parts needed for the additional automobile but not the fixed cost of the factory building that do not change with output. The marginal cost can be either short-run or long-run marginal cost, depending on what costs vary with output, since in the long run even building size is chosen to fit the desired output.
If the cost function is continuous and differentiable, the marginal cost is the first derivative of the cost function with respect to the output quantity :[2]
If the cost function is not differentiable, the marginal cost can be expressed as follows:
where denotes an incremental change of one unit.