Sub topic 12
When to produce at a loss or shut down
This chapter assumes you know the MR = MC rule, the difference between fixed and variable cost, and average variable cost (AVC). It covers one question the rule does not answer. If the best output still loses money, should the firm produce that output or produce nothing?
The decision is about the short run
In the short run some costs are fixed. The firm pays them whether it produces or not, for example rent under a lease. A cost the firm cannot avoid is a sunk cost for this decision, so it should not affect the choice.
The firm has two options:
- Operate at the output where MR = MC. Profit is TR − VC − F.
- Shut down and produce zero. Profit is −F, because the firm still pays the fixed cost.
Operating is better when TR − VC − F > −F. The F cancels, which leaves:
TR > VC
Dividing both sides by Q gives the working form: produce if price (average revenue) is above AVC. Total revenue must at least cover the costs that disappear when output stops. Anything left over pays toward fixed cost.
Three price ranges
For a price taker, price is the same as average revenue. The decision then depends on where P sits relative to two cost curves: average total cost (ATC) and AVC.
| Price compared with costs | Profit at MR = MC | Decision |
|---|---|---|
| P > ATC | Positive | Produce |
| AVC < P < ATC | Negative, but smaller than F | Produce at a loss |
| P < AVC | Negative, and larger than F | Shut down |
| P = AVC | Exactly −F | Indifferent |
In the middle row the firm loses money but loses less than F. Each unit sells for more than the variable cost of making it, so each unit contributes (P − AVC) toward a fixed bill the firm owes anyway.
A numerical check with a quadratic cost
Use the cost function from earlier in the tutorial: C = 50 + 20Q + Q². Fixed cost is 50, and AVC = 20 + Q.
At a price of 40, the firm sets P = MC, so 40 = 20 + 2Q and Q = 10. Revenue is 400 and total cost is 350, so profit is +50. AVC at Q = 10 is 30, which is below 40.
At a price of 25, the firm sets 25 = 20 + 2Q, so Q = 2.5.
- Revenue is 62.5.
- Variable cost is 20(2.5) + 2.5² = 56.25.
- Profit is 62.5 − 56.25 − 50 = −43.75.
- AVC at Q = 2.5 is 22.5, which is below the price of 25.
Operating loses 43.75. Shutting down loses 50. Operating is better by 6.25, which equals (P − AVC) × Q = 2.5 × 2.5.
With this cost function AVC starts at 20 and only rises. Any price above 20 therefore passes the shutdown test. A cost curve with a U-shaped AVC gives a sharper threshold, so the next section uses one.
A U-shaped AVC and a real threshold
Let variable cost be VC = Q³ − 6Q² + 20Q and fixed cost F = 30. Then:
- MC = 3Q² − 12Q + 20, with a minimum value of 8 at Q = 2.
- AVC = Q² − 6Q + 20, with a minimum value of 11 at Q = 3. MC crosses AVC at this point.
For a price taker, set P = MC on the rising part of the MC curve. Solving 3Q² − 12Q + 20 = P and taking the larger root gives Q = 2 + √(12P − 96) / 6. This needs P ≥ 8. Below 8 there is no solution, so output is zero.
from math import sqrt
F = 30 # fixed cost
def vc(q):
return q**3 - 6 * q**2 + 20 * q
def best_q(p):
# Larger root of MC = 3q^2 - 12q + 20 = p. MC never falls below 8.
if 12 * p < 96:
return 0.0
return 2 + sqrt(12 * p - 96) / 6
for p in (5, 8, 11, 20, 35):
q = best_q(p)
operate_profit = p * q - vc(q) - F
shut_profit = -F
# A tie goes to shutting down, since the firm is indifferent
decision = "produce" if operate_profit > shut_profit else "shut down"
print(f"{p:>3} q={q:.2f} profit={operate_profit:.1f} {decision}")
# Output:
# 5 q=0.00 profit=-30.0 shut down
# 8 q=2.00 profit=-38.0 shut down
# 11 q=3.00 profit=-30.0 shut down
# 20 q=4.00 profit=2.0 produce
# 35 q=5.00 profit=70.0 produceThe output shows the pattern:
- At P = 8 the firm would lose 38 by operating, which is worse than the 30 it loses by closing. AVC at Q = 2 is 12, above the price.
- At P = 11 the price equals the minimum of AVC. Operating and closing both lose exactly 30. This is the shutdown point.
- Between 11 and about 19.5, the minimum of ATC, the firm produces and loses less than 30.
- At P = 20 the firm earns a small profit of 2.
The code compares operating profit with shutdown profit directly. This avoids dividing by Q, which is zero when the firm closes.
Firms with market power
The same logic holds without price taking. The firm still compares total revenue with variable cost at its MR = MC output. The test now uses the price on the demand curve at that quantity, because that is the average revenue.
- Solve MR = MC for Q.
- Read the price P off the demand curve at that Q.
- Compare P with AVC at that Q. Produce if P ≥ AVC.
Do not compare MR with AVC. MR lies below price for a firm with market power, and the shutdown test is about total revenue, which is price times quantity.
A firm with a downward-sloping demand curve can also fail the test everywhere. If its demand curve lies below its AVC curve at every quantity, no output covers variable cost, and the firm should close.
What counts as a cost in this test
The test uses avoidable costs: the costs that go away if output stops. Several practical points follow.
- Sunk fixed costs are ignored. If the lease cannot be cancelled, it belongs in F and plays no part in the decision.
- Some fixed costs are avoidable. If shutting down lets the firm cancel part of what looked fixed, that part belongs with variable cost. The correct comparison is revenue against all avoidable cost.
- Restart costs can matter. If closing and reopening is expensive, a firm may keep operating through a temporary dip in price even when P < AVC.
- Opportunity cost belongs in the costs. Include the owner's best alternative use of their time and capital, as in the economic profit section. This changes the threshold.
Short run versus long run
The shutdown rule applies only while fixed costs cannot be escaped. Over a longer period, every cost becomes avoidable. The firm then compares price with ATC and exits the industry if P < ATC, because the loss between AVC and ATC would otherwise continue indefinitely.
| Horizon | Fixed costs | Firm stays if |
|---|---|---|
| Short run | Unavoidable | P ≥ AVC |
| Long run | All avoidable | P ≥ ATC |
A firm in the middle price range is therefore in a temporary position. It produces now, but it will leave if the price stays below ATC long enough for its commitments to expire.
Common errors
- Comparing price with ATC for the short-run shutdown decision. ATC includes fixed cost, which is already sunk.
- Comparing MR, not price, with AVC for a firm with market power.
- Finding Q where P = AVC. The firm still chooses Q from MR = MC and uses AVC only to check that operating beats closing.
- Using the falling part of the MC curve. With a U-shaped MC curve, P = MC holds at two quantities, and the second-order condition selects the one where MC is rising.
- Forgetting that the price must be at least the minimum of AVC for any output to pass the test.
Exercise
A price-taking firm has fixed cost 80 and variable cost VC = 2Q² + 10Q, so MC = 4Q + 10 and AVC = 2Q + 10. At a market price of 30, find the output that maximises profit. Then decide whether the firm should produce or shut down, and state its profit or loss.
Show answer
Set P = MC: 30 = 4Q + 10, so Q = 5. Revenue is 30 × 5 = 150. Variable cost is 2(25) + 50 = 100. Operating profit is 150 − 100 − 80 = −30. AVC at Q = 5 is 20, which is below the price of 30, so the firm produces. Shutting down would lose the fixed cost of 80, so producing, with a loss of 30, is better by 50. That gap equals (P − AVC) × Q = 10 × 5.
Exercise
Using the same firm, the price falls to 8. What is the profit-maximising output on the MR = MC rule, and what should the firm do?
Show answer
Setting P = MC gives 8 = 4Q + 10, so Q = −0.5, which is not possible. MC is already 10 at Q = 0, above the price, so the best output is zero. Equivalently, the minimum of AVC is 10 at Q = 0, and the price of 8 is below it. The firm shuts down and loses its fixed cost of 80.
Exercise
A firm with market power faces inverse demand P = 60 − Q, with MC = 10 + Q and AVC = 10 + Q/2. Fixed cost is 100. Should it operate?
Show answer
MR = 60 − 2Q. Setting MR = MC gives 60 − 2Q = 10 + Q, so Q = 50/3 ≈ 16.67. The price is 60 − 16.67 = 43.33. AVC at that quantity is 10 + 8.33 = 18.33, below the price, so the firm operates. Total revenue is about 722.2 and variable cost is about 305.6, so the contribution to fixed cost is about 416.7. Profit is about 316.7 after subtracting the fixed cost of 100.