Retail margin calculator
Set a cost and a target retail price to see gross margin, markup and total gross profit. If you only have a supplier unit price and no freight or duty, the result is flagged as indicative — real margin is lower.
Enter a cost per unit and a target retail price to see the margin.
0 of 3 inputs filled. Any field you leave blank is treated as unknown and excluded — PetIn.ai never substitutes an estimate for a number you have not supplied.
Margin and markup are not the same number
Both describe the gap between cost and selling price, and they divide it by different things. Margin divides profit by the retail price; markup divides the same profit by the cost. Because the retail price is always the larger denominator, markup is always the bigger percentage for the same numbers — and mixing the two up is the most common pricing error in small-brand product businesses.
| Measure | Formula | On cost 4.74, retail 12.99 |
|---|---|---|
| Gross profit per unit | retail − cost | USD 8.25 |
| Gross margin | profit ÷ retail × 100 | 63.51% |
| Markup on cost | profit ÷ cost × 100 | 174.05% |
The gap between 63.51% and 174.05% is not a rounding difference — it is the difference between pricing a product that can absorb channel fees and one that cannot. Price on margin and the remaining 36.49% of the retail price is what you have to spend on selling the unit.
Worked example including quantity
Same inputs, with 200 units so the tool also returns totals: cost per unit 4.74, target retail 12.99, quantity 200.
| Cost per unit | USD 4.74 |
| Retail price | 12.99 |
| Retail value (200 units) | 2,598.00 |
| Gross profit per unit | 8.25 |
| Gross margin | 63.51% |
| Markup on cost | 174.05% |
| Total gross profit | 1,650.00 |
Why a supplier price gives you a margin that is too high
The 63.51% above assumes 4.74 is a landed cost. If 4.74 is actually the supplier unit price and freight, duty and handling are still to come, the real landed cost is higher — on the worked example in the landed cost calculator, a 3.80 supplier price becomes 4.7389 delivered. Pricing against 3.80 instead of 4.74 shows a margin of 70.75% rather than 63.51%: 7.24 percentage points that do not exist, on every unit, for the life of the product.
That is why this calculator prints a warning whenever it cannot tell whether the cost you entered is landed or not. The arithmetic is right either way; the input is what decides whether the answer is worth anything.
Working backwards from a target margin
Divide the cost by one minus the target margin. For a 60% margin on a 4.74 cost the price is 4.74 ÷ 0.40 = USD 11.85. Run the same arithmetic the other way — from a shelf price you cannot change — and it gives the maximum cost you can afford, which is usually the more useful direction in a category where competitors set the price.
What gross margin still leaves out
- Marketplace referral and payment fees, charged as a share of the retail price.
- Fulfilment and storage, charged per unit and per cubic metre per month.
- Advertising, which in most marketplaces is the largest single line after cost of goods.
- Returns and damage, which consume the full landed cost of the unit plus the outbound shipping.
- Duty and freight if they were not in the cost figure in the first place.
Gross margin is therefore a ceiling on what you can afford to spend on selling, not a profit figure. A product at 63% gross margin can still lose money in a channel that charges 15% referral, 10% fulfilment and 20% advertising.
Margin questions
What is the difference between margin and markup?
Margin divides profit by the selling price. Markup divides the same profit by the cost. On a cost of USD 4.74 and a retail price of USD 12.99 the profit is USD 8.25, which is a 63.51% margin and a 174.05% markup. Markup is always the larger of the two for the same numbers, which is why a supplier quoting "we work on 100% markup" is not describing a 100% margin.
Which one should I use to price a product?
Margin, because it is measured against the number the customer pays and therefore survives being compared with channel fees. A 60% margin leaves 40% of the retail price to cover everything else. A 60% markup leaves only 37.5% of the retail price, so pricing on markup quietly eats the room you needed for commission, shipping and returns.
Why is my margin lower than this calculator says?
Almost always because the cost you entered is a supplier unit price rather than a landed cost. On the example above, pricing against a USD 3.80 supplier price instead of a USD 4.74 landed cost shows a 70.75% margin instead of 63.51% — 7.24 percentage points that do not exist. Enter a landed cost and the result drops to something you can defend.
Does gross margin include marketplace commission?
No. Gross margin covers only the gap between cost of goods and retail price. Marketplace referral fees, payment processing, fulfilment, advertising and returns all come out of that gap. A product can show a healthy gross margin and still lose money once those are subtracted, so treat gross margin as the ceiling on what you can afford to spend on selling, not as profit.
What retail price do I need for a target margin?
Divide the cost by one minus the target margin. For a 60% margin on a USD 4.74 cost, the price is 4.74 divided by 0.40, which is USD 11.85. The same arithmetic run backwards from a price you cannot change tells you the maximum cost you can afford — usually the more useful direction in a category where the shelf price is set by competitors.
Next step
- Landed cost calculator — get the delivered cost per unit this margin should be based on.
- MOQ affordability calculator — see what the order behind the price costs in cash.
- Categories by country — check what each market is specialised in before pricing.