Skip to content
OverCalculator
  1. Home
  2. Financial
  3. Contribution Margin Calculator
Financial

Contribution Margin Calculator

Calculate contribution per unit, total contribution margin, contribution margin ratio, revenue, variable cost, and profit after fixed costs.

By OverCalculator Editorial Team, Updated

Contribution margin
Total contribution margin
$20,000.00
Contribution per unit
$20.00
Contribution margin ratio
40%
Profit after fixed costs
$5,000.00
Revenue
$50,000.00
Total variable cost
$30,000.00

1,000 units at $50.00 with $30.00 variable cost create $20,000.00 before fixed costs.

$
$
$

Results update as you type.

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:

contribution per unit=selling pricevariable cost per unit\text{contribution per unit} = \text{selling price} - \text{variable cost per unit}

Total contribution margin multiplies that amount by units sold:

total contribution margin=contribution per unit×units sold\text{total contribution margin} = \text{contribution per unit} \times \text{units sold}

The contribution margin ratio expresses contribution per unit as a percentage of selling price:

contribution margin ratio=contribution per unitselling price×100\text{contribution margin ratio} = \frac{\text{contribution per unit}}{\text{selling price}} \times 100

Profit after fixed costs subtracts fixed costs from total contribution:

profit after fixed costs=total contribution marginfixed costs\text{profit after fixed costs} = \text{total contribution margin} - \text{fixed costs}

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.

StepCalculationResult
Contribution per unitUSD 50 - USD 30USD 20
RevenueUSD 50 × 1,000USD 50,000
Total variable costUSD 30 × 1,000USD 30,000
Total contribution marginUSD 20 × 1,000USD 20,000
Contribution margin ratioUSD 20 ÷ USD 50 × 10040%
Profit after fixed costsUSD 20,000 - USD 15,000USD 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.

Frequently asked questions

What is contribution margin?
Contribution margin is revenue minus variable costs. For one unit, it is selling price minus variable cost per unit. For many units, it is contribution per unit multiplied by units sold. It shows how much money remains to cover fixed costs and then become profit.
How is contribution margin ratio calculated?
The contribution margin ratio divides contribution per unit by selling price per unit and expresses the result as a percentage. If price is 50 dollars and variable cost is 30 dollars, contribution is 20 dollars and the ratio is 40%, meaning 40 cents of each sales dollar remains before fixed costs.
Are fixed costs subtracted from contribution margin?
Fixed costs are not subtracted to calculate contribution margin itself. The calculator shows them separately by subtracting fixed costs from total contribution to estimate profit after fixed costs. That extra result connects contribution analysis to break-even planning without changing the contribution margin definition.
Can contribution margin be negative?
Yes. Contribution margin becomes negative when variable cost per unit is greater than selling price per unit. In that case, every additional sale loses money before fixed costs are considered. Higher volume makes the situation worse unless price rises or the variable cost falls.
How is contribution margin different from gross margin?
Contribution margin focuses on variable costs that change with sales volume. Gross margin usually uses cost of goods sold from accounting records, which may include some fixed production overhead. Contribution margin is often more useful for pricing, break-even, and short-term decisions.
What units should I enter?
Enter the number of units expected for the same period as the fixed costs. If fixed costs are monthly, enter monthly units. A unit can be a product, subscription, ticket, job, service hour, or order, as long as the selling price and variable cost describe that same unit.

Related calculators

Contribution Margin Calculator updated at