Skip to main content
MARGIVIO

E-commerce Profit Calculator

See what you really keep from each order after product cost, shipping, packaging, marketplace and payment fees, discounts and advertising. All amounts exclude sales tax, VAT and GST.

Loading calculator

What is e-commerce profit?

E-commerce profit per order is the money left from a sale after every cost of that order is paid. Revenue is what the customer pays you: the item price after any discount, plus the shipping you charge. Costs include the product itself, shipping and packaging, marketplace and payment processing fees, advertising, and any other per-order costs.

Looking only at selling price minus product cost overstates profit. Fees and shipping often take a large share of each sale, which is why this calculator lists every cost separately.

How to calculate profit per order

  1. Item price after discount = selling price − discount
  2. Customer payment (revenue) = item price after discount + shipping charged to the customer
  3. Platform fee = fee base × platform fee % + platform fixed fee. The fee base is either the item price only or the total customer payment.
  4. Payment fee = fee base × payment fee % + payment fixed fee
  5. Advertising = advertising cost per order + customer payment × advertising %
  6. Total costs = product cost + shipping cost + packaging + platform fee + payment fee + advertising + additional costs
  7. Net profit per order = customer payment − total costs

Profit margin formula

Net profit margin = net profit per order ÷ customer payment × 100

If the customer payment is zero (for example, a 100% discount with free shipping), the margin cannot be calculated and the calculator shows it as not available rather than 0%. A negative margin means the order loses money.

Worked example

A product sells for $40.00 with a 10% discount and $5.00 shipping charged. It costs $14.00 to buy, $6.50 to ship and $0.80 to pack. The example uses an 8% + $0.30 platform fee and a 3% + $0.30 payment fee, both on the total customer payment, and $3.00 of advertising per order. These fee rates are illustrative only.

Worked example breakdown
Item price after 10% discount$36.00
Customer payment (revenue)$41.00
Product cost− $14.00
Shipping cost− $6.50
Packaging− $0.80
Platform fee (8% of customer payment + $0.30)− $3.58
Payment fee (3% of customer payment + $0.30)− $1.53
Advertising− $3.00
Total costs$29.41
Net profit per order$11.59
Net profit margin28.27%

Selling price minus product cost alone would suggest $26.00 per order. After the discount, fees, shipping and advertising, the order actually earns $11.59.

What costs are included?

  • Product cost (what one unit costs you)
  • Shipping you pay the carrier, and packaging
  • Platform or marketplace fees, as a percentage and/or a fixed amount per order
  • Payment processing fees, as a percentage and/or a fixed amount per order
  • Advertising, as a cost per order and/or a percentage of revenue
  • Up to five additional per-order costs you add yourself
  • Discounts, which reduce revenue before fees are calculated

What costs are excluded?

  • Sales tax, VAT and GST. Enter all amounts excluding tax.
  • Income tax or corporation tax on your profits
  • Currency conversion and international card fees
  • Refunds, returns and chargebacks, unless you add them as an additional cost
  • Storage, warehousing and other fulfilment fees not entered above
  • Fixed overheads such as software subscriptions, rent and salaries

Platform and payment fee structures vary and change over time. The default values in the calculator are examples, not the fees of any particular marketplace or payment provider. Check your own fee terms.

Common mistakes

  • Entering a price that includes VAT or GST. The tax is not yours to keep, so it should not count as revenue. See the next section.
  • Reading net profit per order as what is left after overheads. Fixed monthly costs such as software, rent and salaries are not in this result. Treat them separately from the costs of one order.
  • Counting advertising twice. Advertising per order and advertising as a percentage of revenue are added together. Enter each campaign cost in one of them, not both.
  • Choosing the wrong fee base. A fee can be charged on the item price only or on the whole customer payment including shipping. Pick the base your fee statement uses.

If your price includes VAT or GST

In some markets, including the UK and Australia, the prices shown to customers often already include VAT or GST. This calculator works with amounts without tax, so take the tax out of a tax-inclusive price before you enter it:

Price without tax = price including tax ÷ (1 + tax rate)

For example, a tax-inclusive price of $120.00 with a tax rate of 20% is $120.00 ÷ 1.20 = $100.00 without tax. The 20% is only an example for the arithmetic. The rate that applies depends on the country, the product and the seller, and some sales are not taxed at all, so check the rate that applies to you.

  • If the shipping you charge also includes tax, remove it from that amount in the same way.
  • A marketplace or payment provider may charge its percentage on the amount including tax. The calculator applies each percentage to the tax-free amount you enter, so if your fees are charged on the larger tax-inclusive amount, the real fee is higher than shown. Check your fee statement.

This explains the arithmetic only. It is not tax advice, so confirm the rates and rules with the tax authority or a qualified adviser.

What to do next

Once you know what one order earns, these calculators answer the questions that follow:

Frequently asked questions

Is profit margin the same as markup?

No. Margin is profit divided by the selling price (here, the customer payment). Markup is profit divided by cost. A product that costs $60 and sells for $100 has a 40% margin but a 66.7% markup.

Why does shipping charged to the customer count as revenue?

Because the customer pays it to you. The calculator adds it to the item price to get the customer payment, then subtracts your actual shipping cost as a cost. If you charge less for shipping than it costs you, the difference reduces your profit.

Should the platform fee apply to the item price or the total payment?

It depends on the platform. Some marketplaces charge their percentage fee on the item price only, while others include shipping. Choose the option that matches your platform's fee terms. Payment processors usually charge on the full amount the customer pays.

Are taxes included?

No. Enter every amount excluding sales tax, VAT or GST. The calculator does not apply any country's tax rules, so results are pre-tax profit per order.

What is a good e-commerce profit margin?

There is no single answer. Margins vary widely by product category, pricing strategy and business model. Use the target selling price tool to see what price you need for the margin you want, and compare it with what your customers are likely to pay.

How is the target selling price calculated?

The calculator solves for the lowest selling price whose net profit margin meets your target, keeping all other costs, fee rates, fee bases and your discount the same. The result is rounded up to the nearest 0.01 and then checked with the same profit calculation.

Do you store the numbers I enter?

Not in a database. Calculations run in your browser, and MARGIVIO has no accounts or database of what you type. A shareable link does carry your numbers in its web address, so anyone with the link can see them, and when a link is opened the address is sent to the hosting servers, where logs can record it. Additional cost names are never put in a link. See the Privacy Policy for details.