How to calculate your selling price without losing money on every sale

Sell moreBy Emiliano Calderón4 min read

Grey desktop electronic calculator with number and percent keys.
Photo: Coyau / Wikimedia Commons, CC BY-SA 3.0 (cropped)

The most common way to set a price is to take your cost, add a percentage and call it a day. The problem is that it ignores what each sale loses along the way: VAT, the platform fee and the payment provider’s cut. And since those fees are charged on the final price, the margin you thought you had shrinks without you noticing.

In this article we do the full math with an example, step by step. If you’d rather skip the theory, the selling price and margin calculator does all of this for you.

The example uses Argentine pesos and Argentina’s 21% VAT, but the logic works with any currency and tax rate.

1. Margin and markup are not the same

This is the most common mix-up, and it changes the result a lot:

  • Markup: how much you add to the cost. If something costs you $100 and you sell it for $150, the markup is 50%.
  • Margin: what share of the selling price you keep. In the same example, you earn $50 on $150: the margin is 33%.

When someone says “I work with 30%”, it’s worth asking 30% of what. A 30% markup is a margin of just 23%.

2. Use the right cost

Before doing any math, pin down the cost of each unit:

  • If you can reclaim the VAT on your purchases, it isn’t a cost. Use the cost before VAT.
  • If you can’t reclaim it (in Argentina, if you’re on the simplified monotributo regime), the VAT you paid is a cost. Use the total.
  • Add everything that goes out with each sale: packaging, labels, shipping if you offer it free, the per-unit fee some platforms charge.

3. Why adding percentages doesn’t work

Let’s look at an example. A product costs you $10,000 before VAT, you want a 30% margin, and you sell through a platform that charges 10% of the final price, including the payment fee. You charge VAT at 21%.

The quick math would be: $10,000 plus 30% is $13,000, plus VAT is $15,730. Now look at what happens when you sell at that price:

Amount
Final price $15,730
VAT (you pay it to the tax office) − $2,730
10% fee on the final price − $1,573
Product cost − $10,000
You keep $1,427

That $1,427 is an 11% margin, not 30%. The fee ate almost two thirds of the profit.

4. The right math

The trick is to set the price so that, after everything is taken out, you keep the margin you want. The formula, for a price that includes 21% VAT, is:

Final price = cost ÷ ((1 − margin) ÷ 1.21 − fee)

With the example’s numbers: $10,000 ÷ (0.70 ÷ 1.21 − 0.10) = $20,899. Let’s check it:

Amount
Final price $20,899
VAT − $3,627
10% fee − $2,090
Product cost − $10,000
You keep $5,182

$5,182 on a pre-VAT price of $17,272 is exactly the 30% you were after. The difference from the quick math is more than $5,000 per unit.

If you don’t charge VAT, the formula is simpler: cost ÷ (1 − margin − fee). With a $10,000 cost, a 30% margin and a 10% fee, the price is $16,667.

5. Know how big a discount you can give

With the price worked out properly, you can also see how low you can go. In the example, the price at which the sale stops making money is $10,000 ÷ (1 ÷ 1.21 − 0.10) = $13,766. So the maximum discount is 34%.

But that’s the limit, not the goal: at that point you earn nothing and haven’t yet paid rent, wages or advertising. It helps you decide quickly whether a “30% off” promotion or a coupon makes sense.

6. Choose a margin that covers your fixed costs

There’s no right margin for every industry. What you can do is a simple test: add up your monthly fixed costs (rent, wages, utilities, advertising, accountant) and divide them by the units you sell in a normal month. If your profit per unit doesn’t cover that number, the margin falls short, even if each individual sale looks profitable.

7. Review your prices often

When costs change, a price goes stale fast. Platform fees change too: take them from your latest statement, not from memory. If you have many products, the price list updater applies an increase to the whole list at once.

What this math leaves out

For the number to be useful, it’s worth knowing what’s outside it: income tax, other local taxes, withholdings and any VAT on fees you can reclaim. For the final number, check with your accountant.

If you sell on Mercado Libre and wonder whether your own store would pay off, continue with the Mercado Libre vs. online store comparison or read which platform to choose for your online store.

← Back to the blog

Shall we talk about your project?

Tell us what you need and we will reply the same day.