TapCub is live — analytics, insights and live chat, free on one platform
Glossary

Contribution margin: definition, formula and a channel-level example

Contribution margin is revenue minus variable costs — what each sale leaves to cover fixed costs and become profit. Formula, a recomputable per-unit example, gross margin comparison, and two channels with identical ROAS but opposite verdicts.

Su He Reviewed by Sophia Bennett Also called marginal income Last updated Nov 16, 2026 Glossary

Quick answer

Contribution margin is revenue minus variable costs: the amount each sale leaves, after the costs that scale with it, to cover fixed costs and then become profit. Stated in dollars (total or per unit) or as a ratio of revenue.

Formula: Contribution margin = revenue − variable costs; unit CM = price − variable cost per unit; CM ratio = CM ÷ revenue; break-even units = fixed costs ÷ unit CM; break-even ROAS = 1 ÷ CM ratio

What is contribution margin?

In managerial accounting, contribution margin is revenue minus variable costs: the money each sale leaves behind, after paying the costs that scale with it, to cover fixed costs and then become profit. It can be stated in dollars for the whole business, for a product line, or per unit, and as a ratio of revenue (OpenStax, Principles of Accounting, §3.1).

The point of the metric is a decision, not a report card: contribution margin tells you how much one more order leaves behind to cover fixed costs. Compute it per channel and it often overturns the "which channel makes us the most money" answer that revenue or ROAS gave you — the worked example below shows two channels with identical ROAS where one loses money on every order.

The formula: dollars, per unit, and ratio

Three forms of the same idea:

  • Total contribution margin = revenue − variable costs. Both figures cover the same period and the same scope (company, product line, or channel).
  • Unit contribution margin = price per unit − variable cost per unit. For an online store, variable cost per unit means everything that scales with one order: goods, packaging, outbound shipping, payment processing, per-order platform fees, returns allowance, and any per-sale commission.
  • Contribution margin ratio = contribution margin ÷ revenue. A ratio of 0.32 means each dollar of sales leaves $0.32 for fixed costs and profit. Equivalently, unit CM ÷ price.

The classification rule is behavior, not department: if a cost goes up when you sell one more unit, it is variable, even if it sits in "marketing" (a per-sale affiliate commission) rather than "production". Fixed costs — rent, salaries, software subscriptions — stay out of the calculation entirely (OpenStax §3.1). That exclusion is the whole difference from fully loaded profit-per-unit, and it is what makes the number usable for break-even and pricing decisions.

Worked example: one product, three margins

Sample data: an online store sells one insulated bottle at $50. Per-unit costs from its finance sheet:

Cost itemPer unitType
Goods (COGS)$20.00Variable
Packaging + outbound shipping$6.00Variable
Payment processing (2.9% × $50 + $0.30)$1.75Variable
Marketplace/platform fee (4% × $50)$2.00Variable
Returns and damage allowance$2.00Variable
Warehouse rent + salaries (monthly)$12,000Fixed

The arithmetic, recomputable line by line:

  • Variable cost per unit = 20 + 6 + 1.75 + 2 + 2 = $31.75
  • Unit contribution margin = 50 − 31.75 = $18.25
  • Contribution margin ratio = 18.25 ÷ 50 = 0.365 (36.5%)
  • Gross margin (for contrast) = (50 − 20) ÷ 50 = 0.60 (60%) — it deducts only COGS, so it ignores $11.75 of variable selling costs per unit
  • Fixed cost per unit at 1,000 orders/month = 12,000 ÷ 1,000 = $12.00, so fully loaded "profit per unit" = 50 − 31.75 − 12 = $6.25 — a third number again, and it moves with volume even though nothing about the product changed

Break-even follows directly: units = fixed costs ÷ unit CM = 12,000 ÷ 18.25 ≈ 658 orders per month (657 orders leave $11,990.25, just short; 658 leave $12,008.50, just over). In sales dollars: 12,000 ÷ 0.365 ≈ $32,877 (OpenStax §3.2). If you used the 60% gross margin instead, you would predict break-even at $20,000 — about $12,877 too optimistic.

