Guide

Marginal cost formula: How to calculate and apply it

Learn how the marginal cost formula sharpens your pricing and profit for stronger business plans.

A small business owner chasing outstanding invoices.

Written by Jotika Teli—Certified Public Accountant with 24 years of experience. Read Jotika's full bio

Published Thursday 22 January 2026

Table of contents

Key takeaways

  • Calculate marginal cost using the formula "Change in Total Cost ÷ Change in Quantity" to determine the exact expense of producing one additional unit and make informed production decisions.
  • Compare marginal cost to your selling price before increasing production. Only expand output when the selling price exceeds marginal cost to ensure each additional unit generates profit.
  • Apply the profit optimization rule by producing more units when marginal revenue exceeds marginal cost, and reduce production when marginal cost exceeds marginal revenue to maximize profitability.
  • Track both variable costs (materials, hourly labor, utilities) and fixed costs (equipment, rent, salaries) separately when calculating marginal cost, since only variable costs typically change with additional production.

What is marginal cost?

Marginal cost is the additional cost of producing one extra unit of your product or service. It helps you make critical production and pricing decisions that maximize profits.

Understanding marginal cost matters because it helps you:

  • Determine optimal production levels: Know when to increase or decrease output
  • Set competitive prices: Price products to maximize revenue without losing customers
  • Plan business expansion: Make informed decisions about scaling operations
  • Manage cash flow: Understand the financial impact of production changes

What is the marginal cost formula?

The marginal cost formula calculates the cost of producing one additional unit:

Marginal Cost = Change in Total Cost ÷ Change in Quantity

Use this formula to pinpoint how changes in production volume will affect your costs and, ultimately, your profitability.

How to calculate marginal cost

Calculating marginal cost involves a few simple steps. Following this process helps ensure your numbers are accurate, giving you a clear picture of your production expenses.

Understanding change in costs

The 'change in costs' is the difference between the total cost of production at two different output levels. This includes any additional variable costs, like materials or hourly labor, needed to produce more units.

Understanding change in quantity

The 'change in quantity' is the difference in the number of units produced. For most marginal cost calculations, you'll look at the impact of producing just one more unit, so the change in quantity is often one.

Step-by-step calculation process

Step-by-step calculation process:

  1. Calculate current total costs: Add all production expenses for your current output level
  2. Calculate new total costs: Add all production expenses if you produce one more unit
  3. Find the change in total cost: Subtract current costs from new total costs
  4. Divide by quantity change: Since you're calculating for one additional unit, divide by 1

Let's say Mohammed wants to expand his bakery. He currently makes 100 cakes and wants to make one more. His usual production costs are $1000 ($10 per cake); these costs increase to $1005 if he makes that additional cake.

First, he works out the change in total cost: $1005 – $1000 = $5

Second, he works out the marginal cost: $5 / 1.0 = $5

The marginal cost for Mohammed to produce one more cake is $5. Since this is lower than his average cost of $10 per cake, expanding production is profitable.

Using marginal cost for business decisions:

  • When marginal cost < average cost: Increase production to reduce overall costs per unit and boost profits
  • When marginal cost > average cost: Maintain current production levels to avoid increasing overall costs
  • When marginal cost = selling price: You've reached the break-even point for additional units

What are the main components of marginal cost?

Marginal cost components include all production-related expenses that change when you produce additional units.

Variable costs increase with production volume:

  • Materials: Raw materials, supplies, and inventory
  • Labor: Hourly wages and overtime pay
  • Utilities: Energy, heating, and operational expenses

Fixed costs remain constant regardless of production:

  • Equipment: Machinery, tools, and technology
  • Facilities: Rent, insurance, and property costs
  • Salaries: Management and administrative staff wages

Why is marginal cost important for business planning?

Marginal cost analysis guides critical business decisions by showing you the true cost of growth and optimal production levels.

Key business decisions marginal cost helps you make:

  • Production planning: Determine how many units to produce for maximum profit
  • Pricing strategy: Set prices that cover costs while remaining competitive
  • Growth timing: Know when expansion will increase or decrease profitability
  • Resource allocation: Decide where to invest time and money for best returns

