How do I price a product to hit a target gross margin?
By MarginLab · Published June 10, 2026 · Updated June 10, 2026
Divide the landed cost by one minus the target margin — a $12.00 landed cost needs a $20.00 price for a 40% gross margin, $24.00 for 50%, and $30.00 for 60% — whereas multiplying $12 by 1.40 gives $16.80, which is only a 28.57% margin.
The formula is division, not multiplication
Gross margin is profit as a share of the selling price, so the price that achieves a target margin is price = cost ÷ (1 − margin), with the margin written as a decimal. For a 40% target, divide the cost by 0.60; for 50%, divide by 0.50; for 60%, divide by 0.40. The division is what makes the profit land on the price side of the ratio — the price has to be large enough that the cost is only the remaining share of it.
The formula only bends upward. Because the divisor shrinks as the target rises, each step up in margin raises the price by more than the last step did, and at a 100% target the divisor reaches zero — no finite price can make the profit equal the entire price while the cost is above zero. The MarginLab selling-price view implements exactly this formula and declines targets of 100% or more rather than returning a misleading number.
Worked example — a $12 landed cost at three targets
Take a product with a $12.00 landed cost. Priced for a 40% gross margin, the MarginLab engine returns $20.00 — $8.00 of profit, which it also reports as a 66.67% markup on cost. Priced for 50%, the answer is $24.00, with $12.00 of profit (a 100% markup: at a 50% margin the profit exactly equals the cost). Priced for 60%, the answer is $30.00, with $18.00 of profit (a 150% markup).
Notice the spacing. Moving the target from 40% to 50% raised the price by $4.00, but moving from 50% to 60% raised it by $6.00 — the same ten-point step costs more each time because the divisor is shrinking. Pushing the same $12 cost to a 75% target would require $48.00, and to 90% would require $120.00. High margin targets are not incrementally more expensive; they compound.
The classic mistake — multiplying by one plus the margin
The most common spreadsheet error is computing the price as cost × (1 + target margin), which is the markup formula wearing a margin label. For the $12 cost and a 40% target that gives 12 × 1.40 = $16.80 — but run $16.80 back through the engine and the actual gross margin is 28.57%, not 40%, because the $4.80 of profit is divided by the $16.80 price rather than the $12 cost. The error costs 11.4 margin points on this one item.
The damage grows with the target. Multiplying by 1.50 gives $18.00, which is actually a 33.33% margin instead of 50% — 16.7 points short. Multiplying by 1.60 gives $19.20, a 37.5% margin instead of 60% — 22.5 points short. The correct prices at those targets are $24.00 and $30.00, so the multiplication shortcut underprices the 60% item by $10.80. A catalog priced this way looks profitable in the plan and bleeds at the gross-profit line, and nothing in the day-to-day numbers flags it.
Use the full landed cost, not the invoice price
The formula is only as honest as the cost you feed it. Gross margin is computed against the cost of goods sold, and for a physical product that means the landed cost: the supplier invoice plus inbound freight, customs duty, insurance on the shipment, and any per-unit handling — plus the payment-processing fee on the sale if you treat it as a direct cost. IRS guidance on figuring cost of goods sold takes the same view: freight-in and similar acquisition costs are part of the cost of the goods, not an overhead afterthought.
The arithmetic shows why it matters. Suppose the supplier invoice is $10.00 but freight, duty, and the card fee genuinely add $2.00 per unit. Price for a 50% margin off the $10 invoice cost and you charge $20.00 — but the engine shows that $20.00 against the true $12.00 cost is only a 40% margin, with $8.00 of profit instead of the $10.00 the plan assumed. The ten-point shortfall is invisible until the freight and fee invoices arrive.
Choosing the target and reading the result
The right target is a cost-structure question, not a folklore number. Work backwards from the income statement: if operating expenses, returns, and discounts consume 30 points of revenue, a 40% gross margin leaves 10 points of operating profit, while a 28.57% margin — the accidental result of the multiplication mistake at a 40% target — leaves a loss. Industry norms differ enormously, so calibrate against your own sector's reporting rather than a universal benchmark.
All of the figures above are unit-level arithmetic on the numbers you enter — estimates for a pricing worksheet, not tax, pricing, or accounting advice. The MarginLab selling-price view solves price = cost ÷ (1 − margin) directly and reports the profit and the implied markup alongside, so a target margin policy translates into shelf prices without the spreadsheet shortcut that quietly misses it.
Questions
- What price gives a 40% gross margin on a $12 cost?
- $20.00 — computed as 12 ÷ (1 − 0.40) = 12 ÷ 0.60. The profit is $8.00, which the engine also reports as a 66.67% markup on cost.
- Why divide by 1 − margin instead of multiplying by 1 + margin?
- Because margin is profit as a share of the price, not the cost. Multiplying $12 by 1.40 gives $16.80, whose actual margin is 28.57%; dividing $12 by 0.60 gives $20.00, which truly carries 40%. Multiplying by one plus the percentage is the markup formula, not the margin one.
- What belongs in landed cost?
- Everything it takes to get the unit ready to sell: the supplier invoice, inbound freight, customs duty, shipment insurance, and per-unit handling — plus payment fees if you treat them as a direct cost of the sale. Pricing off the bare invoice overstated a 50% target by ten margin points in the worked example.
- Can I price for a 100% gross margin?
- No. The formula divides by 1 − margin, which is zero at 100%, so no finite price achieves it while the cost is above zero. The calculator returns no result for targets of 100% or more instead of a bogus price.