Contribution margin vs gross margin vs operating profit

MetricWhat it subtracts from revenueTypical scopeWhat it answers
Gross marginCOGS only (includes fixed manufacturing overhead under absorption costing)Company or product line, external reportingAre production costs under control?
Contribution marginAll variable costs, production and selling; no fixed costsUnit, product, or channel, internal decisionsWhat does one more sale leave for fixed costs and profit?
Operating profitAll variable costs plus all fixed operating costsCompany or segment, a periodDid the business make money this period?

The trap is that COGS is not the same as "variable costs". Under absorption costing, fixed manufacturing overhead is allocated into unit product costs, so gross margin contains fixed costs while contribution margin contains variable selling costs that COGS misses (OpenStax §6.5). For a reseller with no manufacturing, the two still differ whenever shipping, processing, or commissions are material — as in the bottle example, 60% vs 36.5% on the same product. Neither number is "wrong"; they answer different questions, and break-even math only works with the contribution version.

Channel contribution margin: same ROAS, opposite verdict

Sample data, same bottle, one month, two paid channels, 200 orders each. Ad spend is the acquisition cost of those orders, so at channel level it is deducted from the product contribution margin. Both channels' dashboards report the same ROAS of 3.33 — $10,000 revenue on $3,000 spend — but social orders carry a $5 coupon and a heavier free-shipping subsidy, adding $7.75 of variable cost per order:

LinePaid searchPaid social
Orders200200
Revenue (200 × $50)$10,000$10,000
Variable cost per order$31.75$39.50 (31.75 + 7.75)
Variable costs (orders × per-order cost)$6,350$7,900
Unit contribution margin$18.25$10.50
Contribution margin before ads$3,650$2,100
Ad spend$3,000$3,000
ROAS (revenue ÷ spend)3.333.33
Channel CM after ads+$650−$900

Identical ROAS, opposite verdicts: search funds $650 of fixed costs (3,650 − 3,000), social destroys $900 (2,100 − 3,000). ROAS divides revenue by spend and never sees the $7.75 per-order cost difference; contribution margin does. That is the practical reading of the thesis — per channel, contribution margin regularly overturns the "most profitable channel" conclusion.

One shortcut worth memorizing: a channel breaks even on ad spend when ROAS = 1 ÷ CM ratio. For the plain bottle, 1 ÷ 0.365 ≈ 2.74; for coupon-driven social orders, ratio = 10.50 ÷ 50 = 0.21, so break-even ROAS = 1 ÷ 0.21 ≈ 4.76. A "good-looking" 3.3 ROAS is comfortably profitable for one and deeply underwater for the other. This is the channel-level view of unit economics; whether the spend pays back over the customer's life is a separate LTV question.

What teams use contribution margin for

Each use is a decision rule you can apply with the numbers above:

  • Break-even and targets. Units to break even = fixed costs ÷ unit CM; units for a target profit = (fixed costs + target profit) ÷ unit CM. With $12,000 fixed and a $6,000 profit goal: 18,000 ÷ 18.25 ≈ 987 orders (986 whole orders fall just short) (OpenStax §3.2).
  • Pricing and discount floors. A discount deeper than the unit CM turns every incremental order into a loss. The bottle can absorb at most an $18.25 cut before CM hits zero — and any ad spend raises that floor further.
  • Special orders and product mix. If spare capacity exists and a one-off order is priced above variable cost, it adds its CM to profit without touching fixed costs; rank competing products by CM per unit of the constrained resource, not by price or gross margin. When a revenue change comes from mix rather than volume or price, a sales analysis separates the three.
  • Channel budget shifts. Move spend toward positive channel CM and cap channels whose CM after ads is negative — but read the caveat in the next section before killing a channel outright. For the wider budgeting framework see marketing ROI.

