Retail Margin Calculator
Convert between cost price, selling price, margin % and markup % in one calculator — with retail benchmarks and the math behind every formula.
Summary
A Retail Margin Calculator converts between cost price, selling price, margin and markup. Margin % = (Selling Price − Cost Price) ÷ Selling Price × 100. Markup % = (Selling Price − Cost Price) ÷ Cost Price × 100. Retailers use it to price products to a target margin, audit existing prices, and avoid the most common pricing error: confusing markup with margin.
Enter your numbers — results update instantly.
Results
- Margin %
- — %
- Markup %
- — %
- Profit
- $ —
What is the Retail Margin Calculator?
The Retail Margin Calculator takes any two of cost, selling price, margin or markup and returns the others. It removes the most expensive arithmetic mistake in retail — quoting a markup as if it were a margin, or vice versa — and lets you price to a target percentage instead of by gut feel.
The same formula scales from a single SKU to a category to a whole store. Use it when costing a new product, negotiating a supplier price change, modelling a promotion, or sense-checking what a 5% cost increase will do to the shelf price if you want to hold margin.
Who should use this calculator?
Buyers & merchandisers
Price new lines to a target margin and model the impact of vendor cost changes.
Store managers
Convert markup quotes from suppliers into the margin numbers head office reports against.
Restaurant operators
Price menu items from plate cost to a 70% target gross margin.
E-commerce sellers
Reverse-engineer a target shelf price from landed cost and marketplace fees.
Wholesalers
Quote trade prices on a markup basis while reporting margin internally.
Small business owners
Set defensible prices without spreadsheet errors or guesswork.
Accountants
Reconcile client GP% to category-level pricing assumptions.
Students
Master the margin ↔ markup conversion every retail and finance course tests.
Category managers
Audit shelf prices against the category margin plan across hundreds of SKUs.
Why this metric matters
Pricing is the single highest-leverage lever in retail. A 1% increase in average selling price, all else equal, drops almost entirely to the bottom line — far more than a 1% reduction in volume or cost. Getting the margin maths right is the difference between a price change that compounds into measurable profit and one that quietly erodes it.
The trap is that markup and margin sound interchangeable but are not. A 50% markup is only a 33.3% margin. Suppliers quote markup; head office reports margin; the gap silently funds a profit leak in thousands of retail businesses. This calculator closes it.
Formula
Margin (%)
Margin % = (Selling Price − Cost Price) ÷ Selling Price × 100
Profit expressed as a share of the selling price. This is the standard retail and accounting metric — what shows up on a P&L.
Markup (%)
Markup % = (Selling Price − Cost Price) ÷ Cost Price × 100
Profit expressed as a share of the cost price. This is how suppliers and trade quotes are usually worded.
Selling Price from target margin
Selling Price = Cost Price ÷ (1 − Target Margin %)
Use this to price a new SKU to a target margin. A $6 cost at a 40% target margin sells for $6 ÷ 0.60 = $10.00.
Margin ↔ Markup conversion
Margin = Markup ÷ (1 + Markup) · Markup = Margin ÷ (1 − Margin)
A 50% markup converts to a 33.3% margin. A 40% margin converts to a 66.7% markup. Memorise this if you negotiate with suppliers.
Worked example
A buyer is offered a product at $7.20 landed cost and wants a 38% category margin. Selling Price = $7.20 ÷ (1 − 0.38) = $7.20 ÷ 0.62 = $11.61. The equivalent markup is 61.3%. If the supplier later raises cost by 6% to $7.63, the shelf price to hold margin is $7.63 ÷ 0.62 = $12.31 — a 6% shelf increase, not a flat dollar pass-through.
Real-world examples
Supermarket grocery
$2.40 cost cereal sold at $3.49. Margin 31.2%, markup 45.4%. In-band for packaged grocery.
Produce
$1.10/kg avocados sold at $1.99/kg. Margin 44.7%, markup 80.9%. Healthy fresh-food margin.
Bakery
$0.95 baguette cost selling at $3.50. Margin 72.9%. Offsets short shelf life and waste risk.
Restaurant
$4.20 plate cost burger at $14.00. Food cost 30%, GP 70%. Industry-standard fine-casual margin.
Coffee shop
$0.55 latte cost at $4.50. Margin 87.8%. Best-margin category in food retail.
Hardware
$78 power tool at $129. Margin 39.5%, markup 65.4%. General merchandise mid-band.
E-commerce
$22 landed cost, $11 fulfilment, $59 retail. True margin 44% — not 63% on cost alone.
Wholesale
Case cost $48, trade price $60. Markup 25%, margin 20%. Thin trade margin, paid for by volume.
Pharmacy front-of-store
$6.50 vitamin cost at $13.99. Margin 53.5%. Front-end runs higher than dispensing.
Industry benchmarks
Typical target margins by retail format and supermarket department.
| Segment | Excellent | Average | Poor |
|---|---|---|---|
| Supermarket — Packaged Grocery | ≥ 22% | 15–22% | < 12% |
| Supermarket — Produce | ≥ 38% | 30–38% | < 28% |
| Supermarket — Fresh Meat | ≥ 33% | 25–33% | < 22% |
| Supermarket — Bakery / Deli | ≥ 55% | 45–55% | < 40% |
| Supermarket — Dairy & Chilled | ≥ 25% | 20–25% | < 18% |
| Liquor / Tobacco | ≥ 18% | 8–18% | < 6% |
| Restaurant (food) | ≥ 70% | 65–70% | < 60% |
| Coffee shop (beverages) | ≥ 85% | 75–85% | < 70% |
| Convenience (blended) | ≥ 35% | 28–35% | < 24% |
| Apparel specialty | ≥ 55% | 48–55% | < 42% |
Treat these as planning bands, not rules. Format, region and product mix all shift the numbers.
Common mistakes to avoid
1. Quoting markup as margin
How to avoid: A 50% markup is only a 33.3% margin. Always confirm which basis a quote uses before approving a price.
2. Adding a flat dollar amount instead of holding margin
How to avoid: When cost moves, recalculate the shelf price to hold margin in percentage terms — not just pass through the dollar increase.
3. Ignoring marketplace and payment fees
How to avoid: On e-commerce and marketplaces, deduct fulfilment, payment processing and commission before measuring true margin.
4. Using cost-plus-VAT in the margin formula
How to avoid: Use net-of-tax cost and net-of-tax selling price. Mixing bases inflates apparent margin by the tax rate.
5. Rounding too aggressively at the line level
How to avoid: Tiny per-unit rounding loses a measurable margin point across thousands of SKUs. Round the final price, not every intermediate step.
6. Setting a single house margin for all categories
How to avoid: A 35% house margin destroys margin on bakery and underprices grocery. Set targets at category level.
7. Forgetting promotional funding when calculating effective margin
How to avoid: Net supplier funding, rebates and over-and-above allowances against cost when evaluating true category margin.
8. Pricing on cost change without checking competitors
How to avoid: Pass cost increases through to shelf only after a quick competitor index, especially on KVIs.
9. Confusing GP$ improvement with margin% improvement
How to avoid: Higher sales can lift GP$ while margin% slips. Always report both alongside each other.
10. Re-pricing without auditing promotional history
How to avoid: If a SKU has been on promo 40% of the year, its 'list margin' is fictional. Use realised margin for category reviews.
Frequently asked questions
Key terms
Citation-ready definitions for related retail terminology.
Downloads
References & methodology
Calculations follow industry-standard definitions documented in our calculator methodology. Benchmarks are compiled from published industry sources.
- Generally Accepted Accounting Principles — Inventory & COGS — FASB ASC 330
- Supermarket Department Margin Survey — FMI (Food Industry Association)
- Restaurant Food Cost Benchmarks — National Restaurant Association
- Retail Industry Operating Benchmarks — Compiled by Retail Toolkit Editorial Team from public filings (2023–2025)