Business, Marketing & E-commerce Pricing, Margin & Markup Target-margin pricing with a fee gross-up

Selling Price From Target Margin Calculator

Give this calculator your landed unit cost and the gross margin you need, and it returns the price you have to charge — grossed up for the marketplace commission, payment processing and per-order fees that come straight off the top of every sale. It divides by one minus the margin rather than multiplying by one plus it, which is the difference between a real 40% margin and the 1.7% you would actually earn. You also get the break-even price, the gross profit per unit, and the margin you keep once the price is rounded up to a retail ending.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Landed unit costEverything it costs to have one sellable unit in your hands: supplier invoice plus inbound freight, duty and brokerage.24 $
Target gross marginThe gross profit you want to keep, as a percentage — the figure your income statement or your buying plan calls for.40 %
Measure that margin againstChoose the denominator your target is written against; marketplaces report net revenue, accounts usually report gross price.The price the customer pays
Fees charged as a percent of priceAdd up every deduction proportional to the sale price — for example a 15% marketplace referral fee plus 2.9% card processing gives 17.9%.17.9 %
Fixed fees per unit soldFlat per-order charges you absorb: fulfilment or pick-and-pack, the fixed part of a payment fee, outbound postage, packaging.3 $
Round the price up toRounding is upward only, so the listed price never dips below the one your target margin requires.Next $0.99 ending

It returns

  • Required selling price — The exact price that delivers your target margin after fees, before any retail rounding.
  • Price at your chosen ending
  • Gross profit per unit — Listed price minus landed cost minus all fees.
  • Realised margin on price
  • Margin on net revenue — The same gross profit divided by what the channel actually pays you.
  • Price as a markup on cost
  • Fees deducted per unit
  • Break-even price after fees

The formula

P=C+F1mf
P=C1m
P0=C+F1f
P=C1m+F1f

In plain text: P = (C + F) / (1 − m − f)

  • PRequired selling price ($)
  • CLanded unit cost, including inbound freight and duty ($)
  • FFixed fees charged per unit sold ($)
  • mTarget gross margin as a decimal share of price (decimal)
  • fFees charged as a decimal share of price (decimal)

Margin and percentage fees are both shares of the selling price, so they subtract from the same 1. Anything that is a fixed number of dollars per unit belongs in the numerator with cost instead.

Updated Category Pricing, Margin & Markup Verified against published test cases Reading time 13 min

Pricing backward from the margin you need

Most pricing questions run forward: here is my price, what is my margin? This one runs backward. You already know the margin the business requires — because a buying plan demands it, because a lender's covenant depends on it, or because you have worked out what gross profit has to cover — and you need the price that delivers it. That is target-margin pricing, and it is the standard way a retail buyer, a marketplace seller or a product manager sets a list price.

Running the calculation backward changes the arithmetic in a way that catches people out. Margin is a share of the selling price, and the selling price is the number you are solving for. It appears on both sides of the equation, so you cannot simply add a percentage to cost; you have to divide it out. The correct operation is to divide cost by one minus the margin. Multiplying cost by one plus the margin — the intuitive move, and by far the most common pricing error in retail — always lands short, and lands further short the higher your target.

Selling fees make the same problem worse. A marketplace referral fee, a payment processor's percentage, an affiliate payout and a rebate are all shares of the same selling price your margin is measured against. They compete for the same 100 cents, which is why they belong in the divisor next to the margin rather than being tacked on to cost. Fixed per-order charges behave differently: fulfilment, postage and the flat part of a card fee are a set number of dollars per unit whatever the price, so they sit in the numerator alongside cost. Getting those two categories the right way round is the whole craft of this calculation. The markup vs margin calculator handles the fee-free version and the conversion between the two conventions.

Why the fee rate belongs in the divisor

Start from the definition. Gross profit is what is left of the price after the product cost and every fee:

G = PCFf·P

Margin is that profit divided by the price, so m = G ÷ P. Substitute and divide through by P:

m = 1 − (C + F) ÷ Pf

