E-commerce profit margin calculator

Enter the price, costs and fees of one order and see what you actually keep, with VAT, returns and advertising already taken out.

Order details

Sale
Use the price basis selected above
Enter the applicable rate. Use 0 if you do not charge tax.
Order costs
Per unit, VAT excluded
The part you pay
Box, materials, preparation
Fees, advertising, returns and volume
Fees
Percentage of the price
Fixed amount charged by the gateway
0 if you only sell on your own site
Advertising and returns
Ad spend divided by orders
Returned orders out of all orders
Return shipping and handling
Used for the monthly estimate
Jump to result

Result

Enter your selling price and product cost to see your result.

The calculator gives an estimate and does not replace tax or accounting advice.

How e-commerce margin is calculated

Contribution margin shows how much remains to cover fixed costs. Start with revenue after sales tax and returns, then subtract variable costs.

Contribution margin % = (revenue excluding tax after returns − expected variable costs) ÷ revenue excluding tax after returns × 100.

For example, $50 in revenue excluding tax and $35 in variable costs leave $15 per order, or 30%. Fixed costs and income tax are outside the calculation.

  1. 01

    VAT comes out

    VAT is not revenue: you collect it and pass it on to the tax authority. Net revenue is the price divided by 1 plus the VAT rate. A product sold at €122 with 22% VAT brings in €100 of revenue.

  2. 02

    Order costs are subtracted

    Product cost, the shipping you pay, packaging, and the fees of the payment gateway and of any marketplace. Fees are calculated on the VAT-inclusive price.

  3. 03

    Returns are accounted for

    On a returned order you refund the customer and the goods go back to stock, but shipping, packaging, the payment fee and advertising are already spent. The cost of handling the return is added on top.

  4. 04

    Advertising comes out

    What is left before advertising is the most you can spend to win one order. Dividing the VAT-inclusive price by that figure gives the break-even ROAS: below it the campaign loses money.

Frequently asked questions

What is the difference between margin and markup?

Contribution margin divides the amount left by revenue after tax and returns. Product markup divides the tax-exclusive price minus product cost by the product cost.

What is a good margin for an e-commerce business?

It depends on fixed costs, product category and channel. A positive contribution per order also needs to cover the store’s fixed costs.

What is break-even ROAS?

This tool uses the tax-inclusive price before returns. The ROAS calculator also supports revenue excluding tax after returns.

How are returns handled in the calculation?

As an average across orders: for the share of orders returned, revenue, VAT, product cost and marketplace commission drop to zero, while shipping, packaging, the payment fee and advertising stay with you. The cost of one return is added in proportion to the return rate.

More ecommerce calculators

Guide to ecommerce product profitability

Want a higher margin?

We review product, suppliers and costs together: the first call is free.