Contribution margin, ratio, and break-even from price and costs

Enter the selling price per unit, the variable cost per unit, and total fixed costs for the period. The tool returns contribution margin per unit, the contribution-margin ratio, and the whole number of units needed to break even. It is not a markup or margin converter, and it is not a gross-margin calculation based on COGS alone.

Unit economics

Formulas for Contribution margin

Contribution margin = Price − Variable cost

Contribution margin ratio = (Contribution margin ÷ Price) × 100

Break-even units = ceil(Fixed costs ÷ Contribution margin)

Where P = selling price per unit, dollars, positive; VC = variable cost per unit, dollars, non-negative; FC = total fixed costs for the period, dollars, non-negative; CM = contribution margin per unit, dollars; CMR = contribution margin ratio, percent; BE = break-even units, rounded up.

Variable cost per unit is every cost that moves with each unit sold: materials, direct labor, shipping, transaction fees, and similar items.

Fixed costs are period costs that do not move with volume in the relevant range: rent, salaried staff, software, insurance.

Break-even units is the mathematical break-even (fixed costs ÷ contribution margin) rounded up to the next whole unit, so a fractional unit is not treated as a full sale.

The calculation assumes one product, or a uniform contribution margin across what you sell, and a constant price and variable cost.

Checked examples for Contribution margin

Price $100, variable cost $60, fixed costs $50,000. CM $40.00, ratio 40.00%, break-even 1,250 units.

Price $25, variable cost $10, fixed costs $100,000. CM $15.00, ratio 60.00%, break-even 6,667 units.

Price $100, variable cost $65, fixed costs $100,000. CM $35.00, ratio 35.00%, break-even 2,858 units.

Limits of Contribution margin

Price must be positive. Variable cost and fixed costs cannot be negative. Variable cost must be less than price. Otherwise contribution margin is zero or negative, and break-even is undefined. This is arithmetic only, not financial or pricing advice. Not for: converting among markup, margin, cost and price (use the markup and margin tool); gross margin from revenue minus COGS only; multi-product or sales-mix break-even; tax, GAAP, or financial-statement presentation.

OpenStax Principles of Accounting, Volume 2: Explain Contribution Margin and OpenStax Principles of Accounting, Volume 2: Calculate a Break-Even Point in Units and Dollars.