What is marginal cost?
The extra cost of producing one more unit of something, which guides how much to make and what to charge.
Marginal cost diagram example
Marginal cost is the change in total cost when output increases by one unit. It ignores costs that are already paid regardless of volume and looks only at what the next unit adds. It matters because the best output level is usually where the revenue from one more unit equals the cost of making it.
How it works
At low volumes, marginal cost often falls as fixed equipment and staff are used more fully. Past some point it rises as capacity is stretched, overtime is needed and inputs become scarcer. This gives the typical U-shaped curve.
If the price a buyer pays is above marginal cost, one more unit adds profit. If it is below, it loses money. Fixed costs do not change this comparison, although they do decide whether the business is profitable overall. This is why average cost can mislead. A product with a low average cost may still be unprofitable to expand if its marginal cost is high, and a product with a high average cost may still be worth producing more of when the next unit is cheap.
Example
Say a bakery has fixed costs of 200 a day. Making 100 loaves costs 200 + 100 = 300 in total. Making 101 loaves costs 301, so the marginal cost of the 101st is 1. Past 300 loaves the oven needs a second shift, and the marginal cost of each extra loaf jumps to 1.80. At a selling price of 1.50 the bakery should stop around 300. Illustrative numbers only.
In a game economy, marginal cost is what each extra unit of a crafted item costs a player in materials and time, which tells designers where players will stop crafting.
How to model it in Machinations
Use Converters that turn inputs into the product, with a Register that computes the cost of the next unit from current output through a State connection. Chart total cost and marginal cost, and make the selling price a Lever so you can find the output level where the two meet.
See marginal cost in a system you can Play
Build the rules in a Machinations diagram, change a value and Play it to watch how the system responds.