Skip to content

Contribution Margin Calculator

Enter a selling price and the variable cost of one unit to get the contribution margin in dollars, as a percentage of price, and as a ratio. Contribution margin is what each sale leaves to cover fixed costs and profit after the costs that move with the unit. It is not net profit: rent, salaries, and marketing are not included. This is an educational estimate, not accounting advice.

Updated 2026-11-18 Editorial estimate Calccc Editorial Team Free · No sign-up
$
$

Materials, packaging, shipping, and payment fees — costs that change with each unit sold.

Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

Contribution margin answers a narrow, useful question: after paying for the materials, packaging, fees, and shipping that scale with one more unit, how much is left? That leftover is what a business spends on fixed costs such as rent and salaries, and only after those are covered does it become profit. Because the measure is per unit and per sale, it is the right input for break-even, for deciding whether a discount still makes money, and for judging whether ad spend can pay for itself. Mixing fixed costs into the variable cost figure destroys all three uses, which is why the definition of variable cost matters more than the arithmetic.

How to use it

  1. Enter the selling price for one unit, before tax.
  2. Enter the variable cost of that unit, not the total cost.
  3. Read the contribution margin in dollars.
  4. Read the contribution margin percentage and ratio to see how much of each sales dollar is left.
  5. Test a lower price or a higher cost to see how the margin responds.

How it works

Contribution margin = price - variable cost per unit. Contribution margin percentage = (contribution margin / price) × 100. Contribution margin ratio = contribution margin / price, the same figure without the percentage sign. Variable cost covers costs that change with each unit sold: materials, packaging, payment processing, marketplace fees, and outbound shipping. Fixed costs such as rent, salaried staff, and software subscriptions are excluded. The ratio is the bridge to break-even: break-even sales in dollars = fixed costs / contribution margin ratio.

Example calculations

Example 1: $50 price, $30 variable cost

Contribution margin is $20 per unit, the percentage is 40%, and the ratio is 0.40. With $8,000 of fixed costs per month, break-even is $8,000 / 0.40 = $20,000 of sales, or 400 units.

Example 2: $120 price, $75 variable cost

Contribution margin is $45, the percentage is 37.5%, and the ratio is 0.375. The dollar margin is more than double example 1, but each sales dollar contributes less, so fixed costs need proportionally more revenue to cover.

Example 3: $20 price, $21 variable cost

Contribution margin is -$1 and the percentage is -5%. Every unit sold loses a dollar before any fixed cost is paid. Discounting this product makes the loss larger, not smaller.

What the result means

A healthy contribution margin ratio gives a business room to absorb fixed costs, discounts, and returns. A high ratio with high fixed costs can still lose money, while a low ratio with low fixed costs can be durable, so the ratio is a means rather than a verdict. Read it together with unit volume: $20 of margin on 10,000 units is a different business from $45 on 300 units. Watch the trend, because a slowly falling ratio often means supplier price increases or fee changes were absorbed instead of passed on. And be careful with discounts: a 10% price cut on a 40% margin ratio removes a quarter of the contribution, so discount depth should be set by the margin, not by habit.

Common mistakes

  • Including fixed costs such as rent or salaries in the variable cost.
  • Using the markup percentage where the margin percentage is needed.
  • Leaving payment fees, shipping, or returns in the price instead of the cost.
  • Comparing margin ratios across industries with different cost structures.
  • Treating contribution margin as profit and ignoring the fixed costs it must cover.

Assumptions and limits

  • Price and cost refer to one unit in the same currency.
  • Variable cost includes only costs that change with volume.
  • The figures exclude sales tax and any recoverable tax.
  • Each unit sells at the same price, with no mixing of variants.
  • Returns, if material, are reflected either in price or in cost.

Frequently asked questions

What is the difference between contribution margin and gross margin?

Gross margin subtracts cost of goods sold from revenue. Contribution margin subtracts all variable costs, which may also include shipping, payment fees, and commissions. For a simple retailer the two are close; for a marketplace seller they can differ a lot.

Is contribution margin the same as profit?

No. It is what is left before fixed costs. A business with a 50% contribution margin and fixed costs larger than total contribution loses money.

How do I use the ratio for break-even?

Divide total fixed costs by the ratio. With a 0.40 ratio and $8,000 of fixed costs, break-even sales are $20,000. Divide by the contribution per unit to get break-even units.

Should shipping be in the price or the variable cost?

If the customer pays for shipping separately, keep it out of both and treat it as its own line. If shipping is free to the customer, its cost belongs in the variable cost so the margin reflects the real economics.

Can contribution margin be negative?

Yes, when variable cost exceeds price. That means each sale loses money before fixed costs. It can be temporary for a loss leader, but it must be deliberate and funded by another product.

Why does a small discount hurt so much?

The discount comes straight out of contribution, not revenue. On a $50 price with $20 of contribution, a 10% discount removes $5, which is a quarter of the margin, while revenue falls only 10%.

Sources

This calculator is an educational estimate and is not accounting, tax, or financial advice. It uses the price and cost you enter and does not verify how costs were classified. Whether a cost is fixed or variable depends on your business and the time horizon, so confirm the classification with your own records.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Go deeper

Guides that explain the math

Contribution Margin: Formula, Example, and Decision Limits
Business

Contribution Margin: Formula, Example, and Decision Limits

Calculate contribution margin per unit and as a ratio, use it for break-even and product decisions, and see where the metric stops being reliable.

4 min read

Calccc Editorial Team · Updated 2026-11-18

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; not a licensed professional review.