Free calculator · No signup
Contribution Margin Calculator
Enter your price, what one sale costs you and how many you sell. See what each sale leaves over to pay fixed costs, and what is left as profit.
Your numbers
What one customer pays for one sale, before sales tax.
Every cost that rises with one more sale: materials, packaging, shipping, payment fees, commission.
Actual or planned sales, for example in one month.
Optional. Costs you pay even with no sales: rent, software, salaries. Enter 0 to skip.
Your contribution margin
Contribution margin per unit
$24.00
Each sale leaves $24.00, or 60% of the price, to pay fixed costs and then become profit.
- Contribution margin ratio
- 60%
- Revenue
- $20,000
- Total variable costs
- $8,000
- Total contribution margin
- $12,000
- Share of fixed costs covered
- 150%
- Operating profit or loss
- $4,000
- Break-even units
- 334 units
Short answer
Contribution margin is the price of one unit minus the variable cost of that unit. It is the money each sale leaves over to pay your fixed costs and, once those are covered, to become profit. The contribution margin ratio is the same amount divided by the price, shown as a percentage.
Updated · Team Fonda
How to use the contribution margin calculator
- Price per unit: what one customer pays for one sale, before sales tax. A unit can be a product, an hour, a project or a subscription month. If you sell several things, start with your top seller and run the others one at a time.
- Variable cost per unit: every cost that goes up when you make one more sale. That includes materials and stock, but also packaging, shipping, card fees, marketplace fees and sales commission.
- Units sold in the period: your actual sales for one month, or the number you plan for. The calculator multiplies the per-unit figures by this to get totals.
- Fixed costs in the period: optional. Rent, software, insurance and salaries that you pay even in a month with no sales. With this filled in, you also see your profit and your break-even point.
Keep every input in the same period. If you know a cost only per year, divide it by 12 before you enter a monthly figure.
The contribution margin formula
Formula
Contribution margin per unit = price per unit - variable cost per unit. Contribution margin ratio = contribution margin per unit / price per unit x 100. Total contribution margin = contribution margin per unit x units sold. Operating profit = total contribution margin - fixed costs.
The calculator also shows two figures that come straight from these. Share of fixed costs covered is total contribution margin / fixed costs x 100. Above 100% means you made a profit in the period. Break-even units is fixed costs / contribution margin per unit, rounded up to the next whole unit because you cannot sell part of one. The break-even calculator goes further on that question, with break-even revenue and margin of safety.
Some textbooks define contribution margin only for the whole period (revenue - total variable costs). That gives the same total as per unit x units sold, so the calculator shows both.
A worked example
Say you sell a skincare gift set online for $40. The products inside cost you $10, packaging $2, shipping $3 and the payment fee $1, so the variable cost is $16 a set. You sell 500 sets a month, and your fixed costs (software, a storage unit and a part-time helper) are $8,000 a month.
Scroll sideways to see the whole table.
| Step | Calculation | Result |
|---|---|---|
| Contribution margin per unit | $40 - $16 | $24.00 |
| Contribution margin ratio | $24 / $40 | 60% |
| Revenue | 500 x $40 | $20,000 |
| Total variable costs | 500 x $16 | $8,000 |
| Total contribution margin | 500 x $24 | $12,000 |
| Share of fixed costs covered | $12,000 / $8,000 | 150% |
| Operating profit | $12,000 - $8,000 | $4,000 |
| Break-even units | $8,000 / $24, rounded up | 334 units |
These are example numbers, not benchmarks. They are the values the calculator starts with.
Now say you raise the price to $44 and costs stay the same. The margin per set becomes $28, the ratio 63.6%, profit at 500 sets rises to $6,000 and break-even drops to 286 sets. A $4 change in price moved profit by $2,000 a month, because all of it lands in the contribution margin.
How founders use contribution margin
Contribution margin answers the first question about any idea that sells something: does one sale make money before overheads? If it does not, more customers, more ads and more funding only grow the loss. Check it before you spend on launch.
- Pricing. Try a few prices and watch the ratio. Then test the price with real buyers, because a higher price may also mean fewer sales. A pricing strategy built on what the customer gains often supports a higher price than one built on your costs. The markup calculator works the other way, from cost to price.
- Choosing what to sell. Run each product or service on its own. The one with the highest contribution margin per hour or per unit of your time is often not the one with the highest price.
- Testing demand. Break-even units tell you how many customers you must win each month. Compare that with what you learned when you tested the idea. If you need 334 buyers a month and you found 20 interested people, plan the gap honestly.
- Marketing spend. Contribution margin is the most you can afford to pay to win one sale without losing money on it. Compare it with your customer acquisition cost. For repeat customers, the unit economics calculator adds lifetime value.
Investors and lenders often ask for these numbers. If you are writing a plan, Fonda's business plan has 10 chapters, with sources and an appendix, and you can read example plans there without an account.
What the calculator leaves out
- Product mix. The calculator handles one price and one cost. If you sell several products, run each separately or use weighted averages. Your overall ratio changes when the mix changes.
- Costs that change with volume. Supplier discounts at higher volume, and fixed costs that jump in steps, such as a second hire, are treated as constant.
- Discounts, refunds and returns. Enter the price you actually collect on average, after discounts, and add the average cost of refunds to the variable cost per unit.
- Cash timing and taxes. Contribution margin is about profit, not cash. You can have a healthy margin and still run short if you buy stock months ahead. See cash flow.
Frequently asked questions
What is the difference between contribution margin and gross margin?
Gross margin subtracts the cost of goods sold, which accounting rules define, and it can include some fixed production costs. Contribution margin subtracts every cost that varies with sales, including things like sales commission and card fees that sit outside cost of goods sold. Use gross margin for financial statements and contribution margin for pricing and break-even decisions. The gross margin calculator covers the other one.
What is a good contribution margin ratio?
There is no single good number, because it depends on your fixed costs and your volume. A business with high fixed costs and low volume needs a high ratio. A business with very high volume can live on a thin one. The real test is whether total contribution margin covers your fixed costs at a number of sales you can reach.
Is labor a variable or a fixed cost?
It depends on how you pay it. Staff on a salary are a fixed cost because you pay them whether or not you sell. Contractors or hourly workers paid per job are a variable cost. Your own time is usually left out of variable cost, but if you want to pay yourself, count it in fixed costs.
Can contribution margin be negative?
Yes. It is negative when the variable cost of a sale is higher than its price, which happens with deep discounts, high shipping costs or marketplace fees you did not count. In that case every sale loses money and there is no break-even point at any volume.
Related tools and guides
Add this calculator to your website
Free to use on any site. Paste this code where you want the calculator to appear, and keep the credit link.
<iframe src="https://fonda.co/embed/contribution-margin-calculator" title="Contribution Margin Calculator" width="100%" height="720" style="border:0;max-width:960px" loading="lazy"></iframe>
<p style="font-size:13px"><a href="https://fonda.co/tools/contribution-margin-calculator">Contribution Margin Calculator</a> by Fonda</p>