Free tool

Ecommerce profit calculator

Enter what you sell an item for and what it costs you. This works out your net profit per order, your margin, and what the month looks like at your order volume — after product cost, payment fees, shipping, ad spend and refunds.

Runs in your browser · Nothing you type is saved or sent · Updated 4 December 2026

Your numbers

Example figures are filled in. Change any of them — the result updates as you type.

What the customer pays, excluding tax.
Average items in one order.
What you pay your supplier, landed.
Revenue, so it is added to the order total.
Label, packaging and fulfilment per order.
Monthly ad spend ÷ monthly orders.
Your processor’s percentage.
Per-transaction flat fee.
Share of revenue refunded on average.
Anything else that scales per order.
Used for the monthly figures.

Net profit per order

After every cost you entered

—

— net margin

  • Order revenue—
  • Product cost—
  • Ad spend—
  • Shipping—
  • Payment fees—
  • Refunds—
  • Net profit—

Net profit per month

—

Gross margin

—

Max ad spend per order

—

Break-even ROAS

—

Break-even selling price

—

Costs as % of revenue

—

Estimates, not accounts. Sales tax and VAT are left out: they are collected on behalf of a tax authority and are not revenue. Refunds assume the payment fee is not returned and the item is not resold, which is the cautious case.

The formula

Net profit = revenue − product cost − shipping − payment fees − refunds − other variable costs − ad spend

Each figure the calculator reports comes from that line:

  • Payment fees = revenue × fee % + fixed fee. The default 2.9% + $0.30 is Stripe’s published standard rate for domestic US cards, checked 4 December 2026. Use your own processor’s rate — and if you take PayPal, our PayPal fee calculator works it out exactly.
  • Gross margin = (revenue − product cost) ÷ revenue. This is the figure most sellers mean when they say “margin”, and it is not your profit: every other cost still comes out of it.
  • Max ad spend per order is the profit left before advertising. Spend more than this to win an order and the order loses money.
  • Break-even ROAS = revenue ÷ max ad spend per order. Below this return on ad spend, your ads cost more than the orders bring in. The ROAS calculator goes further into this.
  • Break-even selling price is the price at which net profit reaches exactly zero, with your costs held where they are. It accounts for the fact that percentage fees and refunds scale with the price itself.

What counts as a healthy margin

There is no single right answer, and anyone quoting one number for all of ecommerce is guessing. Margin depends on your category, your price point and how much of your traffic you pay for. What is reliable is the direction: find your net margin first, then watch whether it moves up or down month to month.

Two things are worth knowing. First, a healthy-looking gross margin can hide a net loss once ads, fees and refunds come out — that gap is the single most common surprise for sellers who have never built a profit and loss statement. Second, your margin is not one number but a different number for each product, and the average conceals which products are carrying the others.

The per-product trap. A store with a 32% average net margin can still have its two best-selling products losing money on every order, if those products are heavy, discounted or heavily advertised. Averages hide this; a per-product P&L shows it.

Four costs sellers leave out

  1. The fixed part of the payment fee. On a $12 order, 30¢ is 2.5% on its own. On low-value orders the flat fee can matter more than the percentage.
  2. Refunds and the fees on them. Processors generally keep some or all of their fee on a refunded sale, so a refund costs more than the sale was worth. Cancelled and refunded orders also need removing from revenue — see which order statuses count.
  3. Shipping you absorb. Free shipping is not free; it is a cost per order that belongs on this line.
  4. The real ad cost per order. Platform-reported conversions overlap and double-count. Total monthly spend divided by total monthly orders is blunt, but it is honest, and it is the figure that reconciles with your bank account.

Questions

How do you calculate profit in ecommerce?

Start with what the customer paid, then subtract the cost of the product, your shipping and fulfilment cost, payment processing fees, refunds, and the advertising it took to win the order. What is left is net profit. Gross profit subtracts only the product cost, which is why it always looks healthier than net profit.

Is this ecommerce profit calculator free?

Yes, with no sign-up. It runs entirely in your browser: the numbers you type never leave your device and nothing is stored.

What is the difference between gross margin and net margin?

Gross margin is revenue minus the cost of the goods, divided by revenue. Net margin subtracts every cost — fees, shipping, refunds, advertising and overheads — and is what the business actually keeps. A store can have a 60% gross margin and a negative net margin.

Should sales tax or VAT be included?

No. Tax you collect is money you hold on behalf of a tax authority, not revenue, so leave it out of both the selling price and the calculation. Enter the pre-tax price.

How do I work out my ad spend per order?

Divide your total ad spend for a month by the number of orders in that month, including orders that did not come from ads. It is deliberately blunt: it matches what left your bank account, where per-platform attribution usually double-counts.

Can I calculate profit for my whole store, not one order?

Yes — use the P&L statement generator for a full monthly statement, or connect your store to PLManager so the figures come from your real orders instead of estimates.

From estimates to your actual numbers

A calculator tells you what an average order should earn. It cannot tell you what last month actually did, because real months are untidy: refunds land weeks after the sale, ad spend does not divide evenly, some orders sit unpaid, and fees differ by payment method and country.

That is the job PLManager does. It reads your real orders through a read-only connection, applies your real costs, and produces the statement rather than an estimate of it. Related reading: the ecommerce P&L format, building a profit report from WooCommerce, and our free P&L template if you would rather work in a spreadsheet.