Calcrux
Ecommerce Seller OperationsNewFree · No sign-upReal-time

Contribution Margin Calculator

Calculate contribution margin per unit, CM ratio, and break-even point.

Updated Reviewed by Sajid Hussain· Editor

ShareLinkedIn

Try it with your numbers

Results update in real time as you type — no submit needed.

Your numbers

Selling price

The price the customer pays.

The price the customer pays for one unit.

Variable costs

Costs that scale with each unit sold.

Per-unit cost of the product including manufacturing, sourcing, and packaging material.
Variable shipping cost per unit. For free shipping, include the average cost you absorb.
Marketplace fee as a % of selling price (e.g. Amazon referral fee, eBay final value fee). Enter 0 if using a flat fee below.
Optional flat per-unit marketplace fee. Only used when the fee rate above is 0.
Average return cost spread across all units sold. If your return rate is 5% and each return costs {{returnCost}}, enter {{returnCostAmortized}} (5% × {{returnCost}}).
Average advertising cost per unit sold. Total monthly ad spend divided by units sold.

Fixed costs and volume

Costs that do not scale with units, and your current volume.

Monthly costs that do not vary with units: rent, salaries, software, subscriptions. These are covered by your total monthly contribution margin.
Current or expected monthly sales volume — used to calculate total monthly contribution margin and net profit.

Results

Results appear as you type

No submit button needed

Why trust this calculator

Last updated

June 7, 2026

Coverage

9 markets · 8 currencies

Privacy

Calculated in-browser · no data stored

Pricing

Free forever · no sign-up

What each sale actually contributes

Contribution margin: the number that connects pricing to profitability

Contribution margin (CM) is what is left of each sale after subtracting all variable costs — COGS, shipping, marketplace fees, returns, and advertising. It is the amount each unit sold contributes toward covering your fixed costs (rent, salaries, software) and, once those are covered, toward profit. Unlike gross margin, contribution margin accounts for every cost that scales with each sale, making it the right number for pricing decisions, break-even analysis, and CVP (cost-volume-profit) planning.

**Contribution margin vs gross margin — the key difference.** Gross margin = revenue minus COGS only. Contribution margin = revenue minus ALL variable costs: COGS, shipping, marketplace fees, returns, and per-unit ad spend. For an ecommerce seller on Amazon, a product with 50% gross margin might have a 25% contribution margin once FBA fees, ads, and returns are included. The contribution margin is the honest number for break-even and pricing decisions.

**Break-even analysis in one number.** Break-even units = fixed costs ÷ contribution margin per unit. At a {{contributionMarginPerUnit}} CM per unit and {{fixedCosts}} monthly fixed costs, you need to sell {{breakEvenUnits}} units to cover fixed costs exactly. Below this, fixed costs eat your profit. Above it, each additional unit sells at full CM as profit — the power of operating leverage.

**Operating leverage — the double-edged sword.** Operating leverage = monthly contribution margin ÷ net profit. If leverage is 3.0, a 10% increase in units sold produces a 30% increase in net profit — and a 10% volume drop causes a 30% profit decline. High CM with low break-even units gives high leverage in a good way; high CM with high fixed costs gives leverage that can hurt if volume drops.

**The margin of safety tells you how much buffer you have.** Margin of safety = (current units − break-even units) ÷ current units × 100. At 50% margin of safety, volume can fall by half before you hit break-even. Below 20%, you are too close to break-even for comfort — one bad month can push you into the red.

Quick facts

Primary metric
CM per unit and CM ratio
Break-even
Units and revenue to cover fixed costs
Margin of safety
Buffer above break-even
Operating leverage
Profit amplification factor
Full variable costs
COGS + shipping + fees + returns + ads
Any currency
Global — no rates, no FX
How it works

From selling price to break-even and profit

Enter variable costs and fixed costs — results update instantly.

01

Enter your selling price

The price the customer pays for one unit.

02

Enter all variable costs

