What is marginal cost?
Marginal cost is the extra cost of producing one more unit. It's the number that tells a business whether expanding output is worth it: if the next unit costs more to make than it brings in, making it lowers profit. Average costs answer a different question: what each unit costs on average so far.
How to calculate marginal cost
From a cost function: MC(q) = C′(q) ≈ C(q + 1) − C(q)
FC = C(0), VC = C(q) − FC
MR = R′(q), marginal profit MP = MR − MC
The calculator differentiates C(q) and R(q) symbolically and also shows the exact cost of the next unit, C(q + 1) − C(q), so you can see how close the derivative is.
Worked example
A workshop's cost is C(q) = 500 + 10q + 0.05q² dollars. At q = 100 units:
- C(100) = 500 + 1,000 + 500 = $2,000. Fixed cost FC = C(0) = $500, so variable cost VC = $1,500.
- MC(q) = C′(q) = 10 + 0.1q, so MC(100) = $20 per unit. The exact cost of unit 101 is C(101) − C(100) = $20.05.
- ATC = 2,000/100 = $20, AVC = 1,500/100 = $15 and AFC = 500/100 = $5.
Here MC equals ATC, which is the bottom of the average total cost curve: below 100 units, extra units pull the average down; above it, they push it up.
Revenue works the same way. With R(x) = −0.03x² + 9x, marginal revenue is R′(x) = −0.06x + 9, so R′(100) = $3: the 101st sale brings in about $3 (exactly $2.97).
Average variable cost vs average total cost
| Measure | Formula | What it tells you |
|---|---|---|
| Average total cost (ATC) | C/q | Full cost per unit, including overhead |
| Average variable cost (AVC) | VC/q | Running cost per unit, leaving out overhead |
| Average fixed cost (AFC) | FC/q | Overhead per unit; it always falls as output rises |
| Marginal cost (MC) | ΔC/Δq or C′(q) | Cost of the next unit |
Limitations
- Fixed cost is read as C(0). If your formula only holds for q > 0, enter the fixed cost from your books instead and use the two-point mode.
- From two data points you get the average marginal cost across that range, not the exact cost of one particular unit.
- Real costs jump in steps (a new machine, a second shift), which a smooth formula can't capture.