MetricRaven

Metrics

What is contribution margin?

Contribution margin is revenue minus variable costs: the money left from each sale to pay fixed costs and make a profit. A $100 sale with $35 of variable costs has a contribution margin of $65, or 65%.

Updated

What contribution margin measures

Contribution margin shows how much each sale contributes toward fixed costs (salaries, rent, software you pay for anyway) and then profit. It separates costs that grow with every sale from costs that stay the same however much you sell.

Variable costs are the ones that scale with volume: product or materials, shipping, payment processing fees, sales commissions, hosting that grows per customer. Fixed costs don't change with one more sale. Once contribution margin covers fixed costs, every extra sale's contribution is profit.

It is the number to use when you decide whether more of something is worth it: one more customer, one more campaign, one more discount. Gross margin answers a similar question at the level of the whole income statement; contribution margin is built for per-unit and per-channel decisions.

Contribution margin formula

Contribution margin = revenue − variable costs

Contribution margin ratio = (revenue − variable costs) ÷ revenue × 100

Contribution margin per unit = price per unit − variable cost per unit

The total tells you how much a product line or period contributed in dollars. The ratio lets you compare products of different sizes. The per-unit figure feeds the break-even point:

Break-even units = fixed costs ÷ contribution margin per unit

Worked example

An online store sells a $80 product. Each unit costs $28 to make, $9 to ship, and $2.62 in card fees (2.9% + $0.30).

Contribution margin per unit = $80 − ($28 + $9 + $2.62) = $40.38

Contribution margin ratio = $40.38 ÷ $80 = 50.5%

Fixed costs are $12,000 a month, so the store breaks even at $12,000 ÷ $40.38 ≈ 298 units a month. Unit 299 and beyond add $40.38 of profit each.

A 20% discount changes this more than it looks. At $64, card fees drop to about $2.16, and the margin per unit falls to $64 − $39.16 = $24.84. Break-even jumps to 12,000 ÷ 24.84 ≈ 484 units: you need 62% more sales to earn the same.

Contribution margin after ad spend

Marketing teams often add a second line: contribution after marketing, sometimes called contribution margin 2 or CM2.

Contribution after marketing = revenue − variable costs − ad spend

This is where acquisition meets profit. Take two channels in a month, each with a 50% contribution margin ratio before ads:

ChannelRevenueContribution (50%)Ad spendAfter marketing
Google search ads$20,000$10,000$6,000$4,000
Meta prospecting$30,000$15,000$16,000−$1,000

Meta brings more revenue and a ROAS of about 1.9, which looks fine on its own. But at a 50% margin, the break-even ROAS is 1 ÷ 0.5 = 2, so that campaign loses money on the first purchase. Contribution after marketing makes that visible; ROAS alone doesn't. For subscriptions, run the same calculation with revenue over the customer's lifetime, not just the first payment.

How to measure contribution margin

  • Start from net revenue: what customers paid, minus refunds and lost chargebacks.
  • List every cost that rises with one more order: product cost, shipping, packaging, payment fees, marketplace or app store commissions, per-order support.
  • Leave out costs that don't change with volume this month: salaries, rent, most software.
  • Split by product, plan or channel. A blended margin hides the product or channel that loses money.

Payment fees are easy to forget and differ by provider. The Stripe fee calculator and the payment processor fee comparison give the exact fee per sale.

Common contribution margin mistakes

  • Treating it as gross margin. Gross margin follows accounting rules for cost of goods sold; contribution margin is about what varies with volume. Shipping and payment fees often sit outside COGS but are variable.
  • Forgetting refunds and returns. A 10% refund rate takes 10% off revenue but leaves many costs in place.
  • Ignoring ad spend when judging channels. A channel with a good margin before ads can lose money after them.
  • Using one blended ratio. Products, plans and countries have different costs; average them and you can't see which one to grow.
  • Counting fixed costs as variable. Spreading salaries per unit makes small orders look unprofitable when they aren't.

How MetricRaven helps with contribution margin

MetricRaven doesn't know your product costs, so it doesn't calculate contribution margin. It supplies the two inputs that are hardest to get per channel:

  • Revenue by source. Every payment from Stripe, Paddle, Lemon Squeezy, Polar, Shopify and the other providers is credited to the visit that first brought the customer, net of refunds. Revenue is the amount the customer paid; processor fees are not subtracted.
  • Ad spend. With Meta Ads or Google Ads connected, the Paid acquisition card shows spend next to attributed revenue, ROAS and cost per customer for each campaign.

Multiply a channel's revenue by your contribution margin ratio and subtract its spend to get contribution after marketing. See the Revenue dashboard and Meta Ads docs, or the guide to measuring paid ads revenue.

Questions

How do you calculate contribution margin?
Subtract variable costs from revenue. $50,000 of revenue with $20,000 of variable costs is a contribution margin of $30,000. Divide by revenue for the ratio: $30,000 ÷ $50,000 = 60%.
What is the difference between contribution margin and gross margin?
Gross margin subtracts cost of goods sold as defined in your accounts. Contribution margin subtracts every cost that varies with sales, which often adds shipping, payment fees and commissions. Contribution margin is usually lower and more useful for pricing and channel decisions.
What is a good contribution margin ratio?
It depends on the business. Software often has ratios above 70%, physical products much lower. What matters is that total contribution covers fixed costs and that each channel's contribution stays positive after ad spend.
How does contribution margin relate to break-even ROAS?
Break-even ROAS is 1 divided by the contribution margin ratio. At a 40% margin, ads must return $2.50 of revenue per $1 of spend just to cover variable costs. Use the break-even ROAS calculator to run it for your numbers.
Full glossary

Get revenue and ad spend per channel in one place

MetricRaven credits every payment to the campaign that brought the customer and puts ad spend next to it, so you can apply your margin and see which channels pay after marketing.

14-day free trial, no card required.