Contribution Margin Calculator: Per Unit, Ratio and Break-Even

Contribution Margin Calculator: a business owner working out numbers with a calculator and laptop

Quick summary: Contribution margin is the selling price minus the variable costs of each unit. It’s what each sale contributes toward fixed costs and then profit. A $40 product with $20 of variable costs has a $20 contribution margin and a 50% ratio. This contribution margin calculator also finds break-even units and the sales needed for a profit target.

Free tool, no sign-up, and your numbers stay in your browser. Formulas follow OpenStax Principles of Managerial Accounting, section 3.1. Last reviewed November 23, 2026.

Jump to a section (14)
  1. How do you use the contribution margin calculator?
  2. How do you calculate contribution margin?
  3. How do variable and fixed costs compare?
  4. How do contribution margin and break-even connect?
  5. How do contribution margin and gross margin compare?
  6. What is a contribution margin income statement?
  7. How do you use contribution margin to make decisions?
  8. What is a good contribution margin?
  9. Where do these numbers and rules come from?
  10. What does a 40% contribution margin mean?
  11. Is a 30% contribution margin good?
  12. What would I tell a friend about the contribution margin calculator?
  13. Frequently asked questions
  14. Related guides and tools
Your first step today

Do this today

Enter one product's price and variable costs to see how much each sale contributes toward your fixed costs.

Start small. Your first goal is $500 a month. That is where I started. — Trent

Get the free Startup Kit

Five free files: a startup checklist (PDF), a one-page business plan (Word and PDF), a full plan template (Word), a financials workbook (Excel), and a startup cost worksheet (Excel). Enter your email and the downloads open on the next page. No credit card.

Free Startup Kit signup

How do you use the contribution margin calculator?

  1. Enter the selling price of one unit, after any standard discount.
  2. Enter every variable cost per unit: product or materials, labor that’s paid per piece or per hour of production, packaging and shipping, and other per-sale costs like commissions.
  3. Enter payment or marketplace fees as a percentage of the price. Card processing and Etsy, Amazon or Shopify fees all rise with every sale.
  4. Optionally, add units sold, fixed costs for the same period, and a target profit to see total contribution, operating profit, break-even units and the volume you need.

The defaults show a $40 product with $20.20 of variable costs, including a 3% payment fee. It contributes $19.80 per sale, so with $12,000 of fixed costs it breaks even at 607 units.

How do you calculate contribution margin?

There are three versions of the formula. All of them use the same inputs:

MeasureFormulaExample ($40 price, $20 variable cost, 1,000 units)
Contribution margin per unitSelling price − variable cost per unit$40 − $20 = $20
Contribution margin ratioContribution margin ÷ selling price × 100$20 ÷ $40 = 50%
Total contribution marginTotal revenue − total variable costs (or CM per unit × units)$40,000 − $20,000 = $20,000

Step by step:

  1. Start from the actual selling price, net of discounts, not the list price.
  2. Add up every cost that rises or falls with one more unit sold.
  3. Subtract variable costs from the price. That’s contribution margin per unit.
  4. Divide by the price to get the ratio. A 50% ratio means 50 cents of each sales dollar is left to pay fixed costs and earn profit.
  5. Multiply by units sold to get total contribution margin for the period.

How do variable and fixed costs compare?

The answer is only as good as your cost split. A cost is variable if it changes with each unit or order:

CostVariable?Why
Raw materials, wholesale product costYesEvery unit uses them
Packaging, shipping you pay, fulfillment feesYesCharged per order or unit
Card processing and marketplace feesYesA percentage of each sale
Sales commissionsYesPaid per sale
Piece-rate or hourly production laborUsuallyVaries if hours flex with output; a salaried crew acts fixed
Rent, insurance, software subscriptionsNoSame bill whether you sell 10 units or 1,000
Owner and office salariesNoDon’t change with each sale
AdvertisingDependsFixed monthly budgets are fixed; per-sale affiliate or ad costs can be treated as variable

Semi-variable costs, like a utility bill with a base charge plus usage, should be split into their fixed and variable parts. Whatever you decide, apply it the same way every month so the numbers stay comparable.

Motivational sign: Hustle has no off season.
Slow months are the time to line up the next customers.

How do contribution margin and break-even connect?

Contribution margin is the engine of break-even analysis:

  • Break-even units = fixed costs ÷ contribution margin per unit
  • Break-even sales dollars = fixed costs ÷ contribution margin ratio
  • Units for a target profit = (fixed costs + target profit) ÷ contribution margin per unit
  • Margin of safety = (actual units − break-even units) ÷ actual units

Example: a candle maker sells candles for $24. Wax, wick, jar, fragrance and label cost $7, packaging and shipping supplies $2, and fees are 6.5% of the price ($1.56). Contribution margin is $24 − $10.56 = $13.44 (56%). With $1,800 a month of fixed costs (studio rent, software, insurance), break-even is $1,800 ÷ $13.44 = 133.9, so 134 candles a month. To earn $2,000 a month on top, she needs ($1,800 + $2,000) ÷ $13.44 = 283 candles. For more break-even scenarios, use the break-even calculator.

How do contribution margin and gross margin compare?

Contribution marginGross margin
SubtractsAll variable costs, including selling costs like fees, commissions and shippingCost of goods sold, which can include fixed production overhead
Used forPricing, break-even, product decisions, “should we take this order?”Financial statements and tax returns
Appears onInternal contribution margin income statementStandard profit and loss statement

