Contribution Margin Calculator – Per Unit, Ratio & Total Contribution

Calculate contribution margin from selling price and variable cost, or find the selling price needed for a target contribution margin ratio. See unit contribution, total contribution and fixed-cost coverage.

Contribution margin inputs

Enter only costs that vary with the sales or production volume used in this analysis.
Used only to estimate how much of fixed costs the total contribution covers.
Quick presets

Load a scenario, then adjust any input.

Contribution margin result

Contribution margin per unit
—
Contribution margin ratio
—
Selling price / unit
—
Variable cost ratio
—
Total contribution
—
Fixed-cost coverage
—
After entered fixed costs
—

—

What does your result mean?

Enter selling price and variable cost to interpret the result.

Does the contribution cover fixed costs?

—

What affects the result most?

—

What should you do next?

—

Continue your calculation

Use contribution margin to connect unit economics with fixed-cost coverage, break-even and profit planning.

What is contribution margin?

Contribution margin measures how much revenue remains after the variable costs associated with the units sold are deducted. That remaining amount first contributes to fixed costs. Once fixed costs for the relevant period are covered, additional positive contribution can support operating profit.

This makes contribution margin especially useful for pricing, product decisions, short-term sales analysis and break-even planning. It is not the same as net profit. Rent, many salaries, insurance, software subscriptions, depreciation, financing costs and taxes may still need to be paid after variable costs.

Contribution margin formulas

Contribution margin per unit = Selling price per unit − Variable cost per unit
Contribution margin ratio = Contribution margin per unit ÷ Selling price per unit × 100%
Total contribution margin = Contribution margin per unit × Quantity

If you know the variable cost and want a selling price for a target contribution margin ratio, rearrange the ratio formula:

Selling price = Variable cost per unit ÷ (1 − Target contribution margin ratio)

Use the target ratio as a decimal in the formula. For example, 40% becomes 0.40.

Worked example

Assume a product sells for $100 and has $60 of variable cost per unit. The contribution margin is $100 − $60 = $40 per unit. The contribution margin ratio is $40 ÷ $100 = 40%.

If 250 units are sold, total contribution is 250 × $40 = $10,000. If fixed costs for the same period are $7,500, the simplified amount remaining after those fixed costs is $2,500.

The result does not prove that the business has $2,500 of final net profit. Any costs omitted from the model still have to be considered.

Where to get the input data

Selling price

Use the actual or planned price for the same unit used in the variable-cost input. If discounts are common, test the realistic net selling price rather than only the list price.

Variable cost

Build it from invoices, bills of materials, fulfilment data, transaction charges or other costs that genuinely change with the relevant volume.

Fixed costs

Use costs for the same month, year or project period as the quantity. Do not mix monthly fixed costs with annual sales volume.

Variable costs vs fixed costs

The usefulness of contribution margin depends on classifying costs consistently. A variable cost changes with the relevant activity level; a fixed cost remains broadly stable within the period and operating range being analyzed.

For a physical product, variable costs might include unit materials, packaging or per-unit fulfilment. For an online service, they might include transaction charges or usage-based infrastructure. Some costs are mixed or step-based and cannot be classified perfectly with one simple rule.

When the classification is uncertain, calculate more than one scenario. A conservative case can treat borderline costs as variable, while another case can keep them separate. The difference shows how sensitive the decision is to the cost model.

Contribution margin vs gross margin

These measures can look similar because both compare revenue with costs, but they answer different questions. Contribution margin focuses on variable costs for internal decision-making. Gross margin commonly compares sales with the accounting cost of goods sold. The exact items included in cost of goods sold depend on the business and accounting method.

Do not replace one percentage with the other without checking the cost definition. Two reports can show different margins even when they use the same selling price because they subtract different cost categories.

Does your result look realistic?

A positive contribution margin means each additional unit contributes something toward fixed costs. A zero contribution means the sale covers only the variable cost entered. A negative contribution means selling one more unit makes the pre-fixed-cost position worse under the current assumptions.

There is no universal “good” contribution margin ratio for every industry. A realistic ratio depends on pricing power, cost structure, volume, fixed-cost intensity and what has been classified as variable. Compare like-for-like products and periods rather than relying on a generic target.

If the result looks unexpectedly high, check whether variable costs are missing. If it is unexpectedly low, verify whether a cost that is actually fixed has been pushed into the per-unit variable-cost figure.

What affects the result most?

The two direct drivers are selling price and variable cost per unit. Raising price increases contribution dollar-for-dollar if variable cost does not change. Reducing variable cost has the same direct effect on contribution per unit.

