Every retailer expects a profit on every sale. There’s no denying that. But generating strong profit from your products depends largely on how well you price them. As a retailer, you should have absolute clarity on the profit you need to cover all costs, including your net profit.

Sometimes, even when sales look healthy, month-end profit still shrinks. This happens when you don’t know the basic difference between markup and margin. The two metrics use the same numbers, but they measure profit against different bases, and that is why they give different percentages for the same sale.

So, what’s the best approach to pricing products to maximize profit?

Let’s unfold how markup vs margin differ, along with their formulas, and steps on how you should use markup and margin to generate maximum profits.

📌 Key takeaways

  • Markup is the profit metric that defines how much you should add to the total to get a profit.
  • Margin is the profit metric that defines how much you keep from each sale of your products.
  • Markup and margin are not the same; 100% markup doubles the product cost, whereas gross margin stays at 50%.
  • Calculate markup when pricing new stock, revising pricing strategy, or reviewing supplier charges.
  • Calculate margin when comparing products, evaluating discounts, or reviewing financial performance.

What is the difference between markup and margin?

Markup and margin both refer to a product’s profit. However, they differ in how they are measured. Markup calculates profit as a percentage of the product cost, but margin does not. Margin calculates profit as a percentage of the selling price.

In simple terms, we can say:

  • Markup answers “How much did I add on top of what I paid?”
  • Margin answers “How much of each sale do I keep?”

For retailers, understanding this distinction is important because the same sale can produce two different percentages depending on which metric they use.

Let’s look at a small example to understand the basic difference between markup and margin.

Suppose a retailer purchases a product for $300 and sells it for $450. The gross profit from the sale is $150.

  • Markup: the retailer earns $150 over the $300 product cost. This represents a 50% markup.
  • Margin: the retailer earns the same $150 on a $450 selling price. This represents a 33.33% gross margin.

Stop guessing your profit.

Markup and margin alone aren’t enough. With Moon Invoice, manage your products and get alerts when stock hits low.

Start your free trial now

Margin vs markup: formula and calculation process

Now that you understand the basic difference, let’s look at how shop owners calculate markup and margin. Both calculations use product cost, selling price, and gross profit, but the formulas differ.

1. Markup formula and calculation

Every time the markup percentage is calculated, it shows how much a retailer can add to the product cost to reach a solid selling price.

Markup formula:

Markup (%) = [(Selling price – product cost) / product cost] x 100

Example:

Suppose a shop owner purchases a product for $500 and sells it for $700.

Here’s how the markup percentage calculation would look:

  • Product cost = $500
  • Selling price = $700
  • Gross profit = $700 – $500 = $200

Now, using the formula:

Markup = [(700 – 500) / 500] x 100 = (200/500) x 100 = 40%

So, the shop owner applies a 40% markup to the product cost to reach a selling price of $700.

Losing your sleep over repetitive manual markup errors? Try our free markup calculator now!

2. Margin formula and calculation

Margin, or gross margin percentage, tells you how much of the selling price remains as gross profit after deducting the product cost.

Margin formula:

Gross margin (%) = [(Selling price – product cost) / selling price] x 100

Example:

Let’s continue with the same example, i.e., the retailer purchases a product for $500 and sells it for $700.

Here’s how the margin percentage calculation would look:

  • Product cost = $500
  • Selling price = $700
  • Gross profit = $700 – $500 = $200

Now, using the formula:

Gross margin = [(700 – 500) / 700] x 100 = (200/700) x 100 = 28.57%

So, the retailer earns a 28.57% gross margin on the sale.

In other words, for every $1 in sales revenue, about 28 cents remains as gross profit after accounting for the product cost.

Markup vs margin percentage comparison table

Let’s assume a shop owner purchases a product for $150. The following table shows the selling price at different markup rates and the corresponding gross margin.

Markup (%)Product CostSelling PriceMargin (%)
10%$150$1659.09%
20%$150$18016.67%
30%$150$19523.08%
40%$150$21028.57%
50%$150$22533.33%
60%$150$24037.50%
70%$150$25541.18%
80%$150$27044.44%
90%$150$28547.37%
100%$150$30050.00%

As the table shows, a 100% markup doubles the original product cost, but the resulting gross margin is only 50%. Similarly, a 50% markup produces a gross margin of 33.33%.

Profit margin vs markup: when should you calculate?

The answer to this is not simple because each works in different scenarios. The following explains when to use margin and when to use markup.

Calculate markup when:

  • Pricing new stock: Using a markup rule when the delivery arrives can help you turn costs into a shelf price in seconds. Plus, you can use category wise markup so that your pricing stays consistent.
  • Re-evaluating your pricing strategy: Markup is mostly useful when you are revising prices of your products. Let’s say, your product costs $220, if you add a 30% markup, the new price will be $286.
  • Reviewing supplier price changes: Suppliers changing prices is common in business. To deal with such cases, calculating markup helps you find the exact amount you need to adjust selling prices.

Calculate margin when:

  • Measuring gross profitability: In businesses, calculating margin helps you understand what revenue you are earning from sales is after subtracting COGS. It is particularly helpful in finding whether you are earning sufficient gross profit.
  • Comparing products or categories: Calculating margin also helps you compare two different product categories and identify which one generates higher return.
  • Evaluating discounts: If you plan to offer discounts on your products, you can calculate the resulting margin to understand how much profit you are likely to retain during the sale.
  • Reviewing financial performance: You can track gross margin across monthly or quarterly reporting periods to identify changes in profitability.