Marginal revenue vs marginal cost

Marginal revenue is the additional income earned from selling one extra unit. Compare it to marginal cost to maximize profits.

Marginal Revenue = Change in Total Revenue ÷ Change in Quantity

Profit optimization rule:

  • When marginal revenue > marginal cost: Increase production to boost profits
  • When marginal revenue < marginal cost: Decrease production to avoid losses
  • When marginal revenue = marginal cost: You've reached optimal production levels

Example of marginal revenue

Let's say Alison sells wallets at a market stall for $30 each. If she can't sell all her stock, she could supply the surplus wallets to another vendor across town at a rate of $20. But is this worth it? How many wallets does she need to sell to increase her profits or just to break even?

From the image above, we see her marginal revenue would be $20 for the sale of one extra wallet. If her marginal cost is higher than this – say, $22 – then she would not make a profit on this single-unit transaction.

From here, she must work out how to make her marginal cost equal her marginal revenue.

She has a few options:

  • Perhaps she can negotiate a higher unit price for a larger wholesale order? By selling more wallets she would decrease their cost per unit.
  • She might sell to a vendor nearer to where she is and is therefore cheaper to get to.
  • She might find a less expensive way to travel.

Alison can compare what she earns from each option with what it costs her, so she can see which choice makes her more profit.

Ways to apply marginal cost to production decisions

Applying marginal cost analysis helps you make smarter, more profitable production decisions. It provides a clear framework for deciding whether to scale up, scale down, or maintain your current output.

Here's how you can use it:

  • Identify profitable opportunities: If the price you can sell a product for is higher than the marginal cost to produce it, increasing production is likely a good move.
  • Avoid unnecessary losses: If the marginal cost to produce one more item is higher than its selling price, you'll lose money on that unit. This signals that you should avoid increasing production.
  • Find your optimal volume: The ideal production level is often where marginal cost equals marginal revenue. At this point, you're maximizing your profit on production.

Why you should calculate your marginal cost accurately

Accurate marginal cost calculations drive three key business improvements:

  • Optimize pricing decisions: Set prices that maximize revenue while remaining competitive in your market
  • Improve production planning: Determine whether additional units will increase or decrease overall profitability
  • Allocate resources efficiently: Decide which products to prioritize and when to invest in equipment or facilities

For more guidance on managing your business, you can refer to government publications like the US Government Accountability Office (GAO) Cost Estimating and Assessment Guide, which outlines best practices for developing and managing program costs.

Track your costs and optimize decisions with Xero

Making smart business decisions starts with having clear financial data. Xero accounting software gives you real-time insights into your costs, revenue, and profitability, so you can apply concepts like marginal cost with confidence. Track expenses, manage inventory, and run reports to see where your business stands.

Ready to take control of your numbers? Get one month free and see how Xero makes financial management easy.

FAQs on marginal cost formula

Here are answers to some common questions about marginal cost.

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

Marginal cost is the expense of producing one additional unit, while average cost is the total cost of production divided by the total number of units produced. Marginal cost tells you about the cost of the next unit, while average cost gives you a picture of the overall cost per unit.

When should I use marginal cost analysis for my business?

Use marginal cost analysis when you're making decisions about production volume. It's especially helpful when you're considering whether to increase output to meet demand, take on a new order, or change your pricing strategy.

What are common mistakes when calculating marginal cost?

Common causes of increasing marginal costs:

  • Labor expenses: Overtime pay, hiring additional workers, or increased hourly rates
  • Material costs: Higher supplier prices or sourcing from more expensive vendors
  • Capacity constraints: Need for new equipment, facilities, or infrastructure to increase production
  • Inefficiencies: Production bottlenecks or quality control issues that increase per-unit costs

How does marginal cost help with pricing decisions?

Marginal cost directly impacts supply and demand decisions by determining profitable production levels.

Production decision rules:

  • When selling price > marginal cost: Increase production to capture additional profit
  • When selling price < marginal cost: Reduce production to avoid losses on each additional unit
  • When selling price = marginal cost: Maintain current production levels at break-even point

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.

Get one month free

Sign up to any Xero plan, and we will give you the first month free.