TL;DR Contribution margin analysis takes revenue, subtracts only the costs that move with the thing you are analyzing (a unit, an order, a customer), and shows what is left to cover fixed costs. The formula is revenue minus variable costs; the ratio is that result divided by revenue. Its real value is in the cuts: by product, customer, channel and location, it shows which business pays for the overhead and which business quietly eats it. Use it to set prices, minimum order sizes, keep or drop calls, and your break-even point.
In this guide: The formula and ratio · Contribution vs gross margin · Which costs are truly variable · By product, customer, channel and location · Worked example · Copyable template · Turning it into decisions · Where AI changes this · FAQ · Sources
This guide is part of our finance templates library. The template below is built to paste straight into a spreadsheet.
The contribution margin formula and ratio
Three versions of the same idea, and you will use all three:
| Measure | Formula | What it answers |
|---|---|---|
| Contribution margin (dollars) | Revenue minus variable costs | How much this business contributes toward fixed costs and profit |
| Contribution margin per unit | Price per unit minus variable cost per unit | What one more unit (or order, or visit) is worth |
| Contribution margin ratio | Contribution margin divided by revenue | How many cents of each sales dollar are left to cover fixed costs |
A product that sells for $100 with $60 of variable cost has a $40 contribution margin per unit and a 40% ratio. Every extra dollar of that product’s sales adds 40 cents toward rent, salaries and profit. A negative contribution margin means each sale loses money before a single dollar of overhead is counted.
How contribution margin differs from gross margin
Gross margin is revenue minus cost of goods sold. Contribution margin is revenue minus all variable costs, wherever they sit on the P&L. The two differ in both directions:
| Gross margin | Contribution margin | |
|---|---|---|
| Fixed production overhead (plant depreciation, supervisors) | Included in cost of goods sold | Excluded |
| Variable selling costs (commissions, freight out, payment and marketplace fees) | Usually below gross margin, so excluded | Included |
| Where it is used | External financial statements | Internal decisions |
| Best question it answers | Are we making our product at a sensible cost? | What happens to profit if we sell one more, or one less? |
AccountingTools puts the core difference plainly: fixed overhead is left out of contribution margin but is always included in gross margin. That is why the two can rank the same products in opposite orders. A product with low materials cost but heavy freight and commissions looks great on gross margin and mediocre on contribution.
The reason both exist: inventory on external statements follows absorption costing, which loads fixed manufacturing overhead into product cost. The OpenStax managerial accounting text notes that only absorption costing is in accordance with GAAP, while many companies also use variable costing for internal decisions. Contribution margin is a management view. How you present costs in audited statements is a question for your auditors, not this analysis.
Which costs are truly variable
Textbook lists help: NetSuite gives raw materials, sales commissions and shipping charges as examples of variable costs, and the Corporate Finance Institute lists rent, depreciation and insurance as fixed. Real P&Ls are messier. Our test for each cost line has three questions:
- Variable with what? Name the driver: units, orders, shipments, revenue dollars, labor hours. A cost can be fixed per unit but variable per order (pick and pack labor), or fixed per order but variable per mile (freight).
- Over what horizon? If you lost this volume, would the cost go away within the decision window (say, two quarters)? Hourly labor you would actually schedule down passes. A salaried team you would keep does not.
- Does the data prove it? Plot 18 to 24 months of the cost against its driver. If it tracks, treat it as variable. If it is flat with occasional jumps, it is a step cost; treat it as fixed inside the step.
Lines that most often get misclassified:
| Cost | Usually | Watch out for |
|---|---|---|
| Materials and purchased product | Variable per unit | Standard cost that lags actual; use actual or update standards |
| Direct labor | Depends | Variable only if you truly flex hours with volume; guaranteed shifts are fixed in the short run |
| Freight out | Variable per shipment | Often booked in one SG&A account with no link to customer or order |
| Rebates, discounts, chargebacks | Variable per revenue dollar | Accrued at quarter end or netted elsewhere, so customer revenue looks too high |
| Commissions | Variable per revenue or margin dollar | Base salaries in the same account are fixed |
| Card, payment and marketplace fees | Variable per revenue dollar | Sitting in bank charges or G&A |
| Order handling (pick, pack, customer service) | Variable per order | Buried in warehouse labor; invisible until you cut by customer |
| Utilities, maintenance | Mixed | Split into a fixed base and a usage piece, or leave fixed if small |
Two more rules. Use net realized price, not list: AccountingTools warns that volume discounts and similar pricing can make revenue, and so contribution, run high. And our take: when in doubt, classify a cost as fixed. An understated contribution margin leads to conservative decisions; an overstated one keeps losing business alive.
Contribution margin by product, customer, channel and location
The company total tells you little; the cuts show where the money is made. Each dimension needs different costs loaded in:
| Cut | Costs to add beyond product cost | What it usually reveals |
|---|---|---|
| Product or SKU | Materials, variable labor, packaging, royalties, warranty | Low-volume SKUs carrying setup and complexity cost |
| Customer | Rebates, terms discounts, freight, commissions, order handling, returns | Big accounts that look profitable on gross margin but not after rebates and service |
| Channel | Marketplace or distributor fees, payment fees, shipping, returns, marketing per order | Online or small-order channels where shipping and handling eat the margin |
| Location or branch | Local variable labor, supplies, delivery, local credit card fees | Sites whose mix or labor model drags the network average |
Build it in layers rather than one number. Start with contribution margin: revenue minus costs that move with units, revenue dollars and shipments. Subtract order-level costs (picking, packing, customer service per order) to get contribution after order costs. Then subtract fixed costs that exist only because of that segment, such as a dedicated account manager or a channel’s software, to get segment margin. The OpenStax text calls these avoidable fixed costs: they would no longer exist if the segment stopped operating. Shared costs that stay no matter what (the building, the CFO) are common fixed costs. Show them, if at all, below the line as a memo, never allocated into the segment.
Customer cuts are where the surprises live. Robert Kaplan, writing on customer profitability, describes a curve seen in “virtually every customer profitability study ever done, in which 15 percent to 20 percent of the customers generate 100 percent (or more) of the profits.” He lists the services that drive cost to serve, including customization, small order quantities, special packaging and expedited delivery, and notes that none of them come for free.
Get the variance and forecasting prompts
The free 25-Prompt CFO Pack includes five variance analysis prompts and five forecasting and scenario prompts, plus the weekly cadence, board deck and hiring sets. Free, straight to your inbox.
Worked example: one quarter, four segments
A hypothetical distributor with made-up round numbers, built to show the mechanics. Not a benchmark and not typical of any industry.
Step 1: Gross margin view vs contribution margin.
| Line | Customer A (national) | Customer B (regional) | Channel C (online) | Group D (small accounts) | Total |
|---|---|---|---|---|---|
| Revenue | $1,000,000 | $500,000 | $300,000 | $200,000 | $2,000,000 |
| Product cost | $600,000 | $275,000 | $165,000 | $110,000 | $1,150,000 |
| Gross margin % | 40% | 45% | 45% | 45% | 42.5% |
| Freight out | $40,000 | $25,000 | $45,000 | $30,000 | $140,000 |
| Rebates and fees | $50,000 | $10,000 | $30,000 | $4,000 | $94,000 |
| Commissions | $10,000 | $25,000 | $0 | $10,000 | $45,000 |
| Contribution margin | $300,000 | $165,000 | $60,000 | $46,000 | $571,000 |
| Contribution margin % | 30% | 33% | 20% | 23% | 28.6% |
On gross margin, Customer A looks like the weakest account. On contribution, the online channel is weakest by a wide margin.
Step 2: Add order-level and traceable costs. Order handling runs $25 per order in this example.
| Line | A | B | C | D | Total |
|---|---|---|---|---|---|
| Orders | 200 | 500 | 3,000 | 1,000 | 4,700 |
| Average order | $5,000 | $1,000 | $100 | $200 | |
| Order handling ($25 each) | $5,000 | $12,500 | $75,000 | $25,000 | $117,500 |
| Contribution after order costs | $295,000 | $152,500 | ($15,000) | $21,000 | $453,500 |
| Traceable fixed costs | $60,000 | $40,000 | $70,000 | $30,000 | $200,000 |
| Segment margin | $235,000 | $112,500 | ($85,000) | ($9,000) | $253,500 |
| Common fixed costs (memo) | $200,000 | ||||
| Operating profit | $53,500 |
What it says: the online channel earns $20 of contribution on a $100 average order, then spends $25 handling it, before its own team and software are counted. Small accounts are close to break-even. The national account, the one gross margin flagged, is carrying the company.
Copyable contribution margin analysis template
Paste this into a sheet with one column per segment (product, customer, channel or location) starting in column B. The driver column tells you what to pull.
| Row | Line | Driver | Where the data usually lives | Formula (column B) |
|---|---|---|---|---|
| 1 | Gross revenue | Units x price | Sales ledger, invoice detail | Input |
| 2 | Discounts, rebates, chargebacks | Revenue dollars | Rebate accruals, credit memos | Input |
| 3 | Net revenue | =B1-B2 | ||
| 4 | Materials or purchased product | Units | Cost of sales by item | Input |
| 5 | Variable labor (only if flexed) | Units or hours | Timekeeping, routings | Input |
| 6 | Commissions | Revenue or margin dollars | Commission statements | Input |
| 7 | Payment, marketplace, distributor fees | Revenue dollars | Processor and marketplace reports | Input |
| 8 | Returns and warranty | Units | RMA log, warranty reserve | Input |
| 9 | Freight out | Shipments | Carrier invoices mapped to orders | Input |
| 10 | Contribution margin | =B3-SUM(B4:B9) | ||
| 11 | Contribution margin % | =IFERROR(B10/B3,0) | ||
| 12 | Order handling | Orders | Orders x cost per order | =B16*B17 |
| 13 | Contribution after order costs | =B10-B12 | ||
| 14 | Traceable (avoidable) fixed costs | Would go if segment went | Payroll, software, leases by segment | Input |
| 15 | Segment margin | =B13-B14 | ||
| 16 | Order count | Order header table | Input | |
| 17 | Handling cost per order | Warehouse and service labor divided by orders | Input (same for all columns) | |
| 18 | Contribution per order | =IFERROR(B13/B16,0) | ||
| 19 | Break-even order size | =IFERROR(B17/B11,0) |
Keep common fixed costs off this sheet, or in a single total column as a memo. Before you trust the output, run this checklist:
- Segment revenue ties to the GL for the period.
- Rebates and fees are in the period they relate to, not when they were paid.
- Every cost line has a named driver and a yes or no on “goes away within two quarters.”
- Freight is mapped to orders or customers, not spread by revenue.
- Use at least a quarter of data, ideally twelve months, so one lumpy order does not drive a keep or drop call.
- No overhead allocations inside segment columns. A segment that “loses money” after a revenue-based share of the CFO’s salary may be your best business.
- Rerun it every quarter. Mix moves; trend each segment against itself.
Turning contribution margin into decisions
Pricing
Your contribution margin ratio tells you how much volume a price change can absorb. For a price increase of p with a contribution ratio of c, the volume you can lose and still earn the same contribution is p divided by (c plus p). At a 30% ratio, a 5% increase breaks even even if volume falls about 14%. For a price cut, the extra volume you need is p divided by (c minus p): a 5% cut at 30% needs 20% more volume. Low-ratio products are the most sensitive to discounting. Our price increase analysis guide walks through the full model.
Dropping a product or customer
Never drop on a low percentage or a fully allocated loss. Ask what contribution you lose and which costs actually go with it. In the example, ending the online channel loses $60,000 of unit-level contribution but removes $75,000 of handling and $70,000 of team and software, if those really go. That is $85,000 better, but only if the handling labor and software contract really go. The warehouse lease stays. OpenStax also flags qualitative factors, such as customers who buy two product lines together. Often the better answer is to fix the economics first: a minimum order, a shipping charge or a price change.
Minimum order sizes
Break-even order size is your fixed cost per order divided by the contribution margin ratio. For the online channel: $25 of handling divided by 20% is $125. The average order is $100, so the typical order loses money. Options in order of friction: a free-shipping threshold or small-order fee that nudges baskets above $125, or a hard minimum. For small accounts, the same math gives $25 divided by 23%, about $109, against a $200 average order. Order size is not their problem; the $30,000 inside sales cost is, so look at how those accounts are served rather than how often they order.
Break-even point
Break-even revenue is total fixed costs divided by the contribution margin ratio. In units, it is fixed costs divided by contribution per unit. In the example, fixed costs are $400,000 ($200,000 traceable plus $200,000 common) and contribution after order costs is 22.7% of revenue, so break-even is about $1.76 million against $2.0 million of sales, a margin of safety of roughly 12%. That math assumes the mix stays the same. If growth comes mostly from the online channel, break-even rises, not falls.
When capacity is the limit
If a machine, a crew or a delivery fleet is full, rank work by contribution per unit of the scarce resource, not per unit sold. AccountingTools recommends measuring contribution margin relative to the scarce resource (machine hours, labor hours, space) and prioritizing the products with the highest contribution per constrained unit.
Contribution margin also explains why EBITDA moved. A mix shift toward low-contribution segments can sink profit with revenue on plan; our guide to diagnosing an EBITDA miss shows how to split price, volume and mix. Once the cuts are stable, put contribution margin by segment on your KPI dashboard and see how it sits alongside other measures in our CFO metrics library.
Where AI changes this
The slow part of contribution margin analysis has never been the formula. It is classifying hundreds of GL accounts, mapping freight and fee invoices to orders, and rebuilding the cuts each quarter. In our view, that structured, repetitive work is where AI tools help most, with a human checking the output.
- First-pass cost classification. An AI assistant can read your chart of accounts and 24 months of balances and propose fixed, variable or mixed for each line, with the driver it thinks fits. You review the exceptions, not every row.
- Invoice to order mapping. Matching carrier and marketplace fee lines to orders or customers, which is often the reason freight never makes it into customer contribution.
- Mixed cost splits. Running the regression of a cost against its driver and showing the fixed base and the variable rate.
- Commentary drafts. Writing the first draft of “why contribution moved” by segment, which an analyst edits.
What stays human: signing off on what counts as avoidable, the decision to reprice, drop or set a minimum for a customer, and anything shown to a lender, buyer or board. Our guide to AI for FP&A forecasting and variance commentary covers review controls, and the AI in finance hub has the rest of the series.
If your margins depend on how shared costs are spread, see our guide to overhead allocation methods, with worked examples.
Frequently asked questions
What is a good contribution margin ratio?
There is no universal number. It depends on your industry, cost structure and how much fixed cost you carry. Rather than chase an outside benchmark, trend the ratio for each product, customer and channel against its own history and against your break-even ratio (fixed costs divided by revenue).
Is direct labor a variable cost for contribution margin?
Only if you actually flex it with volume. Hourly labor scheduled to demand, piece rates and temporary staff usually count as variable. Salaried staff or guaranteed shifts you would keep through a slowdown are fixed for most decisions. Test it by plotting labor cost against units over 18 to 24 months; if it does not move with volume, treat it as fixed.
What is the difference between contribution margin and gross margin?
Gross margin subtracts cost of goods sold, which includes fixed production overhead, and is what external financial statements show. Contribution margin subtracts only variable costs, including variable selling costs such as commissions, freight and payment fees that sit below gross margin. Contribution margin is an internal decision tool. The two can rank products and customers in opposite orders, so use contribution for pricing and keep or drop calls.
How do you calculate break-even with contribution margin?
Divide total fixed costs by the contribution margin ratio to get break-even revenue, or divide fixed costs by contribution margin per unit to get break-even units. For example, $400,000 of fixed costs at a 25% ratio means $1.6 million of revenue to break even. The result assumes your product and customer mix stays constant, so rerun it when mix shifts.
Should you drop a product with a low or negative contribution margin?
A negative contribution margin means every sale loses money, so act: reprice, cut its variable cost, set a minimum, or exit. A low but positive margin still helps cover fixed costs, so only drop it if the fixed costs it carries would actually go away and outweigh the contribution lost. Also check whether customers buy it alongside more profitable products.
Read next
Sources
- AccountingTools, “Contribution margin analysis,” August 27, 2026
- AccountingTools, “The difference between contribution margin and gross margin,” November 13, 2026
- NetSuite, “Contribution Margin: What It Is, How to Calculate It, and Examples,” June 16, 2023
- Corporate Finance Institute, “Contribution Margin,” last modified October 13, 2026
- OpenStax, Principles of Accounting, Volume 2: Managerial Accounting, “6.5 Compare and Contrast Variable and Absorption Costing,” 2019
- OpenStax, Principles of Accounting, Volume 2: Managerial Accounting, “10.4 Evaluate and Determine Whether to Keep or Discontinue a Segment or Product,” 2019
- Harvard Business School Working Knowledge, Robert S. Kaplan, “Add a Customer Profitability Metric to Your Balanced Scorecard” (from Balanced Scorecard Report, July to August 2005), accessed November 27, 2026
Written by The Pragmatic CFO. Last reviewed November 27, 2026.
