Contribution Margin Ratio: Formula, Calculator, What It Tells You

Faisal HouraniFaisal Hourani· Founder & eCommerce Growth Strategist
June 27, 2026Updated March 19, 202610 min read

Is your store leaking revenue?

Find out exactly where you're losing sales — takes 2 minutes.

Find Your Revenue Leaks

The percentage that tells you how much of every ringgit actually reaches your bottom line

What Is the Contribution Margin Ratio?

Margin dollars lie without context.

The contribution margin ratio is the percentage of each revenue ringgit that remains after subtracting variable costs. It is calculated as (Revenue - Variable Costs) / Revenue. According to NYU Stern's Damodaran dataset, healthy DTC brands maintain a 50-65% contribution margin ratio, and anything below 40% signals a pricing or cost-structure problem.

A product with RM 45 contribution margin sounds decent — until you learn the selling price was RM 300. That is a 15% contribution margin ratio. For every ringgit of revenue, only 15 sen covers fixed costs and profit.

The contribution margin formula gives you the dollar figure. The contribution margin ratio gives you the percentage — and that percentage is what makes comparison possible.

Here is the formula:

Contribution Margin Ratio = (Revenue - Variable Costs) / Revenue

Or equivalently:

Contribution Margin Ratio = Contribution Margin Per Unit / Selling Price Per Unit

Both return the same number. The first works on totals. The second works on a single SKU. Use whichever matches the data you have open.

Let me show you why this matters more than raw margin dollars.

contribution margin ratio formula explained for ecommerce

Why Does the Contribution Margin Ratio Matter More Than Dollar Margins?

Because dollars without percentages hide the truth.

The contribution margin ratio matters because it normalises margin across products at different price points, enabling direct comparison. A RM 20 margin on a RM 40 product (50% ratio) is far more valuable per revenue ringgit than a RM 80 margin on a RM 400 product (20% ratio). McKinsey's 2024 retail profitability report found that brands tracking CM ratio at the SKU level grow operating profit 2.3x faster than those tracking revenue alone.

We see this in every audit. A store owner will point to their "best product" — the one generating the most revenue. But when we calculate the contribution margin ratio, that product often sits at 25-30%, while a smaller SKU nobody promotes clears 62%.

The ratio answers three questions raw dollars cannot:

  1. Which products deserve more ad spend? Higher CM ratio means more of each sale covers fixed costs and profit. Lower ratio means you are running harder to stay in place.

  2. How much revenue do you need to break even? Break-even revenue = Fixed Costs / CM Ratio. A 60% ratio means you break even at roughly half the revenue a 30% ratio requires.

  3. What happens to profit when revenue changes? If your CM ratio is 55%, every additional RM 1,000 in revenue adds RM 550 toward covering fixed costs. Every RM 1,000 in lost revenue removes RM 550. The ratio makes forecasting immediate.

That third point is where most store owners get surprised. And it is the reason this ratio should be on your dashboard, not buried in a quarterly spreadsheet.

comparing contribution margin ratio across products

How Do You Calculate the Contribution Margin Ratio Step by Step?

Three numbers. One division.

To calculate the contribution margin ratio, subtract total variable costs from total revenue, then divide by total revenue. For a product selling at RM 180 with RM 72 in variable costs, the ratio is (180 - 72) / 180 = 60%. Use WebMedic's contribution margin calculator to run the math instantly for any SKU.

Here is a worked example for a Malaysian DTC skincare brand selling three products:

Line Item Serum (RM) Moisturiser (RM) Bundle (RM)
Selling price 120 85 189
COGS 28 22 46
Packaging 4 3 8
Shipping & fulfilment 8 8 12
Payment processing (3%) 3.60 2.55 5.67
Total variable costs 43.60 35.55 71.67
Contribution margin (RM) 76.40 49.45 117.33
Contribution margin ratio 63.7% 58.2% 62.1%

The bundle generates the most margin dollars (RM 117.33), but the serum has the highest contribution margin ratio (63.7%). If you had to choose where to allocate ad budget, the serum returns more profit per ringgit of revenue.

The variables most stores forget

