Contribution Margin Calculator

Calculate contribution margin per unit and ratio from revenue and variable costs.

By Konstantin Iakovlev · Updated September 2026 · Source: SBA — Business Guide

$
$

Contribution Margin

$60,000.00

CM Ratio

60.00%

CM per Unit

$12.00

Per Unit Breakdown

Price per Unit$20.00
Variable Cost per Unit$8.00
Contribution per Unit$12.00

Use the Contribution Margin Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.

How It Works

Contribution margin tells you how much each product or service actually adds toward covering fixed costs and producing profit, which is why it sits at the center of so many pricing and product decisions. Once you can see which offerings pull their weight and which barely move the needle, choices about pricing, sales targets, and where to focus become far clearer. The metric is a direct read on the financial health of an individual line, not just the business as a whole.

Two formulas do the work here, and the calculator works from totals: enter total revenue, total variable costs and units sold, and it divides by units to get the per-unit figures. Contribution Margin Per Unit comes from subtracting the Variable Cost Per Unit from the Selling Price Per Unit. From there, the Contribution Margin Ratio divides that per-unit margin by the Selling Price Per Unit, or equivalently divides total contribution margin by total revenue, and expresses the result as a percentage.

The cost side is where accuracy is won or lost: include only the costs that rise and fall with production volume, and keep fixed costs out of the calculation entirely. Strip returns and discounts out of your revenue figures so they reflect what you genuinely collected. Refresh your inputs often, because shifting material and labor costs can quietly erode a margin you assumed was stable.

Example: Contribution Margin for a New AI Software Subscription

  1. 1 A software company, 'InnovateAI Solutions,' sells an AI-powered analytics subscription at $150 per month. In its first full month it bills 1,000 subscriptions, for total revenue of $150,000.
  2. 2 Variable costs per subscription are server hosting ($20), customer support ($15), and third-party API usage fees ($10), or $45 in total, so total variable costs are $45 × 1,000 = $45,000. Enter $150,000, $45,000 and 1,000 units.
  3. 3 Contribution Margin = $150,000 − $45,000 = $105,000. CM Ratio = $105,000 / $150,000 = 70.00%. CM per Unit = $105,000 / 1,000 = $105.00, the same as $150 − $45.
  4. 4 Each subscription contributes $105 toward fixed costs such as R&D and marketing, and 70 cents of every sales dollar is left after variable costs. That margin leaves room for pricing adjustments or more marketing spend.

Source: SBA — Business Guide · Last updated: September 2026

Frequently Asked Questions

What is a good contribution margin ratio?
It varies by industry. Software companies often exceed 80%, while retail may be 20-40% and manufacturing 30-50%. A higher ratio means more of each sales dollar goes toward covering fixed costs and profit.
How is contribution margin different from gross margin?
Contribution margin subtracts only variable costs from revenue, while gross margin subtracts all cost of goods sold including fixed manufacturing overhead. Contribution margin is more useful for break-even and pricing decisions.
Can contribution margin be negative?
Yes. If variable costs per unit exceed the selling price, the contribution margin is negative, meaning every unit sold increases your losses. You should either raise prices or reduce variable costs immediately.