For a product business, contribution margin is usually lower than gross margin because it also subtracts per-sale selling costs. See the gross profit calculator for the P&L view and the profit margin calculator for net margin.

What is a contribution margin income statement?

A contribution format income statement groups costs by behavior instead of by function. Here’s a month for the candle business above at 300 candles:

LineAmountPer unit
Sales (300 × $24)$7,200$24.00
Variable costs (300 × $10.56)$3,168$10.56
Contribution margin$4,032$13.44
Fixed costs$1,800
Operating profit$2,232

Because fixed costs don’t move with volume, every extra candle sold above break-even adds the full $13.44 to profit. That’s why this format makes “what if” questions so easy to answer.

How do you use contribution margin to make decisions?

  • Which products to push. When time, oven space or ad budget is limited, rank products by contribution margin per unit of the scarce resource, not by price. A $15 item that contributes $9 in 10 minutes beats a $40 item that contributes $16 in an hour.
  • Whether to drop a product. A product with a positive contribution margin is still helping pay fixed costs, even if it looks unprofitable after overhead is allocated. Dropping it only helps if those fixed costs actually go away or the capacity can earn more elsewhere.
  • Discounts and promotions. A 20% discount on the $40 product cuts contribution from $20 to $12. You’d need 67% more sales just to earn the same total contribution.
  • Special orders. If you have spare capacity, a bulk order priced above variable cost adds profit, as long as it doesn’t undercut regular customers.
  • Ad spend. Contribution margin per order is the most you can spend to acquire that order and still break even on it.

What is a good contribution margin?

There’s no universal target, because businesses with high fixed costs need higher ratios. Software and digital products often keep most of each sale because variable costs are tiny. Resellers, restaurants and contractors work on thinner ratios and rely on volume. The better test is your own math: your total contribution margin must cover fixed costs and leave the profit you want. Run that test with your real numbers in the calculator, then set prices with the pricing calculator.

Where do these numbers and rules come from?

I rechecked the official rules that apply to the contribution margin calculator on IRS Publication 334, Tax Guide for Small Business, SBA guide to marketing and sales, and SBA guide to calculating startup costs. If one of those official pages is updated after November 2026, use the new figure. This contribution margin calculator page is a guide, not a substitute for the rule itself.

What does a 40% contribution margin mean?

A 40% contribution margin means 40 cents of every sales dollar is left after variable costs. That 40 cents first pays your fixed costs, like rent and software, and whatever is left after that is profit. On a $50 product, a 40% ratio means $20 of contribution and $30 of variable cost per unit.

The ratio also tells you how much you need to sell. Divide fixed costs by the ratio: with $10,000 of monthly fixed costs and a 40% ratio, you break even at $25,000 in sales.

Is a 30% contribution margin good?

It depends on your fixed costs, not on a universal benchmark. A 30% ratio is fine for a business with low overhead and high volume, and it’s thin for one with a big lease. The table shows how much you’d have to sell each month to cover $10,000 of fixed costs at each ratio.

If the sales number in your row looks out of reach, raise prices, cut variable costs, or lower fixed costs before you push for more volume.

Contribution margin ratioMonthly sales to cover $10,000 fixed costsSales for $10,000 fixed + $5,000 profit
10%$100,000$150,000
20%$50,000$75,000
30%$33,333$50,000
40%$25,000$37,500
50%$20,000$30,000
60%$16,667$25,000

What would I tell a friend about the contribution margin calculator?

I’ve started over 20 different businesses, and here is the short version on the contribution margin calculator. Contribution margin tells you how much of each sale is left after variable costs to cover rent and pay yourself. If that number is thin, no amount of volume will feel good.

— Trent Powell

Read next: the break-even calculator, the gross margin calculator, and pricing strategies, or go back to all calculators and tools.

Frequently asked questions

What is the contribution margin formula?

Contribution margin = selling price − variable costs. Per unit, subtract variable cost per unit from the price. In total, subtract total variable costs from total revenue. The contribution margin ratio is contribution margin ÷ selling price × 100.

How do you calculate contribution margin per unit?

Subtract the variable cost of one unit from its selling price. A product that sells for $50 with $18 of materials, $4 of packaging and $2 of fees has a contribution margin of $50 − $24 = $26 per unit.

How do you calculate the contribution margin ratio?

Divide contribution margin by the selling price (or total contribution by total revenue) and multiply by 100. A $26 contribution on a $50 price is a 52% contribution margin ratio.

Is contribution margin the same as gross profit?

No. Gross profit subtracts cost of goods sold, which can include fixed production overhead. Contribution margin subtracts only variable costs, including selling costs like fees, commissions and shipping, so it’s built for pricing and break-even decisions.

Can contribution margin be negative?

Yes. If variable costs are higher than the price, each sale loses money before fixed costs are paid. Selling more makes the loss bigger, so you need to raise the price or cut variable costs.

How does contribution margin relate to break-even?

Break-even units equal fixed costs divided by contribution margin per unit. With $6,000 of fixed costs and a $20 contribution margin, you break even at 300 units.

What is a 30% margin on $100?

If $100 is the price, a 30% margin is $30, and costs can be $70. If $100 is your cost and you want a 30% margin, the price is $100 ÷ 0.70 = $142.86, not $130. Adding 30% to cost is a 30% markup, which is only about a 23% margin.

General information, not financial advice. Last reviewed November 23, 2026.