Get 90% off your plan for your first 6 months*

What is marginal cost? Definition, formula and examples

Learn what marginal cost is, how to calculate it and why it matters for your small business.

Published Thursday 23 July 2026

Table of contents

Key takeaways

  • Marginal cost is the additional expense you take on when you produce one more unit of a product or service, and it helps you decide whether increasing output is worth the investment.
  • You can calculate marginal cost by dividing the change in total cost by the change in quantity produced, giving you a clear number to compare against your selling price.
  • When marginal cost stays below your selling price, each extra unit adds to your profit; when it climbs above that price, producing more starts to eat into your margins.
  • Tracking marginal cost over time helps you spot the point where scaling up stops being efficient, so you can plan for equipment upgrades, hiring, or pricing changes before costs get out of hand.

What is marginal cost?

Understanding how costs change as your output grows is one of the most practical things you can do as a business owner. Marginal cost sits at the center of that picture.

Marginal cost is the additional cost you incur when you produce one more unit of a product or deliver one more unit of a service. If you run a candle business and it costs you $320 to make 100 candles but $325 to make 101, your marginal cost for that 101st candle is $5.

The key driver behind marginal cost is variable costs. These are expenses that rise or fall with your production volume, such as raw materials, packaging, and direct labor. Fixed costs, like rent and insurance, don't change when you make one more unit, so they don't factor into the marginal cost calculation.

Marginal cost is different from other cost measures you might encounter:

  • Total cost is the full amount you spend to produce all of your units, combining both fixed and variable costs.
  • Average cost divides your total cost by the number of units you produce, giving you a per-unit figure that blends fixed and variable expenses together.
  • Marginal cost focuses only on the cost of the next unit, which makes it especially useful for decisions about whether to increase or decrease production.

Businesses use marginal cost to make sharper pricing decisions, plan production runs, and figure out the sweet spot where increasing output still makes financial sense.

Why marginal cost matters for your business

Knowing your marginal cost gives you a concrete number to build decisions around. Here's why that matters in practice.

Pricing strategy. When you know exactly what it costs to produce one more unit, you can set prices that protect your margins. If your marginal cost for an extra batch of products is $12 per unit and you're selling at $20, you know each additional sale adds $8 to your bottom line. That clarity helps you evaluate bulk discounts, seasonal promotions, and wholesale deals without guessing.

Resource allocation. Marginal cost tells you where your money goes as you scale. If producing 50 more units per week doubles your ingredient costs but only increases your labor costs by 10%, you can focus on finding better supplier deals rather than cutting staff hours.

Budgeting and planning. Accurate marginal cost data helps you build realistic budgets. Instead of projecting costs based on rough averages, you can estimate what it'll actually cost to hit your next production target. That makes your cash flow forecasts more reliable, too.

Production optimization. Every business hits a point where producing more gets expensive. Marginal cost helps you find that point before you overshoot it. If your per-unit cost starts climbing sharply after 500 units a month, you know that's the threshold where you need to rethink your process, invest in equipment, or hire extra help.

Marginal cost formula

The math behind marginal cost is straightforward. Here's the formula you'll use.

Marginal Cost = Change in Total Cost / Change in Quantity

Let's break that down:

  • Change in total cost is the difference between your total production cost at the new output level and your total cost at the original output level. Because fixed costs stay constant, this change comes entirely from variable costs: materials, direct labor, shipping, packaging, and similar expenses that scale with output.
  • Change in quantity is simply the number of additional units you produce. That could be 1 extra unit, 10, or 100, depending on how you measure your production runs.

When you divide the cost increase by the quantity increase, you get the cost per additional unit. That single number tells you whether ramping up production is profitable at your current price point.

How to calculate marginal cost step by step

Calculating marginal cost takes just 3 steps. Here's how to work through it using real numbers from your business.

  1. Calculate the change in cost. Find your total production cost at your current output level, then find your total cost at the new, higher output level. Subtract the original from the new. For example, if producing 200 units costs you $2,000 and producing 250 units costs $2,400, your change in cost is $2,400 minus $2,000, which equals $400.
  2. Calculate the change in quantity. Subtract your original quantity from your new quantity. In this case, 250 minus 200 equals 50 additional units.
  3. Divide the change in cost by the change in quantity. Take $400 and divide it by 50. Your marginal cost is $8 per unit. That means each of those 50 extra units cost you $8 to produce.

With that $8 figure in hand, you can compare it to your selling price. If you're charging $15 per unit, each additional unit earns you $7 in contribution toward your fixed costs and profit.

Marginal cost example

