E-Commerce Contribution Margin & ROAS Calculator
Measure what each order really earns after returns, fees and ad spend, and find the minimum ROAS you need to break even.
A shared link includes your input values and any cost line names you added. Check the names before you post.
Your per-order costs
Add costs that apply to each order, such as packaging, gift wrap or a handling fee. They are added to the variable cost per order.
No custom costs yet. Add one below, or leave this empty to use the standard inputs only.
- Per-order custom costs
- $0.00 custom = $0.00
Net margin
14.1%
54.0% margin before ad spend
Profit per order
$7.80
After a $22.00 acquisition cost
Break-even ROAS
1.85x
Your net ROAS (after returns): 2.51x
Per-Order Breakdown
- Expected revenue after returns
- $55.20
- Product cost (kept items)
- -$16.56
- Outbound shipping
- -$6.00
- Payment processing fees
- -$2.04
- Return handling
- -$0.80
- Variable cost per order (pre-ads)
- $25.40
- Contribution before ads
- $29.80
- Less: acquisition cost (CPA)
- -$22.00
- Profit per order
- $7.80
Profit per Order at Different Acquisition Costs
Each bar holds every other input constant and changes only the cost per acquisition
Sensitivity: Cost per Acquisition
Profit and ROAS from 50% to 200% of your current CPA, with price, costs and returns unchanged
| CPA | Net ROAS | Profit / order | Net margin |
|---|---|---|---|
| $11.00 | 5.02x | $18.80 | 34.1% |
| $16.50 | 3.35x | $13.30 | 24.1% |
| $22.00 | 2.51x | $7.80 | 14.1% |
| $27.50 | 2.01x | $2.30 | 4.2% |
| $33.00 | 1.67x | -$3.20 | -5.8% |
| $44.00 | 1.25x | -$14.20 | -25.7% |
Formula & Methodology
This calculator shows what one order earns after the costs that come with it, then subtracts the cost of winning that order through advertising. Working per order makes it easy to test different prices, supplier costs or ad budgets without building a full financial model.
expected revenue = price x (1 - return rate) product cost = COGS x (1 - return rate) payment fees = price x fee % + fixed fee return handling = cost per return x return rate variable cost per order = product cost + shipping + payment fees + return handling contribution before ads = expected revenue - variable cost per order profit per order = contribution - CPA net margin % = profit per order / expected revenue ROAS = expected revenue / CPA break-even ROAS = expected revenue / contribution before ads
Assumptions. Each order contains one unit, so the product cost is per order. Prices exclude sales tax or VAT. Returned products are restocked, so their product cost is recovered, while return handling is charged on every return. Payment fees apply to the full order value, which matches how most processors keep fees on refunded transactions. If customers pay for shipping, add that income to the price or set outbound shipping to zero.
Why break-even ROAS matters. ROAS is revenue divided by ad spend. Break-even ROAS is the point where contribution before ads exactly pays for the advertising. Below it, every extra sale loses money. Above it, the campaign creates profit. Because the calculation uses expected revenue after returns, the figure is deliberately conservative.
Using the sensitivity table. Acquisition costs tend to rise as you scale, so the table shows what happens at 50% to 200% of your current CPA. Use it to find the highest CPA that still leaves a profitable margin, and set your bidding limits below that level.
Worked Example
A store sells a product for $60 with a product cost of $18 and outbound shipping of $6. Payment processing is 2.9% plus $0.30. Returns are 8% at $10 per return, and the average cost per acquisition is $22.
- Expected revenue: $60 × (1 − 0.08) = $55.20
- Product cost: $18 × 0.92 = $16.56
- Payment fees: ($60 × 2.9%) + $0.30 = $2.04
- Return handling: $10 × 0.08 = $0.80
- Variable cost per order: $16.56 + $6.00 + $2.04 + $0.80 = $25.40
- Contribution before ads: $55.20 − $25.40 = $29.80
- Profit per order: $29.80 − $22.00 = $7.80
- Net margin: $7.80 ÷ $55.20 = 14.1%
- ROAS: $55.20 ÷ $22.00 = 2.51x
- Break-even ROAS: $55.20 ÷ $29.80 = 1.85x
The campaign is profitable because its ROAS of 2.51x sits well above the 1.85x break-even point. If the cost per acquisition rose to $30, profit per order would drop to −$0.20. The campaign would then be worth pausing or repricing, even though the product still looks healthy on paper.
Frequently Asked Questions
What is a good ROAS for an e-commerce store?
There is no universal target. A store with a 60% contribution margin can profit at a much lower ROAS than one with a 15% margin. Use the break-even ROAS from this calculator as the floor. Any ROAS above it is profitable on that campaign, and the amount above it is your buffer for scaling risk, seasonality and rising ad costs.
Why does the calculator use expected revenue instead of gross order value for ROAS?
Returned orders do not produce money, so counting them overstates what your ads earned. Using expected revenue after returns keeps the ROAS and break-even figures conservative. Ad platforms report gross revenue, which means their ROAS figures will usually look higher than the number you should use for profit decisions.
Should I enter my price with or without sales tax or VAT?
Always enter the price excluding sales tax or VAT. Tax is collected for the government, not earned by your business, so including it inflates both revenue and margin. If you sell in a market where prices are shown tax-inclusive, divide the displayed price by one plus the tax rate before entering it.
How do I estimate my cost per acquisition?
Divide the total ad spend for a campaign or channel by the number of purchases it generated over the same period. Use a window long enough to smooth out daily noise, for example 30 days. If your platform attributes conversions generously, your real CPA may be higher, so test a higher value to see whether the campaign still works.
Why is product cost only partly lost on returns?
The model assumes returned items are inspected and restocked, so their product cost is recovered and only kept items count as cost. If your returns are usually damaged, expired or unsellable, raise the cost-per-return field to reflect the write-off, or model the lost product cost directly by adjusting the product cost input.
What is the difference between net margin and contribution margin?
Contribution margin measures what remains after product, shipping, payment and return costs, before any advertising spend. Net margin subtracts the cost per acquisition as well, so it shows what each order keeps after marketing. A healthy contribution margin with a low net margin usually means your acquisition costs are too high for the current price or product mix.