Profit Margin vs Markup: What They Mean and How to Price With Them
Margin is profit divided by the selling price. Markup is profit divided by what the item cost you. Both describe the same profit, so a product that costs $100 and sells for $125 has a 25% markup and a 20% margin. The margin is always the smaller number, and the gap grows as the percentages rise.
That gap is where sellers lose money. If you want a 40% margin and add 40% to your cost, you end up with a margin of about 28.6%. On a $30 item, that is an $8 shortfall on every sale. Below are both formulas, a conversion table, worked examples with real numbers, and a way to price so the margin you want is the margin you get.
The two formulas
The top of both fractions is the same: profit in money. Only the bottom changes. Margin asks what share of each sale you keep. Markup asks how much you added on top of what you paid. Accountants and lenders talk about margin because it ties profit to revenue. Shop owners and wholesalers often talk about markup because it is quick to apply: take the cost, add a percentage, done.
Take a mug that costs you $6 and sells for $15. Profit is $9. Margin is 9 ÷ 15 = 60%. Markup is 9 ÷ 6 = 150%. Same mug, same $9, two numbers that look nothing alike. If one person says "I make 60%" and another says "I mark up 150%", they may be describing the identical business.
Converting one into the other
You can move between them without knowing the prices:
Use the decimal form (0.25, not 25%) in those formulas. A 25% markup is 0.25 ÷ 1.25 = 0.20, so a 20% margin. A 20% margin is 0.20 ÷ 0.80 = 0.25, so a 25% markup. The table below shows common values.
| Markup on cost | Equals a margin of | Margin | Equals a markup of |
|---|---|---|---|
| 10% | 9.1% | 10% | 11.1% |
| 25% | 20.0% | 20% | 25.0% |
| 50% | 33.3% | 30% | 42.9% |
| 75% | 42.9% | 40% | 66.7% |
| 100% | 50.0% | 50% | 100.0% |
| 150% | 60.0% | 60% | 150.0% |
| 200% | 66.7% | 75% | 300.0% |
Two facts worth remembering. A 100% markup, which means doubling your cost, is a 50% margin. And margin can never reach 100%, because that would mean the item cost nothing, while markup can be any size. If someone quotes a margin above 100%, they mean markup.
Worked example: the shortfall from mixing them up
You buy a candle set for $30 and want to keep 40% of the price as profit.
- The wrong way: add 40% to the cost. $30 × 1.40 = $42. Profit is $12. Margin is 12 ÷ 42 = 28.6%.
- The right way: divide cost by one minus the margin. $30 ÷ (1 − 0.40) = $30 ÷ 0.60 = $50. Profit is $20. Margin is 20 ÷ 50 = 40%.
The difference is $8 per candle set. Over 500 sets a year, that is $4,000 of profit you meant to earn and did not. The markup you really needed was 20 ÷ 30 = 66.7%, which matches the table above for a 40% margin.
The rule to take away: when you have a margin target, divide the cost by (1 − margin). When you have a markup rule, multiply the cost by (1 + markup). Do not mix the two.
How to price for the margin you want
- Add up every cost that belongs to one sale: the product or materials, packaging, shipping you pay, and any fixed per-order fee.
- Add the percentage costs: platform fees, payment fees, a returns allowance and ads if you count them per sale.
- Pick your target margin as a percentage of the selling price.
- Add the percentage costs and the target margin together. Subtract that total from 100% to get the share of the price left to cover your fixed per-sale costs.
- Divide your fixed per-sale costs by that share. The result is the price.
Our profit margin calculator does this in the "Price for a margin" tab. Here it is by hand so you can see the shape of it.
Worked example: a $40 item with real fees
Costs and example fees: product $12, shipping you pay $5, packaging $1, ads $3 per sale, a platform fee of 6.5% plus $0.20, a payment fee of 3% plus $0.25, and a 2% returns allowance. These fee rates are examples, not any platform's official rates. Check your own fee page.
At a $40 price, profit is $40 − $2.80 − $1.45 − $0.80 − $21.00 = $13.95. That is a margin of 34.9% on the price. The markup on the product cost alone looks huge, (40 − 12) ÷ 12 = 233%, which is why markup on product cost is a poor guide to what you actually keep. Once shipping, fees, returns and ads are counted, you keep about a third.
Now suppose you want a 30% margin on this item. Percentage costs are 6.5% + 3% + 2% = 11.5%, and the target is 30%, so 41.5% of the price is spoken for. Fixed per-sale costs are 0.20 + 0.25 + 12 + 5 + 1 + 3 = $21.45. Price = 21.45 ÷ (1 − 0.415) = $36.67. Check it: profit is $11.00, and 11.00 ÷ 36.67 = 30%.
Why fees change the answer
Many pricing guides ignore fees, but fees are the reason a good-looking margin shrinks. A $50 item that costs $30 looks like a 40% margin: (50 − 30) ÷ 50. With a 6.5% platform fee, a 3% payment fee and $0.45 of fixed fees, you pay 50 × 0.095 + 0.45 = $5.20. Profit drops to $14.80 and margin to 29.6%. You gave away ten points of margin without changing the product.
Percentage fees scale with the price, so raising the price helps less than you expect. Each extra dollar of price keeps only about 90 cents after the percentage fees in this example. Fixed fees do the opposite: they hurt low-priced items most. A 45-cent fixed fee is under 1% of a $50 price but over 4% of a $10 one.
Margin vs markup for different readers
Online sellers
Think in margin, because platform fees, ad costs and refunds are all percentages of the price. If you ever catch yourself saying "I just double my cost", know that this gives a 50% margin before fees, and perhaps 30% after them.
Retail and wholesale
Retail has a long habit of "keystone" pricing, which means selling at twice the wholesale cost. That is a 100% markup and a 50% margin. A maker who sells both ways might make a $10 item, sell it wholesale at $25 (a 60% margin) and sell it retail at $50 (an 80% margin). The retailer who buys at $25 and sells at $50 earns a 50% margin on their own books. The maker earns $15 a unit on wholesale orders and $40 on retail ones, but wholesale sells in bulk with no ad or shipping cost per order, so both channels can be worth having.
Freelancers and agencies
When a cost is subcontracted, a markup on that cost is a common way to quote. If you pay a designer $800 and bill $1,000, the markup is 25% and your margin is 20%. Knowing both avoids a surprise when a client asks what percentage you keep.
What a sale does to margin
Discounts hit margin harder than most people expect, because costs do not fall when the price does. Take the $40 item, which makes $13.95. At 20% off the price is $32. Percentage fees shrink a little, but the product, shipping, packaging and ads stay the same, so profit falls to $6.87 and margin to 21.5%. You gave up 20% of the price and about half the profit.
To earn the same total profit at that price, you would need to sell 13.95 ÷ 6.87 = 2.03 times as many items. So ask one question before any promotion: will this double my sales? If the honest answer is no, the discount costs you money. Use the "Sale discount" tab to test your own numbers.
| Discount | Price | Profit per sale | Sales needed for the same profit |
|---|---|---|---|
| None | $40.00 | $13.95 | 1.00× |
| 10% off | $36.00 | $10.41 | 1.34× |
| 20% off | $32.00 | $6.87 | 2.03× |
| 30% off | $28.00 | $3.33 | 4.19× |
Gross margin, net margin and contribution margin
The word "margin" gets used for different layers of profit. Gross margin subtracts only the direct cost of the goods. Net margin subtracts everything, including rent, software, wages and tax. Contribution margin sits between them: it is what each sale leaves after its own variable costs, before fixed costs. The profit-per-sale figure in the calculator is a contribution margin, and it is the right number for break-even maths.
When you compare yourself with a benchmark, check which one it uses. A gross margin of 60% and a net margin of 8% can describe the same shop. Margin targets differ a lot between product types and channels, so treat any published average as a rough guide and compare against your own cost structure.
Margin when you sell through ads
Ads change the picture because they are paid per sale you win, not per item you make. A product with a 35% margin before ads can sit near zero after ads if each sale costs $12 to acquire. Work out the most you can pay for a sale: it is the profit per sale before ads, minus any profit you still want. In the example that is $16.95 at break-even, which means you need at least 2.36 dollars of revenue for each dollar of ad spend (break-even ROAS). A lower-margin product needs a higher ROAS, so the same ad results can work for one item and lose money on another. The "Ads and ROAS" tab does this sum for you.
Break-even: turning margin into sales
Margin is per sale. Break-even turns it into a volume. With $800 a month in fixed costs and $13.95 of profit per sale, you need 800 ÷ 13.95 = 57.3, so 58 sales a month to cover those costs. The first 57 sales pay the bills. The 58th starts to pay you. If you raise the price so profit per sale becomes $20, the number falls to 40. Pricing and volume trade off against each other, so check both before you decide.
Prices that include VAT or GST
If you sell in the UK, EU, Australia or Canada, shelf prices often include tax. Calculate margin on the revenue after tax is removed, because the tax is not yours. At £48 including 20% VAT, revenue is £40. Using £48 as your revenue would overstate your margin. The VAT calculator adds or removes tax for any rate. In the US, sales tax is added on top at checkout, so it does not change your revenue. Local rules differ, so confirm the details with your tax office or an accountant.
Common mistakes
- Using markup when you meant margin. The candle example shows the cost: an $8 shortfall per item.
- Leaving out shipping you pay, packaging or returns. Small costs add up to a large share of a low price.
- Counting product cost only. Fees and ads are real costs even though you do not pay them to a supplier.
- Setting one price for every product. A flat 30% markup gives very different margins once fixed fees and shipping differ between items.
- Ignoring your own time. If you spend 20 minutes making an item that earns $5, your hourly pay is $15 before tax and before the fixed costs of running the shop.
- Rounding too early. Keep full decimals until the final price, then round up to a shelf price like $36.99.
A quick checklist before you set a price
- Is every per-sale cost listed, including shipping, packaging and fixed fees?
- Are the percentage fees current on your platform's own fee page?
- Did you decide on a margin target, and calculate the price from it?
- Did you check the margin after a typical sale discount?
- Do you know how many sales a month cover your fixed costs?
- Is the price still sensible next to what similar sellers charge? A price that works on paper but sells nothing is not a price.
This guide is for planning and learning. It is not accounting, tax or legal advice, so confirm figures that matter with a qualified adviser. The percentage calculator can check any single step.
Key takeaways
- Margin = profit ÷ price. Markup = profit ÷ cost. Margin is always the smaller number.
- To hit a margin, divide cost by (1 − margin). Adding the same percentage to cost leaves you short.
- Doubling your cost is a 50% margin before fees, and often far less after fees, shipping, returns and ads.
- Discounts cut profit much faster than price. A 20% sale can need double the sales to break even on profit.
- Work from revenue after tax, and use fee rates from your own platform's page.
Frequently asked questions
Is profit margin the same as markup?
No. Both use the same profit in money, but margin divides it by the selling price and markup divides it by the cost. A 25% markup is a 20% margin.
How do I convert markup to margin?
Divide the markup by one plus the markup, using decimals. A 50% markup gives 0.5 ÷ 1.5 = 0.333, a 33.3% margin. To go back, divide the margin by one minus the margin.
What markup do I need for a 40% margin?
You need a markup of 66.7% on cost. For example, a $30 cost needs a $50 price: profit $20, which is 40% of $50 and 66.7% of $30.
Can profit margin be over 100%?
No. Margin is profit as a share of the price, so it stays below 100% as long as the item cost something. Markup can be over 100%, and people sometimes call that a margin by mistake.
Should I use margin or markup to price products?
Use margin as your target, because fees, ads and refunds are percentages of the price. Markup is fine as a quick rule on cost, as long as you know which margin it produces.
General information, not personal financial, tax or legal advice. Read our disclaimer and editorial policy to see how this guide was researched and checked.