COGS, shipping, marketplace fees, amortized returns, and per-unit ad spend. Every cost that scales with each unit sold.

03

Enter fixed costs and volume

Monthly fixed costs (rent, salaries, software) and your current or target monthly units. These drive break-even and net profit.

04

Read the results

Contribution margin per unit, CM ratio, break-even units, net profit, margin of safety, and operating leverage.

Steps to use the Contribution Margin Calculator: Enter your selling price, Enter all variable costs, Enter fixed costs and volume, Read the results.

Formula

Exactly what the calculator computes

Standard CVP (cost-volume-profit) math — contribution margin approach.

01

Variable Cost per Unit

Variable Cost = COGS + Shipping + Marketplace Fee + Return Cost + Ad Spend

Every cost that scales with each unit sold. At the reference inputs: {{cogs}} + {{shippingCost}} + {{effectiveMarketplaceFee}} (15% of {{sellingPrice}}) + {{returnCostPerUnit}} + {{adSpendPerUnit}} = {{variableCostPerUnit}}.

02

Contribution Margin per Unit

CM per Unit = Selling Price − Variable Cost per Unit

{{sellingPrice}} − {{variableCostPerUnit}} = {{contributionMarginPerUnit}}. This is what each unit sold contributes toward covering fixed costs and profit.

03

Contribution Margin Ratio (CMR)

CMR = Contribution Margin per Unit ÷ Selling Price × 100

{{contributionMarginPerUnit}} ÷ {{sellingPrice}} × 100 = {{cmRatio}}%. For every dollar of revenue, {{cmRatio}} cents cover fixed costs and profit.

04

Break-Even Units

Break-Even Units = Fixed Costs ÷ Contribution Margin per Unit (rounded up)

The minimum monthly sales to cover all fixed costs. At {{fixedCosts}} fixed costs and {{contributionMarginPerUnit}} CM per unit: {{breakEvenUnits}} units.

05

Margin of Safety

Margin of Safety = (Current Units − Break-Even Units) ÷ Current Units × 100

Buffer above break-even. At {{unitsPerMonth}} units sold and {{breakEvenUnits}} break-even: {{marginOfSafety}}%. Volume can fall by {{marginOfSafety}}% before profitability is lost.

06

Operating Leverage

Operating Leverage = Monthly Contribution Margin ÷ Monthly Net Profit

Profit amplification factor. If leverage is 2.14, a 10% revenue increase produces a ~21.4% profit increase — and vice versa for volume decreases.

Worked example

A {{sellingPrice}} product — what is its true contribution margin?

An ecommerce seller on Amazon or Shopify, end to end.

Scenario

An Amazon seller sells a product for $30.00. COGS is $12.00, shipping $3.00, Amazon referral fee 15% ($4.50), returns amortized to $1.00/unit, and ads cost $2.00/unit. Monthly fixed costs (software, salaries) are $800.00. The seller moves $200.00 units/month.

1

Step 1 — Variable cost per unit

$12.00 COGS + $3.00 shipping + $4.50 marketplace fee + $1.00 returns + $2.00 ads = $22.50 total variable cost.

Variable cost: $22.50

2

Step 2 — Contribution margin

$30.00 − $22.50 = $7.50 CM per unit. CM ratio = $7.50 ÷ $30.00 × 100 = $25.00%.

CM per unit: $7.50 · CMR: $25.00%

3

Step 3 — Break-even and net profit

Break-even = ceil($800.00 ÷ $7.50) = $107.00 units ($3,210.00 revenue). At $200.00 units: monthly CM = $1,500.00. Net profit = $1,500.00 − $800.00 = $700.00.

Break-even: $107.00 units · Net profit: $700.00

4

Step 4 — Margin of safety and operating leverage

Margin of safety = ($200.00 − $107.00) ÷ $200.00 × 100 = $46.50%. Operating leverage = $1,500.00 ÷ $700.00 = $2.14× — a 10% volume increase raises profit by ~21.4%.

