Guide

Marginal cost formula: how to calculate (with examples)

Learn the marginal cost formula to price smarter, protect profit, and plan growth with confidence.

A small business owner chasing outstanding invoices.

Published Thursday 26 February 2026

Table of contents

Key takeaways

  • Calculate marginal cost by dividing the change in total costs by the change in quantity produced to determine whether expanding production will increase or decrease your profits.
  • Use marginal cost analysis when evaluating bulk orders, considering production expansion, or responding to competitive pricing to make informed decisions about profitability.
  • Recognise that when your marginal cost is lower than your average cost per unit, you have room to grow profitably, but when marginal cost exceeds average cost, expanding production will likely reduce your overall profit margin.
  • Compare marginal cost to marginal revenue to find your optimal production level, as your profit is highest when these two figures are equal.

What is marginal cost?

Marginal cost is the additional expense of producing one more unit of a product or service. This metric reveals whether expanding production will increase or decrease your profits.

Understanding your marginal cost helps you answer key growth questions:

  • Cash flow impact: Can you afford the extra production costs right now?
  • Cost changes: How will materials, labour, and overhead shift?
  • Pricing strategy: Should you adjust prices to stay profitable at higher volumes?

What is the marginal cost formula?

The marginal cost formula is:

Marginal Cost = Change in Total Cost ÷ Change in Quantity

To use this formula, you need two numbers:

  • Change in total cost: How much more it costs to produce additional units
  • Change in quantity: The number of extra units you're producing (often 1)

For service businesses, "one unit" might mean one additional hour of work or one extra client served.

Marginal cost formula explained

The formula has two parts. Here's what each one means:

  • Change in costs: This is the difference between your total production cost at the new quantity versus the original quantity.
  • Change in quantity: This is the number of additional units you produce.

Marginal cost example

Example: Mohammed's bakery

Mohammed currently makes 100 cakes at a total cost of $1,000 ($10 per cake). If he makes one additional cake, his total costs rise to $1,005.

Step 1: Calculate the change in total cost $1,005 − $1,000 = $5

Step 2: Calculate the marginal cost $5 ÷ 1 = $5 per additional cake

What this means: Mohammed's marginal cost ($5) is lower than his average cost ($10). Producing one more cake costs less than his typical per-unit expense, so expanding production could increase his profit.

How to calculate marginal cost

Calculating your marginal cost takes four steps. You'll need access to your cost records, which accounting software can provide automatically.

  1. Determine your current total production costs: Add up all expenses for your current output level, including materials, labour, and variable overheads.
  2. Calculate total costs at increased production: Estimate what your costs would be if you produced one (or more) additional units.
  3. Find the change in total cost: Subtract your current costs from your projected costs at the higher production level.
  4. Divide by the change in quantity: Divide the cost difference by the number of additional units to get your marginal cost per unit.

Cloud-based accounting software can pull these figures from your existing records, saving you time on manual calculations.

What are the main components of marginal cost?

Marginal cost components fall into two categories: variable costs that change with output and fixed costs that stay constant.

Variable costs increase as you produce more units:

Fixed costs remain the same regardless of output:

  • Equipment and machinery
  • Building rent or mortgage
  • Salaried employee wages
  • Insurance and loan repayments

When you increase production, your fixed costs spread across more units. This reduces your average cost per unit, which is why marginal cost often falls below average cost at higher volumes.

Why marginal cost matters to your business

Marginal cost matters because it directly affects your pricing, production, and profitability decisions. Without this number, you're guessing whether growth will help or hurt your bottom line. This is a significant risk given that many organisations use traditional costing methods despite their potential for a negative business management impact.

Understanding your marginal cost helps you:

  • Set optimal prices: Find the sweet spot where customers will pay while you still maximise revenue
  • Decide production levels: Know exactly when producing more units increases profit versus when it erodes margins
  • Evaluate special orders: Determine whether accepting a bulk order at a discount makes financial sense
  • Allocate resources efficiently: Identify which products deserve more investment based on their marginal profitability
  • Avoid costly mistakes: Prevent scenarios where higher production actually increases your average costs

The key insight: When your marginal cost is lower than your average cost, you have room to grow profitably. When marginal cost exceeds average cost, expanding production will likely reduce your overall profit margin.

When to use marginal cost analysis

Marginal cost analysis is most valuable when you're facing specific business decisions about production, pricing, or growth.

Use marginal cost analysis when:

  • Evaluate bulk orders: A customer wants 500 units at a 15% discount. Will you still profit?
  • Consider expanding: You're thinking about increasing regular production. Will the extra units cost more or less than your current average?
  • Compare product lines: Which products generate the best return when you scale up?
  • Respond to competition: A competitor dropped prices. Can you match them and still make money?
  • Plan for seasonal changes: Demand spikes in December. Should you ramp up production or outsource?

For day-to-day pricing on stable product lines, your average cost may be sufficient. But for growth decisions and special opportunities, marginal cost gives you the precision you need. This can be more practical than adopting complex systems like Activity-Based Costing. Research shows only 20% have sustained implementing it.

Marginal revenue vs marginal cost

Marginal revenue is the additional income from selling one more unit, while marginal cost is the additional expense of producing it. Together, these metrics show whether expanding production will increase your profit.

The marginal revenue formula:

Marginal Revenue = Change in Total Revenue ÷ Change in Quantity

The rule for maximising profit: Your profit is highest when marginal cost equals marginal revenue. Beyond this point, each additional unit costs more to make than it earns, reducing your overall profit.

This happens because increased supply can lower demand, forcing you to reduce prices to sell more units.

Example of marginal revenue

Example: Alison's wallet business

Alison sells wallets at a market stall for $30 each. She has surplus stock she could sell to another vendor across town for $20 per wallet.

The question: Is this wholesale deal worth it?

The analysis: Her marginal revenue would be $20 per wallet. If her marginal cost is $22 (including transport), she loses $2 on each sale.

She has several options to make this profitable:

  • Negotiate a higher wholesale price for a larger order
  • Find a vendor closer to her location to reduce transport costs
  • Switch to a cheaper delivery method

By comparing marginal revenue to marginal cost, Alison can see exactly what needs to change to make the deal worthwhile.

Simplify your cost tracking

Tracking the costs you need for marginal cost calculations is easier with the right tools. Xero accounting software automatically records your expenses and revenue in real-time, so you always have accurate numbers for your calculations.

With cloud-based access and customisable reports, you can monitor your costs from anywhere and share insights with your accountant instantly. Get one month free on Xero pricing plans and see how Xero simplifies your financial management.

FAQs on marginal cost

Here are answers to some common questions about marginal cost.

What causes marginal cost to increase?

Marginal cost increases when you hit capacity limits, pay overtime wages, or source materials from more expensive suppliers. Major jumps often occur when you expand and need new equipment or additional staff.

When should I recalculate my marginal cost?

Recalculate when your costs change significantly, such as after suppliers increase prices, you adjust wages, or you purchase equipment. Seasonal businesses should review quarterly, while stable businesses can check annually or before deciding to grow.

What's the difference between marginal cost and average cost?

Marginal cost measures the expense of producing one additional unit, while average cost divides your total costs by all units produced. Use marginal cost for growth decisions and average cost for general pricing benchmarks.

How does marginal cost relate to my profit margin?

When your marginal cost is below your selling price, each additional unit adds to your profit. The gap between selling price and marginal cost determines how much profit each extra sale generates. Track this alongside your gross profit margin to see how profitable you are.

Disclaimer

Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.

Start using Xero for free

Access Xero features for 30 days, then decide which plan best suits your business.