For a 50% margin on a $12 cost, charge $12 ÷ 0.5 = $24. Note that a 100% margin is impossible: it would mean the product cost nothing.
Margin and markup side by side
Markup
Margin
$10 cost sells at
25%
20%
$12.50
50%
33.3%
$15.00
100%
50%
$20.00
150%
60%
$25.00
200%
66.7%
$30.00
300%
75%
$40.00
What counts as cost
For a true margin, include everything one sale costs you: the product, marketplace and payment fees, the shipping label, packaging and any per-unit ad spend. Leaving out fees is the most common reason sellers think they earn more than they do.
Questions sellers ask
How do you calculate profit margin?
Profit margin is profit divided by selling price. If something costs $12 and sells for $30, profit is $18 and margin is $18 ÷ $30 = 60%.
What is the difference between margin and markup?
Margin compares profit with the selling price; markup compares profit with the cost. The same $18 profit on a $12 cost and $30 price is a 60% margin but a 150% markup.
How do I find the price for a target margin?
Divide cost by one minus the margin. For a 50% margin on a $12 cost: $12 ÷ (1 − 0.50) = $24.
What is a good profit margin for an online shop?
It depends on the product and the platform. Many small online sellers aim for a gross margin of 30–50% after marketplace fees and shipping, so there is room left for ads, returns and their own time.