Margin and markup are not the same number — mixing them up quietly underprices everything you sell. Get both, plus the price that hits your target margin.
Your numbers
Reverse pricing
Example inputs. Results are estimates for planning.
Know what you keep.
Gross profit / unit
$16.00
40.0% profit margin
Every fee explained. Every dollar accounted for.
Where your $40.00 goes
Margin and markup side by side — the two numbers sellers mix up most.
Target price = cost ÷ (1 − target margin). Margin is measured on the selling price, not the cost — that is why a 40% margin on a $24.00 cost needs a $40.00 price ($24.00 ÷ 0.60), not $33.60.
Pure margin math on your own numbers — no platform fees are included. Add your marketplace or payment fees with the platform calculators before pricing.
How it works
Two ratios describe the same profit from different bases:
A 40% markup is only a 28.6% margin. Marketplaces take their fees out of the price, so margin — the share of the selling price you keep — is the number to plan with, and the reverse formula is how you price to protect it after fees.
Frequently asked questions
What is the difference between margin and markup?
Margin divides profit by the selling price; markup divides profit by the cost. For the same sale markup is always the bigger number. A $24 cost sold at $40 has $16 profit: 40% margin, 66.7% markup.
How do I price for a 40% margin?
Price = cost ÷ (1 − 0.40) = cost ÷ 0.60. A $24 cost needs a $40.00 price. Remember to use your full cost — product, shipping-in, packaging and marketplace fees — or the margin is fictional.
What is a good profit margin for online selling?
It depends on the channel, but many marketplace sellers target 20–40% net margin after fees and ads, because returns, fee increases and ad costs eat into anything thinner. Below 15% there is little room for a bad month.
Should fees be part of cost in this calculator?
For a true net margin, yes: add per-unit platform fees and payment fees to the cost field, or use the platform-specific calculators on this site, which break the fees out line by line.
Embed this calculator
Add this free calculator to your own website — no signup needed, attribution appreciated. The embedded version is ad-free and links back to SellKitHub.
Next steps
How we calculate & limitations
Assumptions & limitations: Gross margin on the figures you enter. Enter fully-loaded unit cost (including per-unit fees) for a net figure; fixed overheads are not allocated.
Fee data: Fees last updated Oct 2026 — verify against the official fee schedule before pricing decisions. All rates used on this page come from one central data file (assets/fees.js), where every rate carries its official source and a last-verified note.