MarginCalculator.ioKnow your numbers. Price with confidence.
Free calculators for smarter decisionsExplore tools

Contribution Margin Calculator: Per Unit & Break-Even

Free small-business pricing tool

Contribution Margin Calculator

Calculate contribution margin per unit, contribution margin ratio, total contribution, break-even units, and the sales needed for your target operating profit. Enter variable costs separately to see what each sale contributes toward fixed costs.

1. Enter sales details

Enter values for one product or service. Use the same time period for units sold, fixed costs, and target profit.

No currency conversion is performed.

Net sales revenue before variable costs.

Whole products, jobs, or services.


2. Enter variable costs per unit

Only include costs that vary with each additional sale. Avoid entering the same cost in two fields.

Materials, inventory, or unit production.

Only the part your business pays.

Convert percentage fees to a per-sale amount.

Include labor only if it varies with units.

Returns allowance, sales-linked supplies, etc.


3. Break-even and profit planning

Example: rent or fixed monthly salaries.

An optional planning goal, before income tax.

How to use this contribution margin calculator

  1. Enter the selling price per unit, excluding tax you collect and remit on behalf of a government.
  2. Enter the units sold during your chosen period. A month is a convenient choice, but any consistent period works.
  3. Break down your variable expenses per unit, including products, fulfillment, payment fees, or other sale-linked costs.
  4. Enter your fixed expenses for the same period. Optionally add a target operating profit.
  5. Select Calculate contribution margin. Review the per-unit and total contribution, break-even point, and profit estimate below the button.

Contribution margin formulas

MeasureFormula
Contribution margin per unitSelling price − variable costs per unit
Contribution margin ratioContribution per unit ÷ selling price × 100%
Total contribution marginContribution per unit × units sold
Operating profit estimateTotal contribution − fixed costs
Break-even unitsFixed costs ÷ positive contribution per unit, rounded up
Target-profit units(Fixed costs + target operating profit) ÷ positive contribution per unit, rounded up

These standard cost-volume-profit relationships are described in OpenStax managerial accounting and the U.S. Small Business Administration break-even calculator.

Example: contribution margin and break-even sales

Suppose your product sells for $80. Production costs are $40, shipping is $4, payment fees are $2, and variable sales commission is $1.40. Total variable costs are $47.40 per unit.

Your contribution margin per unit is $32.60. Divide $32.60 by $80 to get a 40.75% contribution margin ratio. If you sell 100 units, total contribution is $3,260. With $2,200 in period fixed costs, estimated operating profit is $1,060. Break-even is 68 whole units because 67 units do not quite cover fixed costs.

If you aim for $1,000 of operating profit for the period, you need 99 units under these assumptions. Taxes, interest and costs you did not enter are not included in this operating profit estimate.

Contribution margin vs. gross profit margin

Contribution margin deducts all costs that vary with sales volume. Gross profit margin compares revenue with the cost of goods sold under the relevant accounting method. Some selling and fulfillment expenses may be variable without being included in cost of goods sold. The two margins are not interchangeable.

Use our Profit Margin Calculator for gross, operating or net margin, or the Reverse Margin Calculator when you need a selling price for a target gross margin. Read our contribution margin guide for more examples and explanations.

Frequently asked questions

What is a good contribution margin ratio?

There is no universal target. It depends on the industry, fixed-cost structure, product mix and costs. Compare the ratio against similar products and your own historical performance before making pricing decisions.

Is contribution margin the same as net profit?

No. Contribution margin is revenue left after variable costs. Net profit also accounts for fixed operating expenses, financing, taxes and other relevant costs.

What costs belong in the variable cost fields?

Include costs that increase with the number of units sold, such as direct material costs, sales-linked shipping, merchant fees and applicable commissions. Avoid double-counting costs.

Can contribution margin be negative?

Yes. When the variable cost per unit exceeds the selling price, each extra sale adds a negative contribution. With a nonpositive contribution per unit, ordinary positive-volume break-even cannot be reached by simply selling more units.

How do I calculate contribution margin per unit?

Subtract all variable costs per unit from the selling price. For example, $80 minus $47.40 equals $32.60.

How is break-even calculated?

Divide the period’s fixed costs by positive contribution per unit. Round up to a whole unit, because you generally cannot sell part of a product. This is a planning estimate and assumes the price and variable costs remain constant.

What is the difference between break-even units and break-even revenue?

Break-even units are the number of products or services needed to cover fixed and variable costs. Break-even revenue is the selling price multiplied by that whole-unit requirement. Theoretical break-even revenue can also be calculated using fixed costs divided by the contribution ratio.

Does the calculator handle multiple products?

It models one product or service at a time. For several products, use a representative weighted-average contribution margin based on an expected sales mix; applying one product’s figures to a mixed portfolio may give a misleading result.

Calculation assumptions and limitations

This calculator assumes a stable unit selling price, constant per-unit variable expenses and a fixed sales mix during the period. It does not model step-fixed costs, tiered pricing, demand changes, returns, taxes, financing costs or volume discounts separately. Add any relevant expected per-sale costs to the inputs and validate important decisions with your financial records.

Educational estimates only. This is not tax, accounting, investment or financial advice. If you are using the result to make major pricing or business decisions, consult a qualified professional and your actual cost records.