What Is Contribution Margin and How to Calculate It

Published by MyBreakeven. Report a calculation or content issue to support@mybreakeven.com.

· Updated October 2, 2026

Learn how to calculate contribution margin with clear formulas, realistic examples, common mistakes, and practical steps for your business.

Break-Even Concepts · Financial Planning · Small Business

Service business owner calculating contribution margin from invoices and variable costs

Calculator features

  • Formula explained in plain English
  • Worked scenarios with checked arithmetic
  • Assumptions and cost behavior made visible

Contribution margin is the money left from each sale after you subtract the costs that rise directly with that sale. To calculate contribution margin, subtract total variable costs from sales revenue; then divide that result by sales revenue and multiply by 100 to get the contribution margin percentage.

Quick answer: Use this formula: contribution margin = sales revenue − variable costs. For the percentage, divide contribution margin by sales revenue and multiply by 100. If a $50 sale has $20 of variable costs, its contribution margin is $30, or 60%. The remaining amount helps pay fixed costs and then profit.

The direct answer

Contribution margin shows how much of your selling revenue is available to cover fixed costs such as rent, insurance, salaried labor, software subscriptions, and equipment payments. After fixed costs are covered, the amount left becomes operating profit, before items such as interest and taxes that your accounting method may treat separately.

The basic formula is:

Contribution margin = Total sales revenue − Total variable costs

You can calculate it for a whole business, a product, a service, an order, or one unit. The calculation is useful because it focuses on what changes when sales change. A cost is variable when it increases or decreases with the quantity you sell or produce. Examples can include ingredients, packaging, payment-processing charges, sales commissions, delivery fees tied to an order, and hourly labor scheduled only for that work.

For the percentage, use:

Contribution margin ratio = Contribution margin ÷ Sales revenue × 100

A per-unit version is also useful:

Unit contribution margin = Selling price per unit − Variable cost per unit

For example, if you sell a service for $80 and the variable cost of delivering that service is $32, the unit contribution margin is $48. The contribution margin ratio is $48 ÷ $80 × 100, which equals 60%.

What changes the answer

Your result changes when revenue or variable cost changes. A higher price generally increases contribution margin if variable cost stays the same. If a $100 job costs $35, the contribution margin is $65. At a $90 promotional price, it falls to $55.

Product mix can change your overall margin even when total sales stay constant. Imagine two products with the same $1,000 in revenue. Product A has a 70% contribution margin, while Product B has a 30% margin. A month that shifts customers toward Product B produces less money to cover fixed costs, even though the sales total looks unchanged.

Volume matters because fixed costs are spread across more or fewer units, but volume does not change unit contribution margin by itself. If a product sells for $25 and has a $10 variable cost, each unit contributes $15 until price or variable cost changes. More units create more total contribution margin, while rent remains the same in the short term.

Your cost definitions matter, too. Include costs that are truly attached to the sale. For a delivery order, that might include a per-order delivery charge and packaging. Do not automatically include the full monthly rent or a manager’s fixed salary just because the business needs them. Those are usually fixed costs for this analysis.

Some costs are mixed. A delivery van may have a fixed lease plus fuel that rises with miles. A worker may receive a fixed weekly amount plus a commission. Split mixed costs into fixed and variable portions when you can. If you cannot do that precisely, state your assumption and use the same method each time so comparisons remain meaningful.

Contribution margin is not a complete cash-flow measure. It does not account for payment timing, loan principal, owner draws, taxes, or every overhead cost. Use a broader budget for the full picture.

2-3 realistic worked scenarios

Scenario 1: A cleaning service

A cleaning business charges $180 for a standard visit. Supplies cost $12, credit-card processing costs $5, and a helper is paid $63 specifically for that visit. The total variable cost is $12 + $5 + $63 = $80.

The unit contribution margin is $180 − $80 = $100 per visit. The contribution margin ratio is $100 ÷ $180 × 100 = 55.56%, rounded to two decimal places. If the business completes 25 similar visits, total contribution margin is 25 × $100 = $2,500. That $2,500 can cover fixed expenses before any remainder becomes operating profit.

The result depends on the cost boundary. If the helper is paid a fixed weekly salary that does not change with this visit, the salary may belong in fixed costs instead. The business should use the classification that matches how the work is actually scheduled and paid.

For more pricing context, see this guide on contribution margin and gross margin.

Scenario 2: A restaurant menu item

