# Contribution Margin Calculator for Ecommerce | Laplace

URL: https://www.laplacetec.com/en/tools/contribution-margin

> Enter price, COGS, fees, shipping and ad spend to get contribution margin per unit, margin ratio and monthly contribution. Free, no sign-up.

Free calculator · No sign-up

# Contribution Margin CalculatorWhat you actually keep from each sale

Contribution margin is revenue minus every cost that comes with each order: product cost, marketplace and payment fees, shipping, packaging, returns and ad spend. It has to be positive before you can cover fixed costs.
More free calculators
Break-Even ROAS Calculator
How much can you spend on ads?
Shopify Profit Calculator
Payment fees and ads included
Amazon FBA Profit Calculator
Referral fee, FBA and PPC included
Sale price
$
Product cost (COGS)
$
Seller-funded discount
$
Per order
Shipping charged to customer
$
0 for free shipping
Your shipping cost
$
Packaging and other
$
Box, inserts, 3PL pick & pack
Custom fees
Marketplace fee
Edit rate
%
Payment processing
Edit rate
%
Enter your own channel and payment fees. Defaults are reference values from public pages as of November 2026.
Ad spend
% ROAS
0 if no ads
Return rate
%
Counted as round-trip shipping and packaging lost
Units per month
units
Target margin
%
Used for target ROAS
Contribution per unit
$3.18
Margin 8.2% · before ads $16.18
Break-even ROAS
241%
ROAS to keep 10%
318%
Monthly contribution
$954.00
Monthly ad spend
$3,900.00
Where $39.00 of revenue goes
COGS
$11.00
Fees
$3.90
Shipping
$6.50
Pack & returns
$1.42
Ads
$13.00
Contribution
$3.18
Run this for every SKU and channel, daily
Connect orders, ad spend and product costs, and Laplace calculates contribution margin and real ROAS for every product every day, including bundle and gift costs.
[Start free](https://www.laplacetec.com/login) [See automated margin →](https://www.laplacetec.com/en/data-manage)

## How the contribution margin is calculated

- STEP 1 ### Contribution margin = revenue − variable costs Revenue is what the customer pays (price − seller-funded discount + shipping charged). Variable costs are COGS, fees, shipping, packaging, expected return losses and ad spend.
- STEP 2 ### Contribution margin ratio = contribution ÷ revenue At the same revenue, putting ad budget behind higher-ratio products leaves more profit.
- STEP 3 ### Pre-ad contribution is your max CPA It is the most you can spend to acquire one order without losing money.

## Worked example

Result with the calculator's default inputs.

| Sale price | $39.00 |
| --- | --- |
| COGS | −$11.00 |
| Fees (Custom) | −$3.90 |
| Shipping | −$6.50 |
| Packaging & returns | −$1.42 |
| Ad spend (ROAS 300%) | −$13.00 |
| Contribution | $3.18 |
| Contribution margin | 8.2% |
| Break-even ROAS | 241% |

## Related searches

- contribution margin calculator
- ecommerce contribution margin
- contribution margin per unit
- product profit calculator
- CM2 CM3 ecommerce

## FAQ

**Q. How is contribution margin different from gross margin?**

Gross margin only subtracts product cost. Contribution margin also subtracts fees, shipping and ad spend, so it shows what each order really leaves. This calculator shows contribution before and after ads.

**Q. Should ad spend be included?**

Yes. In ecommerce, ads are usually the largest per-order variable cost. Contribution after ads tells you whether growth is profitable.

**Q. Do you store the numbers I enter?**

No. Everything is calculated in your browser, and there is no sign-up or email gate. 'Copy result link' puts your inputs in the URL, so only people with that link see the same result.

**Q. Do I have to calculate every SKU by hand?**

This calculator is for one product at a time. Laplace connects orders from your stores and marketplaces, ad spend and product costs, and calculates contribution margin for every SKU daily, including bundle and free-gift costs.
