Contribution Margin: Formula, Ratio, and a Worked Example

Contribution margin is the money a sale leaves behind after its own variable costs are paid, before any fixed cost is touched. OpenStax defines it as "the amount by which a product's selling price exceeds its total variable cost per unit" (Principles of Managerial Accounting, 3.1). Sell a $20 bag of coffee that costs $8 in beans, packaging, and processing, and that bag contributes $12 toward rent, insurance, and everything else that does not move with sales. Add up enough of those contributions and you cover the fixed costs; everything past that point is profit. The whole figure depends on splitting your costs into fixed and variable correctly, which is where it most often goes wrong.
What contribution margin measures
Every cost a business pays is either fixed or variable. Variable costs rise and fall with each sale: the materials in a product, packaging, shipping, payment-processing fees, sales commissions. Fixed costs stay flat no matter how much you sell: rent, insurance, software subscriptions, a salaried wage. Contribution margin subtracts only the first kind.
That makes it different from the profit figure at the bottom of your books. Net income subtracts everything, fixed costs included. Contribution margin stops after variable costs, so it isolates one thing: how much each additional sale frees up to pay for the fixed base. OpenStax puts the logic plainly, the margin "is assumed to first cover fixed costs first and then realized as profit." It is an internal planning number, not a tax figure, so it does not appear on a return.
Three ways to measure it
Contribution margin comes in three forms, and each answers a slightly different question. All three start from the same subtraction.
Per unit is the margin on one sale:
Contribution margin per unit = Sales price per unit − Variable cost per unit
A $20 coffee bag with $8 of variable cost has a per-unit contribution margin of $20 − $8 = $12. OpenStax works the same calculation on a product selling for $100 with $20 of variable cost, giving an $80 per-unit margin.
The ratio states that margin as a share of the price:
Contribution margin ratio = Contribution margin per unit ÷ Sales price per unit
For the coffee bag, $12 ÷ $20 = 0.60, or 60%. The ratio is the share of every sales dollar left over after variable costs, and it is the version to reach for when "units" are awkward, such as a service business or a shop selling hundreds of different items. OpenStax describes it as "the percentage of a unit's selling price that exceeds total unit variable costs."
Total contribution margin scales the per-unit figure to a period:
Total contribution margin = Units sold × Contribution margin per unit
Sell 600 bags in a month and the total is 600 × $12 = $7,200. That $7,200 is the pool available to cover the month's fixed costs and, once they are paid, to become profit.
A contribution margin income statement, worked through
The clearest way to see the figure at work is the contribution margin income statement, a management format that lists variable costs separately from fixed ones. Take the coffee roaster selling 600 bags at $20, with $8 of variable cost per bag and $4,800 of fixed costs a month:
| Line | Amount |
|---|---|
| Sales (600 × $20) | $12,000 |
| Less variable costs (600 × $8) | ($4,800) |
| Contribution margin | $7,200 |
| Less fixed costs | ($4,800) |
| Operating income | $2,400 |
The $7,200 contribution margin is the hinge. Above it sit only the costs that moved with the 600 bags; below it sit the costs that would have been owed even if the roaster sold nothing. Subtract the $4,800 of fixed costs and $2,400 of profit is left. A standard income statement mixes fixed and variable costs together inside cost of goods sold and operating expenses, so it can tell you the profit but not how each sale got you there. The contribution format answers that second question, which is why it stays internal.
Contribution margin is not gross margin
The two ratios sound alike and get swapped constantly, but they subtract different costs.
| Gross margin | Contribution margin | |
|---|---|---|
| Subtracts | Cost of goods sold | All variable costs |
| Variable selling costs (processing fees, commissions, shipping) | Excluded | Included |
| Fixed production overhead absorbed into inventory | Included in the subtraction | Excluded |
| Where it appears | The income statement you report | Internal reports only |
| Question it answers | How profitable is what you make and sell? | How much does each sale add toward fixed costs? |
Gross profit comes from sales minus cost of goods sold, and cost of goods sold can carry a share of fixed factory costs such as equipment depreciation. Contribution margin strips all of that out and pulls in variable costs that sit outside cost of goods sold, like the payment-processing fee on a card sale or a rep's commission. The two land close for a simple product business and far apart for one with heavy sales commissions or a factory full of fixed overhead. Use gross margin to report; use contribution margin to plan.
What the number tells you to do
Contribution margin earns its keep in three decisions.
It sets the break-even point. Divide fixed costs by the contribution margin and you get the sales needed to cover them. OpenStax states it directly: total fixed costs divided by contribution margin per unit equals the break-even point in units. For the roaster, $4,800 ÷ $12 = 400 bags, or in dollars, $4,800 ÷ 0.60 = $8,000. Below 400 bags the month loses money; the 401st bag is the first to leave $12 of profit. To plan for a target instead of just survival, add the profit you want to the fixed costs: ($4,800 + $3,000) ÷ $12 = 650 bags. The full walk-through lives in the guide to break-even analysis.
It prices from the floor up. The per-unit margin is what a price change moves. Raising the coffee bag from $20 to $22 lifts the contribution margin from $12 to $14, so each sale covers fixed costs faster and break-even drops from 400 bags to about 343. A discount works the other way, and cutting the price below the variable cost means every sale deepens the hole. The ratio tells you how much room a promotion has before it stops contributing anything.
It decides what to keep. A product can look like a loser after a slice of fixed overhead is piled onto it and still carry a positive contribution margin. Dropping it does not erase the fixed costs it was helping to pay, so the rest of the business has to absorb them. As long as a product's price clears its own variable costs, it is adding to the pool, and the keep-or-drop call turns on contribution margin, not on an allocated-overhead figure that makes a healthy line look sick.
Common misconceptions
"A high contribution margin means a profitable business." It does not, on its own. Contribution margin is measured before fixed costs. A product can contribute 70% of its price and still lose money every month if sales stay below the break-even point. The margin tells you the rate; volume decides whether the fixed costs ever get covered.
"Contribution margin and gross margin are the same ratio." They subtract different costs, as the table above shows. Gross margin stops at cost of goods sold and can include fixed production overhead; contribution margin removes every fixed cost and adds in variable selling costs. Reporting one when you mean the other will send a pricing or keep-or-drop decision the wrong way.
"I set my prices once, so the margin is settled." The margin shifts the moment a variable cost moves. A supplier raising bean prices, a card processor lifting its fee, or a new packaging vendor all change the per-unit margin and the break-even point with it. Recompute whenever a price or a variable cost changes, which is a two-minute check when your records are current.
Frequently asked questions
What is the contribution margin formula? Per unit, it is the sales price minus the variable cost per unit. As a ratio, it is that per-unit margin divided by the price. In total, it is units sold times the per-unit margin (OpenStax).
What is a good contribution margin? There is no universal number. A software product with almost no variable cost per sale can run well above 80%, while a business reselling goods at a thin markup runs far lower and still works on volume. Compare a product against your own history and against the fixed costs it has to help cover, not against an industry you are not in.
What is the difference between contribution margin and gross margin? Gross margin subtracts cost of goods sold, which can include fixed production costs. Contribution margin subtracts all variable costs, including variable selling costs like processing fees and commissions, and no fixed costs. Gross margin is a reporting figure; contribution margin is a planning one.
How does contribution margin find the break-even point? Divide total fixed costs by the contribution margin per unit for break-even in units, or by the contribution margin ratio for break-even in sales dollars. The U.S. Small Business Administration publishes the same relationship (SBA, Break-even point).
Can contribution margin be negative? Yes, when a product's variable cost is higher than its price. Every sale then loses money before fixed costs are even considered, which is a sign to raise the price, cut the variable cost, or stop selling the item.
Key takeaways
- Contribution margin is sales minus variable costs, the money each sale leaves to cover fixed costs and then become profit.
- It comes in three forms: per unit (price − variable cost), as a ratio (margin ÷ price), and total (units × per-unit margin).
- It is not gross margin. Gross margin subtracts cost of goods sold; contribution margin subtracts every variable cost and no fixed cost.
- It sets break-even: fixed costs ÷ contribution margin per unit = the units you must sell before a profit exists.
- It guides pricing and product decisions. A positive contribution margin means a product is helping pay the fixed base, even when allocated overhead makes it look unprofitable.
Contribution margin is only as accurate as the split between variable and fixed costs behind it, and that split comes straight from how your expenses are recorded. SparkReceipt does not compute the margin for you, but it keeps the pieces in one place: an expense tracker that files each cost to a category so you can see what moves with sales, and an income tracker that shows what those sales brought in. Get Started and keep the numbers behind your margin current, so recomputing it is a quick check rather than a year-end rebuild.