A restaurant sells a pasta entrée for $22. Ingredients cost $6.40, the takeout container and utensils cost $0.60, and a delivery-platform fee tied to the order is $3.30. The variable cost per order is $6.40 + $0.60 + $3.30 = $10.30.

The contribution margin is $22 − $10.30 = $11.70 per entrée. The contribution margin ratio is $11.70 ÷ $22 × 100 = 53.18%. If 300 orders are sold, total contribution margin is 300 × $11.70 = $3,510.

If the same entrée is sold for dine-in without the container and platform fee, the variable cost is lower and the margin changes. That is why a single menu item can have different economics across sales channels. Compare like with like when setting prices. This fixed and variable costs explains the related pricing calculation.

Scenario 3: A digital workshop

An instructor sells 40 workshop seats at $75 each, producing $3,000 in revenue. The payment fee is $90, an attendee workbook costs $4 per person, and a guest instructor receives $400 only when the workshop runs. Variable costs are $90 + (40 × $4) + $400 = $650.

The total contribution margin is $3,000 − $650 = $2,350. The contribution margin ratio is $2,350 ÷ $3,000 × 100 = 78.33%. If the instructor’s video software subscription is $120 per month regardless of attendance, keep it out of variable costs and treat it as a fixed cost for this analysis.

The percentage alone is not enough. A high-margin sale may have a small dollar contribution, while a lower-margin sale may contribute more. Use both amount and ratio.

Reconcile contribution for a mixed-product month

Use net retained sales and the costs connected to those sales. A separate fictional ecommerce example has two products sold one per order. Product A sells for $50 and has $20 product cost, $4 packaging and shipping, a 3% processing fee of $1.50, and a $1 expected returns allowance. Product B sells for $30 and has $12 product cost, $3 packaging and shipping, a $0.90 fee, and a $0.60 returns allowance.

Product Net order revenue Modeled variable cost Unit contribution Contribution ratio
A $50 $26.50 $23.50 47%
B $30 $16.50 $13.50 45%

These are illustrative USD assumptions. The returns allowance is a planning estimate, not a second deduction on top of the same actual refund. For historical reporting, reconcile actual net revenue, reimbursed fees, returned inventory and fulfillment losses instead. Keep the same cost boundary when comparing the two products.

To reproduce Product A in the ecommerce calculator, enter price $50, materials $20, direct labor $0, shipping/returns $5, acquisition $0 and payment/platform fees 3%. The $5 combines $4 fulfillment and $1 expected returns; the calculator adds the $1.50 fee itself. The result should show $23.50 contribution. Replace all preset costs before comparing results.

Suppose the month contains 100 A orders and 200 B orders. Revenue is 100 × $50 + 200 × $30 = $11,000. Variable costs are 100 × $26.50 + 200 × $16.50 = $5,950. Total contribution is $11,000 − $5,950 = $5,050.

The overall contribution ratio is $5,050 ÷ $11,000 × 100 = 45.91%. Do not take a simple average of 47% and 45%; the products generate different revenue totals. Average contribution per order is $5,050 ÷ 300 = $16.83, rounded for display.

Read that result in plain dollars: every $100 of this month's modeled sales leaves about $45.91 toward fixed bills and operating profit. It does not mean $45.91 is available for personal spending. Fixed expenses still come out of that amount.

With $4,000 fixed monthly overhead, modeled operating profit is $5,050 − $4,000 = $1,050 before any costs excluded from the stated boundary. Contribution and operating profit answer different questions: the first shows what sales supply toward overhead, while the second deducts that overhead.

Stress-test a change in the sales mix

Now hold the total at 300 orders but reverse the mix to 200 A and 100 B. Revenue becomes $13,000. Variable costs become $6,950 and contribution becomes $6,050. The same order count contributes $1,000 more because the dollar contribution per A order is larger. The overall ratio is $6,050 ÷ $13,000 = 46.54%.

Capacity can still limit the more attractive mix. Suppose an A order uses 12 fulfillment minutes and B uses six. The original 100-A/200-B mix uses 2,400 minutes, or 40 hours. The revised 200-A/100-B mix uses 3,000 minutes, or 50 hours. If only 45 usable fulfillment hours are available, the revised mix does not fit without a change in scheduling or resources.

For a break-even comparison under the original one-A-to-two-B ratio, treat three orders as a repeatable basket. Revenue per basket is $110 and contribution is $23.50 + 2 × $13.50 = $50.50. Covering $4,000 requires 79.21 baskets, rounded up to 80 whole baskets, or 240 orders. Those baskets contribute $4,040. Using a rounded $16.83 average too early can alter a boundary result; preserve full precision until the final operational rounding.