A worked example makes the formula easier to see in action. Let's walk through one using a small bakery.

Imagine you own a bakery that produces specialty loaves of sourdough. Last month, you baked 300 loaves at a total cost of $1,800. That total includes $900 in fixed costs (rent, equipment leases, insurance) and $900 in variable costs (flour, yeast, packaging, extra oven time).

This month, a local cafe asks you to supply an extra 50 loaves per month. You run the numbers and find that producing 350 loaves brings your total cost to $1,980. Your fixed costs haven't changed; they're still $900. But your variable costs have risen to $1,080.

Here's the calculation:

  • Change in total cost: $1,980 minus $1,800 = $180
  • Change in quantity: 350 minus 300 = 50 loaves
  • Marginal cost: $180 / 50 = $3.60 per loaf

Each additional loaf costs you $3.60 to produce. If you sell each loaf to the cafe at $6.00, you earn $2.40 per loaf on those extra 50 units. That's $120 in additional profit per month from accepting the order. For a deeper walkthrough with more examples, see the guide on calculating marginal cost.

Notice that the marginal cost of $3.60 is lower than the average cost of $5.66 per loaf ($1,980 / 350). That's because your fixed costs are now spread across more units. This is the kind of insight that helps you decide whether to take on new orders with confidence.

The marginal cost curve

When you plot marginal cost against output on a graph, a recognizable pattern emerges. Understanding this pattern helps you anticipate cost changes before they hit your bank account.

The marginal cost curve is typically U-shaped. On the left side of the curve, marginal cost falls as you increase output. This happens because of economies of scale: you're buying materials in larger quantities (often at a discount), your workers are getting more efficient, and you're using your existing equipment more fully. Each additional unit costs less than the one before it.

At the bottom of the U, you've hit your most efficient production level. This is where your cost per additional unit is at its lowest. For a small business, this sweet spot often aligns with the capacity of your current setup: your equipment, your team size, and your workspace. Understanding how your costs behave at different volumes is a core part of cost accounting.

On the right side of the curve, marginal cost starts rising again. This is the effect of diminishing returns. Your equipment runs longer hours and needs more maintenance. You may need to pay overtime wages. Suppliers might charge rush fees for larger material orders. Each additional unit starts costing more, not less.

For your business, the practical takeaway is this: aim to operate near the bottom of the curve. If you notice your per-unit costs climbing steadily, you're likely on the upslope, and it might be time to invest in more capacity rather than pushing your current setup harder.

Marginal cost vs marginal revenue

Marginal cost tells you what it costs to make one more unit. Marginal revenue tells you what you earn from selling one more unit. Comparing the two is how you find your profit-maximizing output level.

Marginal revenue is the additional income you receive when you sell one more unit. For many small businesses selling at a fixed price, marginal revenue equals your selling price. If you charge $20 per unit, your marginal revenue is $20 for each additional sale.

The profit-maximizing point occurs where marginal cost equals marginal revenue. At that level of output, the last unit you produce earns exactly enough to cover its cost. Every unit produced before that point adds to your profit, and every unit produced after it reduces your profit.

Here's what that looks like in practice:

  • When marginal cost is below marginal revenue, each extra unit adds profit. Keep producing.
  • When marginal cost equals marginal revenue, you're at peak profitability for that price point.
  • When marginal cost exceeds marginal revenue, you're spending more to produce each unit than you're earning from it. Scaling back or raising prices makes sense at this point.

This comparison is especially useful when you're evaluating whether to accept a large order at a discounted price. If the discounted price still exceeds your marginal cost, the order adds to your profit even though the margin per unit is thinner.

Marginal cost vs average cost

Marginal cost and average cost both measure production expenses, but they answer different questions. Knowing when to use each one sharpens your financial decisions.

Average cost (also called average total cost) is your total production cost divided by the number of units you produce. It blends fixed and variable costs into a single per-unit figure. Marginal cost, by contrast, looks only at what the next unit costs you.

The relationship between the two follows a consistent pattern:

  • When marginal cost is below average cost, producing more units pulls your average cost down. Each new unit is "cheaper than average," so it drags the overall average lower.
  • When marginal cost equals average cost, average cost is at its lowest point. This is the most efficient production level from an average-cost perspective.
  • When marginal cost is above average cost, producing more pushes your average cost up. Each new unit is "more expensive than average," so the overall average rises.

For pricing, average cost helps you set a floor: you generally need to sell above your average cost to cover all your expenses. Marginal cost helps you decide whether to accept one more order, produce one more batch, or take on a new customer. Both numbers belong in your toolkit.

