How to use it
- Choose what you want to find at the top: margin from cost and price, or a price from a target.
- Enter the cost and the other value.
- Profit, margin and markup are shown together.
What this calculates
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. The same profit gives different numbers: with a cost of 80 and a price of 100, the profit of 20 is a 20% margin and a 25% markup.
The formulas
- Online profit = price − fees (price × fee rate) − cost − shipping − ads − packaging − returns (rate × cost per return)
- VAT estimate (general taxpayer) = (price − fees − cost − shipping − ads − packaging) ÷ 11, taken off the profit again (assumes tax invoices on all costs)
- Break-even price = (cost + shipping + ads + packaging + returns) ÷ (1 − fee rate)
- Ad budget cap = current ads + profit (the ad cost at which profit is zero)
- Profit = price − cost
- Margin = profit ÷ price × 100
- Markup = profit ÷ cost × 100
- Price from a target margin = cost × 100 ÷ (100 − margin)
- Price from a target markup = cost × (100 + markup) ÷ 100
- Exact fractions are used; rounding happens only for display.
Worked examples
- Price 25,000, cost 12,000, fees 5%, shipping 3,000, ads 1,500 → 7,250 left per sale, a 29% margin
- Cost 80, price 100 → profit 20, margin 20%, markup 25%
- Cost 70 with a 30% margin → price 100 (markup 42.86%)
- Cost 70 with a 50% markup → price 105 (margin 33.33%)
- Cost 100 with a 50% margin → price 200 (markup 100%)
Frequently asked questions
What fee rate should I enter?
Add up the sales fee and payment fee from your own settlement sheet. Fees vary with seller tier, traffic source and category, and marketplaces change them, so the calculator leaves the rate to you. Using only the headline sales fee overstates what you keep.
What is the ad budget cap?
The ad cost per sale at which your profit hits zero. Spend more and every sale loses money. If you have a target margin, the cap that protects it is lower.
How do I enter returns?
Enter the return rate and what one return costs (round-trip shipping, disposal or repacking). It is spread over each sale as an average. Leave blank if unknown.
Is the VAT figure exact?
No. It is an estimate for a general taxpayer who has tax invoices for every cost. Simplified taxpayers or costs without invoices will differ. Check filings with a tax professional.
What is the difference between margin and markup?
They divide the profit by different things. Margin divides by the selling price and markup divides by the cost, so for the same profit the markup is always the larger number.
Is a 30% margin the same as cost × 1.3?
No, that is a 30% markup. A 30% margin means price = cost ÷ 0.7. With a cost of 70, cost × 1.3 gives 91, but cost ÷ 0.7 gives 100.
Can a margin be 100%?
Only if the cost is zero, so the calculator accepts margins below 100%. A markup can go above 100%.
What about taxes and fees?
They are not included. Add sales tax, card fees and shipping to the cost to get closer to your real profit.
What is a good margin?
It depends on the industry. The same margin can leave very different amounts of money depending on sales volume, fixed costs and fees, so compare with your industry average and your own costs. One number alone cannot say good or bad.
What if the selling price already includes tax?
Sales tax is not your profit. If the price includes tax, first divide it by 1 plus the tax rate to get the price before tax, then work out the margin from that.
How much does a discount cut my margin?
Margin is based on the selling price, so the discount comes straight off your profit. With a cost of 80 and a price of 100 (a 20% margin), 10% off gives a price of 90, a profit of 10 and a margin of about 11.1%.
How do I set a price from my cost and a target margin?
Price = cost ÷ (1 − target margin). With a cost of 70 and a 30% target margin, 70 ÷ 0.7 = 100.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.