How to set a selling price from your costs and target margin
Adding a percentage to your cost is the most common way to price a product, and the easiest way to end up with less profit than you planned. Here's a formula that hits your target margin, even after marketplace fees.
Step 1: the full cost of one item
Add up everything it costs you to make and send one unit: materials, packaging, labels, your time at an hourly rate, and any part of shipping you pay. For a candle, that might be wax, wick, fragrance, jar, label and box, plus 15 minutes of pouring.
Leave out the percentage fees for now. They depend on the price, so they come in at step 3.
Step 2: choose a target margin
Your margin is the share of the selling price you keep as profit. A 30% margin on a $20 sale means $6 profit. Choose a target that covers your fixed costs at the volume you sell; the break-even guide shows how to check.
Remember that margin and markup are different. A 30% margin needs a 42.9% markup, not 30%.
Step 3: build the fees into the price
If a marketplace takes 10% of each sale and you want a 30% margin, then 40% of the price is gone before the item's cost. The other 60% must cover the cost. So the price is cost ÷ (1 − margin − fee rate).
With a $12 cost: 12 ÷ (1 − 0.30 − 0.10) = 12 ÷ 0.6 = $20. Check it: the fee is $2, the cost is $12, and $6 is left, which is exactly 30% of $20.
Prices for a $12 product at each target margin
| Target margin | Divide cost by | Price | Profit |
|---|---|---|---|
| 20% | 0.70 | $17.14 | $3.43 |
| 30% | 0.60 | $20.00 | $6.00 |
| 40% | 0.50 | $24.00 | $9.60 |
| 50% | 0.40 | $30.00 | $15.00 |
On a small screen, scroll the table sideways if needed.
Fixed fees per order
Many platforms also charge a flat fee per order, such as $0.25 or $0.30 for payment processing. Add it to the cost before dividing: price = (cost + fixed fee) ÷ (1 − margin − fee rate). With a $0.30 fixed fee, the candle becomes 12.30 ÷ 0.6 = $20.50.
The product pricing calculator handles both kinds of fee and shows the breakdown.
Round to a sensible price, then check again
$20.50 might become $21 or $19.99 on your price tag. Rounding up adds a bit more margin; rounding down takes some away. After rounding, run the final price back through the profit margin calculator to see the margin you'll actually get.
Finally, compare the price with similar products. If the market price is far below yours, the answer is usually to reduce cost or make the product stand out, not to sell at a loss.
Quick answers
What is the formula for selling price?
Selling price = cost ÷ (1 − target margin − percentage fees), with any fixed fee added to the cost first.
Why not just add 30% to my cost?
Adding 30% gives a 23% margin before fees, and less after them.
Should I include my time in the cost?
Yes, if you want the price to pay you. Otherwise your 'profit' is really your wage.
Also useful: Profit Margin Calculator