ToolNimba
๐Ÿ’ฐ Finance & Money

How to Calculate Marginal Cost (Step by Step)

By ToolNimba Editorial Team June 20, 2026 5 min read

Illustration of a production line with rising cost curves and stacked output units

Quick answer

Marginal cost = change in total cost divided by change in quantity. It is the cost of producing one more unit. Subtract the old total cost from the new total cost, then divide by how many extra units you made.

Marginal cost answers one practical question: if you make one more of something, how much extra does it cost you? It ignores everything you have already spent and focuses only on the cost added by the next unit of output. That makes it one of the most useful numbers in business, because almost every pricing, scaling, and "should we make more" decision comes down to comparing the marginal cost of another unit against the revenue it brings in.

If you are comfortable working with ratios and differences, you already have most of what you need. The idea is closely related to other rate ideas like average rate of change, just applied to dollars and units instead of abstract functions.

The marginal cost formula

Here is the whole formula in one line. Take the change in total cost, divide it by the change in quantity, and the result is the cost of each additional unit over that range.

The formula

marginal cost = change in total cost divided by change in quantity

In symbols you will often see this written with the Greek letter delta, which simply means "change in." So marginal cost equals the change in total cost over the change in quantity. The change in total cost is the new total cost minus the old total cost. The change in quantity is the new number of units minus the old number of units. When you increase output by exactly one unit, the denominator is 1, and marginal cost is just the extra cost of that single unit.

What counts as total cost

Total cost is your fixed costs plus your variable costs. Fixed costs, like rent or equipment, do not change when you make one more unit. Variable costs, like raw materials and direct labor, do. Because fixed costs stay the same across the small change you are measuring, they usually cancel out, which means marginal cost is driven almost entirely by variable costs.

A worked example, step by step

Suppose a bakery currently makes 100 loaves of bread at a total cost of 200 dollars. The owner wants to bump production to 150 loaves, and the new total cost works out to 260 dollars. What is the marginal cost per extra loaf?

  1. Identify the old and new totals. Old total cost is 200 dollars at 100 loaves. New total cost is 260 dollars at 150 loaves.
  2. Find the change in total cost. 260 minus 200 equals 60 dollars.
  3. Find the change in quantity. 150 minus 100 equals 50 loaves.
  4. Divide. 60 dollars divided by 50 loaves equals 1.20 dollars.
  5. Read the result. Each additional loaf in that range costs about 1.20 dollars to produce.

That 1.20 dollars is the number the owner actually needs. If each extra loaf sells for more than 1.20 dollars, making more bread adds to profit. If the selling price drops below the marginal cost, every extra loaf loses money. Notice that the original 200 dollars never entered the decision, because it was already spent regardless of what happens next.

A U shaped marginal cost curve with output on one axis and cost per unit on the other
Marginal cost often falls at first as efficiency improves, then rises again once capacity is stretched.

Marginal cost reference table

This table walks one product through several production levels. Each marginal cost figure is the change in total cost divided by the change in quantity from the row above it.

Marginal cost as output increases

Units producedTotal costChange in costChange in unitsMarginal cost per unit
0100n/an/an/a
1014040104.00
2017030103.00
3021040104.00
4027060106.00
5036090109.00

Read the pattern from top to bottom. Marginal cost dips from 4.00 to 3.00 as the operation becomes more efficient, then climbs steadily as production strains capacity. That U shaped path is typical: early units get cheaper thanks to better use of resources, and later units get more expensive as overtime, rushed materials, and crowding kick in.

Why marginal cost matters

  • Pricing decisions: you should never price a unit below its marginal cost for long, or each sale loses money.
  • Scaling output: compare marginal cost against marginal revenue. As long as the next unit earns more than it costs, making it adds profit.
  • Finding the sweet spot: profit is maximized where marginal cost equals marginal revenue, a cornerstone of business economics.
  • Budgeting and forecasting: knowing how cost behaves as volume rises helps you plan production runs and spot diminishing returns early.

Marginal cost also sits alongside other per unit ideas you may already use. If you are working out the cost left on the table by choosing one option over another, that is opportunity cost rather than marginal cost. And once you know your cost per unit, setting a selling price often comes down to markup and profit margin.

Common mistakes to avoid

  • Including fixed costs in the change. Fixed costs do not change with one more unit, so they should cancel out. Counting them again inflates your marginal cost.
  • Using average cost instead. Average cost is total cost divided by total units. Marginal cost is the change in total cost divided by the change in units. They answer different questions.
  • Forgetting the denominator. If quantity rises by more than one unit, you must divide by that change, not just report the raw dollar difference.
  • Letting sunk costs creep in. Money already spent is irrelevant to the next unit. Marginal cost only looks forward.
  • Mixing up the order. Always subtract the old total from the new total so an increase in output shows the cost it added.

Good to know

In economics textbooks, marginal cost is sometimes defined using calculus as the derivative of the total cost function, which gives the cost of an infinitely small extra unit. For everyday business use you do not need calculus at all. The change in total cost divided by the change in quantity gives a perfectly good answer for real production runs. Marginal cost is also closely tied to the idea of economies of scale: when marginal cost keeps falling as you grow, scaling up is rewarding, but once it starts rising, each new unit eats into your margin.

Marginal cost asks only one thing: what does the next unit cost? Everything already spent is behind you.

Once the formula clicks, marginal cost becomes a quiet decision making superpower. Master the rule "change in total cost divided by change in quantity" and you can judge almost any "should we make one more" question with confidence.

Frequently asked questions

How do you calculate marginal cost?

Divide the change in total cost by the change in quantity. Subtract your old total cost from your new total cost to get the extra cost, then divide by the number of extra units produced. The result is the cost of producing one more unit over that range.

What is the marginal cost formula?

Marginal cost equals the change in total cost divided by the change in quantity. The change in total cost is the new total cost minus the old total cost, and the change in quantity is the increase in units produced. When output rises by one unit, marginal cost is simply that unit's added cost.

What is the difference between marginal cost and average cost?

Average cost is total cost divided by the total number of units, giving a per unit average across all output. Marginal cost is the change in total cost divided by the change in quantity, giving the cost of just the next unit. They often differ and answer different questions.

Do fixed costs affect marginal cost?

Usually not directly. Fixed costs like rent do not change when you make one more unit, so they cancel out in the change in total cost. Marginal cost is driven mainly by variable costs such as materials and direct labor that rise with each additional unit produced.

Why does marginal cost often rise as output increases?

At higher volumes you tend to hit capacity limits. Overtime pay, rushed or pricier materials, equipment strain, and crowded workspaces all push the cost of each extra unit up. This is why marginal cost curves are often U shaped, falling early then climbing as production stretches resources.

Why is marginal cost important for pricing?

Marginal cost sets the floor for a sustainable price. If you sell a unit for less than it costs to produce, every sale loses money. By comparing marginal cost to the revenue each unit brings in, you can decide whether making and selling more output actually adds to profit.

Keep reading