Contribution Margin Formula, With Worked Examples
By Newtown Analytics · · 6 min read
For smb owners & operators
The contribution margin formula is revenue minus variable costs, and it can be stated per unit, as a ratio of revenue or in total. Once you have it, you can answer practical questions quickly: how many units must we sell to break even, what does a price change do to profit, and which products earn their keep. This guide gives the formulas and works through four examples: a single product, a service business, a multi-product mix with a weighted average, and a price change with a target profit. It belongs to unit economics and budgeting and forecasting, builds on what contribution margin is, and leads to gross margin vs. contribution margin and variable vs. fixed costs.
The formulas
| Measure | Formula |
|---|---|
| Contribution margin (total) | Total revenue - Total variable costs |
| Contribution margin per unit | Selling price per unit - Variable cost per unit |
| Contribution margin ratio | Contribution margin / Revenue |
| Break-even units | Fixed costs / Contribution margin per unit |
| Break-even revenue | Fixed costs / Contribution margin ratio |
| Units for a target profit | (Fixed costs + Target profit) / Contribution margin per unit |
| Operating profit | Total contribution margin - Fixed costs |
Example 1: a single product
A bakery sells a loaf for $6.00. Variable costs per loaf: ingredients $1.60, packaging $0.30, card fees $0.18 (3% of price), so $2.08 in total. Monthly fixed costs (rent, salaries, utilities): $9,000.
- Contribution per loaf = $6.00 - $2.08 = $3.92
- Contribution margin ratio = 3.92 / 6.00 = 65.3%
- Break-even loaves = 9,000 / 3.92 = 2,295.9, so 2,296 loaves a month
- Break-even revenue = 9,000 / 0.6533 = $13,776 (2,296 × $6 = $13,776)
- Profit at 3,000 loaves = 3,000 × $3.92 - $9,000 = 11,760 - 9,000 = $2,760
- Units for a $4,000 target profit = (9,000 + 4,000) / 3.92 = 3,316.3, so 3,317 loaves
Example 2: a service business
A consulting firm bills $150 an hour. Variable costs per billable hour (contractor cost, software seats, travel) are $90. Fixed costs are $24,000 a month.
- Contribution per hour = $150 - $90 = $60; ratio = 60 / 150 = 40%
- Break-even hours = 24,000 / 60 = 400 hours a month
- If the team can bill 480 hours, profit = 480 × $60 - $24,000 = $28,800 - $24,000 = $4,800
- Utilization check: if capacity is 600 hours, break-even utilization = 400 / 600 = 66.7%
If the firm can raise its rate to $165 with no loss of hours, contribution per hour becomes $75 (+25%) and break-even hours fall to 24,000 / 75 = 320. A 10 percent price rise cuts the break-even by 20 percent, because a large share of any price increase falls straight through to contribution.
Example 3: a multi-product mix
A company sells three products with this month's sales (illustrative):
| Product | Units | Price | Variable cost | Contribution per unit | Total revenue | Total contribution |
|---|---|---|---|---|---|---|
| A | 4,000 | $20 | $12 | $8 | $80,000 | $32,000 |
| B | 2,000 | $50 | $35 | $15 | $100,000 | $30,000 |
| C | 1,000 | $80 | $44 | $36 | $80,000 | $36,000 |
| Total | 7,000 | $260,000 | $98,000 |
Weighted average contribution margin ratio = 98,000 / 260,000 = 37.7%.
Fixed costs are $70,000 a month. Break-even revenue at this mix = 70,000 / 0.3769 = $185,714. Profit at current sales = 98,000 - 70,000 = $28,000.
Product ratios differ: A = 8/20 = 40%, B = 15/50 = 30%, C = 36/80 = 45%. The weighted ratio of 37.7 percent is not the simple average of 40, 30 and 45 (38.3 percent); it depends on the revenue mix. If the mix shifts toward B, the ratio falls. Suppose next month's sales are 3,000 of A, 3,000 of B and 1,000 of C: revenue = 60,000 + 150,000 + 80,000 = $290,000; contribution = 24,000 + 45,000 + 36,000 = $105,000; ratio = 36.2%. Revenue went up 11.5 percent and contribution rose only 7.1 percent, because the mix moved toward the lowest-ratio product. Break-even revenue formulas assume a constant mix, so recompute when the mix changes. See product mix analysis.
Example 4: price and volume what-ifs
A product sells 10,000 units at $25 with a variable cost of $15. Fixed costs are $80,000. Contribution = $10 per unit; profit = 10,000 × 10 - 80,000 = $20,000.
| Scenario | Price | Units | Contribution per unit | Total contribution | Profit |
|---|---|---|---|---|---|
| Base | $25 | 10,000 | $10 | $100,000 | $20,000 |
| 10% discount | $22.50 | ? | $7.50 | ||
| Volume needed to match base profit at the discount | $22.50 | 13,333 | $7.50 | $100,000 | $20,000 |
To earn the same $100,000 of contribution at $7.50 per unit, volume must rise to 100,000 / 7.5 = 13,333 units, a 33 percent increase to offset a 10 percent price cut. A general formula: required volume increase = discount / (contribution margin ratio - discount), with ratios as fractions of the original price. Here the contribution margin ratio is 40 percent and the discount is 10 percent: 0.10 / (0.40 - 0.10) = 33.3%. See how discounts erode margin.
Excel formulas
Contribution per unit: =Price-VariableCost
Ratio: =(Price-VariableCost)/Price
Total contribution: =Units*(Price-VariableCost)
Profit: =Units*(Price-VariableCost)-FixedCosts
Break-even units: =ROUNDUP(FixedCosts/(Price-VariableCost),0)
Break-even revenue: =FixedCosts/Ratio
Weighted ratio (multi-product): =SUM(TotalContribution)/SUM(Revenue)
For a multi-product table, use SUMPRODUCT on units and unit contribution to total contribution, and keep each input in its own labeled cell.
What to include in variable costs
Check this list before computing the formula:
- Materials or purchased product; inbound freight.
- Direct labor paid per unit or hour.
- Packaging and fulfillment.
- Outbound shipping paid by the company.
- Payment processing fees.
- Sales commissions and marketplace fees.
- Returns, refunds and warranty costs.
- Customer support that scales with orders.
- Variable portion of utilities.
See variable vs. fixed costs for how to classify a cost that is partly fixed.
Common mistakes
- Including fixed costs in variable cost per unit.
- Leaving out freight, fees and returns.
- Using a simple average of product ratios instead of weighting by revenue.
- Applying the break-even formula when the mix changes.
- Ignoring capacity limits.
- Treating the result as exact when costs are estimates.
Reading the ratio
The contribution margin ratio tells you how much of every extra sales dollar reaches profit once fixed costs are covered. In the bakery example the ratio is 65.3 percent, so each extra $1,000 of sales above break-even adds about $653 to profit. Below break-even, each extra $1,000 reduces the shortfall by the same amount.
The ratio also shows how sensitive profit is to volume. Degree of operating leverage is total contribution divided by profit. At 3,000 loaves, contribution is $11,760 and profit is $2,760, so leverage is 11,760 / 2,760 = 4.26. A 10 percent rise in volume to 3,300 loaves should raise profit by about 42.6 percent. Check: 3,300 × $3.92 = $12,936; less $9,000 = $3,936; and 3,936 / 2,760 = 1.426. The same leverage works in reverse, so a 10 percent fall in volume to 2,700 loaves leaves profit at 2,700 × 3.92 - 9,000 = $1,584, a fall of 42.6 percent. See operating leverage for more.
When to recompute
Contribution margin is not a number to calculate once. Recompute it when:
- Supplier prices, freight rates or payment fees change.
- You change prices or run a long promotion.
- The product mix shifts noticeably.
- You change fulfillment partners or packaging.
- Return rates move.
A quarterly refresh is a sensible minimum. Keep the inputs in one place so each refresh takes minutes.
FAQs
What is the contribution margin formula?
Revenue minus variable costs, or selling price per unit minus variable cost per unit. As a ratio, divide by revenue.
How do I calculate break-even with contribution margin?
Divide fixed costs by contribution margin per unit to get break-even units, or by the ratio to get break-even revenue.
How do I calculate contribution margin for multiple products?
Add each product's contribution and divide by total revenue to get the weighted ratio. Do not average the product ratios unweighted.
What is the difference between contribution margin and profit?
Contribution margin is before fixed costs; profit is after fixed costs.
Keep reading
- Complete guide: Unit Economics: The Complete Guide to Profitable Growth
- Variable vs. Fixed Costs: How to Classify Yours
- Gross Margin vs. Contribution Margin: Which One Should You Manage To?
- What Is Unit Economics? A Guide for Founders and Finance Leaders
- Related topic: Budgeting and Forecasting: The Complete Guide for Finance Leaders
This article is for general information. It is not accounting, tax, legal or investment advice, and examples use illustrative numbers rather than client data. Confirm decisions that carry financial or legal consequences with a qualified professional.