Home › Tools › Margin calculator

Margin calculator

See what you really keep on each unit after retailer programs (co-op, markdown, defective, rebates) and licensing royalties. Type any side: the price for a margin you want, the most you can pay for a product, or your price from the retailer's margin. Save each retailer's programs for next time.

Made by Show Sourcing, the sourcing app for buyers at trade shows and factories

Price and cost

Grey boxes are worked out for you. Type any two of cost, price and margin, and the third fills in.

Your margin = 1 − cost ÷ what you keep (your price after programs and royalty). Retailer margin = (retail − your price) ÷ retail; typing it works out your price from the retail price. Cost per unit: use the landed cost calculator.

Retailer programs

% of your price

Save a retailer's programs to use them again with one tap. Saved programs stay in this browser, and we keep an anonymous copy (retailer name and the % lines only) to learn typical programs.

Licensing royalty

Net sales = your price after programs. The minimum guarantee is the least royalty you owe the licensor for these units, in total.

What you keep

Download the margin report:

How the math works

Net sales = your price − every program (co-op, markdown, defective, rebate, cash discount, freight, and your own lines). This is what the retailer really pays you.

Royalty = royalty % × net sales (or × your price, if your license says gross). If you set a minimum guarantee and the royalty on these units is less, the tool charges the minimum instead, spread over the units.

What you keep = net sales − royalty. Profit per unit = what you keep − cost. Your margin = profit ÷ what you keep = 1 − cost ÷ (your price × (1 − programs % − royalty %)). Example: cost $5, price $11.11, 10% taken off: 1 − 5 ÷ (11.11 × 0.9) = 50%. Markup = (your price − cost) ÷ cost, before programs and royalty. Retailer's margin = (retail − your price) ÷ retail.

Price for a margin you want = cost ÷ ((1 − programs % − royalty %) × (1 − margin %)). With a royalty on net sales, the royalty part is royalty % × (1 − programs %). Most you can pay = price × (1 − programs % − royalty part) × (1 − margin %). Your price from the retailer's margin = retail × (1 − retailer margin %).

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A product that costs $4 and sells for $10 has a 60% margin and a 150% markup.

What are retailer programs and allowances?

Retailers often take money back from the vendor's invoice: co-op advertising, markdown allowance, defective or returns allowance, volume rebates, early payment discounts and freight allowances. Each is usually a % of your price, and together they can be 5% to 20% or more.

Is a royalty paid on gross or net sales?

It depends on the license. Many licenses charge the royalty on net sales, after allowed deductions such as returns and some allowances, but often with a cap on what you can deduct. Check the definition of net sales in your license agreement.

What is a minimum guarantee?

A minimum guarantee (MG) is the least royalty you must pay the licensor, even if sales are low. Royalties you earn count against it. If your royalty on a run of units is below the MG, the shortfall makes your real royalty per unit higher.

What is a good margin for a consumer product?

It depends on the category and the channel. Many importers aim for 25% to 40% margin on their price to the retailer, after programs and royalties. Retailers often aim for 40% to 60% on the shelf price.

Is my data saved or sent anywhere?

All math runs in your browser. The only thing sent is a retailer program you choose to save: the retailer name and the % lines, with no personal data.

Show SourcingThe sourcing app for trade shows and factories

Keep every product, photo, price and vendor in one place. Scan business cards, and see the landed cost of each product with your country's tariff rules. Free for up to 10 products and 5 vendors.

Show Sourcing product list
A product with price, vendor and landed cost

More free tools

Container loading calculator

CBM and cartons per 20 ft, 40 ft or high cube container, SKU lists, 3D picture.

Pallet calculator

Cartons per pallet, layers, height and weight, pallets per container, 3D picture.

Landed cost calculator

Real cost per unit with freight, duty, tariffs and US fees.

Volumetric weight calculator

Billable weight at UPS, FedEx, DHL, USPS and air freight.

Incoterms 2020 guide

All 11 rules: who pays what, and where the risk moves.

Free, no sign-up and no ads. The math runs in your browser; only retailer programs you save are sent, without personal data. Updated 2026-12-01.