Seller Math

Selling Price Calculator With Fees and Target Margin

Find the lowest price that covers your costs, marketplace and payment fees, and still leaves your target profit margin. It is for small online sellers pricing one product, whether handmade, resale or print on demand. You also see profit per sale, break-even price, markup, and your margin at the nearest round prices.

$
Materials, wholesale or print cost for one unit.
$
Your actual postage, even if the buyer also pays shipping.
$
Box, mailer, tape, label and inserts.
%
Check the platform's current fee page. Enter 0 if none.
%
Enter 0 if it is already in the platform fee.
$
Add fixed listing and payment fees together.
$
Total ad spend divided by all sales of this product.
%
Profit as a share of everything the buyer pays, before sales tax.
$
Leave at 0 for free shipping.
$
A share of subscriptions, tools, returns or paid labor.
Minimum selling price
$23.21
Profit per sale at that price
$5.81
Break-even price (0% margin)
$16.80
Markup on product cost
190.1%
Nearest round price at or above the minimum
$24.99
Margin at that higher round price
29.68%
Next round price below (0 if none)
$19.99
Margin at that lower round price (0 if none)
14.46%

This is an estimate based on the costs and fee rates you enter, not financial, tax or accounting advice, so check rates against your platform's current fee page before setting a price.

How it works

The formula

Price = (cost + shipping + packaging + ad spend + overhead + flat fee) / (1 - marketplace % - payment % - target margin %)

If the buyer pays shipping, subtract that amount from the result. Percentage fees and margin apply to the buyer's whole payment, item price plus shipping, before sales tax. The price is rounded up to a cent.

Three worked examples

Case Total cost / divisor Price Profit Break-even Markup
Typical 15.20 / 0.655 = 23.2061 $23.21 $5.81 $16.80 190.1%
Small 2.70 / 0.705 = 3.8298, less 1.00 $2.83 $0.77 $1.99 135.8%
Large 215 / 0.54 = 398.1481, less 25 $373.15 $119.45 $230.96 166.5%

In the typical case, $24.99 gives 29.68% margin and $19.99 gives 14.46%. The small case gives 22.83% at $2.99 and 0.20% at $1.99. The large case gives 30.91% at $379.99 and 29.57% at $369.99.

What the inputs mean

Enter costs for an order of one unit. Put fixed charges in the flat fee and percentage charges in the fee fields. Spread ad spend over all sales, including those that came without an ad.

Fee rates are yours to enter. The defaults are illustrations, not any platform's rates. Check the platform's current fee page, including whether fees apply to shipping.

Margin and markup

Margin divides profit by revenue. Markup divides a gain by cost. The result above measures markup against product cost only. This table uses profit over all costs, including fees:

Margin Markup on all costs
10% 11.1%
20% 25.0%
30% 42.9%
40% 66.7%
50% 100.0%

Table computed 2026-11-23 from margin / (1 - margin). No outside source is needed.

When it stops being reliable

The estimate assumes one rate on the whole payment. It can be wrong if fees have tiers, caps or minimums, exclude shipping, or apply to sales tax. Multi-unit orders also share postage and flat fees.

Returns, discounts and unpaid labor count only if you include them. Income tax is excluded. A calculated price shows what you need, not what buyers will pay.

If buyer-paid shipping alone meets the target, the price shows $0, and the actual margin may exceed your target.

Questions

Why not just add the fee percentage to my cost?

Fees are charged on the buyer's payment, which is larger than your cost. Raising the price also raises the fee. Dividing by 1 minus the fee and margin rates accounts for both.

What is the difference between margin and markup here?

Margin is profit divided by everything the buyer pays before sales tax. The markup result is the listed price minus product cost, divided by product cost. It looks much larger because it still has to pay for shipping, fees and your other costs.

Should I include shipping if the buyer pays it?

Yes. Enter your postage as shipping you pay and the buyer's charge as shipping the buyer pays. The calculator counts the charge as revenue and applies percentage fees to it, so check that your platform does the same.

How do I price for a discount or coupon?

Treat the result as the minimum price after the discount. For a list price, divide it by 1 minus the discount rate. A $23.21 minimum with a 10% coupon needs 23.21 / 0.90, which rounds up to $25.79.

What if my platform's fee is above 30%?

The fields are limited so that fees plus target margin always stay below 100%. For a higher fee, use the formula by hand. If fees plus margin reach 100% or more, no price can meet that target while you have costs to cover.