Rearranged, that is P = (C + F) ÷ (1 − mf). Read the denominator as an accounting statement about a single dollar of revenue: your margin claims m of it, the percentage fees claim f, and whatever remains has to pay for the product and the flat charges. Solving for price is just asking how many dollars of revenue you need so that the leftover share covers C + F.

Three consequences follow, and each one is a practical rule.

  • Margin and percentage fees are interchangeable in the divisor. A 40% target with 18% of fees prices exactly like a 58% target with no fees. That is why sellers who quote a channel-agnostic margin target systematically underprice on the expensive channel.
  • There is a hard ceiling. Once m + f reaches 1, the divisor is zero and no finite price works, because you have promised away the entire selling price before paying for the goods. At m + f = 0.9 the price is already ten times cost plus fixed fees.
  • Fixed fees scale the numerator, not the multiple. Adding $3 of fulfilment to a $24 cost raises the required price by $3 ÷ (1 − mf), so on a divisor of 0.421 that $3 fee costs the customer $7.13. Every dollar of avoidable per-order cost is worth more than a dollar of price.

One more decision changes the answer: which denominator your target margin is written against. Accounts and buying plans usually mean a share of the gross price the customer pays. Marketplace dashboards and many sellers mean a share of the net proceeds actually deposited. This calculator solves either, and they are not the same price — a 30% target on net revenue with a 15% fee produces a 25.5% margin on the gross price.

Worked example: a $24 cost sold on a marketplace at a 40% target margin

You sell a kitchen gadget. Landed cost is $24.00 a unit including freight and duty. The channel charges a 15% referral fee and your processor takes 2.9%, so percentage fees are 17.9%. Fulfilment and packaging cost a flat $3.00 per order. Your buying plan demands a 40% gross margin on the price the customer pays.

  1. Total the cost to recover. $24.00 + $3.00 = $27.00.
  2. Add the two shares of price. 40% + 17.9% = 57.9%, so m + f = 0.579.
  3. Form the divisor. 1 − 0.579 = 0.421. Only 42.1 cents of every dollar is available for cost and flat fees.
  4. Divide. $27.00 ÷ 0.421 = $64.13. That is the required price.
  5. Check it. Percentage fees are $64.13 × 0.179 = $11.48. Add the $3.00 flat fee for $14.48 of fees. Gross profit is $64.13 − $24.00 − $14.48 = $25.65, and $25.65 ÷ $64.13 = 40.0%.

Now price it the wrong way, by multiplying: $24.00 × 1.40 = $33.60. Fees at that price are $33.60 × 0.179 + $3.00 = $9.01. Gross profit is $33.60 − $24.00 − $9.01 = $0.59, a margin of 1.74%. The intended 40% margin has become 1.74%, and 59 cents a unit has to pay for storage, returns, advertising and every other overhead. That is not a rounding error; it is the difference between a product line and a hobby.

Two more numbers finish the job. Your break-even price is $27.00 ÷ (1 − 0.179) = $27.00 ÷ 0.821 = $32.89 — note that the naive $33.60 sits only 71 cents above it. And if you round the required price up to the next charm ending, $64.99, fees become $64.99 × 0.179 + $3.00 = $14.63, gross profit is $26.36, and the realised margin is $26.36 ÷ $64.99 = 40.56%. The listed price is 170.8% above cost — a markup of $40.99 on $24.00 — even though the margin is only 40.56%.

How to read the required price before you list it

The formula tells you what price your target demands. It cannot tell you whether the market will pay it, and that is the first thing to check. Compare the answer against the three or four cheapest competing listings for a substitutable product. If your required price sits well above them, the target margin is not achievable on this channel at this cost, and you have four levers rather than one: reduce landed cost, cut the flat fees per order, move to a cheaper channel, or accept a lower margin and make it back on volume.

Read the price multiple as a sanity check. Divide the required price by cost plus fixed fees — in the worked example, $64.13 ÷ $27.00 = 2.38 times. A multiple above 3 means margin and fees together claim more than two thirds of every dollar, and small changes in either figure will swing your price sharply.

