Financial Planning

Contribution Margin: Formula, Ratio and Gross-Margin Comparison

Learn how to calculate margin measures using explicit variable and product cost definitions. Includes an original example and practical worksheet.

By Finta Editorial TeamReviewed by AI-assisted editorial/source reviewPublished December 5, 2026Last reviewed December 5, 2026

An emerald glass disc has a separate amber wedge above a clear base beside a lagoon.

What you will learn

  • Calculate contribution margin per unit, in total and as a ratio.
  • Explain why gross margin can differ.
  • Use an original price-change scenario without mistaking it for a pricing recommendation.

Contribution margin is revenue minus variable costs. It shows the amount available to cover fixed costs and, after those are covered, contribute to operating profit. Contribution margin ratio divides that amount by revenue.

Contribution margin and gross margin are not interchangeable. One classifies costs by behavior; the other uses cost-of-sales or cost-of-goods-sold accounting classifications. Define the costs before comparing percentages.

What you will learn

  • Calculate contribution margin per unit, in total and as a ratio.
  • Explain why gross margin can differ.
  • Use an original price-change scenario without mistaking it for a pricing recommendation.

How do you calculate contribution margin?

  • Per unit = selling price per unit − variable cost per unit.
  • Total = revenue − total variable costs.
  • Ratio = contribution margin ÷ revenue, multiplied by 100 for a percentage.

OpenStax's managerial accounting lesson explains these forms. The calculations below are original fictional examples, not extracted textbook exercises.

Cost behavior depends on the period and relevant operating range. A salaried team may be fixed over this month's volume range but not under a major expansion. A usage-based service may be variable, while its minimum commitment behaves differently. Do not classify costs solely from their account names.

An original subscription example

Fictional assumptions: A service sells 100 subscriptions for $100 each. Per subscription it incurs $20 of usage costs, $3 of payment costs and $7 of variable onboarding labor. It also incurs $4,000 of fixed operating costs for the period.

Original contribution calculation

ItemCalculationResult
Revenue100 × $100$10,000
Variable costs100 × ($20 + $3 + $7)$3,000
Contribution margin$10,000 − $3,000$7,000
Contribution margin ratio$7,000 ÷ $10,00070%
Illustrative operating result$7,000 − $4,000 fixed costs$3,000

The final line is limited to the costs stipulated here. It is not a complete net-income or cash-flow calculation.

What happens to contribution margin after a discount?

If price falls to $90 while stipulated variable cost stays $30, unit contribution falls from $70 to $60. Maintaining $7,000 total contribution would require $7,000 ÷ $60, or about 116.7 units. With whole subscriptions, 117 units would contribute $7,020.

This arithmetic does not predict that 17 extra customers will buy. Demand, capacity, retention and cost changes are separate assumptions. Use it to frame a question, not justify a discount without evidence.

How is contribution margin different from gross margin?

Gross margin subtracts the costs your accounting policy assigns to cost of sales. Some can be fixed. Contribution margin subtracts variable costs, including relevant variable selling costs that may sit outside cost of sales.

A cost can affect the two measures differently

Stipulated costContribution treatmentGross-margin question
Usage costIncluded if variable with the defined activity.Is it classified in cost of sales?
Sales commissionIncluded when variable for this analysis.Is it outside cost of sales under the actual policy?
Fixed production expenseOutside contribution under a variable-cost view.Is it included in cost of sales?

Use the existing cost-of-goods-sold lesson to inspect the accounting classification and break-even analysis for the next planning question.

Is a 30% contribution margin good?

There is no universal answer. Compare the defined margin with the fixed costs it must support, the operating range and the alternatives under consideration. A higher percentage on a small volume can contribute fewer dollars than a lower percentage on a larger, feasible volume.

Copy the cost-definition worksheet

Decision and period:
Product / segment / unit:
Price and expected volume:
Variable costs with source and behavior evidence:
Fixed costs in the relevant range:
Mixed or minimum-commitment costs:
Unit / total / ratio contribution margin:
Gross-margin cost-classification bridge:
Alternative scenario and changed assumptions:
Capacity and demand assumptions still untested:
Reviewer and next evidence needed:

Copyable AI prompt

Try this with Aurora AI in Finta, Codex, or Claude.

Using [authorized revenue and cost records], calculate contribution margin per unit, in total and as a ratio for [period]. Show cost-behavior assumptions and a separate gross-margin classification bridge. Calculate [scenario] without predicting demand or treating missing costs as zero. Label unknowns and return arithmetic for reviewer verification. Do not change prices or provide individualized financial advice.

Finta's Finances template can organize a source-linked calculation. Ask your accounting owner to confirm classifications before relying on a business decision.