Search

Search papers and lessons

Average and Marginal Cost

Level 1 · 11 min read

Average cost is the total cost divided by the quantity made; marginal cost is the extra cost of making one more unit. Firms compare the two to decide how much to produce.

On this page

  • Colour = topic mix
  • Discrete math
  • Calculus
  • Microeconomics
  • ReadReady to readNot yet

TL;DR

A firm's cost of making goods has two parts. Some costs, such as rent, are paid whatever the output. Others, such as materials, grow with each unit. Average cost is the total cost divided by the number of units made. Marginal cost is how much the total cost rises when the firm makes one more unit. Comparing the two tells a firm whether making another unit lowers or raises its average cost, and whether the unit is worth making at its price.

Builds on: Derivative · Leads to: Profit Maximization, Marginal Revenue, Supply and Demand

Where it's used

A bakery deciding how many loaves to bake. The oven, the rent and the manager's salary cost the same whether the bakery bakes 50 loaves or 500. Flour, yeast and packaging cost more with each loaf. The owner compares what the next loaf adds to the bill against the price it sells for, and that comparison is marginal cost against price.

An airline adding a flight. Aircraft lease payments and airport slots are fixed for the season. Fuel, crew pay per flight and landing fees are variable. Airlines price cheap last-minute seats so that the extra passenger covers the marginal cost of the seat, even when the average cost of the whole flight is much higher.

A manufacturer that scales up. A car plant spends hundreds of millions of dollars building its lines, which is a fixed cost. Each extra car then adds the cost of steel, parts and assembly labour. As output rises, the fixed cost is spread over more cars, so the average cost falls. Economists study this pattern under the name economies of scale.

How it works

Take a tiny firm with a fixed cost of 50 and a variable cost of 4 for each unit. Follow what happens as it makes units.

  1. Start with the fixed cost. The firm pays 50 whether it makes zero units or a hundred. With zero output its total cost is 50, and that 50 is spent before the first unit is made.

  2. Add the variable cost. Each unit adds 4. Making 10 units adds 10×4=4010 \times 4 = 40 to the bill, so the total cost is 50+40=9050 + 40 = 90.

  3. Divide to get the average. The average cost is total cost divided by output: 90/10=990 / 10 = 9 per unit. Check: the fixed part gives 50/10=550 / 10 = 5 per unit and the variable part gives 44 per unit. 5+4=95 + 4 = 9, so the two parts add up.

  4. Find the marginal cost. Make an eleventh unit. Total cost becomes 50+11×4=9450 + 11 \times 4 = 94. The rise is 94−90=494 - 90 = 4, so the marginal cost of the eleventh unit is 4. Here it is the same for every unit, because the variable cost is a flat 4 per unit.

  5. Watch the average move. The average is 9 at ten units. At eleven units it is 94/11≈8.5594 / 11 \approx 8.55. The average fell, even though the marginal cost stayed at 4. The fixed cost is spread over more units, so its share shrinks.

  6. Compare the two. When marginal cost is below average cost, each new unit pulls the average down. When it is above, the new unit pulls the average up. In this tiny firm, 4 is always below the average, so the average keeps falling as output grows.

The walkthrough firm's marginal cost never changes, so its average only falls. The figure shows a firm whose marginal cost rises, with total cost 100+2q+0.5q2100 + 2q + 0.5q^2. Its average cost falls at first, reaches a lowest point where it crosses the marginal cost curve, and then rises.

510152025051015202530quantity qcost per unit
  • average cost
  • marginal cost
The marginal cost line crosses the average cost curve at its lowest point, near q = 14.1 and cost 16.1.

The math

Definition: Costs

Let qq be the quantity made. Total cost is TC(q)=F+VC(q)TC(q) = F + VC(q), where FF is the fixed cost (paid at any output, including zero) and VC(q)VC(q) is the variable cost (the cost of the inputs that the Production Function requires, which rises with qq).

Average total cost is ATC(q)=TC(q)/qATC(q) = TC(q) / q. Marginal cost is MC(q)=d TCdqMC(q) = \dfrac{d\,TC}{dq}, the rate at which total cost changes as output changes.

Step 1 in symbols: the fixed and variable parts

The total splits into two pieces, and so does the average:

ATC(q)=Fq+VC(q)q=AFC(q)+AVC(q)ATC(q) = \frac{F}{q} + \frac{VC(q)}{q} = AFC(q) + AVC(q)

