Bulk price editor
Increase, decrease or set prices across many variants by percent or amount, with a preview of every result.
Read more →Enter your cost and selling price to get the profit margin and markup, or enter a target margin or markup to get the price you should charge. The formula under the result shows the exact calculation.
What you pay per unit, before tax.
Formula
Margin = (Selling price − Unit cost) ÷ Selling price × 100 · Markup = (Selling price − Unit cost) ÷ Unit cost × 100This tool runs in your browser. The numbers and prices you enter are not sent to or stored on our servers.
Choose what you know: a price, a target margin, or a markup.
Enter the product cost (what you pay per unit, before tax).
Enter the price, margin or markup. Results update as you type.
Use the formula line to check the math or repeat it in a spreadsheet.
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A product that costs $20 and sells for $50 makes $30 profit: a 60% margin ($30 ÷ $50) and a 150% markup ($30 ÷ $20). Same profit, two different percentages, and mixing them up is a common pricing mistake.
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33.3% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
A margin can never reach 100%, but a markup can be any size. That's why a 100% markup is only a 50% margin. More in profit margin vs markup.
A discount comes straight out of the margin. A product with a 50% margin keeps only 37.5% margin at 20% off: the price drops from $50 to $40 while the $25 cost stays, so profit falls from $25 to $15. Check the margin of your lowest-margin products with the discount calculator before a storewide sale.
Sale Scheduler by SalePilot applies price rules across your catalog with a preview of every variant, schedules the start and end, and restores previous prices automatically.
No. A 50% markup on a $20 cost gives a $30 price and a 33.3% margin. A 50% margin needs a $40 price, which is a 100% markup.
It depends on the category, your costs and your channel. Compare your gross margin with your other costs (shipping, fees, marketing) rather than with a general benchmark.
For gross margin, use the landed cost of the product (purchase price plus inbound shipping and duties). Payment fees and marketing are usually tracked below gross margin.
No. Enter prices without tax. Tax is collected for the government and isn't part of your margin.
Yes. It's free, needs no sign-up, and runs in your browser.
Increase, decrease or set prices across many variants by percent or amount, with a preview of every result.
Read more →See every variant's price before and after, with Ready, Warning and Skipped rows, before anything changes in Shopify.
Read more →End every new price in .99, .95, .90, .50, .49, .00 or your own decimals.
Read more →Profit margin vs markup explained: the formulas, a margin-to-markup conversion table, worked examples, and how a discount cuts your margin before a sale.
How much discount to offer: the break-even formula, a table of required sales increases by margin and discount, a margin-floor method and how to test it.
How to raise Shopify prices by a percentage or fixed amount across your catalog: the formula, clean price endings, compare-at prices, Markets and customers.
Sale price from a percent off, the percent off between two prices, and the extra sales you need to break even.
Open the tool →Paste a list of prices, apply a % or amount change with .99 rounding, and get the new prices and compare-at prices.
Open the tool →