Common mistakes

  • Using gross margin as CM. The bottle's 60% gross margin overstates what each sale contributes by 23.5 points. If your break-even uses gross margin, it is wrong by construction.
  • Counting only production costs. Payment processing, shipping subsidies, coupons, and per-sale commissions are variable costs. Social's −$900 above was invisible until the $7.75 per order was counted.
  • Allocating fixed costs per unit, then treating them as variable. The $12 fixed-per-unit at 1,000 orders becomes $6 at 2,000. Decisions made on fully loaded unit cost can reject orders that would add real money.
  • Reading CM as profit. The store's $18.25 per bottle is not earnings; at 500 orders the month loses 12,000 − 500 × 18.25 = $2,875. CM only becomes profit after fixed costs are covered.
  • Killing a negative-CM channel on last-click numbers alone. A channel that assists conversions elsewhere can show negative direct CM while contributing to profitable journeys; check attribution across models before cutting, and remember first orders may be acquisition spend justified by repeat-purchase CM (LTV), not a mistake — the mistake is not knowing which case you are in.

Reading channel contribution margin with TapCub

The channel table above needs three inputs per channel: orders and revenue, ad spend, and variable cost per order. TapCub gives you the first two on one page. The third lives in your finance data: TapCub records purchases, but it is not an accounting system, and goods, shipping, coupons and payment fees are not in it.

  1. Send purchases with amounts. Purchase events carrying order id, amount and currency build the order ledger behind All-platform analytics › Business › Commerce & revenue: revenue, orders, buyers and average order. Refunds are reported separately and are not subtracted, so take the returns allowance from finance, as in the bottle example.
  2. Import spend per channel. On the Costs tab of All-platform analytics › Business › Channel ROI, import a CSV by day, channel, source and campaign, or add rows one at a time. The ROI tab then puts spend next to sessions, conversions (purchases on the order ledger) and revenue, with cost per acquisition (spend ÷ conversions) and return on ad spend (revenue ÷ spend), grouped by channel, source or campaign. This is where search and social would both show 3.33.
  3. Add variable cost outside TapCub. Export the ROI rows and apply channel CM = revenue − orders × variable cost per order − spend in a spreadsheet, using $31.75 for search orders and $39.50 for coupon-driven social orders. TapCub holds no per-order cost data, so this step is yours.
  4. Read each channel against its own floor. Break-even ROAS = 1 ÷ CM ratio: about 2.74 at a 0.365 ratio, about 4.76 at 0.21. The same 3.33 on the ROI tab is +$650 for one channel and −$900 for the other.
  5. Check assists before cutting. In All-platform analytics › Behavior › Behavior analysis, select first-touch, last-touch, linear, position-based and time-decay attribution together. Each model gets its own column, so a channel that mostly assists shows up before you act on its negative direct CM.

That is the whole loop: TapCub measures revenue and spend per channel, finance supplies the variable cost, and contribution margin makes the call. Per channel, it can overturn the ranking your ROAS column showed you.

See also: Gross Margin: Definition, Formula and Break-Even ROAS.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do you calculate contribution margin?

Subtract variable costs from revenue for the same period and scope: CM = revenue − variable costs. Per unit, subtract variable cost per unit from the selling price. Divide CM by revenue for the ratio. Include variable selling costs such as shipping, payment processing and per-sale commissions, not just production costs.

What is the difference between contribution margin and gross margin?

Gross margin subtracts only cost of goods sold, which under absorption costing includes fixed manufacturing overhead. Contribution margin subtracts all variable costs — production and selling — and no fixed costs. On the same product they can differ widely: our sample bottle shows 60% gross margin but a 36.5% contribution margin ratio.

What is a good contribution margin ratio?

There is no universal target: it depends on your fixed costs. A workable test is whether revenue × CM ratio covers fixed costs with room to spare, and whether each channel's ROAS exceeds 1 ÷ its CM ratio. Capital-intensive businesses need higher ratios because they carry more fixed costs to cover.

Is contribution margin the same as profit?

No. Contribution margin is what remains before fixed costs. Profit appears only after fixed costs are covered: in our example each bottle contributes $18.25, but at 500 orders a month the business still loses $2,875 against $12,000 of fixed costs.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics