How the ecommerce profit margin calculator works
The calculator starts with gross order revenue: selling price times quantity, plus shipping charged to the customer, minus discounts. It then subtracts product cost, labor, packaging, seller-paid shipping, platform fees, payment fees, returns, ad cost, other variable costs, and optional allocated fixed costs.
Ecommerce profit margin formula
Estimated profit = gross order revenue - variable costs - allocated fixed costs. Net margin = estimated profit / gross order revenue. Markup on cost = estimated profit / total cost basis.
Common mistakes
- Treating sale price minus product cost as real profit.
- Forgetting shipping subsidies when free shipping is offered.
- Ignoring fixed payment fees on low-ticket products.
- Leaving out returns, refunds, ad cost, packaging, and monthly app costs.
- Comparing markup and margin as if they mean the same thing.
Privacy note
Calculations run in your browser unless you choose to copy or export a result. Do not enter confidential customer data, platform credentials, passwords, or sensitive personal information.