Guides / Tax & finance

How to calculate true profit margins on ecommerce products

Learn how to calculate true net profit margins for UK ecommerce products by including advertising, fulfilment, returns and payment fees. Practical steps for…

Calculating true profit margins on ecommerce products requires including all direct and indirect costs such as advertising, fulfilment, returns and payment processing fees to arrive at an accurate net figure. Many UK founders initially focus only on product cost and selling price, which can lead to misleading results and poor business decisions.

This guide provides practical steps to identify every relevant cost, build a reliable calculation method and use the information to set better prices and manage cash flow. The process applies whether you sell on your own website, Amazon, Etsy or other marketplaces.

Why gross margin is not enough

Gross margin only subtracts the direct cost of goods sold from revenue. It ignores essential operating expenses that reduce the money left in the business. For ecommerce sellers these hidden costs can easily exceed 20-30 percent of revenue depending on the channel and product type.

Net profit margin, by contrast, accounts for every expense directly attributable to selling that product. This gives a realistic view of whether an item actually contributes positively to the business after all costs. Using only gross margin can result in continuing to sell loss-making products while believing they are profitable.

Identify all costs to include

Start by listing every cost that relates to selling the product. These typically include:

  • Cost of goods (purchase price, shipping to you, duties and import VAT)
  • Platform selling fees
  • Payment processing fees (credit card, PayPal, Stripe etc.)
  • Advertising and marketing costs (per-product or attributed spend)
  • Fulfilment and postage costs
  • Return shipping, restocking and refund processing costs
  • Packaging materials
  • Transaction fees charged by the marketplace

Some costs are fixed per order while others vary by sales volume. The key is to allocate them accurately to individual products or product groups. Check current platform terms, payment provider rates and HMRC guidance because these change regularly.

Build a per-product cost template

Create a simple spreadsheet with one row per product or variation. The columns should capture:

  1. Product name and SKU
  2. Land-ed cost per unit (including shipping and duties)
  3. Average selling price (after any discounts)
  4. Number of units sold in the period
  5. Total revenue
  6. Platform fees (percentage and fixed)
  7. Payment fees (typical 1-3 percent plus fixed fee per transaction)
  8. Advertising cost attributed to the product
  9. Fulfilment and postage cost per unit
  10. Estimated return rate (for example 5-15 percent) and associated cost
  11. Total cost of sales
  12. Net profit per unit and as percentage of revenue

Use actual figures from your bookkeeping records rather than estimates where possible. Update the sheet monthly to reflect changes in advertising efficiency or return rates.

Calculate advertising and fulfilment costs accurately

Advertising spend is rarely even across products. Divide total ad spend by the number of orders or by attributed sales using platform data from Google Ads, Meta or Amazon Advertising. A practical method is to use last-click or platform-reported attribution and then divide by units sold during the campaign period.

Fulfilment costs include picking, packing, courier fees and any warehouse storage charges. If you use a third-party fulfilment centre, obtain a per-unit rate. For in-house fulfilment, track time and materials per order and convert to a cost per unit. Include the cost of returns shipping both ways and any restocking fees. These can add several pounds per returned item and significantly affect high-volume, low-margin products.

Account for returns and payment fees

Returns reduce both revenue and increase costs. If your return rate is 10 percent, for every 100 items sold you must ship 10 extra times and lose the original sale value on those items. Calculate the expected return cost per unit sold by multiplying the return rate by the combined cost of outbound shipping, return shipping and any lost product value.

Payment fees apply to every successful transaction. These usually combine a percentage of the transaction value plus a fixed fee. Multiply the average order value by the fee structure to find the cost per order, then divide by items per order. Always use the latest rates from your payment provider and marketplace as they are subject to change.

Arrive at true net profit margin

Once all costs are totalled for a product, subtract total cost of sales from revenue to give net profit. Divide net profit by revenue and multiply by 100 to show the margin as a percentage. A positive figure means the product contributes to overheads and profit. A negative figure shows the product is losing money on a fully costed basis.

Repeat the calculation across your range to identify which products perform best. You may find that a seemingly high-gross-margin item becomes marginal once advertising and returns are included. Use the data to adjust pricing, reduce advertising on low-margin lines or improve fulfilment processes.

Use the figures to improve decisions

Review margins monthly alongside cash-flow forecasts. This helps decide which products to promote, which to discontinue and how to set prices that cover all costs while remaining competitive. Keep records of every calculation for HMRC compliance in case of self-assessment or corporation tax enquiries. Accurate bookkeeping software can automate parts of this process but still requires correct cost allocation.

Founders based near Liversedge in West Yorkshire can access free desk space, a registered address and mentoring at Loomworks, the AI and ecommerce startup incubator, which may help while refining these financial systems.

Frequently asked questions

What costs should be included when calculating ecommerce net profit margin?

Include cost of goods, platform and payment fees, advertising spend attributed per product, fulfilment and postage, packaging, and the cost of processing returns including shipping both ways. Exclude general overheads such as rent or salaries unless allocating them per product for full absorption costing.

How do returns affect profit margins on ecommerce products?

Returns reduce revenue and add extra shipping, handling and potential product loss costs. If your return rate is 10 percent you should add the expected cost of those returns to every unit sold in your margin calculation. This can lower net margin by several percentage points on fashion or high-value items.

Should I use gross or net margin to set my ecommerce prices?

Use net margin as the basis for pricing decisions. Ensure the price covers all variable costs including advertising, fulfilment, returns and fees, then add enough margin to cover fixed overheads and target profit. Gross margin alone can lead to underpricing.

How often should I recalculate my product profit margins?

Recalculate at least monthly using actual sales data, current advertising costs and the latest return rates. Seasonal changes, new advertising campaigns or shifts in platform fees can quickly alter true profitability.

Do payment processing fees make a big difference to margins?

Yes. A combination of 2-3 percent plus a fixed fee per transaction can reduce net margin noticeably on lower-priced items. Always factor the exact rate from your provider into the per-product calculation and consider it when choosing pricing or sales channels.

Related reading: How to register for self assessment with HMRC as a new trader, What assets qualify for the annual investment allowance?, Do IR35 rules apply to startup directors and contractors?. Browse all tax & finance guides or apply to Loomworks.

Cohort one / 2026

Turn the reading into real progress.

Build alongside other founders inside a working, AI-first e-commerce group in Liversedge.

Start your application →
Free desks · no fees · no equityApply now