Markup and margin calculator
Enter cost and price — see markup, margin, and profit per unit. Or set your desired markup or margin — the calculator will tell you the selling price.
| Markup | Margin | Price at your cost | Profit |
|---|---|---|---|
| 30 % | 23,1 % | $13 | $3 |
| 50 % | 33,3 % | $15 | $5 |
| 100 % | 50 % | $20 | $10 |
| 150 % | 60 % | $25 | $15 |
| 200 % | 66,7 % | $30 | $20 |
| 300 % | 75 % | $40 | $30 |
How to calculate markup as a percentage
Markup is how much you add to the cost, as a percentage of the cost. Formula: (price − cost) ÷ cost × 100. You bought an item for $9.6 and sell it for $24: (999 − 400) ÷ 400 × 100 ≈ 150%.
Price with a set markup: cost × (1 + markup ÷ 100). To sell an item for $9.6 with a 100% markup, you set the price at $19. It's more accurate to include not only the purchase price but also delivery to you and packaging in the cost.
How margin differs from markup
Margin is calculated from price, not cost: (price − cost) ÷ price × 100. So margin is always less than markup and never reaches 100 %. A 100 % markup is a 50 % margin; 200 % markup is about 67 % margin.
Confusing them is a common mistake: someone wants "50 % profit," sets 50 % markup, and gets only 33 % margin. The table under the calculator shows this difference for your cost.
What markup to set for cash on delivery e-commerce
In cash on delivery e-commerce, profit per unit isn't money in hand yet. You need to cover ad spend per order, cash on delivery commission, and shipping for unclaimed parcels. So markup is calculated backwards: what does one completed order cost, accounting for approval rate and pickup rate.
Calculate the price here first, then verify the full picture in the unit economics calculator, and check the carrier commission in the cash on delivery commission calculator. When the numbers match — build a landing page with order form and discounted price block using the link to your product card.
Frequently asked questions
How to calculate markup on a product as a percentage?
Subtract cost from price, divide by cost, and multiply by 100. Example: (999 − 400) ÷ 400 × 100 ≈ 150 %.
How to calculate price knowing cost and markup?
Multiply the cost by (1 + markup ÷ 100). A cost of $9.6 and a markup of 100% yield a price of $19.
What's the margin at 100 % markup?
50 %. Margin is calculated from price: at 100 % markup, profit equals cost, which is half the price.
How to calculate markup in Excel?
If cost is in cell A2 and price in B2: markup =(B2-A2)/A2, margin =(B2-A2)/B2, formatted as percentage. Price by markup from C2: =A2*(1+C2).
Does the calculator save my data?
No. Everything is calculated in your browser; nothing is sent to the server.
Other tools
Paste the link to your product card — name, photo, discounted price, and order form will fill in automatically.
Build a landing page for this productFree without a card, Pro free for 7 days