Markup vs Margin Calculator
Markup vs Margin Calculator
Markup ↔ Margin conversion + cost-plus / margin-target pricing math.
Markup vs Margin Calculator
Markup and margin are the two pricing concepts most retailers, e-commerce founders, and consultants confuse. They share a numerator (profit) but use different denominators: markup uses cost; margin uses price. Pick an input mode below and the tool fills in the rest. Any currency works: the percentages do not depend on it.
Price for each target margin, at your cost
| Target margin | Markup needed | Price ÷ cost | Price at your cost |
|---|---|---|---|
| 10% | 11.11% | 1.11× | — |
| 20% | 25.00% | 1.25× | — |
| 25% | 33.33% | 1.33× | — |
| 30% | 42.86% | 1.43× | — |
| 40% | 66.67% | 1.67× | — |
| 50% | 100.00% | 2.00× | — |
| 60% | 150.00% | 2.50× | — |
| 70% | 233.33% | 3.33× | — |
| 80% | 400.00% | 5.00× | — |
| 90% | 900.00% | 10.00× | — |
How to Use the Markup / Margin Calculator
Pick your input mode
If you know cost and selling price, use the first mode. If you price by adding a percentage to cost, use the second. If you are aiming at a gross margin, use the third. If the market sets the price and you need the most you can pay for the goods, use the fourth.
Enter your figures
Cost is the landed cost of one unit: what you paid for it plus inbound freight, duties and anything else needed to get it ready to sell. Leave out selling costs such as shipping to the customer, payment fees and marketing; those come off later and reduce operating margin, not gross margin.
Read both percentages
Margin and markup sit side by side. Under them the page shows what adding the same percentage to cost would really give you, what a discount does to the unit, and the price for ten target margins at your cost.
Markup vs Margin — The Most Confused Pair in Pricing
Same profit, two percentages
Markup and margin both start from gross profit per unit, price minus cost, but divide it by different things. Markup divides by cost; margin divides by price. A product bought for $20 and sold for $50 makes $30: a markup of 150% and a margin of 60%. Because price is larger than cost whenever there is a profit, margin is always the smaller number.
Converting between them: margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). So a 25% markup is a 20% margin, 50% is 33.3%, 100% is 50% and 200% is 66.7%. The relationship is not linear, which is where pricing mistakes come from.
To reach a target margin, divide the cost by one minus the margin. Adding the same percentage to cost always falls short.
The commonest mistake
Someone aiming for a 50% margin adds 50% to cost and ends up at 33.3%, almost 17 percentage points short. To hit a margin target, divide cost by one minus the margin: $20 ÷ (1 − 0.5) = $40. This calculator's "cost + margin" mode does that for you.
Gross margin is not the bottom line
The margin here is gross margin: price minus the cost of the goods. Shipping to the customer, payment fees, marketplace commissions, returns, marketing, rent and salaries all come out of it afterwards. Damodaran's figures show how much: across all US listed companies in January 2026 the average gross margin was 37.8% but the average net margin 9.7%. Price with the whole chain in mind.
Industry reference points
Aswath Damodaran's margins by industry (NYU Stern, January 2026) gives gross margins for US listed companies by industry. Some examples: apparel 56.9%, restaurants and dining 32.2%, general retail 33.2%, specialty retail 35.3%, grocery and food retail 26.3%, food wholesalers 15.4%, building materials 30.9%, general electronics 26.8%, pharmaceuticals 71.7% and system and application software 71.7%. These are averages for large public firms; a small business can sit well above or below them.
Frequently Asked Questions
- They share a numerator (price minus cost = profit) but use different denominators. Markup = profit ÷ cost (asks "how much above cost did I add?"). Margin = profit ÷ price (asks "what % of revenue is profit?"). Margin is always smaller than markup. A USD 20 → USD 50 product has 150% markup but only 60% margin.
- Margin = Markup ÷ (1 + Markup). Examples: 50% markup ÷ 1.5 = 33% margin. 100% markup ÷ 2.0 = 50% margin. 200% markup ÷ 3.0 = 67% margin. Reverse: Markup = Margin ÷ (1 − Margin). 50% margin ÷ 0.5 = 100% markup. The conversion is non-linear — doubling one does not double the other.
- Use whichever your readers expect, and always say which it is. Margin is easier to compare and to add up across products, because it never exceeds 100% and total gross profit divided by total revenue gives an overall margin. Markup is natural when prices are set by adding a percentage to cost.
- Keystone pricing means setting the retail price at double the wholesale cost: a 100% markup, which is a 50% margin. It is a traditional retail rule of thumb rather than a standard; whether it works depends on your other costs and what customers will pay.
- You probably marked up cost by 50%, which gives you 33% margin — not 50% margin. To hit a 50% margin you must mark up 100% (i.e. double the cost). Use this tool's "Cost + Margin %" input mode and let it compute the correct selling price.
- It varies widely. In Aswath Damodaran's January 2026 data for US listed companies, gross margin runs from 15.4% for food wholesalers to 71.7% for software, and averages 37.8% across all firms. Use these as reference points, not targets.
- No. It calculates gross margin from cost and price. Marketplace commissions, payment fees and fulfilment charges reduce what you keep, so either add them to cost per unit or subtract them from the price before entering, and check the platform's current fee schedule.
- If a wholesaler sells to a retailer at 40% below the suggested retail price, a $100 item wholesales at $60 and the retailer's margin at full price is 40%. If the retailer then discounts to $90, the margin falls to $30 ÷ $90 = 33.3%. Use the "price + margin" mode to work backwards from a retail price and a margin to the cost.
- Yes. Use landed cost: manufacturing or purchase price, materials, inbound freight, import duties and customs broker fees, which is everything needed to get the unit into your warehouse. Leave out the costs of selling it, such as shipping to the customer, payment fees and marketing, and overheads such as salaries and software. Those reduce operating margin, not gross margin.
- Work backwards from the importer's price and margin. Take the expected US retail price, apply the retailer's and importer's margins in turn with the "price + margin" mode, then subtract freight, duty and insurance to reach the factory price you can quote. Freight and duty depend on the product and route, so use current quotes and the US tariff schedule rather than averages.
Method & sources
How it computes
Markup = (price - cost) / cost; margin = (price - cost) / price; price for a target margin = cost / (1 - margin). Below-cost sales are shown as negative percentages. A discount d gives price p(1 - d), and holding total gross profit needs (p - c) / (p(1 - d) - c) times the units. Arithmetic only, covered by automated tests.
What this tool implements
- Both ratios share a numerator, gross profit per unit, and differ only in the denominator: cost for markup, price for margin.
- Corrected 2026-11-02: a 0% markup or margin and a price below cost now return a result instead of a blank; zero cost, a markup at or below -100% and a margin at or above 100% are refused with a reason. Removed "COGS includes everything that scales with unit volume", which contradicted the same answer, and two unsourced claims that this is the commonest pricing error.
- Industry gross margins are Damodaran's January 2026 US dataset (apparel 56.88%, restaurants 32.24%, general retail 33.18%, food wholesalers 15.44%, system and application software 71.72%; total market 37.76% gross, 9.74% net), re-read against the table on 2026-11-02.
Sources
- Damodaran A. Margins by sector (US), data as of January 2026. NYU Stern. https://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/marg…
What can make this go out of date
- The conversions use no outside data. The industry figures are one annual snapshot, printed on the page with their date.