Safety: $46.50% · Leverage: $2.14×

The takeaway

A $25.00% CM ratio and $46.50% margin of safety indicate a healthy product at this volume. The main risk is volume dependence — at $2.14× leverage, a 20% sales drop would cut profit by ~43%. Focus on raising purchase frequency or reducing variable costs to widen the margin.

Industry benchmarks

What a healthy contribution margin looks like

CM benchmarks vary widely by category, business model, and whether ad spend is included in the variable cost stack.

MetricPoorAverageGoodExcellent

Electronics / gadgets CM ratio

NYU Stern Sector Margins 2025
< 10%10–20%20–35%35%+

Beauty / personal care CM ratio

NYU Stern Sector Margins 2025
< 20%20–35%35–55%55%+

Apparel / fashion CM ratio

Shopify Commerce Trends 2025
< 15%15–30%30–50%50%+

Home goods / furniture CM ratio

DataFeedWatch Ecommerce Report 2025
< 10%10–25%25–40%40%+

Margin of safety (healthy range)

Corporate Finance Institute Break-Even Analysis Guide 2025
< 10%10–25%25–50%50%+

Operating leverage (target range)

Investopedia Operating Leverage Guide 2025
> 8×4–8×2–4×1–2×
Why this calculator

Calcrux vs gross margin and profit calculators

Gross margin calculators only subtract COGS. This tool goes further with every variable cost that ecommerce sellers actually face.

FeatureCalcruxGross Margin CalculatorProfit Margin Calculator
COGS in variable cost stack
Shipping cost per unitSometimes
Marketplace fee (% or flat)Sometimes
Returns and ad spend per unit
Break-even units and revenueSometimes
Margin of safety
Operating leverage
Fixed vs variable cost split
Common mistakes

How contribution margin gets miscalculated

Confusing contribution margin with gross margin

Why it matters

Gross margin subtracts only COGS. Contribution margin subtracts all variable costs — shipping, fees, returns, ads. On a {{sellingPrice}} product with 50% gross margin, contribution margin might be 25% once fees and ads are added. Using gross margin for break-even analysis significantly understates costs.

Fix

Use contribution margin — which includes all variable costs — for pricing, break-even, and CVP analysis. Use gross margin for comparing product profitability at scale.

Not including ad spend in variable costs

Why it matters

Ad spend per unit scales directly with sales (total ad spend ÷ units sold). Excluding it makes CM look higher than it really is — setting prices that do not cover the true cost of each marginal sale.

Fix

Include ad spend per unit = total monthly ad spend ÷ total units sold. Recalculate each period as ad efficiency changes.

Ignoring amortized return costs

Why it matters

If your return rate is 8% and each return costs 15 to process, the average return cost spread per unit sold is 1.20. Ignoring this makes every unit look more profitable than it is.

Fix

Calculate return cost per unit = (return rate % × return processing cost). Include this in the variable cost stack.

Setting a single CM target across all products

Why it matters

A high-volume, low-margin product and a low-volume, high-margin product can have the same CM ratio but very different impacts on total fixed cost coverage. What matters is total monthly contribution margin, not just per-unit ratio.

Fix

Evaluate products by total monthly contribution margin (CM per unit × volume) and whether each contributes enough to cover its share of fixed costs.

Overlooking operating leverage risk

Why it matters

High operating leverage is great when volume grows — but the same leverage works in reverse. A business at 5× leverage that sees a 20% volume drop will see a 100% profit decline. Many sellers hit break-even profitability without understanding how fragile the P&L is.

Fix

Maintain a margin of safety above 25%. If leverage is very high, reduce fixed costs or raise CM per unit to create more buffer.

Treating marketplace fees as a fixed percentage without checking tiered rates

Why it matters

Amazon referral fees vary by category (8–45%) and some have minimum fees. Using a default 15% for categories like books (15%), electronics (8%), or jewelry (20%) can produce a CM that is off by several percentage points.

