What is Contribution Margin?
Contribution margin is the revenue remaining after subtracting variable costs, the costs that scale directly with each additional customer or unit sold. It shows how much each sale contributes toward covering fixed costs and generating profit.
Unlike gross margin which uses accounting COGS, contribution margin focuses on truly variable costs. This makes it more useful for unit economics and pricing decisions.
Why Contribution Margin Matters
Contribution margin tells you whether each incremental sale is profitable before fixed costs. If contribution margin is negative, you lose money on every sale regardless of volume. If it's positive, more sales eventually lead to profitability.
It's essential for break-even analysis and understanding how pricing changes affect profitability. Small changes in contribution margin have outsized impacts on the bottom line.
How to Calculate Contribution Margin Step by Step
Step 1: Identify your revenue per unit. For SaaS, this is typically your monthly subscription price per customer. For ecommerce, it's the selling price per item.
- Revenue per customer: $300/month
Step 2: List all truly variable costs. Variable costs scale directly with each additional customer or transaction. Be honest about what's truly variable vs semi-fixed:
Variable costs per customer:
- Cloud hosting (per-customer allocation): $12
- Third-party API calls: $8
- Payment processing (Stripe 2.9% + $0.30): $9
- Customer support (per-ticket cost × avg tickets): $18
- Total variable costs: $47
Not variable (don't include):
- Engineering salaries (fixed regardless of customer count)
- Office rent (fixed)
- Marketing spend (semi-variable but not per-customer)
Step 3: Calculate contribution margin per customer.
- Contribution Margin = $300 - $47 = $253 per customer
- Contribution Margin % = $253 ÷ $300 = 84.3%
Step 4: Use contribution margin for break-even analysis.
- Monthly fixed costs: $85,000
- Break-even customers = $85,000 ÷ $253 = 336 customers
- Current customers: 280
- You need 56 more customers to break even
Step 5: Use it for pricing decisions. If you're considering a 20% discount to win enterprise deals:
- Discounted price: $240
- Variable costs unchanged: $47
- New contribution margin: $193 (24% lower)
- You'd need 440 customers to break even instead of 336 — is the volume trade-off worth it?
Common mistakes founders make:
- Including fixed costs in the variable cost calculation (inflates variable costs, deflates margin)
- Treating partially-variable costs as fully variable (e.g., customer support has a fixed base + variable component)
- Confusing contribution margin with gross margin (similar but contribution margin is more granular)
- Not recalculating as you scale (variable costs often decrease per-unit as you grow)
Contribution Margin vs Gross Margin
Gross margin uses COGS from accounting. Contribution margin uses truly variable costs from an economic perspective. They're similar but contribution margin is more precise for decision-making.
Contribution Margin = Revenue - Variable Costs
Contribution Margin % = (Revenue - Variable Costs) ÷ Revenue × 100
Variable costs = costs that scale directly with each additional customer/unit
Per-customer economics:
- Monthly subscription: $200
- Hosting cost per customer: $10
- Support cost per customer: $15
- Payment processing: $6
Variable costs = $31
Contribution Margin = $200 - $31 = $169 per customer
Contribution Margin % = $169 ÷ $200 = 84.5%
Each new customer contributes $169/month toward fixed costs and profit.