Contribution Margin Calculator
The contribution margin calculator shows how much sales revenue remains after variable costs. Enter selling price per unit, variable cost per unit, units sold, and fixed costs. The calculator returns total contribution margin, contribution per unit, contribution margin ratio, profit after fixed costs, revenue, and total variable cost.
This is a decision tool for pricing, break-even planning, sales mix analysis, and cost control. Revenue alone can be misleading because a higher sales volume may bring higher variable costs with it. Contribution margin focuses on the amount left after those variable costs are paid. That remaining amount contributes to fixed costs first; after fixed costs are covered, it contributes to profit.
How to use this calculator
Enter the selling price per unit before tax. Enter the variable cost per unit, meaning the cost that rises when one more unit is sold. Depending on the business, variable cost may include materials, packaging, shipping, payment processing, commissions, direct labor, usage-based hosting, or contractor cost. Enter units sold for the period you want to model. Finally, enter fixed costs for that same period if you want the calculator to show profit after fixed costs.
The calculator allows price, variable cost, units, and fixed costs to be zero or positive. If price is zero, the contribution margin ratio is shown as zero to avoid dividing by zero, while contribution dollars still reflect price minus variable cost. If variable cost is higher than price, contribution per unit and total contribution can be negative.
Use the break-even calculator when you want the exact unit volume required to cover fixed costs. Use the margin calculator when you want a price that reaches a target gross margin. Use the markup calculator when your workflow starts from cost and adds a cost-based percentage.
Formula
Contribution per unit is the selling price minus variable cost:
Total contribution margin multiplies that amount by units sold:
The contribution margin ratio expresses contribution per unit as a percentage of selling price:
Profit after fixed costs subtracts fixed costs from total contribution:
Worked example matching the calculator
Use the default form values: USD 50 selling price, USD 30 variable cost, 1,000 units, and USD 15,000 fixed costs.
| Step | Calculation | Result |
|---|---|---|
| Contribution per unit | USD 50 - USD 30 | USD 20 |
| Revenue | USD 50 × 1,000 | USD 50,000 |
| Total variable cost | USD 30 × 1,000 | USD 30,000 |
| Total contribution margin | USD 20 × 1,000 | USD 20,000 |
| Contribution margin ratio | USD 20 ÷ USD 50 × 100 | 40% |
| Profit after fixed costs | USD 20,000 - USD 15,000 | USD 5,000 |
The calculator’s primary result is total contribution margin: USD 20,000. That number is not final profit because fixed costs still need to be paid. After subtracting USD 15,000 of fixed costs, the scenario leaves USD 5,000 of profit. If units fall to 700 with the same price and variable cost, total contribution would be only USD 14,000 and profit after fixed costs would be negative USD 1,000.
Benchmarks and interpretation
Contribution margin is strongest when compared across products, channels, and periods. A high contribution margin ratio means a larger share of each sales dollar is available for fixed costs and profit. A low ratio can still work if volume is high and fixed costs are lean, but it leaves less room for errors, returns, discounts, or cost increases.
For example, a product with a 70% contribution margin ratio may cover fixed costs quickly, but it may also require heavy marketing or support that is not in variable cost. A product with a 15% contribution margin ratio may be viable in a high-volume, efficient operation, but small discounts or fee increases can erase profit. The useful benchmark is whether total contribution at realistic sales volume exceeds fixed costs by enough to compensate owners, fund growth, and absorb uncertainty.
Markup, margin, and contribution margin
Contribution margin is not the same as markup or gross margin, although the same price and cost data may appear in all three. Markup divides profit by cost and is often used for cost-plus pricing. Gross margin divides gross profit by revenue and is common in financial reporting. Contribution margin subtracts variable costs and focuses on the dollars that help cover fixed costs.
The distinction matters when cost categories differ. If direct labor is variable for a service business, it belongs in the contribution margin model. If warehouse rent is fixed, it should not reduce contribution per unit; it should be covered by total contribution. Keeping variable and fixed costs separate makes break-even analysis and discount decisions more accurate.
Practical tips
- Use the same period for units and fixed costs. Monthly units with annual fixed costs will distort profit.
- Do not use average cost that already includes fixed overhead as variable cost. That can understate contribution margin.
- Model discounts by lowering selling price. A discount reduces both contribution per unit and the contribution margin ratio.
- Watch capacity. If more units require another supervisor, machine, warehouse, or subscription tier, some fixed costs may step up.
- Track contribution by channel. Marketplace fees, payment rates, and shipping subsidies can make identical products produce different contribution.
Sources
- AccountingTools, Contribution margin — contribution margin definition and ratio.
- AccountingTools, Gross margin — related gross margin concept for comparison.
- U.S. Small Business Administration, Manage your finances — financial planning and cash-flow context for small businesses.