CalculatorForEver
FINANCE / GUIDE

How do I set a price for a target gross margin?

Calculator ForEver 3 min read

For cost C and a target margin fraction m below one, selling price is C ÷ (1 − m). Adding the target margin percentage to cost instead calculates markup and generally produces a lower margin.

Solve for the selling price

Margin equals (price − cost) ÷ price. Rearranging gives price × (1 − margin) = cost. The target must remain below 100% for a positive finite price when cost is positive.

Price a 60-cost item

For a 40% target margin, calculate 60 ÷ 0.6 = 100. Profit is 40, which is 40% of 100. Adding 40% to 60 would produce a price of 84 and a margin of about 28.57%, not the stated target.

Check whether the target includes all costs

An item-level gross margin may exclude operating expenses, fees and tax. The arithmetic does not establish market demand, an achievable selling price or net profitability. Use the same currency and a consistent cost base before comparing a proposed price with a margin target.

Solve the revenue denominator explicitly

If cost is C, selling price is P and target gross margin is g as a decimal, the relationship is (P−C)/P = g. Rearranging gives P = C/(1−g). For cost of sixty and target margin of 25%, the retained factor is 0.75, so price is eighty. Subtracting cost gives twenty profit, and dividing twenty by eighty confirms the 25% margin. Multiplying sixty by 1.25 instead gives seventy-five, which applies 25% markup and produces only 20% margin. Keep the desired ratio named throughout the calculation so a pricing worksheet does not swap the cost-based and revenue-based interpretations halfway through the example.

Recheck after rounding the selling price

A calculated target price can contain more currency precision than the actual sale system accepts. If you round the selling price, recompute profit and margin from the rounded price rather than assuming the original target remains exact. For example, cost of ten and a target of 30% gives a theoretical price of 10/0.7, about 14.285714. A price of 14.29 gives profit of 4.29 and margin of approximately 30.02%. The small difference comes from price rounding. Use the relevant smallest currency unit and state whether the price includes taxes or other amounts outside the revenue definition. Those choices can affect the realized margin more than display precision alone.

A target needs a complete cost definition

The formula does not decide which product expenses belong in cost or whether the target margin is commercially appropriate. A fee omitted from C can make a price meet the spreadsheet target while leaving a smaller margin after that fee. Likewise, a percentage sales commission can depend on the final price and require another equation rather than a fixed-cost addition. A 100% target has no finite price with positive cost in this basic model because 1−g becomes zero. Do not replace it with an arbitrary very large price. Keep the target within the model’s meaningful range and use a fuller pricing calculation when variable charges or net business expenses are part of the question.

Questions about this calculation

Can I use 40 instead of 0.4 in the formula?

Use 0.4 in the equation. A calculator percentage field may accept 40 and perform that conversion internally.

Try these values in the calculator

Separate profit margin from markup.

Use the profit margin calculator

References

More profit margin questions

Related tools