E-commerce Profit Calculator screenshot

E-commerce Profit Calculator

Calculate net profit, margin, and ROI for online stores.

Privacy First
0 Runs
Updated 2026-11-06
Sent to this site only
No signup
Nothing stored

Calculate net profit, margin, and ROI for online stores. Enter your numbers and get an instant result.

Take a month of store figures apart: gross profit from revenue and COGS, then the operating costs — ads, storage, gateway fees, refunds, tax — down to net profit, margin, ROI and a break-even point.

It is a P&L for one period with the assumptions written into the formulas, not a forecast and not a bookkeeping record.

How to use E-commerce Profit Calculator

Type total sales in revenue and the inventory cost in cogs, with shipping_cost, storage_cost and ad_spend broken out separately.

Set the gateway terms in payment_fee_pct and payment_fee_flat with order_count, then add refund_rate_pct and tax_rate_pct for the net figure.

Read net_profit and net_margin_pct first, then roi_pct: margin answers whether each sale is healthy, ROI answers whether the ad spend was.

From gross to net

Gross profit is revenue minus COGS minus shipping out. Every cost you enter after that is operating expense: advertising, storage, other expenses, gateway fees, the tax line and refund loss. Net profit subtracts all of it, and net margin and ROI are the two ratios reported beside it.

Refund loss is not just the refunded revenue. The page adds the returned goods' COGS at half its value and the outbound shipping again, because a refund costs you a return leg and often a write-down — which is why a 10 percent refund rate hurts far more than 10 percent of sales.

Reading the ratios

ROI divides net profit by everything you spent, not by revenue, so it answers a different question from margin: margin says what share of each sale you keep, ROI says what you got back for the money you put in. A store can have a healthy margin and a poor ROI when advertising is heavy.

A negative figure is printed with its sign rather than clamped, and an order count below one is refused because per-order costs would divide by zero.

What to Expect

Best for

  • Reviewing a month before deciding whether to raise ad spend.
  • Seeing how much of the margin refunds and fees take.

What this tool keeps

  • Every figure you enter is used as typed; gross profit, net profit, margin, ROI and the break-even point are all derived from them.

Sample input

Revenue $40 000, COGS $16 000, shipping $2 000, ads $6 000, gateway 2.9% + $0.30, 900 orders, refunds 4%

Sample output

A gross profit line, then net profit after ads, fees, refund loss and tax, with the margin and ROI printed beside it.

Frequently asked questions

Why does a refund cost more than the refunded amount?

Because the page also charges the returned goods at half their cost and the outbound shipping again. A refund is a reversed sale plus a return leg, not a transfer.

Is this a cash-flow statement?

No. It is one period's revenue and costs as you entered them, with no receivables, inventory build or payment timing.

Does it tell me my break-even revenue?

It reports a break-even point derived from the margin implied by your figures. Change the ad spend and the point moves, so treat it as a sensitivity check.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.