Skip to content

Contribution Margin Calculator

Calculate contribution margin, contribution margin ratio and contribution per unit from revenue and variable costs.

  • Free, no sign-up
  • Runs in your browser
  • Reviewed Nov 6, 2026

How to use the Contribution Margin Calculator

  1. Enter revenue for the period.
  2. Enter total variable costs for the same period.
  3. Optionally add units sold to get contribution per unit.

How it works

Contribution margin = Revenue − Variable costs.

Contribution margin ratio = Contribution margin ÷ Revenue × 100.

Per unit = Contribution margin ÷ Units.

Worked examples

Product line

Revenue 1,000 and variable costs 600 give a contribution margin of 400 and a 40% ratio — 40 cents of every sale goes toward fixed costs and profit.

Limitations and assumptions

  • Only variable costs belong here. Mixing in fixed costs turns it into operating profit instead.

Frequently asked questions

How is contribution margin different from gross margin?

Gross margin subtracts cost of goods sold (which can include some fixed production costs). Contribution margin subtracts only costs that vary with volume.

G

Built and reviewed by Guru G

Calculation logic is covered by automated tests against known values. Last reviewed Nov 6, 2026. Found a problem? Let us know — see our editorial policy.