Here AFCAFC is average fixed cost and AVCAVC is average variable cost. The fixed part F/qF/q falls as qq grows, which is the spreading effect in step 5 of the walkthrough.

Step 2 in symbols: the tiny firm

With F=50F = 50 and VC(q)=4qVC(q) = 4q:

TC(q)=50+4q,ATC(q)=50q+4,MC(q)=4TC(q) = 50 + 4q, \qquad ATC(q) = \frac{50}{q} + 4, \qquad MC(q) = 4

At q=10q = 10: ATC=50/10+4=9ATC = 50/10 + 4 = 9. This matches the walkthrough.

Step 3 in symbols: the marginal cost is a change

For a whole number of units, the marginal cost of unit nn is the change in total cost when output goes from n−1n - 1 to nn:

MC≈TC(n)−TC(n−1)MC \approx TC(n) - TC(n - 1)

For the tiny firm, TC(11)−TC(10)=94−90=4TC(11) - TC(10) = 94 - 90 = 4. Calculus gives the exact value, dTC/dq=4dTC/dq = 4, and the derivative is the limit of this kind of difference as the step shrinks.

Step 4 in symbols: when the average is lowest

Differentiate the average with the quotient rule. For u/vu/v that rule gives (u′v−uv′)/v2(u'v - uv')/v^2. Here u=TCu = TC and v=qv = q, so u′=MCu' = MC and v′=1v' = 1. Setting the result to zero gives a simple rule: the average is at its lowest where marginal cost equals average cost.

ddq(TCq)=q MC−TCq2=0⟺MC=ATC\frac{d}{dq}\left(\frac{TC}{q}\right) = \frac{q\, MC - TC}{q^2} = 0 \quad \Longleftrightarrow \quad MC = ATC

The sign of the derivative tells the direction: when MC<ATCMC \lt ATC the average is falling, and when MC>ATCMC \gt ATC it is rising.

Worked examples

Example
1. The tiny firm, by hand

A firm has fixed cost 50 and variable cost 4 per unit.

  1. Total cost at 10 units: 50+4×10=9050 + 4 \times 10 = 90.
  2. Average cost at 10 units: 90/10=990 / 10 = 9.
  3. Total cost at 11 units: 50+4×11=9450 + 4 \times 11 = 94.
  4. Marginal cost of the 11th unit: 94−90=494 - 90 = 4.
  5. Average cost at 11 units: 94/11≈8.5594 / 11 \approx 8.55. The average fell by about 0.45, and the marginal cost (4) is below the average (9), which is why it fell.
Example
2. The standard case: a U-shaped average

A firm has TC(q)=100+2q+0.5q2TC(q) = 100 + 2q + 0.5q^2.

  1. Fixed cost: F=100F = 100. Variable cost: VC(q)=2q+0.5q2VC(q) = 2q + 0.5q^2.
  2. Average cost: ATC(q)=100/q+2+0.5qATC(q) = 100/q + 2 + 0.5q.
  3. Marginal cost: MC(q)=2+qMC(q) = 2 + q, the derivative of TCTC.
  4. At q=10q = 10: ATC=10+2+5=17ATC = 10 + 2 + 5 = 17 and MC=12MC = 12. The marginal cost is below the average, so the average is still falling.
  5. Set MC=ATCMC = ATC: 2+q=100/q+2+0.5q2 + q = 100/q + 2 + 0.5q, which gives 0.5q=100/q0.5q = 100/q, so q2=200q^2 = 200 and q≈14.14q \approx 14.14.
  6. At that point ATC=100/14.14+2+0.5×14.14≈7.07+2+7.07=16.14ATC = 100/14.14 + 2 + 0.5 \times 14.14 \approx 7.07 + 2 + 7.07 = 16.14. This is the lowest average cost, and the marginal cost is also 16.14 there.
  7. Past q=14.14q = 14.14 the marginal cost is above the average, so the average rises again. The curve has a U shape.
Example
3. Realistic: a factory with rising overtime costs

A factory has fixed cost 30000 dollars a month. Its variable cost is VC(q)=5q+0.001q2VC(q) = 5q + 0.001q^2 dollars, where qq is the number of units made in a month. Overtime makes each extra unit dearer as output grows.

  1. Total cost at q=2000q = 2000: 30000+5×2000+0.001×20002=30000+10000+4000=4400030000 + 5 \times 2000 + 0.001 \times 2000^2 = 30000 + 10000 + 4000 = 44000 dollars.
  2. Average cost: 44000/2000=2244000 / 2000 = 22 dollars per unit.
  3. Marginal cost: MC(q)=5+0.002qMC(q) = 5 + 0.002q, so at 2000 units it is 5+4=95 + 4 = 9 dollars.
  4. The marginal cost (9) is far below the average (22). The fixed cost makes the average high, and each extra unit adds only 9 dollars of cost.
  5. If the factory sells each unit for 12 dollars, the next unit adds 3 dollars of profit, so it is worth making even though the average cost is 22.

