Free Contribution Margin Calculator
Calculate your true per-unit and total contribution margin — including COGS, shipping, ad spend, and processing fees. Built for eCommerce.
Use this free contribution margin calculator to see exactly how much profit each sale generates after all variable costs. Unlike a basic gross margin calculator, this tool accounts for shipping, fulfillment, ad spend, and payment processing fees — the costs that actually determine whether your eCommerce business is profitable.
Need help improving your unit economics?
TGM helps DTC brands scale profitably with paid media & email
Lower your CAC, boost AOV, and improve contribution margin across every channel.
Get a Free Strategy Call →Contribution Margin Benchmarks by eCommerce Category
| Category | Typical CM % | Good CM % | Great CM % |
|---|---|---|---|
| Fashion & Apparel | 25% – 35% | 40% | 50%+ |
| Health & Beauty | 30% – 40% | 45% | 55%+ |
| Supplements / Wellness | 35% – 50% | 55% | 65%+ |
| Food & Beverage | 20% – 30% | 35% | 45%+ |
| Home & Garden | 25% – 35% | 40% | 50%+ |
| Pet Products | 30% – 40% | 45% | 55%+ |
| Electronics / Gadgets | 15% – 25% | 30% | 40%+ |
| Subscription / Replenishment | 40% – 55% | 60% | 70%+ |
What Is Contribution Margin and Why Does It Matter for eCommerce?
Contribution margin is the amount of revenue left over after you subtract every variable cost associated with selling a product. For eCommerce brands, that means subtracting not just the cost of goods (COGS), but also shipping, fulfillment, ad spend, and payment processing fees from your selling price.
This metric matters because it tells you how much each sale actually contributes to covering your fixed costs (rent, salaries, software) and generating profit. A brand with $65 average order value and $39 in total variable costs has a $26 contribution margin per unit — meaning each sale puts $26 toward the business.
Unlike gross margin, which only subtracts COGS, contribution margin captures the full picture. A product might look great at 72% gross margin, but once you factor in $12 in acquisition costs and $7 in shipping, the real margin is closer to 40%. That difference is the gap between brands that scale profitably and brands that burn cash.
Contribution Margin vs. Gross Margin vs. Net Margin
These three margin metrics are often confused, but each serves a different purpose in your P&L:
- Gross Margin: Revenue minus COGS only. Tells you how much margin the product itself carries before any other costs. Useful for evaluating product-level profitability.
- Contribution Margin: Revenue minus all variable costs (COGS + shipping + ads + fees). Shows whether each sale generates enough to cover fixed costs. The key metric for scaling decisions.
- Net Margin: Revenue minus all costs (variable + fixed). Your bottom-line profitability after everything — rent, salaries, software, taxes. Tells you whether the overall business is profitable.
For DTC brands, contribution margin is the most actionable metric because it directly connects your marketing spend to profitability. If your CM per unit is $26 and your monthly fixed costs are $15,000, you need to sell 577 units per month just to break even.
How to Calculate Contribution Margin for eCommerce
To calculate your contribution margin, add up all variable costs associated with each sale. For a typical eCommerce brand, these include:
- COGS: Raw materials, manufacturing, packaging — the direct cost to produce or source the product.
- Shipping & Fulfillment: Carrier fees, pick-and-pack labor, 3PL charges, packaging materials.
- Customer Acquisition Cost (CAC): Total ad spend divided by total orders. This is often the largest variable cost for DTC brands.
- Payment Processing: Shopify Payments, Stripe, PayPal — typically 2.9% + $0.30 per transaction.
- Returns & Refunds: Average refund rate applied across all orders (optional but recommended).
Subtract the sum of these costs from your selling price to get your per-unit contribution margin. Divide that by the selling price to get your contribution margin ratio (percentage).
What Is a Good Contribution Margin for DTC Brands?
For most direct-to-consumer eCommerce brands, a contribution margin between 30% and 40% is considered healthy. Brands with owned manufacturing, subscription models, or high-margin categories like supplements and skincare often achieve 40% to 60%.
Below 20% contribution margin is a warning sign — it means you have very little cushion to cover fixed costs and almost no room to scale ad spend without losing money. Brands in this range need to either raise prices, reduce COGS, or improve conversion rates to bring acquisition costs down.
Above 50% is excellent and typically means you have strong pricing power, efficient fulfillment, or a high-LTV customer base that justifies your acquisition costs. Subscription brands and brands with high repeat purchase rates often land here.
Why Contribution Margin Matters More Than ROAS
ROAS tells you how much revenue your ads generate per dollar spent — you can calculate yours with our free ROAS calculator. But revenue is not profit. A 5x ROAS looks impressive until you realize your product margin is 20% — meaning you spent $1 to make $5 in revenue but only $1 in gross profit, leaving zero after ad costs.
Contribution margin fixes this blind spot. It accounts for every variable cost, so you know exactly how much profit each sale generates. A 3x ROAS on a high-margin product might be more profitable than an 8x ROAS on a low-margin product. The only way to know is to calculate contribution margin.
How to Improve Your Contribution Margin
Improving contribution margin comes down to two strategies: increase the price (or perceived value) of what you sell, or reduce the variable costs associated with each sale. Here are the highest-impact levers for eCommerce brands:
Reduce Customer Acquisition Cost
For most DTC brands, ad spend is the largest variable cost. Reducing CAC directly improves contribution margin. Focus on improving ad creative quality, tightening audience targeting, and investing in organic channels (SEO, email, referral programs) that drive sales with zero marginal acquisition cost. Use our CPM calculator and CTR calculator to benchmark your ad efficiency.
Increase Average Order Value
Higher AOV spreads your fixed-per-order costs (shipping, processing) across more revenue. Bundle products, add upsells on product and cart pages, and set free shipping thresholds just above your current AOV. Every dollar added to AOV flows almost entirely to contribution margin.
Negotiate Better Shipping Rates
Shipping and fulfillment is often the second-largest variable cost after COGS. Negotiate volume discounts with carriers, optimize packaging to reduce dimensional weight charges, and consider hybrid fulfillment strategies that use regional warehouses to reduce zone-based shipping costs.
Improve Product Margins
Renegotiate supplier pricing, explore alternative manufacturers, or reformulate products to use more cost-effective materials without sacrificing quality. Even small COGS reductions compound significantly at scale — saving $2 per unit across 500 monthly orders adds $12,000 per year to your bottom line.
Reduce Returns and Refunds
Every return costs you the original shipping, return shipping, and often the product itself. Improve product descriptions and sizing guides to set accurate expectations, use review photos and videos to help customers visualize products, and analyze return reasons to fix recurring quality issues.