Selling Price from Margin Calculator

Enter the unit cost and target margin to get the required selling price and profit per unit.

Result

$64.29
$19.29

How it is calculated

Enter the cost of one unit and the gross margin you want, as a percentage of the selling price. The tool computes price = cost ÷ (1 − margin ÷ 100) and profit = price − cost. Cost and results are in the same currency and shown with two decimals; the tool displays them with a dollar sign, so read it as your own currency. Margin must be below 100, because at 100% the denominator reaches zero and no price exists; the tool then returns nothing. A margin of 0 gives price equal to cost, and a negative margin is accepted and returns a price below cost, i.e. a loss. Taxes, shipping and fees are not added; include them in the cost if they should be covered.

Worked example

A product costs 45 per unit and you want a 30% margin. Divide by what the cost must represent: 1 − 0.30 = 0.70 of the price. Price = 45 ÷ 0.70 = 64.2857, shown as $64.29. Profit per unit = 64.29 − 45 = $19.29. Check: 19.29 ÷ 64.29 is 30% of the price. A markup of 30% would have given only 58.50, a real margin of about 23.1%.

Try this example →

Common mistakes

  • Entering the markup you have in mind as the margin. A 30% markup on 45 is a price of 58.50, but the margin there is only about 23%; for a 30% margin the tool correctly asks for 64.29.
  • Typing the margin as a fraction such as 0.3. The field takes percent, so 0.3 is read as 0.3% and the price is barely above cost.
  • Leaving out costs that belong in the unit cost, such as packaging, shipping, payment fees or the share of overheads. The tool treats the cost you give as the full cost, so the real margin ends up lower.
  • Trying margin 100 or higher. No price can make profit equal to the whole price, and the tool returns no result.
  • Forgetting that VAT or sales tax is added on top. The result is the price before tax, so add the tax afterwards for the shelf price.

About this calculator

This calculator computes the selling price needed to hit a target profit margin as price = cost ÷ (1 − margin%) — not the same as simply marking cost up by the margin percentage, which is a common pricing mistake. A 40% margin target on a $60 cost, for example, requires a price of $100 ($60 ÷ 0.6), not $84 ($60 × 1.40), because margin is profit as a percentage of the selling price, while markup is profit as a percentage of cost.

Retailers, e-commerce sellers and service businesses use this to set prices that actually deliver the margin they're targeting on their income statement, and the calculator also reports the resulting profit per unit so you can see the dollar amount behind the percentage before publishing a price list.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators