Home › Pricing margin calculator

Pricing Margin Calculator

By · Updated Nov 11, 2026 · Editorial policy

On this page
  1. Tool A: price for a target margin after fees
  2. Tool B: margins at a price
  3. Tool C: maximum cost at a fixed price
  4. Why fees change the price so much
  5. Margins at a price you already have
  6. Working backward from a market price
  7. A real fee example: selling directly with PayPal Goods and Services
  8. What to put in each field
  9. Limits
  10. Related calculators and guides
  11. FAQ

Price = (item cost + per-order costs) ÷ (1 − target margin − percentage fees). Enter what the item costs you, what each order costs to ship and pack, and the percentage your marketplace and payment processor take. The calculator gives the price that hits your margin after those fees, not before.

Pricing a restaurant plate? See how to calculate food cost and set a menu price for a restaurant use case.

Tool A: price for a target margin after fees

Example inputs from the worked example below, not any platform’s rates. Replace them with yours.

Label, packaging, any fixed per-order fee.

Find your platform’s fee: resalefeecalc.com.

Price to charge—
Fees at that price—
Profit—
Margin after fees—
Gross margin—
Markup on cost—

Tool B: margins at a price

Example inputs from the worked example below, not any platform’s rates. Replace them with yours.

Find your platform’s fee: resalefeecalc.com.

Gross margin—
Margin after fees and shipping—
Markup on cost—
Profit—

Tool C: maximum cost at a fixed price

Example inputs from the worked example below, not any platform’s rates. Replace them with yours.

Find your platform’s fee: resalefeecalc.com.

Most you can pay for the item—

Why fees change the price so much

Most margin calculators divide cost by (1 − margin). That's correct for gross margin, but if a platform takes a percentage of every sale, that percentage comes out of the price too, so it has to come out of the denominator.

Example inputs (not any platform's real rates): an item costs $12.00, each order costs $6.00 to ship and pack, fees total 15% of the sale price, and you want a 30% margin after fees.

If you'd used the gross-margin formula instead, $12.00 ÷ 0.70 = $17.15. After the $6.00 shipping and 15% fees, that price loses $3.42 per sale.

Margins at a price you already have

Same item (cost $12.00, $6.00 per order, 15% fees) at $40.00:

MeasureFormulaResult
Gross margin($40 − $12) ÷ $4070%
Margin after fees and shipping($40 − $12 − $6 − $6) ÷ $4040%
Markup on cost($40 − $12) ÷ $12233.33%

The gap between 70% and 40% is the whole point of this page. A margin that looks healthy before fees can be thin after them.

Working backward from a market price

If similar items sell for $49.99 and you need 30% after 15% fees and $6.00 per order, the most you can pay for the item is $49.99 × (1 − 0.15 − 0.30) − $6.00 = $21.49.

A real fee example: selling directly with PayPal Goods and Services

PayPal's US fee table lists 2.99% for Goods and Services payments (as of its November 4, 2026 update). For an item that costs $20.00, with an example $8.00 label, and a 40% target margin: ($20.00 + $8.00) ÷ (1 − 0.40 − 0.0299) = $49.12. See resalefeecalc's PayPal fee calculator for other PayPal payment types.

What to put in each field

Limits

The math is exact for the numbers you enter. It doesn't know your overhead, returns or what buyers will pay. Some platforms also charge their fee on shipping and sales tax collected, which this simple model leaves out; the platform calculators on resalefeecalc.com include those.

FAQ

What is a pricing margin calculator?

A tool that works out the selling price needed to reach a profit margin. This one also accounts for percentage fees and per-order costs.

How do I price a product for a 30% margin?

Without fees: divide cost by 0.70. With fees: divide (cost + per-order costs) by (1 − 0.30 − your fee percentage).

Why does my margin drop after fees?

Percentage fees come out of the price. A 15% fee reduces margin by 15 points before shipping and packaging are counted.

Can margin plus fees be 100% or more?

No price can achieve that. If fees are 40%, the highest possible margin after fees is under 60%.

Estimates only.

Cite this page: Pierre Mentor, “Pricing Margin Calculator,” MarkupCalc.com, updated Nov 11, 2026, https://markupcalc.com/pricing-margin-calculator/