Markup and margin are two ways to express the same gross profit. Markup is gross profit divided by cost of goods sold, while margin is gross profit divided by sales revenue. The IRS uses both definitions in its gross-profit guidance, and the two numbers are not interchangeable.
What is the difference between markup and margin?
Markup answers a cost question: how much was added to the item’s cost? Margin answers a sales question: how much of each sales dollar remains after cost of goods sold? A $35,000 gross profit on a $105,000 cost is a 33.3% markup, while the same $35,000 on $140,000 of sales is a 25% margin.
Use markup when you start with a known cost and add a percentage. Use margin when you start with a selling price and ask what share is gross profit. The same dollar profit produces a larger markup percentage than margin percentage because the markup denominator is smaller.
How do you convert markup to margin and back?
Use two formulas and keep the percentages in decimal form. Margin = markup ÷ (1 + markup). Markup = margin ÷ (1 − margin).
Take the IRS Pub. 538 retail example: cost $105,000, retail value $140,000, and markup $35,000.
Gross profit is $140,000 − $105,000 = $35,000. Markup on cost is $35,000 ÷ $105,000 = 0.3333, or 33.3%, and margin is $35,000 ÷ $140,000 = 0.25, or 25%.
Check the conversion with decimals: 0.3333 ÷ 1.3333 = 0.25. Going the other way, 0.25 ÷ 0.75 = 0.3333. The formulas match the dollar example, so you can use either path when you have the right denominator.
How do markup and margin compare at different selling prices?
For example, a hypothetical product costs $100. The table shows how the same cost produces different markup and margin percentages as the selling price changes.
| Cost | Selling price | Gross profit | Markup on cost | Gross margin |
|---|---|---|---|---|
| $100 | $120 | $20 | 20.0% | 16.7% |
| $100 | $150 | $50 | 50.0% | 33.3% |
| $100 | $200 | $100 | 100.0% | 50.0% |
The gap widens as markup rises. At a 100% markup, half of the selling price is gross profit. A pricing sheet that lists only markup can make a 16.7% margin look like a 20% return on sales if the reader uses the wrong base.
How do you set a price from a target margin?
Start with the margin you need, convert it to markup, then apply the markup to cost. This order avoids the common error of adding the target margin directly to cost.
Step 1: Pick the target margin
Choose a gross margin that covers operating expenses and profit. A retailer with high rent may need a higher gross margin than a service business with low inventory. Use your own cost structure, not an industry guess.
Step 2: Convert margin to markup
Use markup = margin ÷ (1 − margin). For a 25% target margin, the math is 0.25 ÷ 0.75 = 0.3333, or 33.3% markup. That means cost must be multiplied by 1.3333.
Step 3: Apply markup to cost
With a $105,000 cost, the target price is $105,000 × 1.3333 = $140,000. Check the result: ($140,000 − $105,000) ÷ $140,000 = 25% margin. If the market will not support $140,000, the target margin is not achievable at that cost.
Which should you use for pricing decisions?
Use margin for pricing decisions and comparisons; use markup for quick cost-plus pricing. Margin ties directly to the income statement, where sales revenue is the base. Markup is easier when a supplier gives you a cost and you apply a standard percentage.
Retailers often price with markup because they buy many items at known costs. A 33.3% markup on a $105,000 cost gives a $140,000 retail value. A service business with labor as its main cost may prefer margin because it shows how much of each invoice remains after direct labor.
Markup can hide a weak price. A high markup on a low-cost item may still produce a small gross profit per sale. Margin shows the share of revenue, so it is harder to overstate, and comparing your markup to a competitor’s margin will make your profit look higher than it is.
Discounts also behave differently against margin. Take the $140,000 price and $105,000 cost from the IRS example and cut the price by 10%. Revenue falls to $126,000, gross profit falls to $21,000, and margin drops to 16.7%.
Once your price is set, break-even analysis shows how many units must sell to cover fixed costs. If you borrow to fund inventory, business loans explained shows how APR and fees change total cost.
How does markup work for service businesses?
Service businesses often use direct labor and materials as the cost base, not inventory. They can set a target margin on the invoice and back into a price. The math is the same, but the cost base must include direct labor and materials.
For example, a hypothetical service job has $600 of direct labor and materials. To hit a 25% gross margin, divide $600 by (1 − 0.25) = $800. The markup on direct cost is $200 ÷ $600 = 33.3%, and the check is $200 ÷ $800 = 25%.
Service businesses often forget that direct labor belongs in the cost base. If they treat labor as overhead, the margin looks better than it is. Put every direct cost in the denominator before comparing to an industry margin.
How does the IRS define markup and margin?
The IRS defines gross profit as sales revenue less cost of goods sold, then defines gross profit margin as gross profit divided by sales revenue and gross profit markup as gross profit divided by cost of goods sold. Those definitions are the basis for the formulas above.
The IRS retail inventory method adds a wrinkle. In Pub.
538, cost is $105,000, retail value is $140,000, and markup is $35,000. The publication calls $35,000 ÷ $140,000 = 25% the markup percentage, which is a retail-value percentage, not a COGS percentage.
Pub. 334 has a similar label issue.
It shows net receipts of $300,000, COGS of $200,000, and gross profit of $100,000. It calls $100,000 ÷ $300,000 = 33.5% a markup percentage, but the denominator is net receipts.
The retail method also prohibits arbitrary standard purchase-markup percentages. Determine markup from department records as accurately as possible. A standard percentage without support can misstate inventory and gross profit.
The retail method is for inventory valuation, not for setting prices. A retailer can use a 25% retail-method markup percentage and still need a different cost-based markup for a price tag. Keep the tax method and the pricing method separate.
Where do margin and markup show up in financial reports?
Banks report net interest margin, which is a revenue ratio, not a cost markup. The FDIC reported industry net interest margin of 3.39% in fourth quarter 2025. That number compares net interest income to average earning assets.
Lenders also price credit-card products with a margin over a benchmark. The CFPB reported an average credit-card APR margin of 15.4 percentage points above the prime rate in 2022. In both cases, margin describes a spread or share of revenue, not a percentage added to cost.
Retailers use markup on cost for shelves and inventory records. Investors use margin to compare profitability across companies. The same word can point to different denominators, so read the label and the base.
A 3.39% net interest margin is small next to a retailer’s gross margin because banks earn on a huge asset base and carry funding costs. Comparing the two directly is a category error.
How do you avoid mixing markup and margin in a spreadsheet?
Label every percentage with its denominator. Use separate columns for cost, selling price, gross profit, markup on cost, and gross margin. Build a check: selling price × margin should equal gross profit, and cost × markup should equal gross profit.
If the two checks disagree, a formula is using the wrong base. A common error is dividing by price in a markup column or by cost in a margin column. Lock the denominator cells and add a note beside each percentage.
Keep the tax method and the pricing method in separate tabs. The IRS retail method may use a retail-value markup percentage, while a price tag usually uses a cost-based markup. Mixing those labels in one sheet creates errors that carry into inventory and profit reports.
Common mistakes
- Treating markup and margin as interchangeable. Markup uses COGS as the denominator; margin uses sales revenue.
- Using sales revenue as the markup denominator. That computes gross margin, not IRS gross profit markup.
- Using COGS as the margin denominator. That computes markup, not gross margin.
- Applying a markup to the selling price instead of to cost. That produces a margin-style percentage.
- Using arbitrary standard purchase-markup percentages for the retail inventory method. The IRS requires department records and an accurate markup.
- Treating gross margin as operating margin. Gross profit subtracts only COGS; operating profit also subtracts operating expenses.
- Relying on the Pub. 334 markup percentage label without checking the denominator. The example divides gross profit by net receipts, not COGS.