Try it. For the same factory, what is the marginal cost at q=4000q = 4000, and is it still below the price of 12 dollars? Answer: MC=5+0.002×4000=13MC = 5 + 0.002 \times 4000 = 13 dollars, which is above 12, so the next unit would lose money at the margin.

Common mistakes and tradeoffs

It is tempting to think that the average cost tells a firm whether to make one more unit. In fact the marginal cost decides that, because it is the extra cost of the extra unit, and the firm compares it with the price. The average shows the cost per unit across all output, including fixed costs that do not change with the extra unit, so it is the wrong number for this decision. Because the fixed cost is paid whether or not the firm produces, it does not enter the marginal cost at all.

It is tempting to think a firm should stop producing whenever its average cost is above the price. In the short run, though, the fixed cost is paid either way, so the firm should keep producing while the price covers its average variable cost. Only in the long run must the firm cover every cost or leave the market.

It is tempting to think the marginal cost is always constant. In fact many firms face rising marginal cost, because they run out of cheap capacity and pay overtime or hire less productive workers, a pattern linked to Diminishing Returns. The constant-cost case in step 4 of the walkthrough is a teaching simplification.

Use these measures when a firm chooses output in a competitive market, or when the question is how cost changes with scale. In a competitive market the marginal cost curve also traces the firm's supply, which is why it sits behind Supply and Demand and Producer Surplus. For a firm that sets its own price, such as a Monopoly, the comparison is marginal cost against Marginal Revenue rather than against a fixed price, and the decision rule in Profit Maximization applies instead.

History

The marginal idea arrived with the marginalist revolution of the 1870s, when Carl Menger, William Stanley Jevons and Léon Walras argued that value and cost depend on the last unit. Alfred Marshall's Principles of Economics (1890) then drew average and marginal cost curves much as textbooks still do, with the U shape that comes from spreading fixed costs and rising marginal cost.

Recap

  • Total cost is fixed cost plus variable cost. The fixed part is paid even at zero output.
  • Average cost is total cost divided by quantity. Marginal cost is the extra cost of one more unit, the rate of change of total cost.
  • When marginal cost is below average cost, the average falls. When it is above, the average rises. The two are equal at the lowest point of the average.
  • A firm compares marginal cost with price to decide whether another unit is worth making.
  • Read next: Profit Maximization for the full decision rule, Marginal Revenue for the other side of the comparison, and Diminishing Returns for why the marginal cost often rises.

Check yourself

QuestionA firm has fixed cost 80 and variable cost 3 per unit. What is its average cost at 20 units?Show answer

Total cost is 80+3×20=14080 + 3 \times 20 = 140. Average cost is 140/20=7140 / 20 = 7. The fixed part contributes 80/20=480 / 20 = 4 and the variable part contributes 3, which adds to 7.

QuestionFor TC(q)=100+2q+0.5q2TC(q) = 100 + 2q + 0.5q^2, what is the marginal cost at q=10q = 10, and is the average cost rising or falling there?Show answer

The marginal cost is the derivative MC=2+q=12MC = 2 + q = 12. The average cost is ATC=100/10+2+5=17ATC = 100/10 + 2 + 5 = 17. Since MC=12MC = 12 is below ATC=17ATC = 17, adding a unit pulls the average down, so it is falling.

QuestionWhy does a firm's decision to make one more unit depend on marginal cost rather than average cost?Show answer

The decision compares what the next unit adds to cost with what it adds to revenue. The average cost includes costs that are already paid or that do not change with the extra unit, such as fixed costs. Only the marginal cost measures the change caused by that unit, so only it belongs in the comparison with price.

QuestionA bakery's fixed cost is 500 a day. Its marginal cost is a steady 2 per loaf and it sells each loaf for 3. Is it right to bake one more loaf, and how does the fixed cost affect the answer?Show answer

Yes. The extra loaf adds 2 to cost and 3 to revenue, so it adds 1 to profit. The fixed cost of 500 does not change with the loaf, so it does not affect whether the next loaf is worth baking, although it does matter for whether the bakery makes a profit overall.

Sources