Guide

Marginal Cost Formula: How to Calculate + Examples

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

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 19 March 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 producing one more unit will increase or decrease your profits.
  • Compare your marginal cost to your average cost per unit—if marginal cost is lower, you can boost profits by increasing production, but if it's higher, maintain current production levels to protect your margins.
  • Set your marginal cost equal to your marginal revenue to maximise profits, as producing beyond this point brings smaller gains and can reduce demand.
  • Track both fixed costs (like rent and salaries) and variable costs (like materials and hourly wages) accurately to ensure your marginal cost calculations guide smart pricing and production decisions.

What is marginal cost?

Marginal cost is the additional expense of producing one extra unit of a product or service. It helps you understand whether increasing production will boost or hurt your profits.

When you're thinking about expanding, marginal cost reveals how short-term cash flow is affected. It also helps you weigh longer-term factors like market demand and pricing.

Knowing your marginal cost is a practical first step in shaping your business plan.

Why is marginal cost important to grasp?

Marginal cost helps you decide how much to produce and when to expand. It's essential for setting prices that maximise your revenue.

Grow too little and you miss the chance to spread fixed costs across more units. Grow too much and your costs may spiral faster than your sales.

Understanding your marginal cost helps you find the sweet spot for pricing and boosting sales.

What are the main components of marginal cost?

To calculate marginal cost, you need to account for all production costs. There are two main categories:

  • Variable costs: These change with output levels. Examples include materials, hourly wages, and energy bills. These costs rise when you produce more units.
  • Fixed costs: These stay the same regardless of output. Examples include machinery, rent, and salaries. Producing more units spreads these costs further, lowering your cost per unit.

What is the formula for marginal cost?

The marginal cost formula shows how your total costs change when you produce one more unit.

Marginal cost = Change in total costs ÷ Change in quantity produced

To use it, calculate how much your total costs increase when you make one additional unit. Then divide that figure by the number of extra units (usually one).

The benefits of calculating marginal cost

Once you've calculated your marginal cost, compare it to your average cost of production (total costs divided by units produced).

  • Marginal cost is lower than average cost: You can increase profits by producing more units.
  • Marginal cost is higher than average cost: Keep production levels the same to protect your margins.

Marginal cost example

Mohammed runs a bakery and wants to know if he should make one more cake. Here's his situation:

  • Current production: 100 cakes at $1,000 total ($10 per cake)
  • New production: 101 cakes at $1,005 total

Calculation:

  1. Change in total cost: $1,005 – $1,000 = $5
  2. Change in quantity: one cake
  3. Marginal cost: $5 ÷ 1 = $5

Result: His marginal cost of $5 is lower than his average cost of $10 per cake. Mohammed could increase his profit by expanding production.

How to calculate marginal cost

Follow these steps to work out your marginal cost.

  1. Calculate your current total costs: Add up all fixed and variable costs at your current production level.
  2. Estimate costs for one more unit: Work out what your total costs would be if you produced one additional unit.
  3. Find the difference: Subtract your current total costs from the new total costs.
  4. Divide by the change in quantity: Divide the cost difference by the number of extra units (usually one).
  5. Compare to your selling price: If your marginal cost is below your selling price, producing more could boost profits.

Marginal revenue vs marginal cost

Marginal revenue is the additional income from selling one extra unit. While marginal cost focuses on expenses, marginal revenue focuses on earnings.

Marginal revenue = Change in revenue ÷ Change in quantity sold

To maximise profits, aim for your marginal cost to equal your marginal revenue. Beyond this point, producing more brings smaller gains. Too much supply reduces demand and lowers the price you can charge.

Example of marginal revenue

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

Her marginal revenue would be $20 per additional wallet sold. If her marginal cost is $22, she'd lose money on each transaction.

To make this work, Alison needs to lower her marginal cost or increase her marginal revenue. Her options include:

  • Negotiate a higher wholesale price: This could lower her cost per wallet if she sells more units.
  • Find a closer vendor: This would lower her marginal cost by reducing travel costs.
  • Cut transport expenses: This would improve her margins through a cheaper delivery method.

Why you should calculate your marginal cost accurately

Knowing your true marginal cost helps you maximise profits in three key ways:

  • Optimal pricing decisions: Find the price point that customers will pay while maximising your revenue.
  • Better production decisions: Recognise that higher output doesn't always mean higher profits. Accurate marginal cost calculations reveal when producing more would increase your average costs.
  • Efficient resource allocation: Understand which products to prioritise and when to invest in equipment or larger premises. Knowing how fixed costs affect your profitability per unit guides where to focus your time and resources.

Make better decisions with accurate cost tracking

Understanding your marginal cost formula helps you make smarter production and pricing decisions. By tracking costs accurately, you can spot opportunities to increase profits and avoid overproduction.

Clear financial data makes these calculations easier. Automated reporting gives you real-time visibility into costs and revenue, so you can calculate marginal costs with confidence. Get one month free and see how accurate data drives better business outcomes.

FAQs on marginal cost

Here are answers to common questions about marginal cost calculations.

What causes marginal cost to increase?

Marginal cost increases when production becomes more expensive. Common causes include:

  • Rising labour costs: Overtime pay or hiring additional staff
  • Production inefficiencies: Sourcing materials from more expensive suppliers
  • Capacity limits: Needing new equipment, premises, or staff to produce more units

How does marginal cost relate to supply and demand?

If your marginal cost is lower than the selling price, you're incentivised to produce more. If marginal cost exceeds the selling price, reducing output helps avoid losses.

Calculate your gross profit margins to complete your analysis.

What's the relationship between marginal cost and contribution cost?

Contribution cost (or contribution margin) is your sales revenue minus variable costs. Both marginal cost and contribution cost help with profit analysis and pricing decisions.

When marginal cost is less than contribution margin, producing more units is profitable.

How do you calculate contribution margin per unit?

The contribution margin per unit helps you find your break-even point.

Formula: Contribution margin = Net sales revenue – Variable costs

The contribution margin ratio shows this as a percentage:

Formula: Contribution margin ratio = (Net sales revenue – Variable costs) ÷ Sales revenue

For example, you sell jeans for $50 with variable costs of $20 per unit.

  • Contribution margin: $50 – $20 = $30
  • Contribution margin ratio: $30 ÷ $50 = 60%

Compare contribution margin ratios across products to see where to focus production for maximum profit.

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

Purchase any Xero plan, and we will give you the first month free.