← All free tools
Free calculator

Profit margin calculator for online stores

Most margin calculators only subtract the product cost. This one calculates like an online store: shipping, payment fees, ad spend and returns come off too, and what is left is what an order really earns.

Product

Tax included in the price

Per order

%

Returns

%

ROAS calculator

Return on ad spend: how much revenue every unit of ad spend brings back.

ROAS
3.00
Ad cost share (ACoS)
33.33%

Above your break-even ROAS of 2.16 from the calculator above: the ads make money.

Conversion rate calculator

Which share of your visitors orders, and what a visitor is worth.

Conversion rate
1.5%
Revenue per visitor
0.75
Revenue
7,485.00

What the calculator counts

Per order:

  1. Net revenue = selling price ÷ (1 + tax rate). VAT belongs to the tax office; with US sales tax added at checkout, the rate is 0%.
  2. Product margin = net revenue − product cost. Gross margin and markup come from this.
  3. Returns: every returned order loses its product margin, plus the cost of the return (label, handling). The calculator takes this off weighted by your return rate, assuming the item goes back into stock.
  4. Shipping is paid on every order, including the ones that come back.
  5. Payment fee: a percentage of the price plus a fixed fee, counted in full on every order. PayPal US keeps the whole fee on a refund.
  6. Ad cost per order (CPA) comes off last.

What is left is the profit per order (contribution margin). Fixed costs such as rent, software or your own salary are not included yet.

The example in the calculator

A product sold for 49.90 (no sales tax in the price), 15 product cost, 5.50 shipping, US PayPal Checkout (3.49% + 0.49), 8 ad cost per order, a 10% return rate at 6 per return:

ItemAmount
Selling price49.90
− Product cost15.00
− Returns (expected)4.09
− Shipping & packaging5.50
− Payment fee2.23
− Ad cost8.00
= Profit per order15.08

Out of 49.90, 15.08 is left: a 30.2% margin. The 69.9% product margin looked much better. Break-even ROAS is 2.16: if 1 in ad spend brings in less than 2.16 in revenue, every order loses money.

Profit margin formula, markup and gross margin

  • Margin = profit ÷ net selling price: how much of the price you keep.
  • Markup = profit ÷ cost: how much you add on top of what you paid.
  • Gross margin = (net selling price − product cost) ÷ net selling price, before any other cost.

A 100% markup is a 50% margin. A 50% markup is a 33.3% margin. Mix the two up and your prices end up too low.

Where the margin disappears

Two costs are underestimated almost every time: returns and ads. In the example, a 10% return rate costs 4.09 per order, more than the payment fee. At a 30% return rate the profit drops from 15.08 to 6.90. Some returns can be prevented, for example when a customer gets a fast, correct answer before they send the order back; how to reduce your return rate covers it.

And one more cost appears in no calculator: the time spent on support emails per order. What a support ticket costs puts a number on it.

From the makers of this tool

Returns and support are the silent margin killers.

A support case solved by hand costs €5–15 in staff time, and no margin calculator counts it. Sondercase takes exactly these cases off your plate.

  • “Where is my order?” handled

    Answered with the live tracking status of that exact order, fully automatically if you want.

  • Returns in one click

    Return, refund or cancellation arrive fully prepared. You just release them.

  • Fewer avoidable returns

    Customers who get a fast, correct answer send back less out of uncertainty.

Frequently asked questions

How do I calculate profit margin?

Profit margin = (net selling price − costs) ÷ net selling price × 100. With a price of 49.90 and a product cost of 15, the product margin is 69.9%. Once shipping, payment fee, ads and returns come off, the example above leaves a margin of 30.2%.

What is the difference between margin and markup?

Margin relates the profit to the selling price, markup relates it to the cost. Buy for 10 and sell for 15, and the markup is 50% while the margin is only 33.3%.

How do I calculate markup?

Markup = (net selling price − cost) ÷ cost × 100. Buy for 15 and sell for 30 net, and the markup is 100%. The calculator shows the markup next to the margin, so you can price with either.

What is break-even ROAS?

The return on ad spend your ads must reach so an order does not lose money: selling price divided by the profit per order before ad spend. In the example above it is 2.16, so every 1 spent on ads has to bring in 2.16 in revenue.

How do I calculate ROAS?

ROAS = revenue from ads ÷ ad spend. 3,000 in revenue from 1,000 in ads is a ROAS of 3.00, an ad cost share (ACoS) of 33.33%. Whether that is enough depends on your break-even ROAS: 2.16 in the example above, so a ROAS of 3.00 makes money. The ROAS calculator under the margin calculator checks both.

How do I calculate conversion rate?

Conversion rate = orders ÷ visitors × 100. 150 orders from 10,000 visitors is 1.5%. At an average order value of 49.90, every visitor brings in 0.75 on average.

Should I enter prices with or without VAT or sales tax?

Enter the price your customer pays and pick the tax rate included in it. In the US, where sales tax is added at checkout, choose 0%. In the UK or the EU, prices include VAT, so pick your rate and the calculator takes it out first.

What is a good profit margin for an online store?

There is no single number; it depends on your category, price point and return rate. What matters is that every order leaves something after all costs, and that your break-even ROAS is below what your ads actually achieve.

All results are estimates for planning, not tax or legal advice.

What can we help with?

How many support tickets a month?

What powers your store?

Great, who should we reply to?

Last step, a bit about your store.

Free & no obligation · reply within one business day

Thanks, message received.

We’ll get back within one business day. Want to talk sooner?