Set your target margin and get the right selling price in seconds with our free profit margin calculator.

Should retailers calculate markup or margin first?

Retailers need to consider both markup and margin for their products. However, which one to calculate first depends on the pricing strategy. If retailers follow a cost-based approach, they need to calculate markup first. In contrast, if they have a specific profitability target, they can calculate margin.

Here’s a simple process every retailer can follow:

  1. Determine the product cost
  2. Set a pricing or margin target
  3. Calculate the selling price
  4. Check the resulting margin
  5. Review and adjust prices

How to use markup and margin to generate maximum profits?

So, as of now, you already know the formula and which one to calculate first, and now comes the interesting part. You need to apply these formulas strategically to set a competitive price and protect your profit margins.

Here’s how you can use markup and margin:

1. Implement category-based markup

Applying markup individually to every product is an overwhelming task and takes a lot of time out of your business. Instead, you should establish a category-based markup and use it to calculate selling prices consistently.

For example, let’s assume you run a retail store and purchase different products at different costs. Instead of pricing one by one, you can assign a standard markup percentage for every category and calculate prices using the formula:

Selling price = Product cost x (1 + Markup rate)

To see how this works, let’s say your store follows the following markup rules:

  • Electronics: 30% markup
  • Clothing: 50% markup
  • Home essentials: 40% markup

Now, if you purchase an electronic product for $500, a 30% markup gives you a selling price of $650. Similarly, home essentials that cost you $200 with a 50% markup would sell for $300.

This is how category-based markup works. You can consider this approach to have a consistent pricing structure for your store.

2. Set different pricing targets for different products

Now, another major point to keep in mind is that applying the same markup for every product won’t ensure maximum profits. Products differ based on customer demand, competition, and sales volume.

So, you should create a product list based on the following categories and then set prices:

  • Fast-moving, highly competitive products: Require lower margins to keep prices attractive and encourage repeat purchases.
  • Specialty or differentiated products: Support higher margins when customers recognize their additional value. Fewer comparable alternatives.
  • Fragile or perishable products: Require pricing adjustments to account for potential damage, spoilage, and inventory losses.
  • Slow-moving products: Review their holding costs and demand regularly. Consider markdowns when inventory remains unsold for too long.

3. Review the effect of discounts on your margin

Discounts can reduce your profit per sale more than you might expect. This happens because the product cost stays the same while the selling price decreases.

For example, suppose a retailer purchases a product for $60 and sells it for $100, generating a 40% gross margin.

DiscountNew PriceProfit per UnitNew Margin
None$100$4040%
10%$90$3033.33%
20%$80$2025%

A 10% discount reduces profit per unit by 25%. To earn the same total gross profit, the retailer would need to sell approximately 33% more units. With a 20% discount, they would need to sell twice as many units.

This is the reason why reviewing discounts thoroughly before launching them is important.

4. Compare actual results with your target margin

Target margin means the gross profit you are willing to achieve after selling your products. On the other hand, actual margin is the money you earn after accounting for sales and other costs.

To calculate actual gross margin, use the following formula:

Actual gross margin (%) = (Net revenue − Cost of goods sold) / Net revenue × 100

Review this figure regularly for individual products and product categories. For example, suppose your target gross margin for a product category is 40%, but the actual margin drops to 34%. This difference signals that something may be affecting your profitability.

Is managing stocks becoming overwhelming?

Take the stock management burden off your shoulders with Moon Invoice


Low-stock alerts

Barcode generation

Batch tracking

CTA Banner

Most common markup and margin mistakes to avoid

Many retail shop owners make very common markup and margin mistakes that affect their businesses. Here are the following mistakes you should avoid:

  • Using the two terms interchangeably: Always confirm which metric someone means when they quote a percentage. A 50% markup is a 33.3% margin, not 50%.
  • Applying one markup to everything: A flat rule ignores how differently products behave in your store.
  • Assuming a higher markup always means more profit: A higher price can reduce sales volume. What matters is total profit, which depends on price and units sold together.
  • Forgetting to update prices when costs change: If your supplier raises prices and you do not, your margin shrinks quietly.
  • Ignoring discounts and returns: Plan margin on the price customers actually pay, not the label price.

Final verdict: margin vs markup

Markup and margin are two views of the same profit. Markup is used for setting a price from a cost. Margin is used to find out how much you keep from each sale. But sometimes retailers use only markup or margin and risk either underpricing their products or overlooking their profitability.

If you want an easier way to calculate both instead of doing it manually, you are in the right place. With Moon Invoice, you can easily calculate both markup and margin using a free online calculator.

Set your target margin first, convert it into a price and a markup rule, and track your actual margin against the target. With Moon Invoice, you can set product prices with just a roll of the finger. No more lengthy repetitive calculations.

Mostly asked questions

Jayanti Katariya
Moon Invoice Team About the author

We at Moon Invoice, are the best minds behind smarter invoicing and seamless business growth. We love to solve financial problems and keep providing effective tips through our blogs, newsletters, and social media channels. As a team, we continue exchanging ideas about growing financial challenges and smart use of automation tools.