Quantity does not change the contribution margin ratio when unit economics stay constant, but it scales the total contribution available to cover fixed costs. This is why a strong unit contribution can still fail to cover high fixed costs at low sales volume.

Test discounts carefully. When variable cost stays constant, a 5% price cut can reduce contribution by much more than 5% in percentage terms. The dynamic interpretation above shows the effect of a 5% price change and a 5% variable-cost change for your current inputs.

What to do with the result

  1. Confirm the variable-cost definition. The result is only as useful as the cost classification behind it.
  2. Compare products or services consistently. Use the same rules for variable costs when comparing contribution margins.
  3. Test price changes and discounts. Recalculate before approving promotions or negotiated prices.
  4. Compare total contribution with fixed costs. A positive unit contribution alone does not guarantee overall profitability.
  5. Recalculate when assumptions move. Supplier prices, shipping, payment fees and selling prices can change the result quickly.

For business and economics students

Contribution margin is a core cost-volume-profit concept. Let P be selling price per unit, V variable cost per unit and Q quantity. Unit contribution is P − V. Total contribution is Q(P − V). The contribution margin ratio is (P − V) ÷ P.

Fixed costs are not subtracted when calculating contribution margin itself. They are covered by the total contribution. In a simplified single-product model, operating result after fixed costs is total contribution minus fixed costs.

Exercise 1

A product sells for $80 and has variable costs of $48 per unit. Find contribution margin per unit and the contribution margin ratio.

Exercise 2

A service has variable cost of €30 and needs a 50% contribution margin ratio. Find the required selling price and contribution per service.

Exercise 3

A product sells for £25, variable cost is £10, 600 units are sold and fixed costs are £7,000. Find total contribution and the simplified amount after fixed costs.

Decision-support model: this calculator uses the variable and fixed costs you enter. It does not automatically account for taxes, financing, capacity constraints, product mix, stepped costs, returns, discounts or costs omitted from your model. Use consistent periods and cost definitions before making a pricing or profitability decision.

FAQ – contribution margin, variable costs and contribution margin ratio

What is contribution margin?
Contribution margin is sales revenue minus variable costs. On a per-unit basis it is selling price per unit minus variable cost per unit. The amount is available to cover fixed costs and, after those are covered, operating profit.
What is the contribution margin formula per unit?
Contribution margin per unit = selling price per unit − variable cost per unit.
How do I calculate the contribution margin ratio?
Divide contribution margin per unit by selling price per unit and multiply by 100. The same ratio can also be calculated from total contribution margin divided by total sales revenue.
What does a 40% contribution margin ratio mean?
Under the cost assumptions entered, 40% of each sales currency unit remains after variable costs to cover fixed costs and then profit. It does not mean the business earns a 40% net profit.
Is contribution margin the same as gross margin?
Not necessarily. Contribution margin subtracts variable costs defined for the analysis, while accounting gross margin generally uses cost of goods sold. Those cost categories can differ, so the percentages should not be treated as interchangeable.
Is contribution margin the same as markup?
No. Markup normally compares a profit amount with cost. Contribution margin ratio compares contribution margin with sales revenue and focuses specifically on variable costs.
Can contribution margin be negative?
Yes. If variable cost per unit is higher than selling price, each additional unit creates a negative contribution before fixed costs. This usually signals that price, variable cost or the cost classification needs review.
Can the contribution margin ratio be 100%?
It can reach 100% only when the variable cost used in the model is zero. In target-price mode, the calculator requires a target below 100% because a positive variable cost cannot support a finite price at a 100% ratio.
Which costs should be treated as variable costs?
Include costs that change with the volume relevant to your decision, such as unit materials, per-order fulfilment or transaction-linked charges when they truly vary with sales. Classification depends on the business and time horizon.
Should fixed costs be included in variable cost per unit?
No. Keep fixed costs separate in this calculator. The optional fixed-cost input is used only to show whether total contribution from the entered quantity covers those fixed costs.
Why does quantity not change the contribution margin ratio?
If selling price and variable cost per unit stay constant, quantity scales revenue, variable costs and total contribution by the same factor. The per-unit contribution and ratio therefore remain unchanged.
How do I calculate a selling price for a target contribution margin ratio?
For positive variable cost, selling price = variable cost per unit ÷ (1 − target contribution margin ratio as a decimal). The calculator can solve this directly in target mode.
Does the calculator include VAT, sales tax or income tax?
No. Use selling prices and costs on a consistent tax basis appropriate to your analysis. Tax treatment differs by jurisdiction and accounting context.
Why can the real operating result differ from this estimate?
Actual results can differ because of mixed cost behavior, stepped fixed costs, returns, discounts, capacity constraints, product mix, taxes and changes in price or cost. Recalculate when assumptions change.