one-line definition
Contribution margin measures how much of each revenue dollar remains after covering the variable costs directly tied to serving that customer.
formula: Contribution margin = (Revenue − Variable costs) ÷ Revenue × 100
tl;dr
For SaaS, variable costs are hosting, third-party API calls, payment processing, and support. A healthy SaaS contribution margin is 70-85%. If yours is below 60%, your infrastructure or API costs need attention before you scale.
Simple definition
Contribution margin tells you how much money each customer actually contributes toward covering your fixed costs and generating profit, after you subtract the variable costs of serving them. It determines whether more customers make you richer or poorer. If your contribution margin is negative, every new customer costs you money — growth makes things worse, not better.
Why this matters
Contribution Margin is a critical metric for bootstrapped founders because it represents the truth about your business. Before product-market fit, this metric may feel abstract. But once you have paying customers and recurring revenue, ignoring this metric becomes dangerous to your growth trajectory.
Most solo founders make the mistake of focusing on the wrong metric at the wrong time. Before $1k MRR, the best metrics are activation and product-market fit. Between $1k-$10k MRR, contribution margin becomes highly relevant. Beyond $10k MRR, it becomes one of your top three growth levers.
The reason solo founders rarely fail due to lack of brilliant ideas. They fail because they don't systematically measure metrics that matter and don't iterate on improvements.
Common mistakes
1. Calculating too early. If you have 5 customers, this metric is noise, not signal. Wait until you have at least 50 customers and 2-3 months of data before drawing conclusions. Too early and you'll see random variance, not real patterns.
2. Ignoring variations by segment. Your customers acquired via blog may behave differently than those acquired via paid ads. Your enterprise customers may function differently than your small-biz customers. Always segment your metrics to see the true signal.
3. Optimizing without context. Improving this metric by 10% means 10% more revenue? Not necessarily. Understand upstream and downstream impact before optimizing. Focus on the change that will have the biggest impact on revenue.
4. Forgetting causality flows both directions. A low metric may indicate a product issue, a positioning issue, or that you're attracting the wrong customers. Before optimizing, understand why it's low.
How to act on this
Calculate this metric for your last 30 customers right now. Do you have the data? If yes, establish a baseline and write it down. That's your first step toward improvement.
Identify your highest-value customer segment. Is it a specific monthly cohort? An acquisition channel? A customer type? Focus on that segment and try to improve this metric for them.
Run one small experiment to improve this metric by 5-10%. Measure, learn, iterate. The compounding of these small improvements over 12 months creates a huge difference.
How to calculate it
Subtract variable costs from revenue, then divide by revenue.
Formula: Contribution margin = (Revenue - Variable costs) / Revenue x 100
Example: You charge $29/month. Variable costs per customer: $2.50 hosting, $3.00 OpenAI API calls, $1.14 Stripe fees (2.9% + $0.30). Total variable costs: $6.64. Contribution margin = ($29 - $6.64) / $29 x 100 = 77.1%. That means $22.36 of each $29 goes toward covering your fixed costs (domain, tools, your salary) and profit.
Example
You run an AI writing assistant charging $19/month. Your OpenAI API costs average $5.20 per user, Stripe takes $0.85, and server costs per user are $0.60. Variable cost total: $6.65. Contribution margin: ($19 - $6.65) / $19 x 100 = 65%. That's below the healthy 70-85% range. You investigate and find that 15% of users generate 60% of API costs through heavy usage. You introduce a usage tier: the base plan includes 50 generations/month, with a $29 plan for unlimited. Heavy users upgrade or self-limit, and your average contribution margin rises to 78%.
Related reading
Related terms
- Gross Margin
- Unit Economics
- COGS
FAQ
What's the difference between contribution margin and gross margin?+
Gross margin subtracts cost of goods sold (COGS) from revenue. Contribution margin subtracts all variable costs, which may include COGS plus variable sales, support, and transaction costs. Contribution margin is usually lower and more accurate for decision-making.
What variable costs should indie SaaS builders include?+
Hosting and infrastructure (per-user portion), third-party API calls (OpenAI, Twilio, etc.), payment processing fees (Stripe's 2.9% + 30 cents), and any per-customer support costs.