Definition
Contribution margin measures the percentage of revenue remaining after deducting all variable costs directly associated with delivering your product to a customer. It goes beyond gross margin by including variable operating expenses such as payment processing, usage-based API costs, and per-customer support costs. The formula is: (Revenue - Variable Costs) / Revenue.
For a SaaS product charging $200/month per customer, the contribution margin calculation might look like this: $200 revenue minus $16 cloud hosting, $6 payment processing, $10 third-party API calls, and $8 variable customer success costs. That leaves $160, or an 80% contribution margin. This $160 is what is available to cover fixed costs (salaries, office, R&D) and generate profit.
Contribution margin is a critical unit economics metric because it determines the real profitability of each customer. A product with 90% gross margin but 55% contribution margin after factoring in API costs and variable support has very different economics than its gross margin suggests. You can model these economics using the LTV/CAC Calculator.
Why It Matters for Product Managers
Contribution margin forces PMs to think about the true cost of the features they build. Adding an AI feature that calls an LLM API might improve the user experience, but if it costs $15/month per user on a $50/month plan, it drops contribution margin from 80% to 50%. That changes the entire unit economics equation and may require a pricing adjustment.
This metric is especially relevant for products with usage-based components. PMs building data pipelines, AI tools, or media processing features need to understand how cost scales with usage. A feature that is profitable at low usage but unprofitable at high usage creates a negative unit economics spiral as your most engaged customers become your most expensive.
How to Apply It
Build contribution margin visibility into your product planning process. Work with finance to map variable costs at the feature level, not just the company level.
Steps to manage contribution margin:
- ☐ Map every variable cost that scales with customer count or usage
- ☐ Calculate contribution margin by customer segment, plan tier, and feature set
- ☐ Identify features with disproportionately high variable costs (especially AI/ML and third-party APIs)
- ☐ Set contribution margin floors for new features (e.g., "no feature that drops segment margin below 60%")
- ☐ Model how pricing strategy changes affect contribution margin at different usage levels
- ☐ Review contribution margin quarterly and flag any segment trending below target