Sub topic 4
Short-run costs: fixed, variable and marginal
This chapter builds the cost curves that every later chapter in this tutorial relies on. It assumes you know opportunity cost, the difference between a marginal and an average value, and how to read a cost graph. It does not assume any earlier material from this tutorial.
The short run and what it fixes
The short run is a period in which at least one input cannot be changed. For most firms that input is capital: a factory, a lease, a piece of machinery. Labor, materials and energy can still be adjusted, so the firm can change output, but it cannot change its scale. In the long run every input can be changed.
The short run is defined by this constraint, not by a number of months. A street vendor's short run may last a day, and a steel mill's may last years.
This split of inputs produces the split of costs.
The cost concepts
- Fixed cost (FC) is a cost that does not change with output. It must be paid even when output is zero, for example rent on a factory under lease.
- Variable cost (VC) is a cost that changes with output, such as wages for production workers, raw materials and fuel. It is zero when output is zero.
- Total cost (TC) is FC + VC.
- Marginal cost (MC) is the change in total cost from producing one more unit: MC = ΔTC / Δq. Because fixed cost does not change, MC is also ΔVC / Δq.
- Average fixed cost (AFC) is FC / q.
- Average variable cost (AVC) is VC / q.
- Average total cost (ATC) is TC / q, which equals AFC + AVC.
Two consequences follow. Fixed cost never enters marginal cost, so changing the rent changes ATC but leaves MC where it was. And AFC falls continuously as output rises, because the same fixed cost is spread over more units.
All costs here are opportunity costs. They include the explicit payments the firm makes and the implicit value of resources the owner supplies. The next chapter develops that point.
A worked cost function
This tutorial uses one cost function throughout:
TC(q) = 50 + 10q + q²
Fixed cost is 50. Variable cost is VC = 10q + q². Differentiating gives MC = 10 + 2q. Dividing gives AVC = 10 + q, AFC = 50/q and ATC = 50/q + 10 + q.
The variable cost per unit rises with output because each extra unit costs more than the last. That is the cost-side picture of diminishing marginal returns, discussed below.
The table uses whole-unit steps. Its MC column is TC(q) − TC(q−1).
| q | TC | VC | MC (step) | AFC | AVC | ATC |
|---|---|---|---|---|---|---|
| 0 | 50 | 0 | n/a | n/a | n/a | n/a |
| 1 | 61 | 11 | 11 | 50.00 | 11 | 61.00 |
| 2 | 74 | 24 | 13 | 25.00 | 12 | 37.00 |
| 3 | 89 | 39 | 15 | 16.67 | 13 | 29.67 |
| 4 | 106 | 56 | 17 | 12.50 | 14 | 26.50 |
| 5 | 125 | 75 | 19 | 10.00 | 15 | 25.00 |
| 6 | 146 | 96 | 21 | 8.33 | 16 | 24.33 |
| 7 | 169 | 119 | 23 | 7.14 | 17 | 24.14 |
| 8 | 194 | 144 | 25 | 6.25 | 18 | 24.25 |
| 9 | 221 | 171 | 27 | 5.56 | 19 | 24.56 |
| 10 | 250 | 200 | 29 | 5.00 | 20 | 25.00 |
Two features stand out. At q = 0 the firm still loses 50, which is its fixed cost. And ATC falls until about q = 7 and then rises. At q = 7 the step MC of 23 is below ATC of 24.14, so ATC is still falling. At q = 8 the step MC of 25 is above ATC of 24.25, so ATC rises.
Computing the curves
The script below builds the same table and finds the output with the lowest ATC.
import math
FIXED, A, B = 50.0, 10.0, 1.0 # TC(q) = FIXED + A*q + B*q**2
def total_cost(q):
return FIXED + A * q + B * q**2
def variable_cost(q):
return A * q + B * q**2
def step_mc(q):
# Cost of the q-th unit: TC(q) - TC(q - 1)
return total_cost(q) - total_cost(q - 1)
def point_mc(q):
# Derivative of TC at q
return A + 2 * B * q
print(f"{'q':>3} {'TC':>7} {'MC':>6} {'AFC':>7} {'AVC':>6} {'ATC':>7}")
for q in range(1, 11):
afc = FIXED / q
avc = variable_cost(q) / q
atc = total_cost(q) / q
print(f"{q:>3} {total_cost(q):>7.1f} {step_mc(q):>6.1f} "
f"{afc:>7.2f} {avc:>6.2f} {atc:>7.2f}")
best_q = min(range(1, 21), key=lambda q: total_cost(q) / q)
print("whole-unit q with lowest ATC:", best_q)
q_star = math.sqrt(FIXED / B)
print("exact q at minimum ATC:", round(q_star, 3))
print("ATC there:", round(total_cost(q_star) / q_star, 3))
print("MC there:", round(point_mc(q_star), 3))The last three lines print 7.071, 24.142 and 24.142. The final two numbers are equal because marginal cost crosses average total cost at the minimum of ATC. The same logic applies to AVC, so MC also crosses AVC at its minimum, which here is 10 at q = 0.
Why the curves have these shapes
MC eventually rises. In the short run, capital is fixed and the firm adds workers. Each added worker has less machinery to work with, so the extra output per worker, the marginal product (MP), eventually falls. If the wage is w, then MC = w / MP. When MP falls, MC rises. This is the law of diminishing marginal returns. Real cost curves often have a short falling stretch at low output, while workers specialize, and the rising section is the part that matters for supply.
MC pulls the averages toward itself. An average rises when the marginal value is above it and falls when the marginal value is below it. So MC cuts AVC and ATC from below at their minimum points.
AVC and ATC converge. The gap between them is AFC, which shrinks as output rises. The gap never reaches zero, because AFC = 50/q stays positive.
The minimum of ATC is to the right of the minimum of AVC. Falling AFC keeps ATC falling after AVC has started to rise.
Common errors
- Treating fixed cost as part of marginal cost. MC depends only on variable cost. A higher rent shifts ATC upward and leaves MC unchanged.
- Mixing the discrete and continuous MC. The formula 10 + 2q gives the slope at a point. The step cost of the q-th unit equals 9 + 2q, the formula's value at q − 0.5. Both are correct. Use one consistently, and expect differences when the unit size is large.
- Reading the ATC minimum as the profit-maximizing output. The lowest ATC is the most efficient scale. The profit-maximizing output depends on price, as the next chapters show.
- Calling every fixed cost avoidable. In the short run a fixed cost is owed whether or not the firm produces, so it is sunk with respect to the decision to produce or shut down. It is not a reason to keep producing, and it is not a reason to stop. Only costs that change with the decision matter.
- Mixing short-run and long-run language. A cost that is fixed now may be variable in the long run, because the lease will end and the firm can choose a different scale.
- Using accounting costs only. A firm that omits the owner's forgone wage or the return on the owner's own capital understates cost. Economic cost includes these implicit costs.
Where these curves are used next
The cost curves become decision tools in the following chapters. MC will be compared with marginal revenue to pick output. AVC will be compared with price to decide whether to shut down. The part of MC above minimum AVC will become the firm's supply curve. The minimum of ATC will anchor the long-run equilibrium price, which for this cost function is about 24.14.
Exercise
A firm has the cost function TC(q) = 100 + 4q + 0.5q². (a) Find FC, VC, MC, AVC and ATC as functions of q. (b) At what output is ATC at its minimum, and what is the minimum ATC? (c) Verify that MC equals ATC at that output.
Show answer
(a) FC = 100. VC = 4q + 0.5q². MC = 4 + q. AVC = 4 + 0.5q. ATC = 100/q + 4 + 0.5q. (b) Set ATC = MC: 100/q + 4 + 0.5q = 4 + q, so 100/q = 0.5q, so q² = 200 and q = √200 ≈ 14.142. Minimum ATC = 100/14.142 + 4 + 7.071 = 7.071 + 4 + 7.071 ≈ 18.142. (c) MC at q = 14.142 is 4 + 14.142 = 18.142, which equals ATC.
Exercise
In the chapter's example (TC = 50 + 10q + q²), the landlord raises the rent so that fixed cost increases from 50 to 80. What happens to MC, AVC, ATC and the output at which ATC is lowest?
Show answer
MC (10 + 2q) and AVC (10 + q) do not change, because neither contains fixed cost. ATC rises at every output, since AFC = 80/q is larger than 50/q. The lowest ATC moves to a larger output, because q* = √(FIXED/B) = √80 ≈ 8.944 instead of 7.071. The minimum ATC is 10 + 2(8.944) ≈ 27.889, up from 24.142.