This basket method assumes the mix can be repeated. If actual demand changes, recalculate with the new counts instead of forcing orders into the old ratio. For more detail, use the multiple-product break-even guide and compare contribution margin with profit margin.

How to run your own numbers

Start with one clearly defined period or unit. Analyze one product, service appointment, event, or month of sales. Mixing periods creates misleading results. A single order should use its own revenue and variable costs; a monthly analysis should use the month’s totals.

Next, list revenue before discounts, then subtract discounts and refunds to arrive at the sales revenue you actually want to analyze. Keep taxes collected for the government out of revenue if they do not belong to the business. Record each variable cost connected to those sales. Separate per-unit expenses from monthly expenses, and flag any estimate.

Use the ecommerce break-even calculator to model a product or a representative one-product order. Enter its unit price, direct costs, fees and other variable costs, then review contribution and the monthly break-even target. For a mixed-product month, reconcile each product first and use the basket method above. A calculator checks the math; you still decide which costs belong.

Then compare the result with your fixed costs. A simple break-even estimate is:

Break-even units = Fixed costs ÷ Unit contribution margin

Suppose monthly fixed costs are $4,800 and each unit contributes $30. Break-even volume is $4,800 ÷ $30 = 160 units. At 200 units, total contribution margin is 200 × $30 = $6,000, leaving $1,200 before other below-the-line items included in your wider profit calculation.

Finally, run a sensitivity check with a higher material cost, a lower price, and a different sales volume. Keep a dated record of your inputs so you can explain why the margin changed. For additional pricing and break-even guidance, browse the small business guide library.

Common mistakes

Treating every cost as variable. Rent, business insurance, and a fixed software subscription do not normally rise with one additional sale. Including them in per-sale variable cost makes the unit contribution margin look too low.

Leaving out small sale-linked costs. Packaging, transaction fees, commissions, and order-specific delivery can add up. If they occur because a sale occurs, include them or explain why you exclude them.

Using gross sales when discounts are substantial. A margin based on a list price can overstate what the business receives. Use the revenue basis consistently and document discounts, refunds, and taxes.

Mixing channels or products. A dine-in sale and a delivery sale may have different fees. A premium service and a basic service may require different labor. Calculate each meaningful offer separately before combining totals.

Confusing contribution margin with profit. Contribution margin still has to cover fixed costs. A positive margin on every sale does not guarantee a profitable month if total contribution margin is below fixed expenses.

Rounding too early. Keep cents through the calculation and round the final displayed result. If you round every input first, totals can differ from your accounting records.

FAQs

Is contribution margin the same as profit?

No. Contribution margin subtracts variable costs from revenue. Profit also reflects fixed operating costs and may include other expenses such as interest and taxes, depending on the profit measure you use.

Can contribution margin be negative?

Yes. If variable costs exceed revenue, contribution margin is negative. Each additional sale then adds to the shortfall before fixed costs are considered. Review the price, variable costs, product mix, or sales channel before increasing volume.

Should labor be included in variable costs?

Include labor when it changes with the sale, order, or production volume, such as per-job contractors or hourly shifts added for demand. A fixed salary generally belongs in fixed costs for contribution-margin analysis. Mixed pay may need to be split.

What is a good contribution margin percentage?

There is no universal target. A suitable percentage depends on your fixed costs, operating model, industry, sales channel, and desired profit. Compare your margin with your own break-even point and with consistent historical results rather than relying on one benchmark.

Should payment-processing fees be variable costs?

Usually, yes, when the fee is charged as a percentage or amount per transaction. Include the fee in the same channel’s calculation. If a processor charges a fixed monthly subscription instead, that portion may be fixed.

How often should I calculate contribution margin?

Calculate it whenever price, materials, commissions, fees, or labor terms change. Many businesses also review it monthly by product or service. Frequent review helps you spot a margin decline before it affects the entire business.

Can I use contribution margin for pricing?

Yes. Start with the variable cost of delivering the offer, then test prices against the contribution margin needed to cover fixed costs and provide profit. Also consider demand, capacity, customer value, and the difference between channels. Closing takeaways: 1. Subtract variable costs from revenue to find dollar contribution margin. 2. Divide contribution margin by revenue to find the percentage. 3. Classify costs by how they change with a sale, not by whether they feel important. 4. Review both unit margin and total margin against fixed costs. 5. Recheck the calculation whenever prices, fees, labor, or product mix changes.

Related break-even resources