TL;DR
Contribution margin shows you the true profit from each channel, product, or customer after all variable costs. For B2B SaaS, healthy contribution margin is 40-60% by channel. The highest-revenue channel is frequently not the highest-margin channel — companies discover this only when they calculate contribution margin instead of just ROAS.
What is contribution margin?
Contribution margin (also called CM, variable margin, or marginal profit) is the amount of revenue remaining after subtracting all variable costs associated with generating that revenue. Unlike gross margin, which only subtracts COGS, contribution margin subtracts everything that scales with the sale: ad spend, sales commissions, shipping, fulfillment, and transaction fees.
This distinction matters because gross margin can be misleading. A SaaS company with 80% gross margin might have 25% contribution margin on its paid search channel once ad spend and sales cycle costs are included. The product is highly profitable. That specific channel is not.
For B2B SaaS companies ($3-30M ARR), contribution margin by channel is the most actionable profitability metric available. It answers the question marketing and finance argue about constantly: "Is this channel actually making money, or just generating revenue?" The answer requires joining revenue data with cost data — which most companies don't do until they implement profit intelligence.
Contribution margin differs from EBITDA and net margin because it excludes fixed costs (rent, salaried overhead, R&D). This makes it the right metric for channel-level and campaign-level decisions, where the question is marginal: "Should we spend one more dollar here?"
Why contribution margin matters for operators
Without contribution margin, operators allocate marketing budgets using ROAS or revenue attribution — metrics that ignore costs below the revenue line. A channel showing 4:1 ROAS looks strong. But if COGS, fulfillment, and sales cycle costs consume 80% of that revenue, the true return is 0.8:1.
The cost of this blind spot compounds. When operators scale the highest-ROAS channel, they scale revenue and costs simultaneously. If contribution margin on that channel is negative, every dollar of growth makes the company less profitable. This is how B2B companies grow top-line revenue at 50% while margins compress by 10-15 points.
A typical mid-market SaaS company finds 2-3 margin-negative segments when they first calculate contribution margin by channel. The most common discovery: paid social generates high lead volume but the lowest contribution margin after sales cycle length, close rate, and ad spend are factored in.
Contribution margin formula
What counts as variable costs:
What is NOT a variable cost: Salaries (fixed), rent, R&D, insurance, software subscriptions (unless usage-based).
Contribution Margin (%) = (Revenue - Variable Costs) / Revenue x 100 Contribution Margin ($) = Revenue - Variable Costs Example (by channel): Google Ads channel: - Revenue attributed: $180,000 - COGS: $27,000 - Ad spend: $52,000 - Sales commissions: $18,000 - Payment processing: $5,400 Variable Costs = $27,000 + $52,000 + $18,000 + $5,400 = $102,400 Contribution Margin ($) = $180,000 - $102,400 = $77,600 Contribution Margin (%) = $77,600 / $180,000 x 100 = 43.1%
- COGS: Hosting, infrastructure, manufacturing, raw materials
- Marketing spend: Ad spend, content production, agency fees (by channel)
- Sales costs: Commissions, variable comp, SDR costs (allocated by deal)
- Fulfillment: Shipping, packaging, returns processing (for physical goods)
- Transaction fees: Payment processing, platform fees
Contribution margin benchmarks by channel
| Channel | Good CM | Average CM | Below average | Action if below |
|---|---|---|---|---|
| Organic search | 70-85% | 55-70% | <50% | Content costs too high or conversion too low |
| Paid search (Google Ads) | 40-55% | 25-40% | <20% | Bid optimization or landing page conversion |
| Paid social (Meta, LinkedIn) | 30-45% | 15-30% | <10% | Likely margin-negative — reassess or cut |
| Email / owned channels | 75-90% | 60-75% | <55% | Deliverability or list quality issue |
| Partner / referral | 50-65% | 35-50% | <30% | Partner fees too high relative to deal size |
| Outbound sales | 25-40% | 10-25% | <10% | Sales cycle too long or deal size too small |
Sources: Based on industry-observed ranges from B2B SaaS operator reports and Fairview customer data. Note: Organic channels show the highest contribution margin because there's no per-acquisition ad spend. This doesn't mean you should only invest in organic — it means organic compounds while paid requires continuous spend.
Common mistakes when calculating contribution margin
1. Calculating contribution margin at the company level only
Company-wide contribution margin is meaningless for decision-making. One channel at 65% margin can mask another at -5%. Calculate by channel, by campaign, by product, and by customer segment. The variance is always larger than expected.
2. Leaving out sales cycle costs
For B2B SaaS, the sales cycle is a significant variable cost. An enterprise deal that takes 90 days and 6 meetings costs more in sales time than an SMB deal that closes in 14 days. Allocate sales costs by deal type or segment.
3. Using ROAS as a proxy for contribution margin
ROAS only measures revenue relative to ad spend. It ignores COGS, sales costs, and fulfillment. A channel with 5:1 ROAS and 45% COGS has very different profitability than one with 3:1 ROAS and 15% COGS. ROAS is a marketing metric. Contribution margin is a business metric.
4. Forgetting to include payment processing fees
Stripe charges 2.9% + $0.30 per transaction. On $5M revenue, that's $145K+ in variable costs. It's easy to forget because it's automatically deducted. But it's a real variable cost that reduces contribution margin.
5. Treating contribution margin as static
Contribution margin shifts as ad costs change, COGS fluctuate, and sales efficiency evolves. A channel that was margin-positive at $50K/month spend may become margin-negative at $150K/month due to rising CPCs and diminishing returns. Track it monthly.
How Fairview tracks contribution margin automatically
Fairview's Margin Intelligence joins your revenue data (Stripe, Shopify), cost data (QuickBooks, Xero), and marketing spend (Google Ads, Meta Ads) to calculate contribution margin by channel, campaign, product, and segment — automatically.
Instead of building a margin model in a spreadsheet that breaks every time a data source changes, Fairview maintains a live view. The Next-Best Action Engine flags when a channel's contribution margin drops below threshold: "Contribution margin on Meta Ads dropped from 32% to 14% this month. CPC increased 41%."
Companies using Fairview recover an average of 23% of leaking margin in the first 90 days.
Contribution margin vs gross margin
Gross margin proves the product model works. Contribution margin proves the go-to-market model works. You need both.
| Contribution Margin | Gross Margin | |
|---|---|---|
| What it subtracts | All variable costs (COGS + marketing + sales + fulfillment) | COGS only |
| Granularity | Channel, campaign, SKU, customer segment | Product line, company level |
| Can it be negative? | Yes — common for heavily marketed channels | Rarely |
| Best for | Channel allocation, scaling decisions | Product economics, investor reporting |
| Who uses it | Operators, marketing leaders, COOs | CFOs, investors, board |
At a glance
- Category
- Profit Intelligence
- Related
- 5 terms
Frequently asked questions
What is contribution margin in simple terms?
Contribution margin is the profit left over after you subtract every cost that scales with a sale — product costs, ad spend, sales commissions, and fulfillment. If you generate $100 in revenue from a channel and spend $60 in variable costs to get it, your contribution margin is 40%. It tells you whether a channel or product actually makes money.
What is a good contribution margin for B2B SaaS?
Healthy channel-level contribution margin for B2B SaaS is 40-60%. Organic channels often run 70-85% because there's no per-acquisition ad spend. Paid channels running below 20% typically need restructuring. Company-wide contribution margin (blended across all channels) of 50-65% is considered healthy.
How is contribution margin different from ROAS?
ROAS measures revenue relative to ad spend only. Contribution margin subtracts all variable costs: COGS, ad spend, sales costs, and fulfillment. A channel with 4:1 ROAS but 50% COGS has a very different profit story than one with 3:1 ROAS and 10% COGS. Contribution margin gives the complete picture.
Can contribution margin be negative?
Yes. A channel or campaign has negative contribution margin when variable costs exceed the revenue it generates. This is common for newly launched paid channels, heavily discounted promotions, and channels with high customer acquisition costs. Negative contribution margin isn't always wrong (investment phase), but it must be intentional and time-bounded.
How often should you review contribution margin?
Monthly for channel-level contribution margin. Weekly during active campaign optimization or budget allocation decisions. Quarterly for strategic channel mix reviews. Monthly catches margin compression before it compounds — a channel trending from 40% to 25% over 3 months is a signal you won't see in a quarterly review.
What data do you need to calculate contribution margin?
Three sources: revenue data (CRM or payment processor), cost of goods data (accounting tool), and marketing/sales cost data (ad platforms, compensation records). The more granular your cost data, the more actionable your contribution margin. Start with channel-level and add campaign-level as data quality improves.
Sources
- Based on industry-observed ranges from B2B SaaS operator reports and Fairview customer data
Fairview is an operating intelligence platform that tracks contribution margin by channel, campaign, and product automatically. Start your free trial →
Siddharth Gangal is the founder of Fairview. He built Margin Intelligence after watching operators scale margin-negative channels because ROAS looked healthy while contribution margin told the opposite story.
See it in Fairview
Track Contribution Margin automatically.
14-day free trial. No credit card. First data source connected in 5 minutes.