How to calculate Retail Markup and Margin (FREE Calculator)
Free retail markup and margin calculator. Get the formulas, the markup-to-margin conversion, and why a calculator alone misses catalog-wide margin drift.

Retail Markup & Margin Calculator + Formula Guide
- You know what you paid for the product.
- You know roughly what you want to charge.
Somewhere between cost and price, the math gets slippery, and so does your profit.
Here is the part nobody explains clearly: most operators confuse markup and margin.
Not because they are bad at math.
Because the two terms use different denominators, and that single mix-up, multiplied across hundreds of SKUs and months of pricing decisions, quietly erodes profitability.
Use the free calculator below for any single product. Then read on for:
- How to calculate gross profit margin correctly
- How sales tax and discounts change the picture
- Why a single-product tool stops working the moment you manage a real catalog.
What is retail markup?
And, why does retail markup gets confused with margin?
Markup and margin describe the same profit using two different baselines.
Markup measures profit against cost. Margin measures profit against the selling price.
That is the whole difference, and it is where the money leaks.
Markup
Is the percentage you add on top of cost to reach a selling price. Buy something for $40, sell it for $60, and your markup is 50%, because you added $20 to a $40 base.
Margin
Is the percentage of the selling price that is profit. Same numbers: a $20 profit on a $60 sale is a 33.3% margin.
Same transaction, different results
If you do the same transaction it’ll lead to two different percentages.
If your team targets a “50% margin” but applies the markup formula by mistake, they actually deliver a 33% margin.
On a $10M business, that gap is worth millions in profit that never shows up.
The mistake is so common that nearly every pricing reference flags it.
Omni Calculator notes plainly that markup is the ratio of profit to cost while margin is the ratio of profit to revenue, and that the two are easy to mix up.
Markup and Margin formula cheat sheet:
- **Markup % = **(Profit ÷ Cost) × 100
- **Margin % = **(Profit ÷ Selling Price) × 100
- Selling Price from Markup = Cost × (1 + Markup %)
- Selling Price from Target Margin = Cost ÷ (1 − Margin %)
Look at that last formula.
To hit a 40% margin you do not multiply cost by 1.4. You divide by 0.6.
That counterintuitive step is the one most people skip.
Markup builds the price. Margin measures what you keep. Use the wrong denominator and you underprice every SKU you touch

Markup to Margin conversion
You do not need to recalculate from scratch to switch between the two.
Markup and margin are linked by a fixed identity, so a quick conversion protects you during line reviews.
The two conversion shortcuts:
- Margin % = Markup % ÷ (1 + Markup %)
- Markup % = Margin % ÷ (1 − Margin %)
Worked the other direction, a 40% margin requires a 66.7% markup. A 100% markup (the classic keystone double) lands at exactly a 50% margin.
The retail markup conversion math confirms the same identity:
Margin equals 1 minus 1 divided by your markup multiple.
Keystone pricing
Keystone pricing is the most familiar version of this.
Doubling wholesale cost is a 100% markup that yields a 50% gross margin.
Keystone pricing stays a common default for:
- Apparel
- Gifts
- Accessories
Though it under-recovers in categories where acquisition cost and returns eat the spread.
Keep a small conversion table in your pricing playbook.
The teams that share a common markup-vs-margin vocabulary make faster line-review decisions and miss fewer points of margin.

How to calculate Retail Price
A step-by-step walkthrough
There are two starting points, depending on what you already know.
Work forward from a target markup, or work backward from a margin floor.
Both get you to a defensible shelf price.
How do you calculate retail price from cost and a target markup?
This is the everyday scenario in retail and wholesale.
- Determine your Cost of Goods Sold (COGS). Include purchase price, inbound freight, and any duty or handling. This is your landed cost, not the supplier sticker.
- Pick your target markup. Grocery often runs 15 to 25%, specialty retail 50 to 100%, software 200%+.
- Apply the markup formula: Selling Price = Cost × (1 + Markup % ÷ 100).
Example
A product costs $28. You want a 75% markup. $28 × 1.75 = $49.00. Your gross margin on that sale is ($21 ÷ $49) × 100 = 42.9%.
Working from landed cost matters here.
If you mark up the supplier list price and freight adds 15%, your real margin misses target by roughly the same amount.
How do you calculate retail price from a target margin?
Sometimes finance sets a floor: nothing ships below 40% gross margin.
In that case you work backward.
- Get your COGS (landed cost).
- Apply the reverse margin formula: Selling Price = Cost ÷ (1 − Target Margin %).
Example
Same $28 product, 40% target margin. $28 ÷ 0.60 = $46.67. That is your floor. Anything below $46.67 erodes the target.
Every location diagnosed. Every cycle.
Scoop is AI performance management for distributed businesses. It diagnoses performance at every location, every cycle, and hands every manager a clear action plan.
- Every location, every cycle
- Role-specific action plans
- No prompting required
The retail calculator with sales tax
And, why you cannot ignore it
Does sales tax affect your margin?
In most retail structures, no.
You collect it from the customer and remit it to the government, so it passes through your P&L without touching your margin.
You are a tax collector on that line, not a profit earner.
A $49 product in an 8% sales tax state rings up at $52.92. You keep $49 and send $3.92 to the state. Use your pre-tax shelf price for every markup and margin calculation. Combined state and local sales tax rates for 2026 average around 7.5% nationally and exceed 10% in the highest jurisdictions, so the gross-up is not trivial at the register even when it never hits margin.
Tax does start to matter in three cases:
- All-inclusive pricing, where you advertise a total that already includes tax. Your effective net revenue is lower than the listed price, and your margin math has to back the tax out.
- B2B sales with use-tax complexity, where the buyer’s exempt status changes the obligation and your pricing may need to flex.
- Marketplace and platform fees, where a platform calculates tax on your listed price, remits it, and pays you a net amount that does not equal your sticker.
A retail calculator with sales tax built into the workflow lets you enter the rate and see both pre-tax margin and effective margin after the pass-through.
For operations leaders pricing across multiple jurisdictions, that is not a nice-to-have.

