Selling Price Calculator

Know the margin you want but not the price? Enter your cost and target margin. The calculator works backwards to the selling price — including an optional allowance for fees taken as a percentage of the price.

$
%
Must be below 100%.
%
E.g. payment processing or marketplace commission. Leave 0 to ignore.
Selling price—
Profit per unit (after fees)—
Equivalent markup on cost—

Formula: price from margin

Price = Cost ÷ (1 − Margin − Fee rate)

Without fees, a $30 item at a 40% margin needs a price of 30 ÷ 0.60 = $50. If a marketplace also takes 10% of the price, the price becomes 30 ÷ 0.50 = $60: $6 goes to fees, $30 to cost, and $24 (40%) stays with you.

Why you can’t just add the percentage to cost

Adding 40% to a $30 cost gives $42 — but $12 profit on a $42 price is only a 28.6% margin. Margin is measured against the price, so you have to divide by (1 − margin) instead of multiplying by (1 + margin).

Rounding to a retail price

After you have the minimum price, round up to a price point that suits your market (for example $49 → $49.99 or $52 → $55). Rounding down eats straight into the margin you just calculated.

Frequently asked questions

How do I calculate a 30% margin price?

Divide the cost by 0.70. A $14 cost becomes $20, which leaves $6 — 30% of the price.

Why does the fee field change the price so much?

Percentage fees are taken from the price, not the cost, so they compete with your margin for the same slice of the price. The fewer cents of each dollar that go to fees, the lower the price you need.

Can I include fixed per-order fees?

Add the fixed fee to the cost field. For example, with a $0.30 payment fee per order, enter cost + 0.30.