# Contribution Margin Calculator

> See how much each sale contributes towards fixed costs and profit.

Page: https://freecalculator.tech/tools/contribution-margin-calculator
Last reviewed: 2026-09-15

## How do I calculate margin?

Contribution margin is the selling price minus the variable cost per unit, and the margin percentage is that figure divided by the price.

## Formula

Contribution margin per unit = Price − Variable cost per unit; Contribution margin ratio = Contribution margin per unit ÷ Price; Total contribution = Contribution per unit × Units

- Contribution margin per unit = Price − Variable cost per unit; Contribution margin ratio = Contribution margin per unit ÷ Price; Total contribution = Contribution per unit × Units.
- Inputs used: Currency, Selling price per unit, Variable cost per unit, Units sold (optional), Fixed costs (optional).
- Edge handling: Selling price per unit is required.; Selling price per unit must be greater than zero.; Selling price per unit must be no more than 1000000000000.; Variable cost per unit is required.; Variable cost per unit cannot be negative..

## Inputs

- Currency
- Selling price per unit
- Variable cost per unit
- Units sold (optional)
- Fixed costs (optional)

## Worked example: $50 price with $20 of variable cost

Each sale contributes $30 towards fixed costs and profit.
1. Start with Currency: USD, Selling price per unit: 50, Variable cost per unit: 20, Units sold (optional): 1000, Fixed costs (optional): 10000.
2. Apply the method: Contribution margin per unit = Price − Variable cost per unit; Contribution margin ratio = Contribution margin per unit ÷ Price; Total contribution = Contribution per unit × Units.
3. Each sale contributes $30 towards fixed costs and profit.

## Common questions

### How do I calculate margin?

Contribution margin is the selling price minus the variable cost per unit, and the margin percentage is that figure divided by the price. Check the formula, example, and limitations on this page before using the result for a real professional & industry decision.

### Where does this formula come from?

OpenStax, Principles of Accounting Volume 2: Managerial Accounting, contribution margin. See the source link on this page.

### What kind of calculation is this?

The part of each sale left after the variable cost of making it. Check the formula, example, and limitations on this page before using the result for a real professional & industry decision.

### What are its limits?

Contribution is not profit: fixed costs still have to be covered. Check the formula, example, and limitations on this page before using the result for a real professional & industry decision.

### How do I use the Contribution Margin Calculator?

Enter the required values for Currency, Selling price per unit, Variable cost per unit, Units sold (optional), Fixed costs (optional). The calculator applies the formula on this page and shows the main result with any supporting breakdown so you can check the arithmetic.

### What formula does the Contribution Margin Calculator use?

Contribution margin per unit = Price − Variable cost per unit; Contribution margin ratio = Contribution margin per unit ÷ Price; Total contribution = Contribution per unit × Units The visible formula section above lists the calculation path and the edge cases the page handles, so the result can be checked without relying on the form alone. Check the formula, example, and limitations on this page before using the result for a real professional & industry decision.

## Limitations and assumptions

- Inputs outside the supported range are rejected rather than forced into a result.
- The result depends on the values you enter for this contribution margin calculator; it does not supply missing rates, rules, prices, dates, or assumptions for you.

## Sources

- OpenStax — https://openstax.org/books/principles-managerial-accounting/pages/1-introduction

## Cite this page

- APA: Free Calculator. (2026, September 15). Contribution Margin Calculator. https://freecalculator.tech/tools/contribution-margin-calculator
- MLA: "Contribution Margin Calculator." Free Calculator, 15 Sept. 2026, https://freecalculator.tech/tools/contribution-margin-calculator.
- Link: Contribution Margin Calculator — Free Calculator, https://freecalculator.tech/tools/contribution-margin-calculator