Payment processing fees are the most commonly missed variable cost. On Shopify, that is 2-3.5% depending on your plan and payment gateway. For Malaysian stores using Shopify Payments, expect 3% + RM 1 per transaction.

Returns and refund costs also belong in variable costs. If your return rate is 8%, multiply the average refund amount by 0.08 and add it per unit. Ignoring returns inflates your ratio by 3-7 percentage points — enough to change decisions.

Run the numbers for your own products with the contribution margin calculator. It handles the arithmetic so you can focus on what the numbers mean.

What Is a Good Contribution Margin Ratio by Industry?

It depends on the business model.

A good contribution margin ratio ranges from 50-65% for DTC ecommerce brands, 30-50% for resellers, and 65-85% for digital products and SaaS. According to NYU Stern's industry margin data covering 7,000+ firms, software averages 72%, apparel averages 53%, and general retail averages 33%. Below 40% in DTC signals a structural problem.

Here is how different ecommerce business models typically perform:

Business Model Typical CM Ratio Why
Digital products (courses, templates) 75-90% Near-zero variable cost per unit
SaaS / subscriptions 65-80% Low marginal cost, high retention value
DTC brands (own manufacturing) 55-70% Control over COGS, direct pricing
DTC brands (contract manufacturing) 45-60% Higher COGS, less control
Resellers / curated retail 30-45% Wholesale markup is the entire margin
Dropshipping 15-30% Supplier takes most of the margin
Grocery / perishables 20-35% Low margin, high volume model

Sources: NYU Stern Damodaran dataset (2024), WebMedic client benchmarks (80+ Shopify stores)

Malaysian and Southeast Asian context

In Malaysia and Singapore, two additional costs compress the ratio for physical product brands:

  • Cross-border shipping for imported goods adds 5-12% of product cost
  • SST (Sales and Service Tax) at 8% is a variable cost that directly reduces contribution margin

We work with Malaysian Shopify brands that started at 35% CM ratios and restructured to 55%+ by switching to local contract manufacturers and renegotiating fulfilment rates. The ratio is not fixed — it responds to operational decisions.

contribution margin ratio benchmarks by industry

How Does the Contribution Margin Ratio Affect Break-Even?

It determines how hard you have to work.

The break-even point in revenue equals total fixed costs divided by the contribution margin ratio. A store with RM 30,000 in monthly fixed costs and a 60% CM ratio breaks even at RM 50,000 in revenue. Drop that ratio to 30% and break-even doubles to RM 100,000. According to Harvard Business School Online, CM ratio is the single most important input in break-even analysis for product businesses.

The formula:

Break-Even Revenue = Fixed Costs / Contribution Margin Ratio

Here is what this looks like at different ratios for a store with RM 30,000 monthly fixed costs:

CM Ratio Break-Even Revenue Revenue per Day Needed
30% RM 100,000 RM 3,333
40% RM 75,000 RM 2,500
50% RM 60,000 RM 2,000
60% RM 50,000 RM 1,667
70% RM 42,857 RM 1,429

The difference between a 30% and 60% ratio is not incremental. It is the difference between needing RM 3,333 per day and RM 1,667 per day just to keep the lights on.

This is why we tell every brand we audit: before you spend another ringgit on ads, know your contribution margin ratio. A 10-percentage-point improvement in CM ratio can cut your break-even revenue by tens of thousands of ringgit per month.

Use the product pricing calculator to model how price changes affect your ratio and break-even point.

Does this sound like your store? Find out where you're leaking revenue — take the free Revenue Score. 3 minutes. Free. No pitch.

How Do You Improve the Contribution Margin Ratio?

There are only two levers. Raise prices or cut variable costs.

Improving the contribution margin ratio requires either increasing selling prices or reducing per-unit variable costs. A Bain & Company pricing study found that a 1% price increase improves operating profit by 11% on average — making pricing the highest-leverage move for most ecommerce brands. WebMedic's client data shows that renegotiating fulfilment contracts alone improves CM ratio by 3-8 percentage points.

Price increases (the fast lever)

