How marginal cost works — and why it is U-shaped
Ask a bakery what a loaf of bread costs and you will get an average: total spending divided by loaves. Ask what the next loaf costs and you get something more useful — marginal cost, the extra flour, labor, and oven time that one more loaf actually requires. Over the first units marginal cost typically falls, because workers specialize and fixed equipment finally gets used properly. Then it rises: with the ovens and floor space fixed in the short run, each extra worker adds less output than the one before — diminishing marginal returns — so each extra loaf needs more input than the last. Falling, bottoming out, rising: that is the U shape every intro textbook draws, and it appears row by row in the schedule above.
The formulas
MC = ΔTC ÷ ΔQ
ATC = TC ÷ Q
Profit is maximized where MR = MC
where TC is total cost and Q is quantity. In a discrete table, MC is measured between consecutive rows and the profit rule reads: produce every unit whose marginal revenue is at least its marginal cost, and stop before the first unit where MC > MR. With a flat selling price, MR simply equals the price.
Worked example
Take the calculator's default schedule: a workshop with $100 of fixed cost whose total cost climbs to $600 at 50 units, selling every unit at a flat $15. Trace marginal cost against marginal revenue step by step:
| Step | Amount |
|---|---|
| Fixed cost — total cost at Q = 0incurred before the first unit; it never appears in marginal cost | $100 |
| MC of the 20 → 30 step($320 − $240) ÷ 10 — well below the $15 price, so these units add to profit | $8 / unit |
| MC of the 30 → 40 step($440 − $320) ÷ 10 — rising, but MR of $15 still covers it | $12 / unit |
| MC of the 40 → 50 step($600 − $440) ÷ 10 — now above the $15 each unit earns | $16 / unit |
| = Stop at Q = 40, where profit peaks at $160producing the losing step anyway would cut profit to $150 | $160 |
Computed with this calculator's default settings — open the tool above and you'll see the same numbers, then swap in your own cost schedule.
The MR = MC rule — and why P = MC matters
The production decision is a march up the marginal cost curve: take every unit that earns at least what it costs to make, and stop at the first one that does not. That is the whole MR = MC rule. Under perfect competition it gains extra force, because a price-taking firm sells every unit at the market price — marginal revenue isthe price — so the rule becomes P = MC. That equality is the textbook benchmark for efficiency: the price buyers pay for the last unit exactly equals the resources society gave up to produce it, with no unit left unmade whose value exceeds its cost. A monopolist, by contrast, holds output where price sits above marginal cost — the gap is the standard measure of market power. The marginal way of thinking goes back to Antoine Augustin Cournot, whose 1838Recherches first stated the profit maximum in terms of a derivative of cost, and to Alfred Marshall, whosePrinciples of Economics (1890) built the cost curves this calculator tabulates.
Marginal cost pairs naturally with the rest of the production math: find the volume where revenue first covers all costs with thebreak-even point calculator, see how much each unit contributes toward fixed costs with thecontribution margin calculator, or check how buyers respond to the price you charge with theprice elasticity of demand calculator.
Frequently asked questions
What is marginal cost?
Marginal cost is what it costs to produce one more unit of output — the change in total cost divided by the change in quantity, MC = ΔTC ÷ ΔQ. If making 50 more units raises total cost by $500, marginal cost is $10 per unit over that range. Fixed costs never enter the calculation, because they do not change when one more unit is made; only the incremental spending on materials, labor, and energy does. That forward-looking, per-unit view is why marginal cost — not average or sunk cost — is the number economics says should drive the produce-one-more decision.
How is marginal cost different from average total cost — and why does MC pull ATC?
Average total cost spreads every cost, fixed and variable, over all units produced (ATC = TC ÷ Q); marginal cost prices only the next unit. The two are linked mechanically: when MC is below ATC, the extra unit is cheaper than the running average, so it drags the average down; when MC is above ATC, it pulls the average up. It works exactly like exam scores — a below-average score lowers your course average, an above-average one raises it. That is also why the MC curve always crosses the ATC curve at ATC’s minimum point.
What is the MR = MC rule?
Produce every unit whose marginal revenue is at least its marginal cost, and stop at the first unit where MC exceeds MR. Each unit with MR ≥ MC adds more to revenue than to cost, so it raises profit; each unit past that point does the opposite. In this calculator’s default schedule, every step through Q = 40 earns $15 per unit against marginal costs of $6 to $12, but the step to Q = 50 costs $16 per unit — so profit peaks at Q = 40. The rule applies to every firm; what differs across market structures is how marginal revenue behaves.
Why does marginal cost rise?
Over the first units of output, marginal cost usually falls: workers specialize, setups are shared, and machines run closer to their design capacity. But in the short run at least one input — the factory floor, the ovens, the delivery van — is fixed. As output keeps growing, ever more variable inputs crowd those fixed ones, and each additional worker or shift adds less extra output than the one before. That is diminishing marginal returns, and it means each extra unit needs more input than the last — so its cost climbs. Falling and then rising is what gives the MC curve its familiar U shape.
Is marginal cost the same as variable cost?
No. Variable cost is a total: everything that changes with output — materials, hourly labor, energy — summed at a given quantity. Marginal cost is an increment: how much total cost rises when output increases by one more unit. Since fixed cost does not move, the change in total cost always equals the change in variable cost, which is why the two are easily confused. But average variable cost divides the whole variable bill over every unit, while marginal cost prices only the last one — under diminishing returns the last unit is usually dearer than the average of all the units before it.
Sources
- OpenStax, Principles of Economics — Chapter 7, Production, Costs, and Industry Structure (costs in the short run)
- Marshall, Principles of Economics (1890) — Book V, on cost of production and value (Library of Economics and Liberty)
The official figures this page quotes are drawn from the primary sources above — check them (or a qualified professional) before relying on a result.
Disclaimer: This calculator is foreducation and illustration only. Marginal cost from a discrete table is an average over each step, not the smooth derivative of a cost function, and real production costs shift with input prices, technology, and scale. Results are a textbook calculation, not a cost study, and nothing here is pricing, financial, or accounting advice.