Skip to main content
New: 9 PM Courses with hands-on exercises and certificates
Back to Glossary
MetricsC

Contribution Margin

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

Frequently Asked Questions

How is contribution margin different from gross margin?+
Gross margin subtracts cost of goods sold (hosting, infrastructure, support) from revenue. Contribution margin goes further by also subtracting variable operating costs tied to that customer or segment, such as payment processing fees, variable customer success costs, and usage-based third-party API costs. Gross margin tells you about delivery efficiency. Contribution margin tells you about per-customer profitability before fixed overhead.
How do you calculate contribution margin for a SaaS product?+
Start with revenue from a customer or segment. Subtract all variable costs: cloud infrastructure allocated to that customer, third-party API calls, payment processing fees (typically 2.9% + $0.30), variable support costs, and any usage-based costs. Divide the remainder by revenue. For example: $100 MRR minus $8 hosting, $3 payment processing, $5 API costs, $4 variable support = $80. Contribution margin is 80%.
What contribution margin should SaaS companies target?+
Mature SaaS companies target 60-80% contribution margin. The highest-margin products (pure software with minimal infrastructure costs) can exceed 85%. Products with heavy compute requirements (AI/ML, video processing, real-time analytics) often run 40-60% due to infrastructure costs. If your contribution margin is below 40%, you need to either raise prices, reduce variable costs, or reconsider the unit economics of your product.

Explore More PM Terms

Browse our complete glossary of 100+ product management terms.