Selling Price from Margin Calculator
Price from cost and target margin, fees included.
Calculate the selling price required for a target margin from a known cost, with an option to build percentage fees into the result.
Marketplace commission and payment processing. These scale with price, so they belong inside the calculation.
Selling price
$40.00
for a 45.0% margin
Adding the margin percentage to cost is the common error. It applies the percentage to the wrong base and always undershoots.
How the Selling Price from Margin Calculator works
The formula is cost divided by one minus the margin, and the mistake almost everyone makes is adding the margin to the cost instead. The gap widens as the target rises: at a 60% target, the wrong method leaves you a third short.
Also known as: price from margin percentage · sell price for target margin · reverse margin calculator · calculate selling price from margin · calculate price based on margin · calculate retail price based on margin · sale price from cost and margin
The maths behind it
Selling price from a target margin is cost divided by one minus the margin. Written out: price = cost ÷ (1 − margin), with the margin as a decimal.
Division rather than multiplication, because the margin is a share of the price being solved for rather than of the known cost. This is the same pattern that governs reverse VAT, reverse payment fees and marketplace break-even pricing, anything expressed as a percentage of the unknown belongs in the denominator.
Putting numbers to it
Cost $28, target margin 55%. Price = 28 ÷ 0.45 = $62.22. Check: profit is $34.22 on $62.22, which is 55%.
The addition version gives 28 × 1.55 = $43.40, on which the margin is $15.40 ÷ $43.40 = 35.5%. Nearly twenty points of intended margin lost.
At a 70% target the divergence is worse still: the correct price is $93.33 and the addition version gives $47.60, which carries a 41% margin. The higher the target, the more damage the wrong operation does, which means the products a business most wants to protect are the ones the error hits hardest.
Where it is unreliable
It answers what price the margin requires, not what price the market supports. Where the two disagree, the calculation is telling you something about the cost base rather than about the price.
It is also only as good as the cost. Using an invoice price rather than a landed and fulfilled cost produces a price that appears to hit the target and misses it by whatever was excluded, commonly a third of the real cost on imported goods.
How to act on this
Use it as a floor and set the actual price from the market. Where the market pays more, the extra is captured value; where it pays less, either the cost has to change or the product does not belong in the range.
Build the calculation into a pricing sheet with landed cost as the input, so that a supplier price change automatically produces a new floor. Most catalogues drift out of margin because costs moved and prices did not, and the drift is invisible until someone recalculates by hand.
Setting the target margin itself
The formula takes the target as given, and choosing it is the harder question. Work backwards from what the price has to carry: contribution has to cover advertising, fulfilment, overheads and profit, all as shares of revenue.
If advertising runs at 18% of revenue, fulfilment at 12%, overheads at 10% and the target net margin is 12%, then 52 points of gross margin are spoken for before anything is left over. A 55% target leaves three points of slack, which is thin. A 65% target leaves thirteen, which is a business.
That calculation also shows when a product cannot work. If the market price implies a 45% gross margin against a cost structure needing 52%, no amount of pricing skill closes the gap: the answer is a cheaper cost base, a lower advertising dependency, or a different product.
Where to go next
The Selling Price from Margin question rarely arrives on its own. These are the ones that usually come with it:
- Desired Margin Price Calculator — The price that delivers the margin you want.
- Selling Price from Markup Calculator — Price from cost and markup, with the real margin shown.
- Margin After Fees Calculator — What the margin becomes once platforms take their cut.
- Etsy Fee Calculator — Every Etsy fee on one sale, itemised.
Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.
Frequently asked questions
What is the formula for selling price from margin?
Price = cost ÷ (1 − margin). For a 45% margin on a £22 cost: 22 ÷ 0.55 = £40. Adding 45% to £22 gives £31.90 and only a 31% margin.
How do I include marketplace fees?
Subtract the fee rate alongside the margin: price = cost ÷ (1 − margin − fee rate). Targeting a 40% margin with 13% in fees means dividing by 0.47, not 0.60, a much higher price than most sellers expect.
What margin should I target?
Work back from what the business needs. Total your fixed costs, decide the profit you want, estimate achievable volume, and the required margin falls out. Picking a round number like 50% because it sounds right is guessing.
What if the resulting price looks too high?
Then the cost base does not support that margin at that price point. Reduce unit cost, accept a lower margin deliberately, or reposition the product so a higher price is credible. Quietly hoping is not one of the options.
Related calculators
Desired Margin Price Calculator
The price that delivers the margin you want.
OpenSelling Price from Markup Calculator
Price from cost and markup, with the real margin shown.
OpenMargin After Fees Calculator
What the margin becomes once platforms take their cut.
OpenEtsy Fee Calculator
Every Etsy fee on one sale, itemised.
Open