The calculator The price that hits your target margin
what your supplier charges
total ad spend ÷ orders
payment + platform % on the sale (2.9% on Stripe or Shopify Basic, US)
the flat part of the card fee: 30¢ on Stripe or Shopify Basic (US)
profit as a % of the selling price
Your price
Pricing to a margin that survives the ad bill is the money discipline in Dropshipping: Basics →
How to read it You name the margin; it names the price
Most calculators start from a price and tell you what's left. This one runs the other way. You decide the profit margin you want to walk away with — profit as a share of the selling price — and it hands you the price you have to charge for that to come true, after the product, the shipping, the fee and the advertising have each taken their cut.
The reason it can't just add the margin on top of your costs is the transaction fee. The fee is charged on the selling price, and so is your margin — both are slices of a number you don't know yet. So the price has to be solved for, not stacked up. That's what the denominator below does.
The formula, in full
Add your flat costs — product cost + shipping + ad cost per order + the fixed fee — into one figure. Then work out the denominator: 1 − (fee ÷ 100) − (margin ÷ 100). The required selling price = flat costs ÷ denominator. The profit per order = price × (margin ÷ 100). The fee and the margin sit in the denominator together because each one claims its percentage of the final selling price, which is exactly what you're solving for.
A worked example
Product cost $9.00, shipping $4.00, ad cost per order $6.00 and the 30¢ fixed card fee — that's $19.30 of flat costs. You want a 20% profit margin, and the percentage fee is 2.9%. The denominator is 1 − 0.029 − 0.20 = 0.771. Divide: $19.30 ÷ 0.771 = $25.032, which rounds up to the next cent — a floor, so you never land a hair under target — giving a required selling price of $25.04. The profit at that price is $25.04 × 0.20 = $5.01. Note what margin means here: profit ÷ selling price, not profit ÷ cost.
Margin on price vs markup on cost
These two get mixed up constantly, and confusing them is an easy way to price too low without noticing. Margin is profit measured against the selling price — a 20% margin means $1 of every $5 you take is profit. Markup is profit measured against the cost — a 20% markup on a $9 product adds $1.80. The same percentage gives two different prices, and markup always sounds bigger than the margin it actually delivers. This calculator works in margin-on-price throughout, because that's the figure that tells you what you keep.
Edge cases the calculator handles
- A fee% + margin% of 100% or more shows "—" for both outputs instead of a wild number. When the fee and the target margin together claim the entire selling price (or more), the denominator drops to zero or below and there is no price that works — you'd be asking the price to pay out 100%+ of itself before covering a single flat cost. Lower the margin, or the fee, until the two together leave room under 100%.
- Blank or negative inputs are read as zero, so the box never throws an error while you're still typing.
Common questions
Why is the price rounded up and not to the nearest penny?
Because rounding down would land you a fraction under your target margin on every order. Rounding up to the next penny is a floor: the price it gives you always meets or just clears the margin you asked for, never falls short of it. Over thousands of orders that discipline is the difference between hitting your number and drifting under it.
What ad cost per order should I use?
Your real one: total ad spend over a period divided by the orders it produced, not a hopeful guess. That's the true cost of buying a customer, and on a dropshipping order it's often the biggest single cost after the product itself. Use last week's actual figure from your ad account, and update it as it moves — the required price moves with it.
Is this financial advice or a guarantee of profit?
No. It's arithmetic on the numbers you enter — not financial advice, not a promise that pricing to a margin will make a product sell. What you actually earn depends on your suppliers, your ad results and whether buyers accept the price, none of which this box controls. It just shows you, cleanly, the price your own numbers demand for the margin you chose.
It's one tool from Dropshipping — Basics, which takes someone from a product idea to their first order that's actually in profit — priced so the ad bill and the fees are covered before a penny counts as yours.
See the Dropshipping series →