The gap between the break-even price and the required price is your negotiating room. In the example it runs from $32.89 to $64.13, so a promotion at $54.99 still leaves gross profit of $54.99 − $24.00 − ($54.99 × 0.179 + $3.00) = $18.15, a margin of 33.0%. Knowing that number before a sale event stops you from discounting into a loss. Below $32.89 every unit sold makes the business worse off, whatever the volume.

Finally, decide whether the target margin is the right target. Gross margin has to cover fixed costs before any of it becomes profit, so a margin figure alone says nothing about viability. Convert it into a volume with the break-even point calculator, and use the contribution margin calculator if you want the decision-grade figure that strips out every variable cost rather than just cost of goods.

Price multiple table: what to multiply cost plus fixed fees by

Each cell is 1 ÷ (1 − margin − fee rate). Multiply your landed cost plus fixed fees per unit by the factor to get the required price. Worked example: a 40% margin at a 20% fee rate is 2.500, so $27.00 × 2.500 = $67.50.
Target marginNo fees3% fees10% fees15% fees20% fees
20%1.2501.2991.4291.5381.667
25%1.3331.3891.5381.6671.818
30%1.4291.4931.6671.8182.000
35%1.5381.6131.8182.0002.222
40%1.6671.7542.0002.2222.500
45%1.8181.9232.2222.5002.857
50%2.0002.1282.5002.8573.333
55%2.2222.3812.8573.3334.000
60%2.5002.7033.3334.0005.000

Notice that moving from a 3% card fee to a 20% marketplace fee at a 50% target raises the multiple from 2.128 to 3.333 — the same product has to carry a price 57% higher to hold the same margin.

Never multiply cost by one plus the target margin

To reach a 40% margin on a $60 cost you divide: $60 ÷ 0.60 = $100.00. Multiplying gives $60 × 1.40 = $84.00, which delivers $24 of profit on $84 of revenue — a 28.6% margin, eleven points short. The error grows with the target: at a 60% target, multiplying yields 37.5% instead of 60%, and at a 75% target it yields 42.9%.

The habit that prevents it is to name the denominator out loud before you touch a calculator. Percent of cost means multiply by one plus the rate. Percent of price means divide by one minus the rate. If a supplier, spreadsheet or point-of-sale system hands you a bare percentage, treat the denominator as unknown until someone confirms it.

Mistakes that leave the realised margin below target

  • Treating percentage fees as a cost. Adding a 15% fee to cost and then applying the margin understates the price, because the fee is 15% of the eventual price, not of cost. It belongs in the divisor.
  • Using invoice cost instead of landed cost. Ocean freight, duty, brokerage and inbound handling all belong in C. Work them out with the landed cost calculator before you price.
  • Forgetting returns and refunds. A returned unit usually costs you the outbound and inbound shipping, and on many channels part of the fee is not refunded. The margin you must target on the units that stick is above the margin you want on average.
  • Ignoring the fixed fee at low price points. A $3.00 flat fee is 4.7% of a $64 price but 30% of a $10 price. Cheap items are killed by flat fees, not by percentages.
  • Rounding the price down. Dropping to the charm ending below the required price always puts the realised margin under target. Round up to the next ending instead — that is what this calculator does.
  • Pricing off a single channel's fee schedule. The same product needs a different price on a 15% marketplace, a 2.9% own-site checkout and a wholesale account.

Where target-margin pricing sits among the alternatives

Target-margin pricing is a cost-based method. Its strength is that it guarantees the unit economics work if the product sells; its weakness is that it takes no account of what buyers will pay or what competitors charge. Cost accounting texts treat it as one of three families, and mature pricing uses all three as cross-checks.

Target-return pricing goes one step further than this calculator by working out the margin needed to earn a stated return on the capital tied up in inventory, which matters when stock turns slowly.

Value-based pricing starts from the buyer's alternative and the economic value your product adds, then checks whether that price clears cost. It is the only approach that can justify a price several times cost, and it is how differentiated products are priced.

Competitive pricing starts from the market's going rate. Where products are close substitutes, this dominates: the market sets the price and your job is to get landed cost and fees low enough that the required margin appears underneath it. That is exactly how Amazon FBA sellers operate, and why fee reduction and freight negotiation matter more than price setting on those channels.

