Turn a cost and a markup into a selling price, and see the margin it actually leaves you.
Rates checked December 2026
Selling price
$40.00
$20.00profit per unit
50%gross margin
CostMarkup
Cost
$20.00
Markup 100% of cost
$20.00
Selling price
$40.00
Margin markup ÷ (1 + markup)
50%
Profit on 50 units
$1,000.00
Revenue from 50 units$2,000.00
Selling price$40.00
Markup formula
price = cost × (1 + markup)
Markup is the amount you add on top of what something costs you, expressed as a share of that cost. It's easy to work with when you buy stock at a known price.
Example. Cost $20, markup 100%.
Price $20 × 2 = $40. Profit $20 per unit. Margin $20 ÷ $40 = 50%.
Why markup can mislead
Markup always looks bigger than margin, and the gap grows fast. A seller who marks up 50% might think they keep half the price, but they keep a third. Then marketplace fees come out of the price, not the cost, which squeezes the real margin further.
margin = markup ÷ (1 + markup)
Use markup to set a starting price, then check the result in the profit margin calculator or in your marketplace's fee calculator.
Questions sellers ask
How do you calculate markup?
Markup is profit divided by cost. To get a price from a markup, multiply the cost by one plus the markup: a $20 cost with 100% markup sells at $20 × 2 = $40.
Is 100% markup the same as 100% profit margin?
No. A 100% markup doubles the cost and gives a 50% margin. A 100% margin is impossible, because it would mean the product cost nothing.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 50% markup is a 33.3% margin; a 200% markup is a 66.7% margin.
What is keystone pricing?
Keystone pricing is a 100% markup: selling at double the cost. It is a common starting point in retail, before adjusting for fees and competition.