Contribution margin calculator

Enter a selling price, variable cost per unit, the number of units sold and (optionally) fixed costs. See how much each unit and the whole volume contribute toward fixed costs and profit.

Contribution margin per unit = price − variable cost. Total contribution = contribution per unit × units. Contribution margin ratio = contribution ÷ price.

Illustrative starting values. Inputs stay in this tab.

Specimen run — the pre-filled values
$15.00Contribution margin / unit
37.50%Contribution margin ratio
$7,500Total contribution margin
$2,500Operating income after fixed costs
Contribution-format income statement at the pre-filled values — price $40, variable cost $25, 500 units, fixed costs $5,000
Sales$20,000500 units × $40
Variable costs$12,500500 units × $25
Contribution margin$7,500$15.00 per unit · 37.50% of sales
Fixed costs$5,000
Net operating income$2,500

Change any value above and the calculator recomputes — this statement stays with the pre-filled values.

New tools are rare. Get told.

An occasional email when a new calculator or guide is published here. No affiliate tracking. Preview: this form is not collecting subscriptions yet — nothing typed here is sent or stored, and the button stays disabled until the subscription service is wired.

Placed after the contribution margin calculator because new tools are the announcable event on this site. Calculators and worked numbers keep working entirely in your browser.

Formulas used

Contribution margin per unit = price − variable cost per unit
Total contribution margin = contribution margin per unit × units sold
Contribution margin ratio = contribution margin per unit ÷ price
Variable cost ratio = variable cost per unit ÷ price = 1 − contribution margin ratio
Operating income = total contribution margin − fixed costs

Worked example as a contribution-format income statement

Using the default inputs (500 units at $40, $25 variable cost per unit and $5,000 of fixed costs, all illustrative):

LineTotalPer unit% of sales
Sales$20,000$40100%
Variable costs$12,500$2562.5%
Contribution margin$7,500$1537.5%
Fixed costs$5,000
Operating income$2,50012.5%

The 37.5% ratio tells you that every additional $1 of sales adds about $0.375 to operating income, as long as price and variable cost hold and fixed costs do not step up. If sales rose by $2,000 (50 more units), operating income would rise by $750.

How to read the outputs

Contribution margin is not gross margin

Gross margin subtracts cost of goods sold, which can include fixed production overhead, and ignores variable selling costs such as commissions. Contribution margin subtracts all variable costs, production and selling, and nothing fixed. The two can differ a lot for the same product. For gross margin and markup arithmetic, use the sibling site ameti.capital.

Can contribution margin be negative?

Yes. If variable cost per unit exceeds price, each sale makes the loss larger, and no amount of volume reaches break-even.

What if I sell several products?

Run each product separately to compare contribution per unit and ratio, then use a weighted average for break-even; see the sales-mix section of break-even in units vs revenue.

Sources for definitions

Definitions follow standard managerial-accounting usage as presented in the sources above. All dollar figures on this page are our own illustrative arithmetic.

Educational arithmetic only. Results do not set prices, forecast sales or establish suitability for any lending, investment or business decision. See Use & limitations.

Keep working through the question

Last reviewed October 4, 2026. Worked numbers on this page are illustrative arithmetic, not data about any real business.