Blog · Run your store

How to price your products in an online store: costs, fees and real margin

To price a product, add up everything it costs to sell (product, packaging, shipping you absorb, payment fee, ads and refunds), then divide by one minus the percentages taken by the payment fee, ads and your target margin. The price you get already includes your profit.

Key takeaways: Build the price from your real costs, not from what competitors charge. Every discount or free shipping offer comes out of your profit, not your revenue.

Why isn't doubling your cost enough?

Doubling the cost is a shortcut that hides every expense that shows up after the sale. A product that cost you 12 and sells for 24 looks like it leaves 12, but the payment fee, the packaging, the shipping if you pay it, the ads that brought the customer and the orders that get refunded or exchanged all come out of that number. Once you add them up, your real margin can be half of what you imagined, or less. With Black Friday and Christmas close, this is the worst moment to find out, because it is exactly when prices drop and shipping gets waived.

The distinction that matters is between gross margin (price minus product cost) and net margin per order (what is left after every cost of selling that specific order). To decide prices and discounts, only the second one counts. If you only look at gross margin, every promotion seems profitable until you check your bank balance at the end of the month and wonder where the money went.

Which costs should you add up before setting the price?

Add everything that leaves your pocket for each order, not just what you paid the supplier. It helps to split costs into two groups: fixed amounts per order, and costs that are a percentage of the selling price. That split is what makes the formula in the next section work, and it forces you to fill in each line from your invoices and your payments dashboard rather than from memory.

One more layer depends on your country and how you invoice: sales taxes. Either calculate the price on the amount before tax and add the tax afterwards, or decide that your published price already includes it. Mixing both approaches is a common source of errors, so choose one rule and apply it the same way across the whole store. If you accept local payment methods, also check payment methods for Latin American stores, since the fee is not the same for cards, bank transfers or cash.

What is the formula for the selling price?

The formula is: price = fixed costs per order ÷ (1 − payment fee % − ads % − refund reserve % − target margin %). Fixed costs per order include the product, packaging, shipping you absorb and the processor's fixed fee. The percentages are the ones that scale with the price: the more you charge, the more each one takes. That is why adding a percentage on top of your cost doesn't work. You have to divide, because the fee and the ads are calculated on the final price, not on your cost.

A worked example with made-up numbers

These figures are invented to show the math, so replace them with yours. Say a product costs you 12, packaging is 1 and the processor's fixed fee is 0.30, so your fixed costs are 13.30. Assume a 4% payment fee, ads equal to 15% of the price, a 3% refund reserve and a 20% target net margin. The percentages add up to 42%, so you divide 13.30 by 0.58 and get a price of about 22.93. Check it: out of that price, 0.92 goes to the fee, 3.44 to ads and 0.69 to the reserve, leaving 4.59 of profit, which is 20%.

The result also tells you something uncomfortable but useful. If the market will only pay 19 for that product, you don't have a sales problem, you have a cost problem. Your options are to lower the cost (another supplier, different packaging), sell it higher with better presentation, or accept a lower margin on purpose. What you shouldn't do is price it at 19 and hope volume fixes it, because with a thin margin every extra order also brings its own ad spend and shipping.

How much does a discount or free shipping really cost you?

A 10% discount doesn't take 10% of your profit. It takes far more, because your fixed costs stay the same. In the example, the price drops from 22.93 to about 20.64, while the 13.30 of fixed costs and the 3.44 of ads don't change, and only the fee and the reserve shrink slightly. Profit falls from 4.59 to about 2.45, nearly half. Free shipping that costs you 4 is even worse, because the whole amount is subtracted from profit.

Scenario (example)Price chargedProfit per order
Base price22.934.59
10% discount20.642.45
Free shipping you absorb (4)22.930.59
10% discount and free shipping20.64−1.55

The last row is the one that surprises people: with both promotions you sell more and lose money on every order. If you want to offer free shipping, first work out the minimum order that pays for it with this free shipping guide. To know how far you can cut a price, run the formula backwards: calculate your floor, meaning the price at zero margin or at the lowest margin you are willing to accept, and never go below it.

How do you adjust prices before Black Friday and Christmas?

Before publishing any offer, set a floor price for each product and a discount budget, and stick to it even if competitors go lower. Ads usually get more expensive in those weeks, so your ads percentage probably goes up. Recalculate it with data from your latest campaigns, not from a quiet month. Use discounts where you have room, offer gifts or bundles where you don't, and leave tight-margin products at full price. The Black Friday WhatsApp plan helps you organize the calendar, and the Christmas guide reminds you to announce the shipping cutoff.

If you have slow-moving stock, marking it down makes sense, but with a limit set in advance: clearing stock without giving away your margin requires knowing what that stock is worth to you. And when a customer says it's too expensive, lowering the price isn't always the answer, since there are ways to reply without giving it away. It also pays to check whether your marketing covers its cost with WhatsApp campaign cost and ROAS, since messaging past buyers is usually cheaper than buying new traffic.

How do you keep prices consistent across your store and your chats?

Your prices in chat must match your website, because a customer who sees one price on the site and another on WhatsApp stops trusting you. You set prices in Shopify or WooCommerce, and Super Agent reads them live from the catalog, along with real stock, so it always answers with the current value. It only reads the store and never changes anything in it. If you change a price for a promotion, the agent quotes the new one without you rewriting replies. We set it up with you for free in a 30-minute call; to see the flow, read how to connect WhatsApp to Shopify.

A simple routine helps: every quarter, and always before a busy season, review your payment fee, your average shipping cost and your ads percentage, then recalculate the price of your 10 best sellers. If you want a broader look at your store, the store self-audit tool is a good starting point. You can create your free account with no card: you enter your website and we write your first agent.

Frequently asked questions

What net margin is reasonable for an online store?

There is no single number: it depends on your category, your ads and your shipping. First calculate your real net margin per order with the formula in this article, then decide the minimum that covers your business expenses and still leaves profit.

Should I include my salary and fixed expenses in the price?

Yes, but not order by order. Add them up monthly (platform, tools, your time) and divide by the orders you expect. That amount goes into your fixed costs or into your target margin.

Should the price include shipping?

It's your call: you can charge it separately, absorb it, or share it with a minimum order amount. What matters is that the cost appears in your calculation; see the free shipping guide.

How often should I review my prices?

At least every quarter and always before a busy season. Also review them when something big changes: your supplier, your carrier, the payment fee or what each order costs you in ads.

Does Super Agent change my prices?

No. You set prices in your store; the agent only reads them live from your Shopify or WooCommerce catalog so it can answer customers with the current value.

Pricing is arithmetic, not intuition: with your real costs and one formula, every year-end offer gets decided by the profit it leaves, not just the sales it brings. Run the numbers today for your best sellers and write down a floor price for each one.

Keep your chat prices in sync with your store

Create your free account with no card. Enter your website and we write your first agent, which reads your live prices and stock and never changes them.

Start for free

Free plan, no credit card. See plans and pricing.

Keep reading