Sub topic 3
Variable cost: what grows with output
This chapter assumes you know opportunity cost, can read a graph with cost on the vertical axis and quantity on the horizontal axis, and can work with simple polynomials such as q³ − 6q² + 15q. It also assumes you have read the previous chapter on fixed cost. This chapter covers variable cost on its own. Marginal cost and the average cost measures get their own chapters.
What variable cost is
Variable cost is the part of a firm's cost that changes when its output changes. Total variable cost, written TVC or VC(q), is the bill for every input the firm can adjust within the period it is planning. Typical examples are:
- Raw materials and packaging.
- Hourly labor and overtime.
- Electricity used by machines that run only when producing.
- Shipping charged per unit.
- Sales commissions.
The defining test is a question: if output rose or fell, would this bill rise or fall with it? If yes, the cost is variable. If the bill stays the same at every output level, including zero, it is fixed and belongs to the previous chapter.
Two properties that always hold
1. VC(0) = 0. A firm that produces nothing uses no adjustable inputs, so it pays no variable cost. This is the opposite of fixed cost, which is owed at zero output. In a cost schedule, the row for q = 0 shows total cost equal to fixed cost and variable cost equal to zero.
2. VC never decreases as output rises. Producing more needs at least as many adjustable inputs, and every input has a non-negative price. So VC(q) is non-decreasing. How fast it rises is the interesting part.
The shape of the VC curve
Total variable cost is not a straight line in the usual short-run model. The running example in this tutorial uses a fixed cost of 20 and
VC(q) = q³ − 6q² + 15q
This is a cubic. Its values are easy to compute, so the shape is easy to see.
def vc(q):
return q**3 - 6*q**2 + 15*q
print(' Q TVC change TVC/Q')
previous = 0
for q in range(0, 9):
total = vc(q)
change = total - previous
per_unit = total / q if q > 0 else 0.0
print(f'{q:>3} {total:>5} {change:>7} {per_unit:>6.1f}')
previous = totalThe output is:
Q TVC change TVC/Q
0 0 0 0.0
1 10 10 10.0
2 14 4 7.0
3 18 4 6.0
4 28 10 7.0
5 50 22 10.0
6 90 40 15.0
7 154 64 22.0
8 248 94 31.0The "change" column shows the extra variable cost of each additional unit, and the curve has two phases:
- Early units (q = 1 to 3). Each unit adds little: 10, then 4, then 4. VC rises, but more slowly with each unit. Workers share tools, specialize, and keep machines busy, so each added unit needs fewer extra inputs.
- Later units (q = 4 and up). Each unit adds more: 10, 22, 40, 64, 94. The fixed plant is crowded, so every extra unit needs disproportionately more labor and materials.
The curve therefore starts at the origin, rises at a falling rate, then rises at an increasing rate. In the cubic, the turning point is at q = 2, where the added cost per unit is smallest.
Why the curve bends: the link to returns
The bend comes from production, not accounting. In the short run at least one input, such as the factory floor, is fixed. Variable inputs such as labor are added to that fixed input.
- When the first workers are added, each one makes the fixed plant more productive. Extra output needs few extra inputs, so VC rises slowly.
- Past some point, each added worker has less equipment and space to work with. Extra output needs more and more extra inputs, so VC rises quickly.
This second phase is diminishing marginal returns. A later chapter develops it fully, along with why marginal cost mirrors marginal product. For now, remember the direction of the logic: input productivity determines how much input is needed per unit, and the input price turns that quantity into a dollar cost.
Variable cost is price times quantity of inputs
It helps to build VC from its parts instead of treating it as a given formula. For each variable input:
variable cost of that input = input price × amount of the input needed for output q
Summing over inputs gives VC(q). Two things can therefore change variable cost:
- How much input you need for each output level. This depends on technology and on productivity.
- What each unit of input costs. This depends on wages, material prices, and energy prices.
The next program makes this explicit. It models labor and materials. The hours column is a made-up production requirement that shows early efficiency gains and later diminishing returns.
MATERIAL_PRICE = 2 # cost of materials per unit produced
# Labor hours needed to produce q units (q = 0..5)
hours_needed = {0: 0, 1: 5, 2: 8, 3: 12, 4: 18, 5: 27}
def tvc(q, wage):
return wage * hours_needed[q] + MATERIAL_PRICE * q
print(' Q TVC at wage 10 TVC at wage 12')
for q in hours_needed:
print(f'{q:>3} {tvc(q, 10):>15} {tvc(q, 12):>15}')The output is:
Q TVC at wage 10 TVC at wage 12
0 0 0
1 52 62
2 84 100
3 126 150
4 188 224
5 280 334Notice what happens when the wage rises from 10 to 12:
- VC at zero output is still 0, because no labor is bought.
- The increase is larger at higher output, because more hours are bought. At q = 1 the bill rises by 10, and at q = 5 it rises by 54.
- The curve gets steeper everywhere except at the origin.
The hours table did not change. Only the input price changed. This distinction matters later when you ask which curves shift and why.
The numbers in the running example
The cubic VC(q) = q³ − 6q² + 15q is the version used in the remaining chapters. Its coefficients have no special meaning. They are chosen so that all three phases of the curve are visible in a small range of integer quantities. For orientation, here are the first values again alongside the fixed cost of 20 from the previous chapter:
| Q | VC | FC | TC = FC + VC |
|---|---|---|---|
| 0 | 0 | 20 | 20 |
| 2 | 14 | 20 | 34 |
| 4 | 28 | 20 | 48 |
| 6 | 90 | 20 | 110 |
The VC column starts at zero while the TC column starts at 20. The FC column does not move. Every change in total cost between rows is a change in VC alone.
Edge cases and common errors
Variable versus fixed depends on the horizon. In the long run all inputs can be adjusted, so all costs are variable. The short run is defined as the period in which at least one input cannot change. An annual lease is fixed this year. When it expires and the firm can resize, it becomes a variable decision.
Some costs are mixed. A phone plan with a monthly fee plus a per-gigabyte charge has a fixed part and a variable part. Split such bills into the two components. The monthly fee goes to fixed cost, and the per-unit charge goes to variable cost.
Some variable costs come in steps. Supervisors, delivery trucks, and shifts are bought in whole units. VC then rises in jumps instead of a smooth curve. The cubic is a smooth approximation, which is useful for analysis but not exact for every real firm.
Variable does not mean proportional. A common error is to assume VC doubles when output doubles. In the example, VC(2) = 14 and VC(4) = 28, which happens to double. But VC(6) = 90 is more than three times VC(2). Proportional growth would be a straight line from the origin, and the cubic is not one.
Variable is not the same as marginal. Variable cost is a total, the whole bill for adjustable inputs at output q. The extra cost from one more unit is a change in that total. The distinction is easy to blur when reading a schedule, so check whether a column holds a level or a change.
Average variable cost is a ratio. The last column of the first program, TVC/Q, is average variable cost. It falls from 10 to 6 and then rises. The next chapters derive this properly.
Summary of the working model
- VC(q) is the total bill for inputs that can be adjusted in the short run, and VC(0) = 0.
- VC is non-decreasing. It rises slowly at first, then quickly, because of how productive the variable inputs are alongside the fixed ones.
- VC = input price × input quantity, summed over inputs. Technology and productivity change the quantity, and markets change the price.
- Fixed cost does not affect how VC changes with output. It only raises total cost by a constant.
Exercise
A firm has a fixed cost of 20 and the variable cost function VC(q) = q³ − 6q² + 15q. (a) What are its total cost and variable cost at q = 0? (b) What is its variable cost at q = 5, and what is the extra variable cost of the fifth unit compared with the fourth?
Show answer
(a) At q = 0 the variable cost is 0, so total cost equals the fixed cost of 20. (b) VC(5) = 125 − 150 + 75 = 50. VC(4) = 64 − 96 + 60 = 28. The extra variable cost of the fifth unit is 50 − 28 = 22.
Exercise
A bakery's variable cost is wage × labor hours + 2 × loaves. To produce 4 loaves it needs 18 labor hours. Compute VC at a wage of 10 and at a wage of 12. Then say whether the wage increase changes VC at zero output, and why.
Show answer
At a wage of 10, VC = 10 × 18 + 2 × 4 = 188. At a wage of 12, VC = 12 × 18 + 2 × 4 = 224. At zero output the bakery buys no labor hours and no materials, so VC stays 0 at either wage. The wage change makes the VC curve steeper, but it does not move the origin, because the price increase multiplies an input quantity of zero.