This free profit maximization calculator takes a total cost table and either a market price or a demand schedule, then fills in revenue, marginal revenue, marginal cost, average costs and profit, finds the MR = MC output and checks the shutdown rule.
How to use the profit maximization calculator
- Choose perfect competition (one market price) or monopoly (a price for each quantity).
- Enter total cost starting at Q = 0. Total cost at Q = 0 is the fixed cost.
- Enter the price, or the demand schedule.
- Read the best quantity and profit, then check the table: the highlighted row is where MR = MC.
Worked example
A perfectly competitive firm sells at P = $10. Total cost for Q = 0 to 5 is 10, 14, 20, 28, 38, 50.
| Q | TR | TC | MR | MC | Profit |
|---|---|---|---|---|---|
| 0 | 0 | 10 | — | — | −10 |
| 1 | 10 | 14 | 10 | 4 | −4 |
| 2 | 20 | 20 | 10 | 6 | 0 |
| 3 | 30 | 28 | 10 | 8 | 2 |
| 4 | 40 | 38 | 10 | 10 | 2 |
| 5 | 50 | 50 | 10 | 12 | 0 |
MR = MC = 10 at Q = 4, with a profit of $2. The fifth unit would cost $12 but bring in only $10, so the firm stops at 4.
The MR = MC rule
Each extra unit adds MR to revenue and MC to cost. If MR is bigger, making it raises profit; if MC is bigger, it lowers profit. So a firm keeps producing until the last unit’s MR equals its MC. In a table, profit can tie at two quantities (like 3 and 4 above); the MR = MC rule picks the larger one.
Cost definitions
| Term | Formula |
|---|---|
| Fixed cost (FC) | TC at Q = 0 |
| Variable cost (VC) | TC − FC |
| Marginal cost (MC) | Change in TC from one more unit |
| Average total cost (ATC) | TC ÷ Q |
| Average variable cost (AVC) | VC ÷ Q |
| Profit | TR − TC = (P − ATC) × Q |
The shutdown rule
In the short run a firm pays its fixed cost whether it produces or not. It should keep producing as long as price covers average variable cost, because that loses less than shutting down. If price falls below the minimum AVC, the firm shuts down and loses only its fixed cost. In the example, at P = $3 (below the minimum AVC of $4), the firm shuts down and loses $10.
Perfect competition vs. monopoly
A perfectly competitive firm is a price taker, so MR equals the price on every unit. A monopolist faces the market demand curve: to sell one more unit it lowers the price on all units, so MR falls faster than price. The monopolist still produces where MR = MC, then charges the highest price buyers will pay for that quantity. That’s why monopolies produce less and charge more than competitive markets.
Practice: find the output and check the shutdown rule
A perfectly competitive firm sells at P = $8. Its fixed cost is $6, and total cost for Q = 0 to 5 is 6, 10, 13, 17, 23, 31.
| Q | TC | MC | VC | AVC | Profit at $8 |
|---|---|---|---|---|---|
| 0 | 6 | — | 0 | — | −6 |
| 1 | 10 | 4 | 4 | 4.00 | −2 |
| 2 | 13 | 3 | 7 | 3.50 | 3 |
| 3 | 17 | 4 | 11 | 3.67 | 7 |
| 4 | 23 | 6 | 17 | 4.25 | 9 |
| 5 | 31 | 8 | 25 | 5.00 | 9 |
- Output: MR = P = $8, and MC reaches $8 on the 5th unit, so the firm produces Q = 5 and earns $9. The 5th unit adds exactly as much revenue as cost, which is why profit at Q = 4 is also $9.
- Shutdown: the lowest AVC is $3.50. If the price fell to $3, below that, the firm would shut down and lose only its $6 fixed cost.
In the long run
Positive economic profit in a perfectly competitive market attracts new firms. Their extra supply pushes the price down until it reaches the lowest point of average total cost. At that point every firm earns zero economic profit, the normal return that keeps it in business. Losses work the other way: firms leave, supply falls and the price rises back to minimum ATC.
Common mistakes
- Picking the quantity where profit per unit is largest instead of total profit.
- Using ATC instead of AVC for the shutdown rule.
- Setting price equal to MC for a monopoly instead of MR = MC.
Review the ideas in Profit Maximization: AP® Microeconomics Review and Perfect Competition, or the whole unit on the AP® Microeconomics Unit 3 cheat sheet. Practice with the AP® Microeconomics score calculator and the AP® Microeconomics guides.
FAQ
Why do firms produce where MR = MC?
As long as one more unit adds more to revenue (MR) than to cost (MC), it adds to profit. Profit stops rising where MR = MC.
When should a firm shut down in the short run?
When price is below the minimum average variable cost. Then producing loses more than the fixed cost the firm pays anyway.
Can a firm keep producing at a loss?
Yes, if price covers average variable cost. It loses less by producing than by shutting down, because part of the fixed cost is covered.
How is a monopoly different?
A monopoly faces the downward-sloping demand curve, so MR falls faster than price. It still produces where MR = MC, then charges the price on the demand curve.