What this calculator shows
Most store owners know their product margin. Fewer know what is left of each order after shipping, payment fees and the ads that brought the customer in. This calculator puts every per-order cost in one place and shows your real net profit per order, your net margin and, if you add your order volume, your profit per month.
It works the same for a Shopify store, a dropshipping store, or any other online shop.
The ecommerce profit formula
Worked example
A $50 product costs $15 to make, $5 to ship, the payment provider takes 3%, and you spend $12 in ads for each order.
Before ads, the same order makes $28.50 (a 57% margin). Ads take over 40% of that, which is how a store with a good product margin can still struggle to make money.
Every cost to count per order
- Product cost (COGS): what you pay your supplier or manufacturer per unit, including inbound freight.
- Shipping and fulfilment: postage, packaging, pick-and-pack or 3PL fees. If you offer free shipping, this still comes out of your margin.
- Payment fees: your payment provider's percentage, plus any fixed fee per transaction if it is meaningful at your order value.
- Ad cost per order: your total ad spend divided by orders, which is your CPA.
- Returns and refunds: if 5% of orders come back, spread that cost across all orders.
- Discounts: a 10% code is 10% off your revenue, not off your profit.
Fixed monthly costs such as apps, your Shopify plan or salaries are not per-order costs. Subtract them from monthly net profit to see what the business keeps.
Shopify and dropshipping: what changes
On Shopify, the payment fee depends on your plan and payment provider, and third-party gateways can add an extra fee on top. Check your own plan and enter the total percentage.
In dropshipping, the supplier price often includes shipping, so put the full supplier cost in product cost and leave shipping at zero, or split it if your supplier lists them separately. Longer delivery times also tend to raise refunds, so include returns in your costs.
What is a good net margin?
It varies by category and business model, so there is no single target. The useful questions are: is net profit per order positive, and does monthly net profit cover your fixed costs with room to spare? If not, the fix is usually one of three things: a lower ad cost per order, a higher order value, or a higher price.
How to raise profit per order
- Lower ad cost per order with better creatives. A stronger hook raises CTR, which lowers the cost of every click and sale.
- Raise average order value with bundles, volume discounts and post-purchase upsells; shipping and ad costs stay roughly the same per order.
- Renegotiate supplier and shipping costs as volume grows.
- Test a higher price. A small price rise often moves profit more than a big cost cut.
- Bring customers back. A repeat order has no ad cost, which is why LTV matters so much in ecommerce.
To see the ROAS your ads need before they make any profit, use the ROAS calculator. For margin and markup alone, use the profit margin calculator.