Most DTC brands underprice. Not because the market will not bear more, but because the founder set the price once and never revisited it.

Test price increases in 5-10% increments. Track conversion rate and contribution margin ratio together. A product at RM 120 with 55% CM ratio and 3% conversion often outperforms the same product at RM 99 with 45% CM ratio and 3.5% conversion — because the margin improvement more than compensates for the volume loss.

Specific tactics:

  • Anchor pricing — show the original price crossed out (Shopify supports this natively via compare-at price)
  • Bundle to raise AOV — bundles justify higher prices while spreading fixed fulfilment costs across more units
  • Tiered pricing — offer good/better/best at different price points; the middle tier captures the most margin

Variable cost reduction (the structural lever)

This takes longer but compounds. Every percentage point you shave off variable costs goes directly to contribution margin ratio — permanently.

Where to look:

  1. COGS renegotiation — At 500+ units/month, most suppliers will cut prices 8-15%. Ask. The worst they say is no.
  2. Packaging simplification — A Malaysian beauty brand we worked with saved RM 3.20 per unit by switching from rigid boxes to branded mailer bags. On 2,000 units/month, that is RM 6,400/month straight to margin.
  3. Fulfilment rate shopping — Malaysian 3PLs like Locad, iStore iSend, and Ninja Van have different rate structures. Switching can save 10-25% on per-order fulfilment.
  4. Payment gateway optimisation — Compare Shopify Payments, Stripe, and local gateways like iPay88. A 0.5% difference on RM 200,000/month revenue is RM 1,000/month.
  5. Returns reduction — Better product photos, size guides, and description accuracy cut returns. Every prevented return saves the full variable cost of that unit plus reverse logistics.

The compounding effect

A brand doing RM 200,000/month with a 45% CM ratio earns RM 90,000 in contribution margin. Improving to 55% on the same revenue yields RM 110,000 — an extra RM 20,000/month without selling a single additional unit.

Over 12 months, that is RM 240,000 in additional profit from structural improvements alone.

strategies to improve contribution margin ratio

What Is the Difference Between Contribution Margin Ratio and Gross Margin?

They are close but not the same.

Contribution margin ratio includes all variable costs (COGS, shipping, payment fees, commissions), while gross margin typically only deducts COGS. According to Investopedia, contribution margin ratio is the more accurate profitability measure for decision-making because it captures every cost that scales with sales volume. A product with 65% gross margin may have only 48% CM ratio once fulfilment and processing fees are included.

Here is the distinction:

Metric Formula Includes Best For
Gross margin (Revenue - COGS) / Revenue Only COGS Financial reporting, investor conversations
Contribution margin ratio (Revenue - All Variable Costs) / Revenue COGS + shipping + processing + commissions + packaging Pricing decisions, product mix, break-even analysis

Gross margin is an accounting metric. Contribution margin ratio is an operating metric. When you are deciding whether to run ads on a product, discontinue a SKU, or raise prices, gross margin gives you an incomplete picture. The contribution margin ratio gives you the full one.

We have seen stores with 60% gross margins that actually run at 38% CM ratio after fulfilment, processing fees, and affiliate commissions. That gap — 22 percentage points — is where profitability hides.

How Do You Use the Contribution Margin Ratio for Product Mix Decisions?

Rank your SKUs by ratio, not by revenue.

To optimise your product mix using the contribution margin ratio, rank all SKUs by their CM ratio, then allocate ad spend and inventory priority to the top-performing products. According to McKinsey's retail operations research, retailers that use margin-based product ranking instead of revenue-based ranking generate 15-25% higher operating margins. WebMedic's data confirms this pattern across Shopify stores in Malaysia and Singapore.

Here is the decision framework we use with every brand we audit:

The CM ratio quadrant

Plot each SKU on two axes: CM ratio (vertical) and sales volume (horizontal).

Quadrant CM Ratio Volume Action
Stars High (>50%) High Protect and scale. Maximum ad spend.
Cash cows High (>50%) Low Increase visibility. Test promotions.
Volume traps Low (<40%) High Reprice or restructure costs. Do not scale at current margins.
Dead weight Low (<40%) Low Discontinue or bundle with stars.

