How to Calculate E-commerce Profit Margins

A straightforward pricing framework for sellers using fees, shipping, returns and advertising costs.

Pricing a product by comparing its selling price with its purchase cost can give a false impression of profitability. Even a £25 item bought for £7 may have postage, fulfilment, advertising, payment processing and returns costs. The first step is to separate revenue, expenses, profit and margin.

Revenue: everything the buyer pays you

If a buyer pays £25 for the product and £3 for shipping, total revenue is £28 before adjusting for platform-specific taxes or refunds. Different platforms calculate fees on different bases. Check which payments count toward the fee you are modelling.

Expenses: every cost attached to the sale

Include the sourcing cost of the product, shipping that you pay, packaging, commission or referral fees, payment fees and advertising cost attributable to the order. If you experience returns or damage, consider a realistic reserve based on historical data. Track VAT, sales tax, duties and inventory storage separately if those apply.

Profit and profit margin

Subtract your expenses from revenue to estimate profit. Then divide profit by revenue and multiply by 100 to obtain the profit margin percentage.

Net profit margin (%) = (estimated profit ÷ revenue) × 100.

As an illustration: a £25 sale with £7 item cost, £3.50 postage, £0.50 packaging, £2 ads, a 12.5% percentage fee and £0.30 fixed fee results in approximately £8.58 profit, or 34.3% margin. This assumes no other costs or taxes and rounds the result for display.

Why you should model more than one price

Run the same product at a lower and higher selling price to see how fees and margins respond. A low price might increase conversions but shrink contribution after paid ads. A high price may leave more room per sale but reduce buyer demand. A calculator can show the trade-off; it cannot predict which price shoppers will choose.

Use your real data, not a generic fee guess

The free SellerPatch profit calculator lets you adjust the percentage and fixed fees yourself. This flexibility is important because a single default rate will not fit every marketplace category, country or seller account.

One last check

Compare your estimate against an actual order statement after the item sells. That feedback loop is more reliable than relying on a fee assumption for months. For bookkeeping and tax questions, consult appropriate professional guidance.

Marketplace policies and fee schedules can change. Verify current requirements with the applicable platform before updating a live listing.