TL;DR
A firm earns profit by selling its output for more than it cost to make. Profit is revenue minus cost, and it depends on how much the firm produces. Profit is highest at the output where one more unit would add exactly as much to cost as it adds to revenue.
That point is called marginal revenue equals marginal cost, written MR = MC. It is a core condition in microeconomics.
Where you'll see it: in the price a bakery charges for bread, in how an airline fills its seats, and in the output decision of any firm that can choose how much to make.
Intuition
Why one more unit is the right question
A firm does not need to know its total profit to decide what to do next. It needs to know whether one more unit would help or hurt. If making one more unit adds more to revenue than to cost, the firm should make it, because profit goes up. If one more unit adds more to cost than to revenue, the firm should stop.
Profit is highest where the two effects balance. Below that output, each extra unit still adds profit. Above it, each extra unit subtracts profit. Economists call the extra revenue from one more unit marginal revenue, and the extra cost marginal cost. The rule follows: keep expanding while marginal revenue is bigger, and stop where they meet.
A bakery shows this clearly. The first loaves of the day cover the oven and the rent. Each extra loaf costs a little flour and labour, and sells for a fixed price. At some point the bakery has to sell an extra loaf at a lower price to find buyers, or its ovens run hot and staff get tired. The extra cost starts to catch up with the extra revenue, and the best output is the one where they cross.
A picture of the profit hill
If you plot profit against output, you get a hill. At zero output profit is negative, because fixed costs are paid anyway. As output rises, profit climbs, flattens, and then falls. The top of the hill is the profit-maximising output. At the top the slope is zero, and the slope is exactly the gap between marginal revenue and marginal cost. So "slope zero" and "MR equals MC" are the same statement.
flowchart TD
A[Choose output q] --> B[Compute revenue R q and cost C q]
B --> C[Profit = R q minus C q]
C --> D{Is marginal revenue above marginal cost?}
D -- yes --> E[Raise q]
D -- no --> F[Lower q]
E --> D
F --> D
D -- equal --> G[Profit is maximised]
The math
Definition
Let be the quantity a firm produces, its total revenue and its total cost. Profit is
The firm chooses to maximise . If has a maximum at an interior output, then , which means
Here is output in units, is profit in money, and marks the best choice. The derivative is marginal revenue, the extra revenue from one more unit, because it is the rate at which revenue changes with output. The derivative is marginal cost, the same idea for cost. The condition comes straight from the Derivative: a maximum of a smooth curve is where its slope is zero.
Checking that it is a maximum
A zero slope can also be a minimum. The second derivative separates them. At the output ,
means profit is at a maximum. In words: as output rises, marginal revenue must be falling faster than marginal cost (or marginal cost must be rising faster than marginal revenue), so that the gap between them closes from above.
Price takers and price setters
A firm that is one of many identical sellers takes the market price as given. Each extra unit sells for , so and . The rule becomes . A firm with market power faces a downward-sloping demand, so selling one more unit forces a lower price on every unit. Then marginal revenue is less than the price, and the firm produces less than the price-taker would.
Worked examples
A firm faces the inverse demand , so its revenue is . Its cost is .
- Marginal revenue: .
- Marginal cost: .
- Set them equal: , so and .
- Price at that output: .
- Revenue: . Cost: .
- Profit: .
- Check the neighbours: at , profit is ; at , it is . Both are below , so beats both neighbouring whole-number outputs, as the calculus says it should.
Interpretation: at the best output the price is while marginal cost is . The firm charges more than its marginal cost, and the gap of is its mark-up. A price-taker would instead set price equal to marginal cost, so this firm produces less than a competitive firm would.
A firm sells at a market price of and has the same cost function, , so .
- Set : , so .
- Revenue: . Cost: .
- Profit: . The firm loses money at its best output.
- Should it shut down? Shutting down costs the fixed cost of . Producing costs but earns , so the loss is only . Variable cost is , and revenue of covers it. The firm keeps producing, because the fixed cost is paid either way.
Interpretation: a loss is not always a reason to stop. The rule is to produce while revenue covers variable cost, and to leave the market only when price falls below average variable cost.
Tradeoffs and failure modes
MR = MC is a clean rule, and it fails in predictable ways.
| Situation | What goes wrong | Better choice |
|---|---|---|
| Costs are not smooth or demand is kinked | The derivative does not exist at the kink, so MR = MC has no solution | Check the profit at each candidate output directly |
| The firm cannot change its output in small steps | MR = MC gives an output that is not a whole number | Round to the best integer and compare the two neighbours |
| The firm ignores the effect of its price on other units | It assumes marginal revenue equals price when it does not | Use the demand curve to compute MR |
| Costs are measured wrong, such as including sunk costs | The firm keeps producing when it should stop, or stops when it should go on | Use only costs that change with the decision |
| Competitors respond | The firm's best output depends on what others do | Use a game model such as Nash Equilibrium |
The rule is about one firm choosing one number. When many firms interact, the market outcome is described by Competitive Equilibrium or by models of Monopoly and Monopolistic Competition.
History
Antoine Augustin Cournot's Recherches sur les principes mathématiques de la théorie des richesses (1838) was the first to write profit-maximising behaviour as a calculus problem, with marginal revenue and marginal cost as the central tools.
Alfred Marshall's Principles of Economics (1890) made marginal analysis the standard method in English-language economics. His diagrams of cost and demand curves, with output at the point where they meet, are still taught.
In 1933, Joan Robinson and Edward Chamberlin, working independently, showed how marginal revenue falls below price for a firm with market power. That result explained why such firms produce less and charge more than a competitive firm would. The rule caught on because it made the difference between competition and monopoly precise.
Check yourself
QuestionA firm's marginal cost is , and it sells in a competitive market at price . What output maximises profit?Show answer
A price-taking firm has . Set , so . The firm produces 4 units. Check that marginal cost is rising at that point, which it is, since its slope is .
QuestionRevenue is and cost is . Find the profit-maximising output and the profit there.Show answer
Marginal revenue is and marginal cost is . Setting them equal: , so . Profit: , and . Profit is .
QuestionWhy must marginal revenue be less than the price for a firm with market power?Show answer
To sell one more unit, the firm must lower its price on every unit it sells, not just on the new one. The gain from the new unit is its price, minus the revenue lost on all the units sold at a lower price. That net gain is smaller than the price itself, so marginal revenue is less than price.
QuestionA firm has fixed cost that is paid whatever it produces. Does a change in change the profit-maximising output?Show answer
No. The fixed cost does not appear in marginal cost, since and is a constant. So the condition MR = MC is unchanged, and the best output stays the same. The fixed cost changes the level of profit, not the output decision. It can make profit negative, but it does not change where the firm produces.
QuestionA firm is at its profit-maximising output, but its marginal cost is rising and its marginal revenue is falling. Is this a maximum or a minimum? Explain in terms of the second derivative.Show answer
A rising marginal cost and a falling marginal revenue mean and , so . The second derivative is negative, so the point is a maximum. The gap between revenue and cost is narrowing from above, and profit peaks where the gap closes.