Home / Free Tools / Free Ecommerce Tool
By Gaurav Kapoor, Founder, Brand Scaling · Updated
This markup calculator shows the markup, gross margin and profit on a product from its cost and selling price. It also works the other way: enter the markup you want and it returns the price to charge.
Markup and margin are often mixed up, and the mix-up is expensive. A 50% markup is only a 33% margin, so a store that prices at "50% on top" and then plans its ad budget as if it keeps half of every sale will lose money. Use markup to set prices and margin to plan spend.
Markup is profit divided by cost. Subtract the cost from the selling price, divide by the cost and multiply by 100. A product that costs $20 and sells for $50 has a $30 profit, so the markup is 150%. Margin uses the same profit but divides by price, which gives 60%.
Inputs: Cost per unit ($), Selling price per unit ($), Target markup (%). The calculator runs in your browser; nothing is stored.
Markup = (selling price - cost) / cost
Gross margin = (selling price - cost) / selling price
Selling price for a target markup = cost x (1 + markup)
Markup from margin = margin / (1 - margin)
Margin from markup = markup / (1 + markup)
Both use the same profit. Markup compares it with cost; margin compares it with price. Markup is always the larger number.
| Markup | Gross margin | Price on a $20 cost |
|---|---|---|
| 25% | 20% | $25 |
| 50% | 33.3% | $30 |
| 100% | 50% | $40 |
| 150% | 60% | $50 |
| 200% | 66.7% | $60 |
| 300% | 75% | $80 |
A brand pays $20 per unit, landed. At $50 it makes $30 of gross profit per unit. Markup is $30 / $20 = 150%. Margin is $30 / $50 = 60%.
If the brand wants a 200% markup instead, the price is $20 x 3 = $60, and the margin becomes 66.7%. Gross margin is before shipping, payment fees, returns and ads, so the money left to spend on ads per order is smaller than these figures suggest. Run the result through the break-even ROAS calculator before you set an ad budget.
Enough to pay for everything between the factory and the customer's door, and still leave profit. For a DTC brand that sells through paid ads, the order value has to cover product cost, shipping, payment fees, returns and the ad cost of winning the order. That is why many DTC brands aim well above a 100% markup, while marketplace sellers with no ad cost can work on less. Check your own number with the steps below rather than copying a rule of thumb.
Raising the price is only one lever, and often not the best one.
No. Markup divides profit by cost, and margin divides the same profit by the selling price. A product that costs $20 and sells for $40 has a 100% markup but a 50% margin. Use markup when setting prices and margin when planning budgets, because margin is the share of each sale you keep.
Divide the margin by one minus the margin. A 40% margin is 0.40 / 0.60, which is a 66.7% markup. To go the other way, divide markup by one plus markup: a 100% markup is 1.00 / 2.00, a 50% margin. The table on this page lists common pairs.
There is no single good markup. It has to cover product cost, shipping, payment fees, returns and the ad cost of each order, and still leave profit. Brands that buy customers through paid ads usually need a higher markup than marketplace sellers who rely on organic traffic. Work it out from your own costs.
Calculate markup on landed product cost, then check that the price also covers outbound shipping, payment fees and returns. If you offer free shipping, add your average shipping cost per order to the product cost before you calculate, otherwise the markup will look healthier than it really is.
Markup sets your contribution margin, and contribution margin sets the most you can pay in ads per order. A higher markup raises your break-even CPA and lowers your break-even ROAS, which gives your ads more room to find customers. Use the break-even ROAS calculator once your price is set.
Book a free Brand Growth Audit. We work through your margins, fees and ad numbers with you and show which ones to fix first. Book a Brand Growth Audit.