BUSINESS CALCULATOR

Contribution Margin Calculator

Calculate contribution margin per unit and in total: what each sale contributes towards fixed costs and profit.

Reviewed by the Calculator.nu math team
Updated August 2026
Contribution per unit
18
Total contribution
216000
Contribution margin ratio
40 %

The formula

contribution per unit = selling price − variable cost
# total contribution goes first to fixed costs, then to profit

How to calculate contribution margin

Contribution margin is what each sale contributes towards fixed costs once its own variable costs are covered. Until fixed costs are met the contribution absorbs them; after that, every further sale is profit.

The split between fixed and variable costs is the whole exercise. Materials and transaction fees are clearly variable; rent and salaried staff are clearly fixed; utilities and part-time labour need a judgement.

The calculator asks for:

  • Selling price per unit
  • Variable cost per unit — materials, direct labour, packaging, transaction fees
  • Units sold

Everything recalculates as you type, and the numbers in the address bar update with it, so a link to this page carries your figures with it.

Where a figure is not immediately to hand — a precise interest rate, an exact balance — a reasonable estimate is a perfectly good starting point. Because every result updates instantly, refining a rough guess into the real figure once you have it takes a moment, and nothing about the calculation depends on getting it exactly right on the first attempt.

Why contribution margin matters

The formula behind contribution margin is standard and has not changed in decades; what changes is the situation it gets applied to. Two households can run the identical calculation and land on very different conclusions once their own numbers — income, rate, term, balance — are dropped in, which is why a generic textbook example is less useful than a calculator you can adjust to match your own circumstances.

Beyond a one-off check, the same calculation is worth revisiting whenever the underlying numbers change — a new interest rate, a change in income, a different term. Because the figures live in the page's own web address, coming back to update just one field and compare the new result against the old one takes seconds rather than starting again from a blank page.

It is also worth being clear about what a single figure like this can and cannot settle on its own. It answers the specific question the formula was built to answer, and nothing more — a favourable contribution margin result does not automatically mean a decision is a good one overall, since plenty of other factors that a formula cannot capture, from personal circumstances to how comfortable a commitment feels, usually matter just as much as the arithmetic. Use the number as one solid input among several rather than the whole of the decision.

In practice, most people arrive at a page like this one having already tried a version of the calculation by hand or in a spreadsheet, and use the calculator here to confirm it rather than replace it. That is a reasonable way to use it — the two should agree to the last decimal place if the same inputs and the same formula are used, and if they do not, the formula shown above is the one to check your own working against first.

Worked example

Work through the defaults on this page:

  • Selling price per unit: 45
  • Variable cost per unit: 27
  • Units sold: 12,000

That gives:

  • Contribution per unit: 18
  • Total contribution: 216,000
  • Contribution margin ratio: 40 %

These figures are only the calculator's own starting values, included so the working is visible rather than hidden inside the tool above. Replace them with your own numbers and the same arithmetic applies — nothing about the method changes, only the inputs feeding it.

Reading the result

Contribution per unit answers pricing and product-mix questions that gross margin cannot. A product with a low percentage margin but high contribution per unit can be worth more than a high-margin one that sells rarely.

Where this goes wrong. Treating labour as variable when it is not. If staff are paid whether or not the order comes in, their cost is fixed for this decision — including it in variable costs makes marginal work look unprofitable when it is not.

A useful check on any unfamiliar result is to compare it against a rough mental estimate first — round the inputs to convenient numbers and see whether the calculator's answer lands in roughly the same territory. A wildly different figure usually means one of the fields was entered in the wrong unit, most often a percentage typed as a whole number where a decimal was expected, or the reverse.

Close but not identical. Gross profit deducts cost of goods sold as the accounts define it, which often includes some fixed production costs. Contribution deducts only genuinely variable costs.

If it covers its variable costs and the capacity would otherwise be idle, it adds contribution and therefore profit. The caution is pricing precedent and displacing better-paid work.

It returns contribution per unit. With 45 selling price per unit, 27 variable cost per unit and 12,000 units sold, that comes to 18. Change any field and the figure moves with it.

Whenever one of the underlying figures changes — a new interest rate, a different balance, an updated term — since the result only reflects what is currently in the fields. There is no need to keep a separate record of past results; the web address for a filled-in version already carries the figures used to produce it.

Not unless a tax rate or a fee is explicitly one of the inputs above. Where it is not, the figure shown is a gross calculation, and any tax due depends on your personal circumstances and current tax rules, which are worth checking separately.

The arithmetic itself is exact — the calculator applies the formula shown above precisely, with no rounding until the final figure is displayed. The uncertainty, where it exists, is entirely in the inputs: an estimated rate or an approximate balance carries that same approximation through to the result.

Was this calculator helpful?

Tap a star to rate it. Your feedback helps us improve the tools people rely on most.