To hit a target profit margin, divide that margin by one minus the margin to get the markup you need: required markup = target margin ÷ (1 - target margin). If you want a 40% margin, you need a 66.67% markup, not a 40% markup. The two numbers are never the same, and pricing at the margin number when you mean the markup number is the single most common way small businesses quietly underprice themselves.
This guide solves the pricing problem from the direction owners actually think in: "I want to keep X cents of every dollar of revenue, so what do I add on top of cost?" That is a target-margin question answered with a markup. Below is the formula, a full conversion table you can price from, worked examples, and the reasoning behind why the gap between the two numbers widens fast as your margin goal climbs. Run any of these through the markup calculator to check your own products in seconds.
Markup and margin measure the same profit against different bases
Markup is profit as a percent of cost; margin is profit as a percent of price. The dollar profit is identical in both. The only thing that changes is what you divide it by, and because price is always larger than cost, the markup percentage is always larger than the margin percentage.
Take an item that costs you $60 and sells for $90. The profit is $30 either way.
- Markup = $30 ÷ $60 = 50%. You added 50% on top of cost.
- Margin = $30 ÷ $90 = 33.33%. You keep 33.33 cents of every sales dollar.
So a 50% markup is only a 33.33% margin. If your spreadsheet target was "50% margin" but you typed a 50% markup into your pricing, you are short of your goal by a wide margin. To actually keep 50% of revenue, you need a 100% markup. This is exactly why pricing from a margin goal requires the conversion below.
The target-margin-to-markup formula
The formula that turns any desired margin into the markup that delivers it is short:
Required markup % = target margin % ÷ (100% - target margin %)
Work an example. You want a 40% margin:
- Required markup = 40% ÷ (100% - 40%) = 40% ÷ 60% = 66.67%.
Apply that to a $60 cost: $60 × 1.6667 = $100.00 price. Check it: profit is $40, and $40 ÷ $100 = 40% margin. The 66.67% markup did its job; a 40% markup would have produced only a 28.57% margin and left $11.43 of margin on the table per item.
There is an equally useful shortcut that skips markup entirely when you just want the price: price = cost ÷ (1 - target margin). For the same item, $60 ÷ (1 - 0.40) = $60 ÷ 0.60 = $100.00. Same answer. Use whichever you prefer; the markup calculator and the profit margin calculator let you confirm both directions instantly.
Target margin to required markup: the reference table
This is the table to bookmark. Find the margin you want to keep on the left, then apply the markup on the right to your cost. Every row is recomputed from markup = margin ÷ (1 - margin).
| Target margin (keep this % of revenue) | Required markup (add this % to cost) | On a $60 cost, sell for |
|---|---|---|
| 10% | 11.11% | $66.67 |
| 20% | 25.00% | $75.00 |
| 25% | 33.33% | $80.00 |
| 30% | 42.86% | $85.71 |
| 33.33% | 50.00% | $90.00 |
| 40% | 66.67% | $100.00 |
| 50% | 100.00% | $120.00 |
| 60% | 150.00% | $150.00 |
Notice the pattern: at low margins the two numbers are close (a 10% margin needs only an 11.11% markup), but the gap explodes as the margin goal rises. A 50% margin needs a 100% markup, and a 60% margin needs a 150% markup. The higher your profit ambitions, the more dangerous it is to confuse the two.
A step-by-step pricing example
Say you make a product that costs you $25 all-in and you have decided you need a 35% margin to cover overhead and still take home a profit.
- Pin down your true unit cost. Here it is $25, including materials, labor, and a slice of overhead.
- Convert the target margin to a markup. 35% ÷ (1 - 0.35) = 35% ÷ 65% = 53.85% markup.
- Apply the markup to cost. $25 × 1.5385 = $38.46 price.
- Verify the margin. Profit = $38.46 - $25 = $13.46. Margin = $13.46 ÷ $38.46 = 35.0%. Correct.
- Sanity-check against the shortcut. $25 ÷ (1 - 0.35) = $25 ÷ 0.65 = $38.46. Same price, confirming the conversion.
Had you set a 35% markup by mistake, your price would have been $25 × 1.35 = $33.75, giving a margin of only $8.75 ÷ $33.75 = 25.93%. You would have undershot your 35% margin goal by nearly nine points and given away $4.71 of price on every single unit.
Why the gap matters more than it looks
A few points of margin is real money because it falls straight to the bottom line. Unlike revenue, margin dollars are not eaten by the cost of the next unit. On 1,000 units sold, the $4.71 per-unit underpricing above is $4,710 of profit that simply vanished, with no extra work and no extra cost on your end.
The error is sneaky because both numbers describe the same product and live a decimal point apart. Pricing software, marketplaces, and even accountants sometimes default to one convention while you think in the other. The fix is a one-second habit: whenever you set a price from a profit goal, ask whether the percent you typed is measured against cost (markup) or against price (margin), and convert if needed. For broader percentage work, the percentage calculator and percentage change calculator handle the side math.
How to set a realistic target margin in the first place
Your target margin should cover overhead, taxes, and an actual profit, not just your direct unit cost. A common mistake is choosing a margin that feels good without checking whether it pays the rent.
- Start from your break-even. The break-even calculator tells you how many units you must sell at a given margin to cover fixed costs. If the number is unrealistic, your margin target is too low.
- Layer in overhead per unit. Rent, software, and insurance are not in your unit cost but must be paid from margin. A 25% margin that ignores overhead can be a losing price once overhead is allocated.
- Leave room for discounts and returns. If you routinely run 10% promotions, build that into the target so the discounted price still hits an acceptable margin.
- Benchmark, then decide. Many retailers target 50% margins (a 100% keystone markup) precisely because it survives sales and shrinkage. Use that as a reference, not a rule.
The U.S. Small Business Administration's guide to pricing products and services is a solid plain-English primer on choosing a strategy before you reach for a formula.
Quick conversions you will reuse
Keep these four relationships handy and you can move between cost, price, markup, and margin in any direction:
| You want | Formula |
|---|---|
| Markup from cost and price | (price - cost) ÷ cost |
| Margin from cost and price | (price - cost) ÷ price |
| Markup needed for a target margin | margin ÷ (1 - margin) |
| Price for a target margin | cost ÷ (1 - margin) |
If you also run the numbers on growth or returns elsewhere in the business, the ROI calculator and CAGR calculator use the same divide-by-the-right-base discipline.
Bottom line: a target margin is not the markup. Convert with margin ÷ (1 - margin) every time, price from cost, then verify the margin landed where you wanted. Run your own cost and goal through the markup calculator, cross-check the margin with the profit margin calculator, and you will never again ship a price that is a full margin tier below your plan. For more pricing playbooks, browse the business hub.
Try it yourself
Run your own numbers in the free Markup Calculator — instant, private, no sign-up.
Open the Markup Calculator →Frequently asked questions
- What markup do I need for a 40% profit margin?
- You need a 66.67% markup to achieve a 40% margin. Use the formula markup = margin / (1 - margin), so 40% / (1 - 0.40) = 40% / 0.60 = 66.67%. On a $60 cost, that means selling at $100.00, which keeps $40 of profit, or 40% of the price.
- Why isn't a 40% markup the same as a 40% margin?
- Because markup measures profit against cost while margin measures it against price, and price is always larger. A 40% markup on a $60 cost gives a $84 price and only a 28.57% margin ($24 / $84). To actually reach a 40% margin you need a higher 66.67% markup.
- What is the formula to convert a target margin into a markup?
- Required markup = target margin / (1 - target margin). For a 25% target margin, that is 25% / 0.75 = 33.33% markup. To get the price directly without the markup step, use price = cost / (1 - margin).
- What markup gives a 50% margin?
- A 100% markup gives a 50% margin, which is why doubling cost (keystone pricing) is so common. Using markup = 0.50 / (1 - 0.50) = 1.00 = 100%. A $60 cost becomes a $120 price, keeping $60, or 50% of revenue.
- How do I price a product to keep a specific share of every dollar?
- Decide the margin you want to keep, then price with cost / (1 - margin). To keep 35% of every dollar on a $25 cost, price at $25 / 0.65 = $38.46. That equals a 53.85% markup and verifies as a 35% margin ($13.46 / $38.46).
- How much profit do I lose by confusing markup and margin?
- Often several margin points, which compound across volume. Setting a 35% markup when you meant a 35% margin on a $25 cost prices the item at $33.75 instead of $38.46, an undershoot of $4.71 per unit, or $4,710 of lost profit on 1,000 units.
- Is a higher target margin always better?
- Not necessarily, because a higher margin requires a higher price that may cut your sales volume. The right target margin covers your direct cost, allocated overhead, taxes, and expected discounts while still leaving profit and a competitive price. Use a break-even check before locking it in.
Related guides
How to calculate CAGR: formula, Excel method, and worked examples · How to calculate unit price: the simple way to find the best deal · How to Use Reverse CAGR to Project Future Value · CAGR vs Average Annual Return: What's the Difference?