Fix

Look up your category's actual referral fee from the marketplace's published fee schedule. Enter the correct rate for an accurate CM calculation.

Tips

How to improve your contribution margin

Raise price before cutting costs

A price increase improves CM by the full amount at constant volume. Cost cuts of the same size have the same impact but can damage quality or service levels.

Reduce shipping cost per unit

Negotiate carrier rates at volume thresholds. Dropping from 5 to 3 per unit in shipping improves CM by 2 per unit and reduces break-even units proportionally.

Reduce marketplace fee exposure

If selling on a high-fee marketplace (Amazon at 15%), explore Shopify DTC where you control the fee structure. Even a 5% fee reduction directly widens CM.

Cut return rate first

Better product photos, clearer sizing guides, and accurate descriptions reduce return rate. A 2% return rate improvement on a product with a 15 return cost saves roughly 30 across 100 units sold.

Improve ad spend efficiency

Ad spend per unit = monthly spend ÷ units sold. Improving ROAS or conversion rate at constant spend reduces the per-unit variable cost and improves CM.

Scale volume, dilute fixed costs

The fastest way to improve net profit without raising CM per unit is increasing volume. More units sold means fixed costs are spread thinner — each unit's contribution goes further.

Use cases

Who uses this calculator

The Contribution Margin Calculator works across every stage of the workflow.

Ecommerce Product Manager

Work backward from a target CM ratio (e.g. 30%) and known variable costs to find the minimum viable selling price before launch.

DTC Founder / CEO

Calculate the units you must sell each month before the business becomes profitable — and whether your realistic sales volume clears this bar.

Ecommerce Channel Manager

Model how adding Amazon FBA fees or eBay final value fees to the variable cost stack changes CM ratio and break-even units.

Head of Growth

Calculate how a temporary price cut changes CM per unit and how many extra units you need to sell to maintain the same monthly profit.

Performance Marketing Manager

Model how an increase in ad spend per unit (higher CPA) changes CM and break-even before committing to a higher campaign budget.

Ecommerce CFO / Finance Lead

Show contribution margin analysis alongside gross margin to demonstrate understanding of the full cost structure — not just COGS-level profitability.

Glossary

Contribution margin vocabulary

Every important term you'll encounter in this calculator and the broader topic.

Contribution Margin (CM)
Selling price minus all variable costs. The amount each unit sold contributes to covering fixed costs and, once those are covered, profit.
CM Ratio (CMR)
Contribution margin divided by selling price, expressed as a percentage. Shows what share of each revenue dollar flows toward fixed costs and profit.
Variable Costs
Costs that scale directly with units sold: COGS, shipping, marketplace fees, returns, and per-unit ad spend.
Fixed Costs
Costs that do not change with volume: rent, salaries, software subscriptions, and other overhead.
Break-Even Units
The monthly unit volume where total contribution margin exactly covers total fixed costs. Net profit is zero at this point.
Margin of Safety
(Current units − break-even units) ÷ current units × 100. How far volume can fall before break-even is hit. Higher is safer.
Operating Leverage
Monthly contribution margin ÷ net profit. Shows how much profit changes for each percentage change in revenue. High leverage amplifies both gains and losses.
CVP Analysis
Cost-Volume-Profit analysis. The framework for understanding how changes in costs, volume, and price interact to affect profitability.
Marketplace Fee Rate
The percentage of selling price taken by a marketplace as a referral or commission fee. Varies by platform and product category.
Help & answers

Frequently asked questions

Everything you need to know about how the Contribution Margin Calculator works.

01What is contribution margin?

Contribution margin is the selling price minus all variable costs per unit. It is the amount each unit sold contributes toward covering fixed costs and, once those are covered, profit. At a {{sellingPrice}} selling price and {{variableCostPerUnit}} in variable costs, contribution margin = {{contributionMarginPerUnit}} per unit.

02What is the contribution margin formula?

