Skip to content
Profit9 min readUpdated Nov 26, 2026

How to Calculate E-commerce Profit

Most sellers can calculate revenue. Far fewer can calculate profit accurately, because the costs are spread across marketplaces, carriers, apps and ad platforms. This guide gives you a repeatable method that works for a single product, a channel or the whole business.

Start with the right revenue number

Use revenue you actually keep. If you collect VAT or sales tax and remit it, exclude it. If you offer refunds, subtract them. Gross merchandise value is a vanity metric; net revenue is the base for every margin calculation.

For a single order, net revenue is the item price plus shipping charged, minus any tax you remit and any discount you funded. For a period, it is total sales minus refunds and tax.

Layer the costs in the right order

  1. Cost of goods sold (COGS) — product cost plus inbound freight and duty, allocated per unit.
  2. Marketplace and payment fees — referral or final value fees, payment processing, fixed fees and subscriptions.
  3. Fulfilment and shipping — carrier cost, packaging, pick and pack, storage.
  4. Advertising — ad spend attributed to the sales in the period.
  5. Returns — refunds, return shipping, processing and unsellable inventory.
  6. Overheads — software, salaries, rent, insurance, professional fees.
  7. Tax — income tax on the resulting profit, which is not an operating cost but affects what you keep.

The order matters less than consistency

Whether you treat marketplace fees as a revenue deduction or an operating cost, be consistent. Inconsistent categorisation makes month-to-month comparisons meaningless.

Worked example: one product

LineAmount
Selling price$49.99
Shipping charged$4.99
Marketplace fee at 13.6%−$7.48
Payment fixed fee−$0.40
Product cost (landed)−$18.00
Shipping cost−$6.50
Packaging−$0.80
Advertising per unit−$3.00
Return provision at 5%−$1.40
Profit per unit$17.40

Illustrative example. Use your own costs and rates.

Profit per unit is $17.40 on $54.98 of gross revenue, a 31.6% margin. That is a healthy unit, but it is not the whole story. Fixed overheads still need to be covered.

From unit profit to business profit

Multiply unit profit by units sold to get contribution. Then subtract fixed costs: software subscriptions, storage rent, salaried staff, insurance and any other cost that does not change with each order. What remains is operating profit.

If the business sells 400 units per month at $17.40 contribution, that is $6,960. Subtract $2,400 of fixed costs and operating profit is $4,560. The unit margin was 32%; the business margin is lower because fixed costs are spread over revenue.

Include a return provision

Returns are not a rare exception; they are a predictable cost. A 5% return rate means roughly one in twenty orders comes back. The cost includes the refunded revenue, return shipping and the chance that the unit cannot be resold at full price.

Do not simply subtract 5% of revenue. A return can cost more than the revenue lost because you may also lose shipping both ways and the fixed payment fee. A conservative provision is a percentage of the order value based on your actual return data.

Separate profit from cash

Profit and cash are different. You may be profitable on paper while cash is tied up in inventory or held in a marketplace reserve. A business can fail from a cash squeeze even with healthy margins. Track payout timing, inventory days and reserve balances alongside profit.

A monthly routine

  1. Export sales, refunds and fees from each channel.
  2. Reconcile marketplace deductions against your bank payouts.
  3. Allocate landed cost to units sold, not units purchased.
  4. Add advertising spend for the same period.
  5. Add a return provision based on actual returns.
  6. Subtract fixed overheads and review the largest cost line.
  7. Compare net margin with the previous month and your target.

Build your own P&L

The Real Net Profit Simulator includes every major seller cost and shows your largest cost driver.

Open Net Profit Simulator

Three common errors

  • Using supplier price instead of landed cost, which ignores freight and duty.
  • Forgetting payment processing and fixed fees because they are small per order but large per month.
  • Comparing gross margin across products with different return rates and ad costs.

Frequently asked questions

What is the difference between gross and net profit?

Gross profit subtracts direct costs such as COGS and selling fees. Net profit also subtracts overheads, payroll, interest and tax.

Should I include my own salary?

Yes, if you want a true business profit. Add a market salary for your time as an operating cost, even if you do not pay yourself yet.

How do I allocate shipping cost per unit?

Use the actual carrier cost per order. If you ship multiple units together, allocate by weight, volume or a consistent rule.

Why is my profit different from my payout?

Payout is cash after marketplace deductions. Profit also subtracts product cost, overheads and advertising, and includes timing differences such as reserves.

Sources

Sources are linked for reference. Fee and tax rules change; confirm current figures with the marketplace or authority before acting.