๐ Marginal Cost Calculator
By ToolNimba Editorial Team ยท Reviewed by ToolNimba Review Team, microeconomics and managerial accounting content ยท Updated 2026-06-20
This calculator provides an estimate for planning and study only and is not financial, accounting, or investment advice. Marginal cost depends on how you measure total cost and output, which can vary between businesses and accounting methods. Verify your own figures and consult a qualified accountant or economist before making pricing or production decisions.
Marginal cost is the cost of producing one more unit of output, and it is one of the most important numbers in pricing and production planning. Enter your old and new total cost along with the old and new quantity, and this calculator returns the marginal cost per unit, the change in total cost, and the change in quantity. It is the fastest way to see what each additional unit really costs you.
What is the Marginal Cost Calculator?
Marginal cost measures how much your total cost rises when you produce one extra unit. The formula is the change in total cost divided by the change in quantity. If making 100 units costs $5,000 and making 200 units costs $6,200, then total cost rose by $1,200 while output rose by 100 units, so the marginal cost is $1,200 divided by 100, or $12 per unit. That single figure tells you the real cost of expanding output by one step, which is often very different from the average cost per unit.
The reason marginal cost matters is that good production and pricing decisions are made at the margin, not on averages. Fixed costs like rent and salaried staff do not change when you make one more unit, so they do not affect marginal cost at all. Only the variable costs that move with output, such as materials, packaging, energy, and per-unit labour, drive the marginal figure. This is why a factory with spare capacity can sometimes profitably accept an order priced below its average cost: as long as the price clears the marginal cost, the extra sale still adds something toward fixed costs and profit.
Marginal cost rarely stays flat as output grows. At low volumes it often falls, because you spread setup effort and learn efficiencies, a pattern called economies of scale. Past a certain point it tends to rise again as you pay overtime, run equipment harder, or buy materials at worse rates, which economists call diminishing returns. Plotting marginal cost against quantity usually produces a U-shaped curve, and the bottom of that curve is the output level where each extra unit is cheapest to make.
The classic decision rule from microeconomics is to keep producing until marginal cost equals marginal revenue, the extra money earned from selling one more unit. Below that point each additional unit adds more revenue than cost, so it increases profit. Above it each unit costs more than it brings in, so it eats into profit. Comparing marginal cost with the price you can charge is therefore the cleanest way to find the output level that maximises profit.
When to use it
- Finding the true cost of producing one more unit before you commit to scaling up output.
- Setting a price floor for a special or bulk order so it still covers the cost of each extra unit.
- Comparing marginal cost with the selling price to find the output level that maximises profit.
- Spotting economies of scale or diminishing returns by checking marginal cost at different volumes.
How to use the Marginal Cost Calculator
- Enter the old total cost at your current production level.
- Enter the new total cost after the change in output.
- Enter the old quantity and the new quantity produced.
- Read off the marginal cost per unit, the change in total cost, and the change in quantity.
Formula & method
Worked examples
A workshop spends $5,000 to make 100 chairs. Raising output to 200 chairs pushes total cost to $6,200.
- Change in total cost = 6,200 - 5,000 = $1,200
- Change in quantity = 200 - 100 = 100 units
- Marginal cost = 1,200 / 100 = $12 per unit
Result: Each additional chair in this range costs $12 to produce.
A bakery makes 400 loaves for $8,000. Scaling to 500 loaves raises total cost to $8,900.
- Change in total cost = 8,900 - 8,000 = $900
- Change in quantity = 500 - 400 = 100 units
- Marginal cost = 900 / 100 = $9 per loaf
Result: Each extra loaf costs $9, so any price above $9 adds to profit on that batch.
How the change in cost and quantity sets the marginal cost per unit
| Change in total cost | Change in quantity | Marginal cost per unit |
|---|---|---|
| $1,200 | 100 | $12.00 |
| $900 | 100 | $9.00 |
| $500 | 250 | $2.00 |
| $2,000 | 50 | $40.00 |
| $750 | 300 | $2.50 |
Marginal cost compared with related cost measures
| Measure | What it answers |
|---|---|
| Marginal cost | Cost of producing one more unit |
| Average total cost | Total cost divided by all units made |
| Variable cost | Costs that change with output |
| Fixed cost | Costs that stay the same at any output |
Common mistakes to avoid
- Confusing marginal cost with average cost. Average cost divides total cost across every unit, while marginal cost looks only at the extra cost of the next unit. They are usually different numbers, and using the average where the marginal figure belongs leads to poor pricing and production calls.
- Including fixed costs in the change. Rent, insurance, and salaried staff do not change when you make one more unit, so they should not move the marginal cost. If your total cost figures bundle in fixed costs that did not actually change, the marginal cost will be wrong.
- Dividing by a zero change in quantity. Marginal cost is undefined when the quantity does not change, because you cannot divide by zero. Make sure the new quantity differs from the old quantity, or there is no extra unit to cost.
- Assuming marginal cost is constant. Marginal cost usually falls then rises as output grows, forming a U-shaped curve. Treating it as a single fixed number across all volumes hides economies of scale at low output and diminishing returns at high output.
Glossary
- Marginal cost
- The cost of producing one more unit of output, found by dividing the change in total cost by the change in quantity.
- Total cost
- The full cost of producing a given quantity, including both fixed and variable costs.
- Marginal revenue
- The extra revenue earned from selling one more unit. Profit is maximised where marginal revenue equals marginal cost.
- Economies of scale
- A fall in cost per unit as output rises, which often shows up as a declining marginal cost at lower volumes.
- Diminishing returns
- The point where producing more units becomes progressively more expensive, pushing marginal cost upward.
- Variable cost
- A cost that changes directly with output, such as materials, packaging, energy, and per-unit labour. These are what drive marginal cost.
Frequently asked questions
What is marginal cost?
Marginal cost is the cost of producing one more unit of output. You calculate it by dividing the change in total cost by the change in quantity, so it shows exactly how much your costs rise for each additional unit you make.
How do I calculate marginal cost?
Subtract the old total cost from the new total cost to get the change in cost, subtract the old quantity from the new quantity to get the change in output, then divide the change in cost by the change in quantity. For example, $1,200 of extra cost for 100 extra units gives a marginal cost of $12 per unit.
What is the difference between marginal cost and average cost?
Average cost spreads total cost across every unit you make, while marginal cost looks only at the extra cost of the next unit. They are usually different: average cost includes a share of fixed costs, but marginal cost reflects only the costs that change when output rises.
Do fixed costs affect marginal cost?
No. Fixed costs such as rent and salaried wages do not change when you produce one more unit, so they do not enter the marginal cost. Only variable costs that rise and fall with output, like materials and per-unit labour, affect it.
Why does marginal cost change as output grows?
Marginal cost usually falls at first as you gain efficiency and spread setup effort, an effect known as economies of scale. Past a certain point it rises again because of overtime, harder equipment use, and diminishing returns, which is why the marginal cost curve is typically U-shaped.
How is marginal cost used to set prices?
The core rule is to keep producing while the price, or marginal revenue, is above the marginal cost, since each such unit adds to profit. Marginal cost also sets a price floor for special orders: any price above it still makes a positive contribution even if it is below the average cost.
Sources
- Marginal Cost: Meaning, Formula, and Examples , Investopedia
- Marginal cost and marginal revenue , Khan Academy