What are industry-standard retail markup percentages?
Markup varies widely by category, so treat these as reference points, not rules.
The cost structures inside a sector tend to be similar, which is why benchmarks cluster the way they do.
Retail pricing reference
Industry markup and margin benchmarks
Standard ranges by category. Markup is profit as a % of cost; margin is profit as a % of selling price.
Ranges reflect industry averages. Actual margins vary by channel, season, and competitive pressure.
Ranges reflect industry averages. Actual margins vary by channel, season, and competitive pressure.
A few patterns worth noting:
- Electronics runs the thinnest margins in brick-and-mortar, which is why volume and attachment rate (accessories, warranties) carry the category.
- Specialty retail’s high markup is offset by carrying costs, shrinkage, and longer sell-through.
- Software’s margin is exceptional, which is why blended SaaS-plus-product businesses struggle until they know which stream drags the blend.
Codify what your best operators already know.
Scoop captures your operators' tribal knowledge, screens every location automatically, and delivers role-specific action plans. Nobody writes a prompt. The plan just arrives.
- Codified tribal knowledge
- Automatic screening
- Action plans, not dashboards
How does a retail margin calculator handle discounts?
Discounts are where margin math turns painful fast. Work through a real example.
You run a 20% promo on a product with a 45% margin at full price.
- Cost: $30
- Full retail price: $54.55 (gives 45% margin)
- Discounted price, 20% off: $43.64
- New profit: $13.64
- New margin: $13.64 ÷ $43.64 × 100 = 31.3%
You just gave away nearly 14 margin points with one discount. Done occasionally, fine. Done every month, that is a structural margin problem, not a promotion.
The better discipline: set a margin floor before you set a discount ceiling. If 35% is your floor, your maximum discount on a 45% margin product is around 11%. Beyond that you are selling below floor. Modeling those scenarios is the heart of real product profitability analysis, and most single-product calculators only show you one row at a time.
Set the margin floor first. Then the discount ceiling falls out of the math, instead of the other way around.

Frequently asked questions about how to calculate Retail Markup and Margin
Is a 30% margin the same as a 30% markup?
No, and this is the most common source of pricing errors. A 30% markup means profit equals 30% of cost. A 30% margin means profit equals 30% of selling price. For the same product, markup is always the higher number. A 30% markup produces roughly a 23% margin, not 30%.
- Rule of thumb: markup % is always greater than the matching margin % for the same profit.
How do I calculate retail price for exactly a 50% margin?
Use Selling Price = Cost ÷ (1 − 0.50) = Cost × 2. A 50% margin means doubling your cost, which is also a 100% markup. Many people call this keystone pricing.
- $28 cost at a 50% margin target = $56 shelf price.
What is the best free online tool to calculate retail markup?
For single-product math, general calculators from Omni, Pearson, and Shopify each handle a use case well. For analyzing margin across a full catalog, you need a data-connected layer, which is the comparison drawn in this roundup of the best online tool for calculating product profit margins.
- Single product: a free web calculator. Whole catalog: connected analytics.
Can I use a retail calculator with sales tax built in?
Yes. Several tools let you layer in shipping and tax. For multi-jurisdiction tax modeling at scale, you need something beyond a single-product calculator, connected to your actual transaction data. The guide to an online margin calculator for retail products covers the options.
- Sales tax is a pass-through. Use pre-tax price for margin math.
Why do my margins keep shrinking even though my markup has not changed?
Your markup held, but your cost structure moved: COGS creep, shipping surcharges, rising payment processing fees. Calculate margin after all variable costs, not just product cost. If landed margin shrinks while sticker markup stays flat, a cost-to-serve audit is overdue.
- Track landed margin, not sticker markup, to catch silent erosion.
How do I find which products are dragging my blended margin?
A calculator cannot answer this; it only sees one row. You need to look at margin by category, channel, and segment together. Static buckets hide the problem, which is why dynamic customer and product segmentation surfaces the clusters a single-SKU tool never will.
- Group by category and channel, then look for the outliers below floor.
Get insights like this every week
Analytics, ops strategy, and product updates. No noise.
Keep reading

How To Calculate Gross Profit Margin For An Online Retail Store?

Where Can I Find An Online Margin Calculator For Retail Products?

Best online tool for calculating product profit margins
Book a discovery call
Reach out to start a two-way conversation about your industry, your performance variations across locations, and whether Scoop is the right fit for you.