Pricing and Margin Calculator

Work back from a target margin to a shelf price, then see the platform fee, the contribution per unit, the markup and the units needed to break even.

Most pricing mistakes happen in the wrong direction. A seller starts with a cost, adds a comfortable percentage and hopes the platform fee, the shipping label and the fixed monthly bills fit inside what is left. This page runs the arithmetic the other way: you set the margin you need after the platform fee, and it works back to the price that delivers it, then counts how many units it takes to cover the fixed costs.

Cost, fee and target

The target margin is measured after the platform fee, not before it. That is deliberate: a 30% margin that ignores a 15% fee is really a 15% margin. Monthly fixed costs are software, rent, insurance and anything else that arrives whether or not a unit sells.

Suggested price–
Gross profit before fee–
Markup on cost–
Platform fee–
Contribution per unit–
Break-even units–
Units for $2,000 profit–
How this was worked out

–

Margin to markup conversion

Gross marginMarkup on costPrice on a $12.00 cost
10%11.1%$13.33
15%17.6%$14.12
20%25.0%$15.00
25%33.3%$16.00
30%42.9%$17.14
35%53.8%$18.46
40%66.7%$20.00
45%81.8%$21.82
50%100.0%$24.00
55%122.2%$26.67
60%150.0%$30.00

Markup and margin are two views of the same dollar. A 30% margin means the price is 1.4286 times the cost, which is a 42.9% markup. Confusing the two is the single most common pricing error: a seller who adds 30% to cost ends up with a 23.1% margin, not 30%.

$12.00 cost at four margin targets

Target marginCost-only priceAll-in priceContribution per unit
20%$15.00$24.62$4.92
30%$17.14$29.09$8.73
40%$20.00$35.56$14.22
50%$24.00$45.71$22.86

The cost-only price is $12.00 divided by one minus the margin, which is the formula most sellers use and which ignores shipping and fees. The all-in price adds $4.00 of shipping and a 15% platform fee: it is $16.00 divided by one minus the fee minus the margin. The contribution column is the all-in price multiplied by the target margin.

Four rules behind a target price

  • Fees sit inside the denominator. At a 15% platform fee and a 30% target margin, the price is the all-in cost divided by 0.55, not by 0.70. Dividing by 0.70 leaves only 15% of the price after the fee, not 30%.
  • Shipping is a cost of goods for pricing purposes. A $12.00 unit with $4.00 of shipping is a $16.00 unit, and pricing the $12.00 alone gives away a quarter of the margin before the label is even printed.
  • Contribution pays the fixed bills, revenue does not. At $8.73 per unit, the $1,200.00 of monthly fixed costs needs 138 units, and $2,000.00 of profit needs another 229 units on top.
  • Markup always looks bigger than margin. A 30% margin is a 42.9% markup, and a 50% margin is a 100% markup; the gap widens as the margin rises, which is why a 60% margin is a 150% markup.

Practical notes

  • Re-run the price when the fee changes. Moving from a 15% to a 20% platform fee on the same $16.00 cost lifts the required price from $29.09 to $32.00 for the same 30% margin.
  • Use the contribution figure for discounts. A 10% discount on $29.09 gives up $2.91 of price and only $0.44 of the platform fee, so contribution falls from $8.73 to $6.25, a 28% cut in profit for a 10% discount.
  • Check the break-even count against capacity. 138 units a month is 4.6 a day; if production tops out at 100 units, the fixed cost base is too heavy for this price and needs to shrink.
  • Keep the $2,000.00 target separate from break-even. Break-even covers the bills; the target has to cover the bills plus the profit, which is why 367 units is more than double 138.

Three common mistakes

  • Adding the margin to cost instead of dividing by one minus the margin. On a $16.00 all-in cost, adding 30% gives $20.80, which is a 23.1% gross margin, and after a 15% fee the contribution is $1.68.
  • Leaving shipping out of the cost base. A $12.00 unit that costs $4.00 to ship and sells at $17.14 leaves $1.14 after shipping, which is a 6.7% margin rather than 30%.
  • Forgetting that fixed costs scale with channels, not with units. Adding a second store adds software and ad costs to the fixed line, so the break-even count moves even when the price does not.

This calculator is for general education and is not financial, tax or legal advice. Platform fees, payment processing, returns, sales tax and fulfilment costs vary by channel and by jurisdiction. Test the price against your own statements before you publish it.

Everything is calculated in your browser. Inputs are never uploaded.

Want the complete solution?

Margin Pricing Worksheet

Margin and markup converted both ways, with a bottom-up price formula.

Get it for $4.90

Secure checkout. You will receive the download link right after payment.

Calculation notes

Rates below are the local figures this calculator is checked against. Always confirm with your own bill or the official source.

RoundingResults are rounded to 2 decimals
Unit conversion1 in = 2.54 cm · 1 lb = 0.4536 kg · 1 US gal = 3.785 L
AssumptionsTaxes and fees are excluded unless stated on the page

Reference values, not tax, legal or financial advice. Methodology & data sources

Cite this page

Use this citation in reports, assignments or articles so readers can come back and verify the result.

Margin Desk · “Pricing and Margin Calculator”. https://margin.mytoolmasters.com/pricing-margin (accessed )

Last updated 2026-11-21 · How we calculate & data sources

More tools on this site

Guides and reference tables

Related tools

Embed this tool on your site

Copy the code below. Please keep the credit link — it keeps the tool free.