Business

Profit Margin & Markup Calculator

Calculator Free · Private
Reviewed by: (política editorial ) · Last reviewed:
$
$
Was this calculator helpful?

Per the US Small Business Administration (SBA) pricing guidance and IRS Schedule C instructions (which report gross margin via Cost of Goods Sold), profit margin and markup are two metrics every US small business owner uses — but very few differentiate correctly. If a product costs $1,000 and you sell it for $1,500, that's a 50% markup on cost but only a 33% gross margin on the sale price. Same profit, two different bases — confusing them leads to mispriced products and inaccurate Schedule C / Form 1120 filings. Enter cost and selling price (in USD), and this calculator returns gross profit per unit, markup %, and gross margin %. Essential for US retail, Shopify/Amazon e-commerce sellers, restaurants, wholesalers, and SaaS businesses preparing investor decks or SBA loan applications.

Last reviewed: May 19, 2026 Verified by Source: US Small Business Administration (SBA) - Set Pricing Guidance, IRS - Schedule C / Form 1120 (Cost of Goods Sold & Gross Profit), SEC - 10-K Filings & Gross Margin Reporting Standards, Harvard Business Review - Pricing and Profitability, Investopedia - Gross Margin vs Markup 100% private

When to use this calculator

  • You have a product that costs $X and want to know the selling price for a 40% margin.
  • You buy wholesale and want to calculate the implied markup in the list price.
  • You're building a P&L and need to report gross margin correctly.
  • You're offered a '30% discount' off the selling price and want to see how much margin remains.
  • You want to compare the profitability of two products with different prices and costs.

Example: T-shirt, cost $15, selling price $40

  1. Product cost (purchase + shipping + packaging): $15.
  2. Selling price to consumer: $40.
  3. Gross profit per unit: 40 - 15 = $25.
  4. Markup (on cost): 25 / 15 x 100 = 166.7%.
  5. Gross margin (on sale): 25 / 40 x 100 = 62.5%.
  6. A 2.67x price-to-cost ratio equals 62.5% gross margin.
  7. If you run a 20% discount promo, the price drops to $32 and gross margin falls to 53.1% ((32-15)/32).
Result: Each t-shirt at full price = $25 gross profit (62.5% margin). A 20% discount drops margin to 53% — still healthy for US apparel retail (50–60% gross margin per Census Bureau retail data) and well above the 25% average for US grocery.

How it works

3 min read

The Critical Difference Between Markup and Gross Margin

Many business owners use 'margin' and 'markup' interchangeably -- they are not the same. They're two percentages with different mathematical bases that measure the same profit.

Markup Formula (Margin on Cost)

Markup % = (Price - Cost) / Cost x 100

This tells you how much you added to the cost to arrive at the selling price. Used for setting prices from cost: if your cost is $1,000 and you want a 100% markup, the price is $2,000.

Gross Margin Formula (Margin on Sale)

Gross Margin % = (Price - Cost) / Price x 100

This tells you what percentage of revenue is profit. This is the KPI that appears in financial statements and that banks, investors, and analysts look at. Used for comparing profitability across businesses.

Equivalence Table

Markup %Gross Margin %Price/Cost Ratio
10%9.1%1.10x
20%16.7%1.20x
25%20.0%1.25x
33%25.0%1.33x
50%33.3%1.50x
75%42.9%1.75x
100%50.0%2.00x
150%60.0%2.50x
200%66.7%3.00x
300%75.0%4.00x

Quick rule: markup is always higher than gross margin for the same transaction.

Setting Price from a Target

I Want X% Markup on Cost

Price = Cost x (1 + markup / 100)

Example: cost $1,000, target markup 50% = Price = 1,000 x 1.5 = $1,500.

I Want X% Gross Margin on Sale

Price = Cost / (1 - margin / 100)

Example: cost $1,000, target gross margin 40% = Price = 1,000 / (1 - 0.40) = 1,000 / 0.60 = $1,667.

Typical Gross Margins by Industry