Whichever family you use, the demand question remains open. A price that hits your margin at last year's volume may not hold volume at all. Measure the trade-off with the price elasticity of demand calculator, and check the fee arithmetic on your own channel with the payment processing fee calculator.

Key terms

Target-margin pricing
Setting price from a required gross margin by dividing recoverable cost by one minus that margin. Also called reverse-margin or margin-based pricing.
Landed cost
Supplier invoice plus inbound freight, duty, brokerage, insurance and handling — the only cost figure that gives an honest margin on imported goods.
Gross-up
Raising a price so that a proportional deduction still leaves the intended amount. Dividing by one minus the fee rate is a gross-up.
Net revenue
What the channel actually pays you: the selling price less referral, processing and other proportional fees and less flat per-order charges.
Break-even price
The price at which gross profit is exactly zero after cost and all fees, equal to (C + F) ÷ (1 − f). Below it, each additional sale increases the loss.
Price multiple
Required price divided by cost plus fixed fees, equal to 1 ÷ (1 − m − f). A quick way to sanity-check a target against your category.

Frequently asked questions

How do I calculate a selling price for a 40% margin?

Divide your cost by 0.60. A $24 landed cost needs a $40.00 price for a 40% gross margin with no fees, because $16 of profit on $40 of revenue is 40%. If fees take a percentage of the price, subtract that rate from 0.60 as well: with 17.9% of fees and a $3.00 flat fee, the price becomes ($24 + $3) ÷ (1 − 0.40 − 0.179) = $64.13. Never multiply cost by 1.40 — that gives $33.60 and a margin nowhere near 40%.

Why is my realised margin lower than the target I entered?

Three causes account for almost all of it. You may have multiplied cost by one plus the margin instead of dividing by one minus it. You may have left a fee out of the fee rate — referral, processing, affiliate, promotional rebates and chargebacks all come off the price. Or your cost may be the invoice price rather than the landed cost, so freight and duty are quietly eating the margin. Rounding a price down to a charm ending also shaves a fraction of a point.

Should marketplace fees go into cost or into the margin calculation?

It depends on whether the fee scales with price. Percentage fees — a 15% referral commission, 2.9% card processing, a 10% affiliate payout — are shares of the selling price, so they subtract from the divisor alongside your margin. Flat charges — fulfilment, postage, packaging, the fixed 30 cents on a card transaction — do not change with price, so they add to cost in the numerator. Putting a percentage fee in the numerator understates the price you need.

What is the highest margin I can target?

Arithmetically, anything below 100% minus your percentage fee rate. With 17.9% of fees, a 82.1% target is the mathematical limit and the price at that point is infinite. Practically the limit arrives far earlier: at an 80% target with those fees the divisor is 0.021, so a $27 cost prices at $1,286. Whenever margin plus fees exceeds about 85%, treat the answer as a signal that the channel or the cost structure is wrong rather than as a price.

Should I target a margin on the gross price or on net revenue?

Use gross price if the target came from an income statement, a buying plan or a lender's covenant, because those measure margin against revenue as reported. Use net revenue if you think in terms of what the channel deposits. The two are not interchangeable: a 30% target on net revenue with a 15% fee rate gives a 25.5% margin on the gross price, so the same words describe two different prices. State which one you mean in writing.

Does this calculator handle sales tax or VAT?

No, and it should not. Sales tax and VAT are collected on behalf of a tax authority and are not your revenue, so margin is always computed on the tax-exclusive price. If you must display a tax-inclusive shelf price, solve for the net price here first and then add the tax on top — with 20% VAT, a $64.13 net price becomes a $76.96 shelf price. Adding tax before the margin calculation inflates every figure it touches.

Why does the calculator only round the price up?

Because rounding down puts the realised margin below the target you asked for, which defeats the purpose of solving backward. Rounding up to the next $0.99 or $0.95 ending keeps you at or above target and usually costs nothing in demand terms. If you want to see what a lower charm ending would do, enter that price into the markup vs margin calculator and read the margin it produces.

References