Business · pricing that pays you
Markup vs Margin Calculator
Short answer
Markup is profit divided by cost; margin is profit divided by price. To hit a target margin, price = cost / (1 - margin), so a $40 item needs an $80 price for a 50% margin, which is a 100% markup. A 50% markup ($60) is only a 33.3% margin, and with $6,000 of monthly fixed costs and 300 sales that small mix-up turns a $5,190 profit into a $630 loss.
Last reviewed: November 16, 2026. Etsy fees from Etsy Help (US sellers). Educational estimate, not financial advice.
Markup vs margin calculator
This calculator is for makers, resellers, Etsy and Shopify sellers, and service businesses that price by the job. Type what one unit costs you and pick how you want to set the price: a target margin, a markup on cost, or a price you already charge. It shows the margin and markup side by side, what each sale keeps after card or marketplace fees, how many sales cover your fixed costs, and how many extra sales a discount demands. The link updates as you type, so you can save a pricing scenario or send it to a partner.
How to use it
- Add up one unit's real cost. Include packaging and the shipping you pay, because those leave your account every single sale.
- Choose how you think about price: a margin target, a markup, or the price on your site today.
- Enter your fees. Card processors and marketplaces take a percent plus a flat fee, and both come out of your margin.
- Type sales per month and monthly fixed costs, then read the break-even line.
- Slide the discount box before you run a promotion. If the sales it demands look silly, they probably are.
Markup and margin formulas
- Gross margin = (price - cost) / price
- Markup = (price - cost) / cost
- Price for a target margin = cost / (1 - margin)
- Margin from markup = markup / (1 + markup)
- Markup from margin = margin / (1 - margin)
| Gross margin | Same as markup of | Price on a $40 cost |
|---|---|---|
| 20% | 25% | $50.00 |
| 25% | 33.3% | $53.33 |
| 33.3% | 50% | $60.00 |
| 40% | 66.7% | $66.67 |
| 50% | 100% | $80.00 |
| 60% | 150% | $100.00 |
| 75% | 300% | $160.00 |
Notice the pattern. Margin can never reach 100%, because that would mean the item cost nothing. Markup has no ceiling at all, so a jeweler can honestly quote a 300% markup while earning a 75% margin.
Worked example: the 50% mix-up
Picture a small candle business. Each candle costs $40 in wax, glass, scent, and the box it ships in. Fixed costs run $6,000 a month, and the shop sells about 300 candles. The owner wants "50% profit."
If that means a 50% margin, the price is $40 / 0.5 = $80. Card fees of 3% plus 30 cents take $2.70, so each sale keeps $37.30. Three hundred of those is $11,190, and the month clears fixed costs by $5,190. Break-even is 161 candles.
If the owner instead adds 50% to cost, the price is $60. That feels like the same thing. It isn't. Margin drops to 33.3%, each sale keeps $17.90 after fees, break-even jumps to 336 candles, and the same 300 sales now lose $630 a month. Nothing changed except one word in the pricing spreadsheet.
| Item | 50% margin | 50% markup |
|---|---|---|
| Price | $80.00 | $60.00 |
| Kept per sale after fees | $37.30 | $17.90 |
| Break-even sales a month | 161 | 336 |
| Monthly profit at 300 sales | $5,190 | -$630 |
What a discount really costs
A 20% discount does not cost 20% of your profit. It costs far more, because the cut comes entirely out of the slice you keep. In the $80 example, 20% off drops the price to $64, and after fees each sale keeps $21.78 instead of $37.30. To earn the same $11,190, the shop needs about 514 sales, roughly 71% more than today.
Sometimes that's worth it. A discount that brings in repeat buyers can pay for itself over a year. But a discount on a thin-margin product mostly moves money from you to customers who would have bought anyway. Check the discount test in the calculator first, then decide with your eyes open.
Pricing is a cash flow decision
Most small businesses don't fail from a lack of sales. They fail because each sale keeps too little to cover the bills, and growth just makes the hole deeper, faster. Price is the cheapest fix you have: raising a price by $5 costs nothing to implement, while finding 100 more customers costs real money.
Once the margin is healthy, put it to work. The break-even calculator goes deeper on fixed costs, the Profit First calculator splits each deposit into profit, tax, and owner pay, and the 13-week cash flow forecast shows when the money actually lands. If you sell your time rather than products, the freelance rate calculator does the same job for an hourly rate. For the bigger picture, see free cash flow for a small business.
Markup and margin FAQ
What is the difference between markup and margin?
Both measure the same dollars of profit, but against different numbers. Markup divides profit by cost. Margin divides profit by price. Buy something for $40 and sell it for $80 and you made $40: that is a 100% markup and a 50% margin. Markup is always the bigger number, which is exactly why people confuse the two.
How do I convert markup to margin?
Margin = markup / (1 + markup). A 50% markup is 0.5 / 1.5, or a 33.3% margin. Going the other way, markup = margin / (1 - margin), so a 40% margin needs a 66.7% markup. The calculator table shows the common pairs at your own unit cost.
How do I price a product for a 50% margin?
Divide the cost by one minus the margin. For a 50% margin, price = cost / 0.5, so a $40 item sells for $80. Then subtract card or marketplace fees, because they come out of the margin, not the cost. With 3% plus 30 cents, that $80 sale keeps $37.30, a 46.6% margin after fees.
What is a good profit margin for a small business?
It depends on the business. Grocery and gas stations live on single-digit margins and huge volume. Handmade goods, software, and services often need 50% to 70% gross margin because volume is small and the owner's time is the real cost. The better test is whether your sales clear break-even with room to spare. This tool grades 1.5 times break-even as healthy.
How much more do I have to sell after a discount?
More than most owners guess. At a 50% margin, a 20% discount cuts what you keep per sale from $37.30 to $21.78 in the example, so you need about 71% more sales just to stand still. At a 30% margin, the same discount can wipe out the profit entirely. Run the discount test before the sale banner goes up.
Does this calculator include taxes or my own pay?
No. It stops at monthly profit before income tax and before you pay yourself. Use the quarterly estimated tax calculator for the tax side and the owner pay calculator for your paycheck. Unit cost should include materials, packaging, and direct labor per unit, but not rent or software, which belong in fixed costs.
Educational only. Not financial or tax advice. Results are estimates from the numbers you enter, before income tax and owner pay. Fees vary by processor, plan, and country; check your own statements.