IndustryTypical Gross MarginEquivalent Markup
Grocery/Supermarket20 - 25%25 - 33%
Convenience stores25 - 35%33 - 54%
Clothing retail50 - 65%100 - 185%
Electronics15 - 25%18 - 33%
Restaurants (food)60 - 75%150 - 300%
Restaurants (beverages)70 - 85%233 - 567%
Cosmetics50 - 70%100 - 233%
SaaS / Software70 - 90%233 - 900%
Professional services70 - 90%233 - 900%

Why Confusing Markup With Margin Ruins Your Pricing

The classic mistake: 'I want to earn 30% so I multiply cost by 1.30'. That gives you markup of 30% = gross margin of only 23%. If you wanted 30% gross margin, you need to multiply by 1/0.70 = 1.428, not 1.30.

Discounts and Their Impact on Margin

Discounts always shrink margin more than intuition suggests. Example: product with 50% gross margin.

DiscountNew Gross MarginMargin Loss
10% off44.4%-11%
20% off37.5%-25%
30% off28.6%-43%
40% off16.7%-67%
50% off0% (break-even)-100%

That's why 50% off clearance sales only work for products with 65%+ original margin.

Common Mistakes

1. Multiplying cost by (1 + desired_margin): this gives markup, not margin. For margin, divide cost by (1 - margin).
2. Comparing margins across industries: a 20% margin in grocery is excellent; in SaaS it's terrible.
3. Including taxes in the margin calculation: margin should be calculated on pre-tax (net) prices.
4. Not accounting for all costs: cost should include product cost + shipping + duties + packaging for accurate margin.

Frequently asked questions

Why are markup and gross margin different numbers?

Because they divide the same profit by different bases. Markup divides profit by cost; gross margin divides profit by selling price. Since selling price is always higher than cost (when there's profit), gross margin is always lower than markup. Example: $500 profit on $1,000 cost and $1,500 price. Markup = 500/1,000 = 50%. Gross margin = 500/1,500 = 33.3%.

Which should I use: markup or gross margin?

Both, depending on context. Markup for setting prices from cost: more intuitive for merchants ('I multiply cost by 3'). Gross margin for reporting profitability and comparing businesses: it's the KPI in financial statements, financial analysis, and benchmarking. Banks, investors, and analysts use gross margin.

If I want to earn 40%, how much do I multiply the cost by?

It depends on what '40%' means: (1) Gross margin of 40% (40% of selling price is profit) = multiply cost by 1.667 (formula: 1 / (1 - 0.40)). Cost $1,000 = price $1,667. (2) Markup of 40% (add 40% to cost) = multiply by 1.40. Cost $1,000 = price $1,400, but gross margin is only 28.6%. Most people saying 'earn 40%' mean gross margin.

Does profit margin include sales tax (VAT)?

No, never. Margin is calculated with pre-tax (net) prices. Sales tax is collected from the customer and remitted to the government -- it's not your profit or your cost. Calculating with tax-included prices inflates the apparent margin incorrectly.

What is a good gross margin for retail?

It depends on the category: grocery stores operate on 15-25% (compete on volume); convenience stores at 25-35%; clothing, footwear, and cosmetics at 50-70% (brand value-add); services and SaaS at 70-90% (almost no variable cost). General rule: below 25% margin you need very high volume and ultra-efficient operations.

How does a 20% discount impact my margin?

More than you think. With an original 50% gross margin, a 20% discount drops it to 37.5% -- you lost 25% of your margin. With an original 30% margin, a 20% discount leaves you at 12.5% -- you lost 58% of your margin. To compensate for a 20% discount you need to sell double the units if your margin was 50%; 3x more if it was 30%.

What is the difference between gross margin and net margin?

Gross margin = (Revenue - Cost of Goods Sold) / Revenue. It includes only the direct cost of the product. Net margin = Net Income / Revenue. It includes everything: COGS + operating expenses + interest + taxes. Gross margin is the ceiling of profitability; net margin is the floor (what's actually left). A business with 60% gross margin can still have 5% net margin if operating costs are high.

How do I calculate the selling price to achieve a target gross margin?

Use the formula: Price = Cost / (1 - target_margin). Example: your cost is $700 and you want a 30% gross margin. Price = 700 / (1 - 0.30) = 700 / 0.70 = $1,000. Do not multiply $700 by 1.30 -- that gives you a markup of 30%, which is only a 23% gross margin.

Sources and references