Price & marginFree
Sale Price Calculator
Calculates the sale price from your cost and target margin, already including taxes, card fees and marketplace commission. Shows the markup, the net profit and how much of each sale goes to taxes and fees.
- No sign-up
- Runs in your browser
Enter at least the product cost and target margin to calculate the ideal sale price.
How it's calculated
- price = cost ÷ (1 − (margin + tax + fees) ÷ 100)
- markup = price ÷ cost
- profit = price × margin ÷ 100
Pricing tips
- Include taxes and fees in the price. Otherwise your real margin is lower than it looks.
- Margin applies to the sale price; markup applies to cost. Don't mix them up.
- On marketplaces, add the commission to the math: the net amount you receive drops a lot.
- Test discount scenarios before a promotion so you don't lose margin.
How it works
How to calculate the ideal selling price
The calculator starts from the product cost and the net margin you want to keep, then bakes in every deduction that eats into the price: taxes, card processing fees and marketplace commission. It solves the price backwards: Price = Cost ÷ (1 − desired margin − total fees in %). That way the margin you typed actually survives after everything is deducted.
Example: a product costs R$ 50, you want a 20% net margin and you pay 6% in taxes, 4% in card fees and 12% in marketplace commission, adding up to 42% taken out of the price. The selling price becomes R$ 50 ÷ (1 − 0.42) = R$ 86.21. Of that, R$ 36.21 covers taxes, fees and margin combined, and R$ 10.34 is your net profit; the applied markup was 72%.
Use the result to check whether the price fits the market: if it lands above competitors, cut cost, renegotiate commission or accept a thinner margin; if there is room to spare, you can run a discount without burning profit. A net margin below 10% is usually risky in e-commerce; between 15% and 30% gives you breathing room for free shipping and ads.
FAQ
Frequently asked questions
How do you calculate a product sale price?
Start from the total product cost and the profit margin you want on the price. The formula is: price = cost ÷ (1 − (margin + taxes + fees) ÷ 100). This calculator does it for you, baking in taxes, card fees and marketplace commission, so the price shown already covers everything and still leaves the margin you asked for.
Why include taxes and card fees in the price?
Because tax, gateway fees and marketplace commission come out of your pocket on every sale. If you price using only a markup on cost, your real margin ends up much lower than you think. Baking everything into the price protects your target margin.
What's the difference between markup and margin?
Margin is profit as a percentage of the sale price. Markup is the multiplier applied to the cost. A 50% margin equals a 2× markup (price is twice the cost). The calculator shows both so you don’t mix them up.
What profit margin is healthy in e-commerce?
It depends on the niche, but many healthy stores run a net margin between 10% and 30% after taxes and fees. High-turnover products accept a smaller margin; niche products sustain a larger one. Use the calculator to test scenarios.
Blog
Articles on this topic
Pricing
How to Calculate Markup and Margin in E-commerce: Formulas, Examples and Common Mistakes
The difference between markup and margin (and why confusing the two is expensive), with formulas, a mental spreadsheet and day-to-day examples.
7 min read
Pricing
Dynamic Pricing for Small Stores: Where to Begin
Dynamic pricing isn’t just for Amazon. See how a small store can adjust prices based on competitors.
9 min read
Marketplaces
How to Monitor Competitors on Marketplaces (Mercado Livre, Amazon and Shopee) in 2026
Buy Box, repricing and stockouts: what to watch when your competitor sells on the same marketplace you do.
10 min read