Contribution Margin Calculator

How much does each sale actually contribute toward your fixed costs?

Enter your selling price and variable cost per unit to instantly see how much each sale contributes toward covering fixed costs and generating profit. Add units sold to see your total contribution margin.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of each sale as a bucket brigade. The selling price is the full bucket of water. Before any of it reaches the fire — your fixed costs and eventually your profit — you have to set aside the variable cost portion first. Whatever remains after that deduction is the contribution margin: the water that actually moves the brigade forward. Every unit sold adds another bucket to the stream.

The contribution margin ratio tells you what fraction of every revenue dollar survives the variable cost deduction. A ratio of 40% on a $25 sale means that 40% of each dollar collected goes toward covering fixed obligations. The rest exits immediately as material, labor, or shipping cost. This ratio is stable as long as your cost structure stays constant — it does not care whether you sold one unit or one million.

Total contribution margin is where individual unit economics meet business reality. Multiply your per-unit figure by units sold and you have a single number that must exceed your fixed costs before the business earns a profit. This is why contribution margin sits at the center of break-even analysis, pricing decisions, and product mix choices — it connects the behavior of a single transaction to the health of the whole operation.

When To Use This
Right tool, right situation

Use contribution margin analysis any time you are making a pricing decision, evaluating whether to add or drop a product, or trying to understand how many units you need to sell before you stop losing money. It is the right tool when you can cleanly separate variable costs from fixed ones — which is easier in manufacturing, retail, and software than in service businesses where labor is both fixed and variable depending on how it is structured.

It is also the right lens when comparing products in a portfolio. If you have three products and limited production capacity, the one with the highest contribution margin ratio is almost always the one worth prioritizing — it returns the most toward fixed cost coverage per dollar of revenue, which means you reach break-even faster.

Contribution margin analysis is less reliable when cost structures are complex or when a significant portion of costs are semi-variable (costs that step up at certain production thresholds rather than rising smoothly). It also does not capture opportunity cost — a product with a lower ratio might still be worth keeping if it drives customer acquisition that fills your pipeline with higher-margin follow-on sales. Use this tool for the unit economics layer of a decision; layer in qualitative factors and full-cost accounting before making final calls on product mix or pricing strategy.

Common Mistakes
Why results sometimes look wrong

Including fixed costs in the variable cost field. Factory rent, salaried staff, and software subscriptions do not change when you produce one more unit — they belong in a separate fixed cost analysis, not in this field. When fixed costs are folded into variable cost, the contribution margin shrinks artificially, the ratio looks worse than reality, and break-even calculations overstate the units needed. The test: would this cost disappear if you sold zero units this month? If not, it is fixed.

Confusing a high ratio with high profitability. A contribution margin ratio of eighty percent sounds excellent — and it is, if fixed costs are manageable relative to revenue. But a business with a high ratio and enormous fixed costs (a film studio, an airline, a pharmaceutical company) can lose money at scale while reporting impressive per-unit economics. The ratio measures variable cost efficiency, not overall business health. Always pair it with a fixed cost comparison.

Using the same ratio across different product lines without checking. When a business sells multiple products, each has its own contribution margin. Using a blended or assumed ratio to evaluate a single product hides the fact that some products actively subsidize others. The correct approach is to calculate contribution margin for each product separately, then weight them by sales volume to understand the true portfolio average. Products with a ratio well below the portfolio average may be dragging down overall profitability even while generating revenue.

The Math
Worked examples and deeper derivation

The contribution margin formula has two steps. First, subtract variable cost from selling price: Contribution Margin = Selling Price - Variable Cost Per Unit. For the example inputs, that is $25.00 - $15.00 = $10.00.

Second, express that figure as a share of selling price to get the ratio: Contribution Margin Ratio = (Contribution Margin ÷ Selling Price) × 100. With the example values, the ratio is 40%. This ratio is the engine of break-even analysis because it converts any revenue figure into its contribution equivalent without requiring you to count units separately.

When units sold is provided, total contribution margin is simply per-unit contribution margin multiplied by unit count. For the example of 500 units, that produces $5,000.00. That total is the pool available to absorb fixed costs — anything above fixed costs becomes operating profit. The algebra is linear: double the units and the total doubles, which is why scaling a high-ratio product is so powerful and scaling a low-ratio one is often a trap.

Small e-commerce seller pricing a handmade product
Selling price $25.00, variable cost $15.00, 500 units sold
With a selling price of $25.00 and variable cost of $15.00, each unit contributes $10.00 toward fixed costs and profit. The contribution margin ratio is 40%, meaning that fraction of every dollar of revenue is available to cover rent, salaries, and other fixed expenses. Across 500 units, the total contribution margin is $5,000.00 — that entire pool must exceed fixed costs before a single dollar of net profit appears.
SaaS startup with near-zero variable cost per seat
Selling price $100.00, variable cost $0 per unit
A software seat sold for $100.00 with no meaningful variable cost produces a contribution margin of $100.00 and a contribution margin ratio of 100%. This is the theoretical ceiling — every dollar of revenue flows straight to covering fixed costs. In practice, even software has some variable costs (payment processing, support hours, hosting per user), so real ratios sit below this maximum, but the exercise shows why software economics are so attractive at scale.
Restaurant owner checking whether a menu item is worth keeping
Selling price $50.00, variable cost $30.00, 1,000 units sold
A dish priced at $50.00 with $30.00 in food and direct labor costs leaves $20.00 per plate in contribution margin — a ratio of 40%. Sold 1,000 times, this dish generates $20,000.00 to put toward kitchen overhead, lease, and management. A restaurant owner comparing multiple menu items by this ratio can quickly see which dishes pull their weight and which drag down the average, making the contribution margin ratio a practical tool for menu engineering rather than just accounting.
Expert Unlock
The thing most explanations skip

The contribution margin formula assumes a strictly linear relationship between units and variable costs — every unit costs exactly the same to produce and deliver. In practice, bulk purchasing, tiered shipping rates, and production learning curves mean variable cost per unit changes as volume grows. At low volumes the formula is conservative; at high volumes it may overstate the margin if input costs rise or understate it if economies of scale kick in. Sensitivity analysis — recalculating at several assumed variable cost points — reveals how exposed your break-even threshold is to input cost volatility.

What does my contribution margin ratio actually tell me?

What is a good contribution margin ratio?
There is no single benchmark — the answer depends entirely on your industry and cost structure. A software business might run a contribution margin ratio above eighty percent because variable costs per user are minimal. A manufacturer or retailer with significant material and shipping costs might consider forty percent strong. The ratio is most useful when compared against your own fixed cost base: if your ratio consistently exceeds the share of revenue needed to cover fixed costs, the business is structurally viable.
How is contribution margin different from gross profit?
Gross profit subtracts the full cost of goods sold (COGS) from revenue, which often includes fixed manufacturing overhead — costs like factory rent and salaried production staff that do not change with each unit made. Contribution margin strips out only the truly variable costs, leaving a cleaner view of how much each additional sale earns before any fixed cost is allocated. For pricing decisions and break-even analysis, contribution margin is the more precise tool; gross profit is better suited to financial statement analysis.
Can I use contribution margin to find my break-even point?
Yes — that is one of its primary uses. Once you know the per-unit contribution margin, divide your total fixed costs by that figure to find the number of units you must sell before profit reaches zero. If fixed costs are, say, five thousand dollars and your per-unit contribution margin is $10.00, you can calculate the break-even unit count directly. The contribution margin ratio gives you the same answer in revenue terms: divide total fixed costs by the ratio to find the revenue level where the business breaks even.

Need something this doesn't cover?

Suggest a tool — we'll build it →