Contribution Margin Calculator and Ratio
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free contribution margin calculator. Get the margin per unit, the contribution margin ratio, total contribution, break-even units and profit.
- Contribution margin ratio
- 0
- Total contribution
- 0
- Break-even units
- 0
- Profit
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the contribution margin calculator
- Enter the selling price per unit, what a customer pays for one item, before sales tax.
- Enter the variable cost per unit: the costs that rise with every sale, such as ingredients, materials, packaging, card fees and sales commission.
- Optionally, enter the units sold, to see the total contribution.
- Optionally, enter your fixed costs for the same period, such as rent, salaries and insurance, to see your break-even point and profit.
The contribution margin calculator shows the contribution margin per unit, the contribution margin ratio, the total contribution, the number of units you need to sell to break even, and your profit or loss. It all runs in your browser.
What contribution margin means
Contribution margin is what's left from each sale after paying the costs that come with that sale. It's the amount each unit "contributes" towards your fixed costs, and once those are covered, towards profit.
Contribution margin per unit = selling price − variable cost per unit
Contribution margin ratio = contribution margin ÷ selling price × 100
If a loaf sells for 5.00 and its ingredients, packaging and card fees cost 1.80, each loaf contributes 3.20, a contribution margin ratio of 64%. Out of every 100 of bread sold, 64 is available to pay rent, wages and other fixed costs.
Fixed costs versus variable costs
Getting this split right is the key to a useful result:
- Variable costs change with the number of units sold: raw materials, ingredients, packaging, shipping per order, payment processing fees, sales commissions, and piece-rate labour.
- Fixed costs stay the same whatever you sell, at least in the short term: rent, salaried staff, insurance, software subscriptions, loan repayments, equipment leases.
Some costs are mixed. Electricity has a fixed part and a part that rises with production; hourly staff may be fixed if their shifts don't change with sales. Make a sensible choice and be consistent.
Break-even point from contribution margin
Once you know the contribution margin, the break-even point follows directly:
Break-even units = fixed costs ÷ contribution margin per unit
Break-even sales = fixed costs ÷ contribution margin ratio
With a contribution of 20 per unit and 10,000 of fixed costs a month, you need to sell 500 units a month to break even. Every unit beyond that adds 20 of profit. The break-even calculator goes deeper into break-even analysis, including targets for profit.
Contribution margin versus gross margin
These two are easy to confuse:
- Gross margin subtracts the cost of goods sold, which accountants calculate following specific rules and which can include some fixed production costs.
- Contribution margin subtracts only variable costs, including variable selling costs such as card fees and commissions that don't appear in cost of goods sold.
Gross margin is what appears in your accounts; contribution margin is a management tool for decisions about pricing, products and volume. The profit margin calculator and the COGS calculator cover gross figures.
Decisions contribution margin helps with
Which products to promote. Products with a higher contribution margin ratio bring in more money towards fixed costs per sale. If your shelf space or production time is limited, favour the products with the highest contribution per hour or per square metre.
Whether to accept a discounted order. If a café wants 200 loaves at 3.50 instead of 5.00, and the variable cost is 1.80, each loaf still contributes 1.70. If you have spare capacity, the order adds 340 to your profit, even though it's below your usual price.
Pricing. If your contribution margin is thin, small price increases make a big difference to profit. The markup calculator helps set a price from cost, and the price elasticity calculator shows how customers may react.
Dropping a product. A product with a positive contribution margin helps pay fixed costs, even if it looks unprofitable after overheads are shared out. Dropping it can make overall profit worse unless something better takes its place.
Common mistakes
Including fixed costs in variable cost. Spreading rent across each unit makes the contribution margin look worse than it is, and leads to bad decisions about discounts and volume.
Forgetting small variable costs. Card fees, packaging, delivery and returns add up, especially for online sales.
Mixing periods. Use monthly fixed costs with monthly unit sales, or yearly with yearly.
Treating the result as permanent. Variable costs change with supplier prices; recalculate when costs move.
Contribution margin for service businesses
The same idea applies to services. A cleaning company's variable costs per job include cleaning supplies, travel and hourly wages paid only for that job. A consultant's might be little more than travel and software usage. Working out the contribution per job or per hour shows which services really pay for the business's fixed costs, and which are busy work.
Using contribution margin in planning
Once you know the contribution margin of each product, planning becomes much easier. You can see how many extra sales a marketing campaign needs to pay for itself (its cost divided by the contribution margin per unit), how much a rent increase means in extra units sold, or what a supplier's price rise does to profit. Many small business owners keep a simple sheet with each product's price, variable cost and contribution margin, and update it whenever costs change, so decisions are always based on current numbers rather than a feeling.
Contribution margin per hour or per oven
When something other than sales limits your business, such as oven time, staff hours or shelf space, compare products by contribution per unit of that limit. If a cake contributes 20 and takes 2 hours of decorating, it earns 10 per decorator hour; if cupcakes contribute 1 each and a decorator can finish 30 an hour, they earn 30 per hour. Prioritising products with the highest contribution per hour of your bottleneck is often the fastest way to raise profit without adding costs. The contribution margin calculator gives the per-unit figure to start from.
A contribution margin calculator for menus
Restaurants and cafés can run every menu item through a contribution margin calculator to find "stars" (popular and high-margin) and items to rethink. It's a quick, practical way to improve profit without raising every price.
Quick tips
- Separate fixed and variable costs carefully.
- Include card fees and packaging in variable costs.
- Recalculate when supplier prices change.
Privacy and accuracy
Everything you enter here, your prices and costs, stays in your browser. Nothing is uploaded, saved on a server or shared, and it's all gone when you close the page, so the tool is safe to use with real figures and private details. The results come from fixed formulas and exact conversion factors, with no AI guessing involved, so the same inputs always give the same answer. It's used every day by owners of shops, cafés and online stores, on phones, tablets and computers, with no sign-up and no limits.
A worked example
A bakery sells a celebration cake for 50. The ingredients, box, decorations and card fee cost 30 per cake. The bakery's fixed costs for the cake side of the business, mainly a part-time decorator's wages and a share of the rent, are 10,000 a month, and it sells about 800 cakes a month during the wedding season.
She enters these into the contribution margin calculator. Each cake contributes 20, a contribution margin ratio of 40%. The total contribution is 16,000, the break-even point is 500 cakes a month, and the monthly profit from cakes is 6,000.
A local hotel asks for 100 cakes a month at 40 each. Each would still contribute 10, adding 1,000 a month in profit, and the decorator has the time. She accepts, but on a three-month contract so she can review it if ingredient prices rise.
Know your margins? Then you know your max CPC
Once you know what a sale is worth, you know what a click is worth, and that is the number a Google Ads account should be built around. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Frequently asked questions
How do I calculate contribution margin?
Subtract the variable cost per unit from the selling price. A product selling for 50 with variable costs of 30 has a contribution margin of 20. This contribution margin calculator does it, with the ratio and break-even.
What is a good contribution margin ratio?
It depends on the industry. Software can exceed 80%; food and retail are often 30% to 70%. Higher is better, as long as volume holds up.
How is contribution margin different from gross margin?
Contribution margin subtracts only variable costs. Gross margin subtracts cost of goods sold, which may include some fixed production costs.
How do I find the break-even point?
Divide fixed costs by the contribution margin per unit. 10,000 ÷ 20 = 500 units.
Can contribution margin be negative?
Yes. If variable costs are higher than the price, every sale loses money, and selling more makes it worse.
Is this contribution margin calculator free?
Yes. It's free, needs no sign-up and runs in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.