Contribution Margin = Selling Price − Variable Costs. Variable costs include COGS, shipping, marketplace fees, amortized returns, and per-unit ad spend. CM Ratio = Contribution Margin ÷ Selling Price × 100.

03What is a good contribution margin ratio?

It depends heavily on the product category. Electronics typically run 10–35%; beauty and personal care 35–55%; apparel 30–50%. For ecommerce, most products need at least 20% CMR to cover fixed costs at realistic volumes. Below 15% is thin and requires high volume to break even.

04What is the difference between contribution margin and gross margin?

Gross margin = revenue minus COGS only. Contribution margin = revenue minus all variable costs: COGS, shipping, marketplace fees, return costs, and per-unit ad spend. For ecommerce sellers, gross margin is the simpler view; contribution margin is the accurate view for break-even and pricing decisions.

05How do I calculate break-even units using contribution margin?

Break-Even Units = Fixed Costs ÷ Contribution Margin per Unit (rounded up). At {{fixedCosts}} monthly fixed costs and {{contributionMarginPerUnit}} CM per unit: break-even = {{breakEvenUnits}} units. Below this volume, you do not cover fixed costs and are losing money overall.

06What is margin of safety in contribution margin analysis?

Margin of safety = (current units − break-even units) ÷ current units × 100. It shows how much volume can fall before you hit break-even. At {{unitsPerMonth}} units and {{breakEvenUnits}} break-even, margin of safety = {{marginOfSafety}}%. A margin of safety below 20% means a moderate sales drop can push the business into unprofitability.

07What is operating leverage?

Operating leverage = monthly contribution margin ÷ net profit. It shows how much profit grows (or falls) for each 1% change in revenue. At {{operatingLeverage}}× leverage, a 10% volume increase raises profit by ~{{leveragedProfitGain}}%. The same leverage applies to losses when volume falls.

08Should I include ad spend in variable costs for contribution margin?

Yes. Ad spend per unit (total monthly ad spend ÷ units sold) scales directly with sales volume. Excluding it overstates contribution margin. At {{adSpendPerUnit}} ad spend per unit, excluding it would make CM look {{adSpendPerUnit}} higher than reality — setting prices that do not cover the real marginal cost of each sale.

09How do marketplace fees affect contribution margin?

Marketplace fees reduce contribution margin directly. On Amazon, a 15% referral fee on a {{sellingPrice}} product costs {{effectiveMarketplaceFee}} per unit. This alone reduces CM by {{effectiveMarketplaceFee}} — more than many sellers realise when planning pricing for a new marketplace.

10How do I use contribution margin for pricing decisions?

Work backward: decide your target CM ratio (e.g. 30%), list all variable costs, and solve for the minimum selling price. If variable costs are {{variableCostPerUnit}} and you want 30% CMR: minimum price = {{variableCostPerUnit}} ÷ (1 − 0.30) = {{minPriceForTarget}}. Prices below this do not hit your target profitability.

11What is CVP analysis and how does contribution margin relate?

CVP (Cost-Volume-Profit) analysis studies how changes in cost, volume, and price interact to affect profit. Contribution margin is the central metric in CVP: CM per unit × volume = total CM that covers fixed costs. The break-even point, margin of safety, and operating leverage are all derived from this relationship.

12Does this contribution margin calculator work in any currency?

Yes. Enter all monetary values in your own currency and results appear in that currency. There are no exchange rates or conversions — the formulas and benchmarks are universal.

Category

Ecommerce Seller Operations

Subcategory

financial profitability

Availability

Global · 9 markets

Price

Free forever

Topics

contribution margin calculatorcontribution margin formulacm ratio calculatorecommerce contribution margincvp analysis calculatorbreak even contribution marginvariable cost calculator ecommercecontribution margin per unitselling price contribution marginfixed vs variable costs ecommercecm calculatoroperating leverage calculator

Explore 500+ more tools

Calculators, simulators, and decision tools for every stage of business operations.