Markup calculator
Free. Runs in your browser, nothing is uploaded.Markup is how much you add on top of a product's cost to set its price, as a percentage of the cost. The formula is markup = (selling price - cost) ÷ cost × 100, so an item that costs $25 and sells for $40 has a 60% markup.
What do you want to work out?
What one unit costs you to make or buy.
Percent added on top of cost, for example 60.
- Cost per unit
- $25.00
- Profit per unit
- $15.00
- Markup
- 60%
- Gross margin
- 37.5%
Formula with your numbers
Price = cost × (1 + markup)
= $25.00 × (1 + 0.6)
= $40.00
How to use the markup calculator
- Pick what to work out.
- Selling price: enter cost and markup to get the price.
- Markup %: enter cost and price to get the markup.
- Price from margin: enter cost and the gross margin you want to get the price.
- Cost from price: enter price and markup to find the cost (a reverse markup).
- Enter cost per unit as everything it takes to have one unit ready to sell: the product, inbound freight and duties.
- Read the result with its margin. Every answer shows the selling price, profit per unit, markup and gross margin together, so you never mix the two up.
Markup formulas, with worked examples
Markup = (selling price - cost) ÷ cost × 100
Selling price = cost × (1 + markup)
- What is a 40% markup on $100? $100 × 1.40 = $140. Profit is $40.
- What is a 20% markup on $500? $500 × 1.20 = $600. Profit is $100.
- Markup from price. A tote bag costs $25 and sells for $40: ($40 - $25) ÷ $25 × 100 = 60%.
- Reverse markup. A $40 item with a 60% markup cost $40 ÷ 1.60 = $25.
Price from a target margin
Selling price = cost ÷ (1 - margin)
To keep a 40% margin on a $25 item: $25 ÷ (1 - 0.40) = $41.67. A common mistake is to add 40% to the cost instead, which gives $35 and only a 28.6% margin.
Markup vs margin
Both describe the same profit, measured against different things. Markup divides the profit by the cost. Margin divides the same profit by the selling price. Because the price is always larger than the cost, margin is always the smaller number.
Gross margin = (selling price - cost) ÷ selling price × 100
The $25 tote bag sold for $40 makes $15 profit: that is a 60% markup and a 37.5% margin.
Is a 30% markup the same as a 30% margin? No. A 30% markup is a 23.1% margin. To earn a 30% margin you need a 42.9% markup.
Margin = markup ÷ (1 + markup)
Markup = margin ÷ (1 - margin)
| Markup | Gross margin | Price of a $10 item |
|---|---|---|
| 25% | 20% | $12.50 |
| 50% | 33.3% | $15.00 |
| 75% | 42.9% | $17.50 |
| 100% | 50% | $20.00 |
| 150% | 60% | $25.00 |
| 200% | 66.7% | $30.00 |
| 300% | 75% | $40.00 |
A 100% markup, doubling the cost, is often called keystone pricing in retail.
Choosing a markup when you sell with ads
Markup is set against the product cost, but the price has to cover much more than that when you sell online with paid ads:
- shipping, fulfilment and packaging you pay on each order
- payment and marketplace fees
- returns and refunds
- the ad spend it takes to win each order
Work backwards. Convert your markup to a margin, subtract the per-order costs, and check the break-even ROAS that is left. A 60% markup is a 37.5% gross margin, which alone needs a 2.67x ROAS to break even before shipping and fees. If that break-even is higher than your ads can reach, the fix is in the price or the product cost, not the ads.
Beyond your costs, the right markup depends on competitors' prices, how customers see the value of the product, how much volume you expect and whether you sell through channels that take a cut.
Markup, margin and Ad Autopilot
When you plan a campaign in Ad Autopilot, it asks for your gross margin, not your markup. If you think in markup, convert it first: margin = markup ÷ (1 + markup), so a 60% markup is a 37.5% margin. Entering the markup by mistake would make every order look more profitable than it is.
From the margin and your average order value, Ad Autopilot calculates break-even ROAS (1 ÷ margin), a target ROAS 1.3 times higher that you can edit, and the target CPA, in code rather than by the AI model. It then runs your campaigns against those targets.
Turn your margins into ad targets
Ad Autopilot takes your gross margin and order value, works out the ROAS and CPA your Meta and Google Ads campaigns need, runs them against those targets, and by default brings each change to you for approval.
See how Ad Autopilot worksQuestions
How do you calculate a markup?
Subtract the cost from the selling price, divide by the cost and multiply by 100. An item that costs $25 and sells for $40 has a ($40 - $25) ÷ $25 × 100 = 60% markup.
What is a 40% markup on $100?
$140. Multiply the cost by 1 plus the markup: $100 × 1.40 = $140. The profit is $40, which is a 28.6% margin on the $140 price.
Is a 30% markup the same as a 30% margin?
No. Markup is profit divided by cost and margin is profit divided by price. A 30% markup gives a 23.1% margin, and a 30% margin needs a 42.9% markup.
What is a 20% markup on $500?
$600. $500 × 1.20 = $600, a $100 profit and a 16.7% margin.
How do I convert markup to margin?
Divide the markup by 1 plus the markup. A 50% markup is 0.5 ÷ 1.5 = 33.3% margin. To go the other way, divide the margin by 1 minus the margin: a 40% margin is 0.4 ÷ 0.6 = 66.7% markup.
How do I find the cost from the price and markup?
Divide the selling price by 1 plus the markup. A $40 item with a 60% markup cost $40 ÷ 1.60 = $25. This is sometimes called a reverse markup.
