Skip to main content
    ← Back to blog

    Contribution margin: how to calculate and use it

    September 20, 2026 · Equipe Sherlok
    Gestão
    Contribution margin: how to calculate and use it

    A skincare brand closed August with $47,800 in revenue, its best month of the year. Two weeks later the bookkeeper delivered the consolidated numbers: an operating loss of $1,100. Nobody had run the contribution margin on each product before deciding what to advertise.

    What happened is ordinary. The campaign behind the record pushed an expensive bundle with subsidized shipping and processing fees on a high ticket. Every order paid for the product, the box, the delivery and the fees, and handed back almost nothing toward rent, payroll and software. Record volume, minimal leftover.

    The math fits in one spreadsheet row. The reason so many companies skip it is less technical than it looks: the 2025 Financial Habits survey by Brazil's Sebrae/PR found that 61% of small business owners still mix personal and company accounts, and 10% keep no financial records at all. If you can't separate the cost of a sale from the cost of the structure, there is no contribution margin to calculate.

    Contribution margin is what's left from each sale after paying the variable costs of that sale. The formula is selling price minus unit variable costs. The result is the amount each unit sold contributes toward covering fixed costs and, once those are covered, toward profit.

    What counts as a variable cost (and what doesn't)

    The definition looks obvious until you classify the first line item. The working rule: a cost is variable if it only exists because that sale happened. If you sell zero units this month and the cost is still there, it's fixed.

    Variable costs include cost of goods, packaging, shipping you pay for, sales commission, payment processing and marketplace fees, returns and chargeback allowances, and any revenue-based tax or royalty. Fixed costs include rent, salaries, accounting, software subscriptions, utilities and your media buyer's paycheck.

    Here's the first useful distinction: ad spend is not a variable cost of the sale. It's an investment decision you make by looking at the margin, not a cost that sits inside it. More on that below.

    How to calculate contribution margin in practice

    Pick one real product, not an average. Average margin is one of the worst management tools around, because it hides the exact item draining your cash.

    A facial kit sold at $39.90 on your own store:

    • Cost of goods: $13.80
    • Packaging: $1.20
    • Subsidized shipping: $4.50
    • Payment processing (2.9% + $0.30): $1.46
    • Returns and chargeback allowance (4%): $1.60

    Total variable cost: $22.56. Unit contribution margin: $39.90 minus $22.56, or $17.34. As a percentage, $17.34 divided by $39.90, or 43.5%.

    Where the selling price actually goes Facial kit sold at $39.90 on a direct-to-consumer store 34.6% 14.3% 7.7% 43.5% Cost of goods $13.80 Packaging + shipping $5.70 Fees + returns allowance $3.06 Contribution margin $17.34 $39.90 − $22.56 = $17.34 per unit sold
    Only the green block is left to pay fixed costs and become profit.

    Per unit, total or percentage: which one to use?

    Three readings of the same calculation, each answering a different question.

    Unit contribution margin ($17.34) answers: how much does one more sale give me? It's the basis for your CAC ceiling and your maximum discount.

    Total contribution margin (unit margin times units sold) answers: how much of my structure does this product pay for? That's the number that matters when prioritizing a product line.

    Contribution margin percentage (43.5%) answers: how efficient is this sale? Use it to compare products at very different price points and to compute break-even in revenue.

    Managers who only look at percentage make bad calls regularly. Percentages don't pay rent; dollars do.

    How margin sets your break-even point

    With the unit margin in hand, break-even stops being an abstraction. If the store carries $11,000 in monthly fixed costs and each kit leaves $17.34:

    $11,000 divided by $17.34 = 635 units per month. In revenue: $11,000 divided by 0.435 = roughly $25,300.

    Notice what that means operationally. Through unit 634, the company is paying for its structure. From 635 on, every kit sold adds $17.34 straight to the bottom line. That's why the last third of the month is usually where profit is born, and why cutting ad spend on the 20th to "protect cash" destroys more than it saves once you're past break-even.

    How much CAC can your margin absorb?

    This is where contribution margin leaves accounting and becomes a marketing decision, and it's the part most articles on the topic skip.

    If each kit leaves $17.34 and the customer buys once, that is the absolute ceiling on customer acquisition cost before the sale loses money. Paying $17.34 in CAC means zero profit and zero contribution to fixed costs. If you want 30% of the margin to survive for the structure, your target CAC drops to $12.14.

    The same math as ROAS is more direct: break-even ROAS is 1 divided by the margin percentage. At 43.5%, 1 ÷ 0.435 = 2.30. A campaign running at 2.0 ROAS on this product is burning margin, even though the ad platform reports a "positive return". At 4.0 ROAS, you keep about $0.19 of margin per dollar of revenue after media.

    What contribution margin decides Contribution margin $17.34 43.5% of price Break-even point 635 units / $25,300 Max CAC on first purchase $17.34 Break-even ROAS 2.30 (1 ÷ 43.5%) Assuming $11,000/month in fixed costs.
    Three decisions out of one calculation: how much to sell, how much to pay per customer, and the minimum return to demand from media.

    The CAC ceiling rises when customers come back. If they buy 2.4 times a year, accumulated margin reaches $41.62 and you can afford to pay more for acquisition. But there's a cash trade-off that rarely shows up in the spreadsheet: paying $35 today to collect $41 over twelve months requires working capital most small companies don't have. Contribution margin tells you what's profitable; cash flow tells you what's feasible.

    High percentage doesn't pay bills: the product mix trap

    The most expensive confusion happens when a company picks its product mix by percentage. Same store, three items:

    ProductPriceVariable costCM per unitCM %Units/moTotal CM
    Facial kit$39.90$22.56$17.3443.5%620$10,751
    Single serum$23.90$11.70$12.2051.0%310$3,782
    Subscription bundle$59.00$40.70$18.3031.0%180$3,294

    The serum has the best percentage margin in the store, 51.0%. It's also the item that pays for the least structure. The facial kit, with the most mediocre percentage of the three, delivers $10,751 in monthly contribution, nearly the entire fixed cost base on its own.

    Add the three up: $17,827 in total contribution margin against $11,000 in fixed costs, or $6,827 in operating profit. Pulling the kit to "focus on the better-margin product" would push the company into a loss within one month.

    The right decision is almost never percentage versus volume. It's asking which product grows total margin at the spend level you can actually fund, and whether your average order value supports the CAC of the channel pushing it.

    When the formula breaks

    Three situations where applying the math literally leads to wrong conclusions.

    There's a bottleneck in operations

    When the constraint isn't demand but capacity (a machine, an oven, an install crew), the right metric stops being margin per unit and becomes margin per unit of the scarce resource. A service that leaves $80 and occupies 6 hours yields $13 per hour; one that leaves $35 in a single hour yields $35. Percentage and absolute value both point to the first; the shop makes money on the second.

    The cost is semi-variable

    Free shipping thresholds, commissions with bonus triggers, software licenses that jump a tier every thousand orders. These behave like fixed costs inside a band and step up outside it. Calculating margin from a historical average works while volume is flat, and breaks in exactly the month the campaign works.

    The negative margin is deliberate

    Selling an entry product at a loss to acquire the customer is a legitimate strategy, as long as repeat-purchase data backs it. In practice it rarely works when the company doesn't measure second-purchase rate by cohort and by channel. Without that measurement, "loss leader" is just a nicer name for margin leakage.

    Frequently asked questions

    Are contribution margin and profit margin the same thing?

    No. Contribution margin subtracts only variable costs and shows what's left to pay for the structure. Profit margin also subtracts fixed costs and lands on the final result. A company can have a healthy contribution margin and a negative profit margin, which means the problem is the size of the structure, not the pricing.

    Are contribution margin and gross profit the same thing?

    They're close, not identical. Gross profit subtracts cost of goods sold, following accounting logic. Contribution margin subtracts every variable cost and expense, including commissions, shipping, processing fees and revenue-based taxes. That's why contribution margin is usually smaller than gross profit and more useful for commercial decisions.

    How do you calculate contribution margin as a percentage?

    Divide the unit contribution margin by the selling price and multiply by 100. In the kit example: $17.34 ÷ $39.90 × 100 = 43.5%. Always use price net of returns and discounts granted, or the percentage comes out inflated.

    What should you do when contribution margin is negative?

    A negative margin means every sale deepens the loss. Three ways out: raise the price, cut variable cost (renegotiate suppliers, change packaging, revisit free shipping) or discontinue the item. Selling more is never the answer, because volume multiplies the loss. The exception is a loss leader with proven repeat purchase.

    What is a good contribution margin?

    It depends on your fixed costs and turnover, not on a benchmark number. A manufacturer with heavy overhead may need 50% to breathe; a high-turnover distributor runs fine at 12%. The useful question isn't "is my margin good?" but "how many units do I need to sell at this margin to cover my structure, and is that volume realistic in my market?".

    The calculation that changes the most decisions per hour spent

    Contribution margin isn't a metric for the monthly report. It's a filter that should run before every pricing, discount, campaign and mix decision. Companies that calculate it by product and by channel stop arguing about revenue and start arguing about what's left, which is the only thing they actually take home.

    The obstacle is usually operational: the data sits scattered across the sales platform, the ad manager, a cost spreadsheet and the finance system, and consolidating it by hand eats a full day. That's the work Sherlok handles, connecting those sources so you can ask in plain language "which product had the highest total contribution margin last month?" and get the calculated answer instead of another spreadsheet to build. For a broader view of the financial picture, see the guide to financial indicators for small businesses.

    Your AI agents already know what to do in your account.

    Turn them on free, no credit card.

    • No credit card
    • Read-only access
    • Revoke it any time

    Keep going

    Read next