Home About Team
E-Commerce Operations ManagementMarketplace Account CreationLLC Formation & TrademarkPrivate Label & WholesaleChina Sourcing & FreightGraphic, Logo & Packaging DesignDigital Marketing & GrowthComplete Business Startup SetupE-Commerce Automation Service
Packages Global Trade Contact Tools
Book a Free Call

WhatsApp: +971 50 378 5199 · UK Call: +44 7415 004409

Pakistan flagPK--:-- China flagCN--:-- United Kingdom flagUK--:-- United States flagUS--:-- Japan flagJP--:--
Home/Seller Tools/Profit Margin Calculator
Free Seller Tool

Profit Margin & Markup Calculator

Cost in, price in — gross profit, margin and markup out. Work out what you actually keep on every sale, or flip to reverse mode and find the price a target margin demands. Free, no signup, calculated instantly in your browser.

Your numbers

Type and every result updates instantly.

$
$

Tip: build an honest unit cost first with the FBA profit calculator — a margin computed on product cost alone is not the margin you keep.

Estimate, not a quote. Margin and markup are arithmetic on the numbers you enter. Marketplace fees change, so confirm your category's current fee in Seller Central (or the marketplace's fee pages) before you set a price on these figures. No fee rates are baked into this tool.

Your margin

Based on your numbers above.

Gross profit / unit
–
–
Profit margin
–
Markup
Unit cost–
Selling price–
Cost share of price–

Margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. Same profit, different denominator — that is why a 60% margin and a 150% markup can describe the same sale.

Fee sources: no marketplace schedule governs this calculation — it runs entirely on your own costs. Confirm current referral and fulfilment fees in Seller Central or your marketplace's fee pages before pricing.

Rates checked on 4 December 2026

Next step: see our ecommerce management service, or book a free audit of your product economics.

How to use this calculator

1

Enter your unit cost

Everything one unit costs you — product, inbound freight, marketplace fees, fulfilment and packaging. Not just the factory price.

2

Enter the price — or the margin

In price mode, type your selling price. In reverse mode, type the margin you want and the tool finds the price that delivers it.

3

Read margin and markup

Margin tells you what share of each sale you keep; markup tells you how much you added to cost. Use margin for decisions, markup for pricing conversations.

Margin vs markup — the mix-up that quietly eats profit

Margin and markup describe the same sale from opposite sides, and confusing them is the most common pricing mistake in ecommerce. Margin divides profit by the selling price: it answers "of every dollar a customer pays me, how much do I keep?" Markup divides profit by the cost: it answers "how much did I add on top of what I paid?" A product that costs $12 and sells for $29.99 earns $17.99 — a 60.0% margin, but a 149.9% markup.

The confusion bites when a seller says "I need a 50% margin" and then prices at cost plus 50% — $12 plus 50% is $18, and the margin on $18 is only 33.3%, not 50%. The correct price for a 50% margin on a $12 cost is $24, because margin is measured against the price, not the cost. The formula is price = cost ÷ (1 − margin), which is exactly what this calculator's reverse mode computes. Whenever a supplier, a course or a competitor talks about percentages, ask which denominator they mean before you act on the number.

Worked example: cost $12, price $29.99

Take a product with a true all-in unit cost of $12 — product, freight, fees and fulfilment included — selling at $29.99. Gross profit per unit is $29.99 − $12.00 = $17.99. Margin is $17.99 ÷ $29.99 = 60.0%. Markup is $17.99 ÷ $12.00 = 149.9%.

Now flip it round. Suppose you want to keep a 60% margin on that same $12 cost. The required price is $12 ÷ (1 − 0.60) = $12 ÷ 0.40 = $30.00 — a useful check that the forward calculation and the reverse calculation agree. If your current price is below that required price, you have three levers and only three: raise the price, cut the unit cost, or accept a lower margin and make it up on volume — and volume only helps if your fixed costs are already covered, which is a break-even question.

What a "good" margin actually means

There is no percentage that is good for every seller. A 60% margin on a product that sells two units a month is worth less than a 25% margin on a product that sells two thousand — margin is per unit, profit is margin times volume minus fixed costs. Category matters too: consumables and private-label goods often carry higher margins than branded electronics, and a seller doing their own fulfilment keeps costs that an FBA seller pays to Amazon.

The honest way to judge your margin is to work backwards from everything it has to pay for. List the per-unit costs first — product, freight, referral fee, fulfilment, payment processing, returns allowance, ad spend — then the fixed costs it has to contribute toward: software, storage, salaries, your own time. The margin that remains after all of that is the margin that matters, and it is the number this calculator shows you when the cost you enter is complete. If the cost is incomplete, the margin is a fantasy with two decimal places.

Common margin mistakes

Pricing on product cost alone. The factory price is the smallest part of the all-in cost for most sellers. Fees, fulfilment and freight are per-unit costs too, and leaving them out inflates the margin you think you have.

Confusing markup with margin. Cost plus 50% is a 33% margin, not a 50% margin. Use the reverse mode whenever a target is stated as a margin.

Forgetting returns. If 5% of orders come back, your effective profit is earned on 95 sales out of every 100 shipped — and the return shipping and restocking come out of the same margin.

Treating margin as the goal. Margin is a ratio, not money in the bank. A thin margin at high volume with fixed costs covered beats a fat margin nobody buys at.

Frequently asked questions

What is the difference between profit margin and markup?
Margin is profit as a share of the selling price: (price − cost) ÷ price. Markup is profit as a share of the cost: (price − cost) ÷ cost. A product that costs $12 and sells for $29.99 has a 60.0% margin but a 149.9% markup — same $17.99 profit, different denominator. Mixing them up is the most common pricing mistake sellers make.
What is a good profit margin for an ecommerce seller?
There is no universal good number — it depends on category, channel and who does the work. A good margin is one that covers your marketplace fees, fulfilment, returns, ad spend and fixed costs and still leaves the profit you want. Work backwards from those costs with this calculator instead of copying a percentage you saw online.
How do I set a price to hit a target margin?
Use the reverse mode: enter your unit cost and the margin you want, and the tool gives the required price — cost ÷ (1 − margin). For a $12 cost and a 60% target margin, the price must be $12 ÷ 0.40 = $30.00. That is the price before marketplace fees; add those to your cost first, or the margin you think you have is not the margin you keep.
Should marketplace fees go into the unit cost?
Yes. Referral fees, fulfilment fees, payment processing and shipping are all incurred per unit sold, so they belong in the cost figure. A price that looks profitable on product cost alone can be loss-making once Amazon or eBay takes its cut — use our FBA, eBay or Etsy fee calculators to build the true per-unit cost first.
My margin looks high but I am still losing money — why?
Margin is per unit; profit is margin times volume minus fixed costs. A 60% margin on 20 units a month does not cover rent, software and salaries. That is a break-even problem, not a margin problem — run the numbers through our break-even calculator to find the volume your fixed costs actually need.

Margins tight? Get a free pricing audit

Our team manages Amazon, eBay, Walmart, TikTok Shop and Etsy accounts end-to-end — pricing strategy, PPC, listings and operations. Get a free audit of your store first — or skip the DIY and see our full-service ecommerce management.

Get Your Free Store Audit Book a Free Call