Marginal costs versus stepped costs

Marginal cost assumes a relatively smooth increase in expenses as you produce more. But real businesses sometimes face sudden jumps in cost. That's where stepped costs come in.

Stepped costs (sometimes called step-fixed costs) are expenses that stay flat over a range of output, then jump sharply when you cross a capacity threshold. Think of renting warehouse space: you pay the same monthly rent whether you store 100 or 900 boxes. But the moment you need space for 1,000, you rent a second unit and your storage cost doubles overnight.

Other common examples of stepped costs include:

  • Hiring a new employee when your existing team can't handle the workload, especially in manufacturing businesses where capacity is tightly linked to equipment and headcount.
  • Purchasing or leasing a second piece of equipment when the first one runs at full capacity.
  • Upgrading to a higher-tier software plan when you exceed user or transaction limits.

The distinction matters because marginal cost analysis alone might tell you that each additional unit costs $4 to produce. But if unit number 501 triggers a $2,000 equipment lease, the true cost of moving from 500 to 501 units is far higher than $4. That lease cost gets spread across future units, but the cash outlay happens all at once.

When you're planning for growth, map out your stepped costs alongside your marginal costs. Identify the thresholds where costs will jump: the headcount limit, the machine capacity, the square footage ceiling. Then you can time your expansion to cross those thresholds when you have enough demand to absorb the higher expense.

Benefits of understanding marginal cost

Knowing your marginal cost gives you a foundation for better decisions across your business. Here are the main advantages.

  • Optimize your production levels. Marginal cost helps you find the output level where your costs are lowest per unit. Producing at or near that sweet spot keeps your operation efficient without overextending your resources.
  • Set smarter prices. When you know the exact cost of producing one more unit, you can price with precision. You'll have the confidence to offer volume discounts, run promotions, or walk away from deals that don't cover your costs.
  • Allocate resources where they count. By tracking which inputs drive your marginal cost up, you can direct spending toward the areas that improve efficiency most: better suppliers, faster equipment, or streamlined processes.
  • Manage costs proactively. Watching your marginal cost trend over time helps you catch rising expenses early. If your per-unit cost creeps up for 3 months in a row, you can investigate and correct the cause before it erodes your margins.
  • Make informed growth decisions. Expanding your business means producing more. Marginal cost data tells you whether scaling up at your current capacity makes financial sense, or whether you need to invest in new infrastructure first. Learn more in the guide on how to increase profits.
  • Evaluate new opportunities clearly. When a potential customer asks for a large order or a new product variation, marginal cost gives you a concrete benchmark. You can quickly assess whether the opportunity adds profit or just adds volume.

Simplify your cost tracking with Xero

Understanding marginal cost is only useful if you have accurate, up-to-date cost data to work with. That's where the right accounting tools make a difference.

Xero's cloud accounting software gives you real-time visibility into your expenses, so you can track variable costs as they change and spot trends before they become problems. With customizable reports and automatic bank reconciliation, you spend less time pulling numbers together and more time making decisions that grow your business. Get one month free.

FAQs on marginal cost

Here are answers to some frequently asked questions about marginal cost.

What causes marginal cost to increase?

Marginal cost rises when you push production beyond your most efficient capacity. Common causes include overtime wages, rush-order fees from suppliers, equipment running at full capacity, and the need for additional workspace or storage.

How is marginal cost different from average cost?

Average cost spreads your total expenses (fixed and variable) across every unit you produce. Marginal cost measures only the cost added by the next unit, so it reflects real-time changes in your variable expenses rather than a blended average.

Can marginal cost be negative?

In theory, marginal cost could be negative if your total cost drops when you produce more, but this is extremely rare. It could happen if increasing volume unlocks a supplier discount large enough to reduce your overall spending, though most businesses won't encounter this in practice.

How does marginal cost relate to supply and demand?

As demand rises and you increase production to meet it, your marginal cost typically rises too once you pass your most efficient output level. That rising cost influences how much you're willing to supply at a given price, since production stops making sense when marginal cost exceeds what customers will pay.

How does marginal cost apply to service businesses?

Service businesses have marginal costs too, even without physical products. Taking on one more client might require extra software licenses, additional contractor hours, or more support capacity. Calculating those incremental costs per client helps you set service pricing and decide when to hire.

Handy resources

Advisor directory

You can search for experts in our advisor directory

Find an advisor

Xero Small Business Guides

Discover resources to help you do better business

See all our guides & articles

Get one month free

Try Xero’s fast, simple, powerful online accounting software for your small business

Get one month free

Disclaimer

This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.