Most stores we audit have 2-3 "volume traps" — products generating impressive revenue but terrible contribution margin ratios. These products look good on a revenue dashboard and terrible on a profit-and-loss statement.

A real example

A Malaysian fashion brand had 47 active SKUs. Their bestseller — a RM 79 graphic tee — generated 22% of total revenue but had a 28% CM ratio after fulfilment and processing fees. Their third-best seller — a RM 189 lightweight jacket — generated 8% of revenue but had a 61% CM ratio.

We reallocated 40% of the tee's ad budget to the jacket. Within 60 days:

  • Jacket revenue increased 340%
  • Overall contribution margin improved by RM 14,200/month
  • Total revenue dropped 6% — but total profit increased 19%

Revenue went down. Profit went up. That is what happens when you let the contribution margin ratio guide your product mix instead of top-line revenue.

product mix decisions using contribution margin ratio quadrant

Frequently Asked Questions

What is the contribution margin ratio formula?

The contribution margin ratio formula is (Revenue - Variable Costs) / Revenue, expressed as a percentage. Variable costs include COGS, shipping, payment processing fees, packaging, and sales commissions — everything that scales with each unit sold. A RM 100 product with RM 40 in variable costs has a 60% contribution margin ratio, meaning 60 sen of every revenue ringgit covers fixed costs and profit.

What is a good contribution margin ratio for ecommerce?

A good contribution margin ratio for ecommerce DTC brands is 50-65%, according to NYU Stern's industry margin dataset covering 7,000+ companies. Resellers typically achieve 30-45%, while digital product sellers reach 75-90%. Below 40% for a DTC brand signals a pricing problem, a cost-structure problem, or both. Malaysian brands should account for SST and cross-border shipping when benchmarking.

How is contribution margin ratio different from profit margin?

Contribution margin ratio measures the percentage of revenue remaining after variable costs only. Net profit margin deducts both variable and fixed costs (rent, salaries, software subscriptions). A store can have a 55% contribution margin ratio but a 12% net profit margin because fixed costs consume 43 percentage points. CM ratio is used for product-level decisions; net profit margin measures overall business health.

Can a high contribution margin ratio still mean losing money?

Yes. A high contribution margin ratio means each sale contributes strongly toward covering fixed costs, but if total contribution margin (ratio times revenue) is less than total fixed costs, the business still loses money. A store with a 70% CM ratio but only RM 20,000 in monthly revenue and RM 30,000 in fixed costs is still RM 10,000 short of break-even despite the healthy ratio.

How often should you recalculate the contribution margin ratio?

Recalculate the contribution margin ratio monthly at minimum, and immediately after any change to product pricing, supplier costs, shipping rates, or payment processing fees. Most variable costs shift quarterly — fulfilment providers adjust rates, suppliers change MOQs, and currency fluctuations affect imported COGS. Brands that review CM ratio monthly catch margin erosion 60-90 days faster than those reviewing quarterly.

Keep Reading

Share this article

#contribution margin ratio #contribution margin formula #ecommerce profitability #product pricing #break even analysis #unit economics
Faisal Hourani, WebMedic founder

Free Download

We audited 10 Shopify stores doing $1M–$20M. Here are the 15 leaks every one had.

Real screenshots (names blurred). Most operators have 8 of the 15 and don't know it.

From 10 audits across SG, MY, AE — fashion, beauty, electronics, food.

PDF in your inbox in 30 seconds. 1 email. No follow-up unless you ask.

Faisal Hourani

Faisal Hourani

Founder & eCommerce Growth Strategist

19 years building for the web, 9+ focused on ecommerce. Faisal founded WebMedic in 2016 to help DTC brands fix the conversion problems that hold them back. He has worked with brands across Malaysia and Singapore — from first-store launches to 8-figure scaling.

Related Posts

Ready to Boost Your Conversion Rates?

Book a quick strategy call. We'll analyze your store, identify your biggest revenue leaks, and show you exactly how we can plug them.

Book Your Strategy Call

Score your store

Find Your Revenue Leaks