Finance ·

Margin vs Markup: How to Price Products Without Losing Money

Margin and markup confuse a lot of new sellers. The terms sound similar, and both use percentages, but they measure different things. If you mix them up, you could sell plenty of products and still earn less than expected.

The difference comes down to what you divide your profit by. Markup compares profit with cost, while margin compares profit with selling price. Once you understand that distinction, pricing decisions become much easier.

This guide walks through both formulas, shows how to set a selling price, and explains the common mistakes that can quietly reduce your earnings.

What Is the Difference Between Margin and Markup?

Margin and markup both describe the relationship between profit and a product’s cost or selling price. The difference is the number used as the base for the calculation.

  • Markup measures profit as a percentage of cost.
  • Profit margin measures profit as a percentage of selling price.

Let’s say you buy a mug for $12.50 and sell it for $20. Your gross profit is $7.50 before other business expenses.

Your markup is $7.50 divided by $12.50, which equals 60%. Your gross profit margin is $7.50 divided by $20, which equals 37.5%.

The profit is the same in both calculations. Only the base changes.

Cost Price vs. Selling Price

The cost price is what you pay to buy or make a product. Depending on your calculation, it may also include costs such as freight, import duties and handling.

The selling price is what your customer pays for the product, before any separately charged taxes or fees that are not included in the price.

The difference between selling price and cost is your gross profit when you’re using the cost of goods sold as the cost figure.

For example:

  • Cost price: $12.50
  • Selling price: $20
  • Gross profit: $20 − $12.50 = $7.50

This $7.50 is not necessarily the amount you take home. Payment fees, advertising, rent, wages and other expenses may reduce what remains.

Profit Margin vs. Markup: One Example

Let’s return to the mug that costs $12.50 and sells for $20.

Markup calculation:

(20 − 12.50) ÷ 12.50 × 100 = 60%

Gross profit margin calculation:

(20 − 12.50) ÷ 20 × 100 = 37.5%

The mug has a 60% markup and a 37.5% gross profit margin.

Neither figure is incorrect. They simply answer different questions. Markup tells you how much you added to your cost, while margin tells you what percentage of the selling price remains as gross profit.

Remember this distinction, and you’ll avoid one of the most common pricing mistakes.

How to Calculate Markup

Markup is useful when you want to see how much you’ve added to a product’s cost. Retailers often use it when setting prices or comparing products.

Markup Formula

Markup percentage = (Selling price − Cost price) ÷ Cost price × 100

Here’s an example. A product costs $25 and sells for $40.

  1. Subtract the cost from the selling price: $40 − $25 = $15.
  2. Divide the profit by the cost: $15 ÷ $25 = 0.6.
  3. Multiply by 100: 0.6 × 100 = 60%.

The markup is 60%.

Where Markup Works Best

Markup can make everyday pricing decisions straightforward. For example, a retailer who uses a 100% markup on a product costing $30 would set a selling price of $60.

This method is easy to apply across a range of products. However, markup alone doesn’t tell you whether the price will cover all your business expenses or compete with similar products.

A 100% markup equals a 50% gross profit margin, not a 100% margin. That’s an important distinction when you’re deciding whether your prices are high enough.

How to Calculate Profit Margin

Profit margin shows how much of your selling revenue remains after the relevant costs are deducted. Different types of profit margin account for different expenses, so it’s important to know which one you’re calculating.

Profit Margin Formula

For gross profit margin on a product:

Gross profit margin = (Selling price − Cost of goods sold) ÷ Selling price × 100

Suppose a product costs $25 and sells for $40.

  1. Gross profit: $40 − $25 = $15.
  2. Divide gross profit by the selling price: $15 ÷ $40 = 0.375.
  3. Multiply by 100: 0.375 × 100 = 37.5%.

The gross profit margin is 37.5%.

For a profitable sale with a positive selling price and non-negative product cost, the gross profit margin is lower than the markup percentage. Markup can exceed 100%, but gross profit margin cannot reach 100% when the product has a positive cost.

Gross Profit Margin

Gross profit margin is often used to assess how efficiently a business sells its products relative to the cost of those products.

The formula is:

Gross profit margin = (Revenue − Cost of goods sold) ÷ Revenue × 100

Imagine your business generates $50,000 in sales and the cost of the goods sold is $30,000.

  • Revenue: $50,000
  • Cost of goods sold: $30,000
  • Gross profit: $20,000
  • Gross profit margin: $20,000 ÷ $50,000 × 100 = 40%

Your gross profit margin is 40%.

This doesn’t mean the business keeps 40% of its revenue as final profit. Expenses such as rent, payroll, advertising, software, interest and taxes may still need to be paid. Net profit margin accounts for a broader range of expenses.

Tracking gross margin each month can help you spot changes in product costs, selling prices or discounts. Just remember that it measures gross profit, not the cash ultimately available to spend.

Selling Price Formula

Once you know your costs, the next step is choosing a selling price. The right formula depends on whether you’re targeting a particular margin or a particular markup.

How to Calculate Selling Price From a Target Margin

If you want a specific gross profit margin, use this formula:

Selling price = Cost price ÷ (1 − Target margin)

Enter the target margin as a decimal. For example, 40% becomes 0.40.

Suppose a product costs $60 and you want a 40% gross profit margin.

  1. Convert the target margin to a decimal: 40% = 0.40.
  2. Subtract it from 1: 1 − 0.40 = 0.60.
  3. Divide the cost by the result: $60 ÷ 0.60 = $100.

You need to sell the product for $100 to achieve a 40% gross profit margin, assuming the $60 represents the full cost of goods sold for this calculation.

Check the result:

  • Selling price: $100
  • Product cost: $60
  • Gross profit: $40
  • Gross profit margin: $40 ÷ $100 × 100 = 40%

A common mistake is multiplying $60 by 1.4 and setting the price at $84. That creates a 40% markup, not a 40% margin. At an $84 selling price, the gross profit is $24, giving you a margin of approximately 28.6%.

How to Calculate Selling Price From a Markup

If you want to apply a specific markup to your cost, use this formula:

Selling price = Cost price × (1 + Markup)

Again, express the percentage as a decimal. A 50% markup becomes 0.50.

For a product costing $80:

80 × (1 + 0.50) = $120

The selling price is $120. Your gross profit is $40, and your gross profit margin is $40 ÷ $120 × 100, or approximately 33.3%.

This is why a 50% markup doesn’t produce a 50% margin. If your goal is a particular margin, use the target-margin formula instead.

Quick Markup-to-Margin Conversion Table

Use this table to see how common markup percentages translate into gross profit margins.

MarkupEquivalent gross profit margin
25%20%
50%33.3%
75%42.9%
100%50%
150%60%
200%66.7%

For example, a 25% markup produces a 20% gross profit margin. A 100% markup produces a 50% gross profit margin.

The conversion works in the other direction, too. To find the markup needed for a target margin, divide the margin by one minus the margin.

Markup = Target margin ÷ (1 − Target margin)

For a 40% target margin:

0.40 ÷ (1 − 0.40) = 0.6667

You need a markup of approximately 66.7% to achieve a 40% gross profit margin.

Product Pricing Strategies That Protect Your Profit

Understanding the formulas is only part of pricing. You also need to consider your customers, competitors and operating costs. These three approaches can help you make more informed decisions.

Cost-Plus Pricing

Cost-plus pricing starts with your product cost and adds a fixed markup.

For example, if a product costs $40 and you apply a 50% markup, your selling price will be $60.

The method is easy to understand and apply across multiple products. Its weakness is that it doesn’t automatically account for customer demand, competitor prices or all your business expenses.

Before setting a price, make sure your cost figure includes the relevant costs and that the resulting selling price makes sense for your market.

Margin-First Pricing

Margin-first pricing starts with the gross profit margin you want to achieve. You then calculate the selling price using the target-margin formula.

This can be helpful when your business needs a particular gross margin to contribute towards rent, payroll, marketing and other expenses.

However, a target margin doesn’t guarantee that the business will be profitable overall. You still need to account for operating costs and check whether customers are willing to pay the resulting price.

Market-Based Pricing

Market-based pricing considers competitor prices, customer expectations and demand.

For example, your target-margin formula might suggest selling a product for $100, while similar products are commonly sold for $85. That doesn’t automatically mean you should abandon your target price. It means you need to investigate why the difference exists.

You could negotiate better supplier terms, reduce unnecessary shipping costs, improve purchasing efficiency or offer a clearer reason for customers to choose your product.

The aim is to find a price that customers will accept while giving your business a reasonable chance of covering its costs and earning a profit.

Common Pricing Mistakes That Can Reduce Profit

Small pricing errors can add up when they affect every order. Watch for these common problems.

  • Confusing margin with markup. A 30% markup produces a gross profit margin of approximately 23.1%, not 30%.
  • Forgetting additional costs. Payment processing, packaging, shipping, returns and advertising may reduce what remains from a sale.
  • Using the wrong product cost. Depending on your business, the relevant cost may include freight, import duties, handling and other costs associated with getting products ready for sale.
  • Ignoring discounts. A discount reduces the selling price and therefore reduces your margin if the product cost stays the same.
  • Treating gross profit as net profit. Gross profit doesn’t account for every expense a business has to pay.

Consider this example. A product costs $60 and sells for $100, giving it a 40% gross profit margin before additional costs.

Now include the following expenses per sale:

  • Product cost: $60
  • Payment processing fee: $3
  • Shipping cost paid by the seller: $8
  • Advertising cost allocated to the sale: $10

After these listed costs, the amount remaining is:

$100 − $60 − $3 − $8 − $10 = $19

That equals 19% of the selling price. However, it’s more accurate to call this the amount remaining after the listed costs, or a contribution-like margin if the cost categories are treated as variable expenses. It isn’t necessarily the business’s final net profit because other expenses may still apply.

This is why looking only at markup or gross margin can give an incomplete picture. Include the costs relevant to your business before deciding whether a product is priced well.

Conclusion

Margin and markup both measure profit, but they use different bases. Markup divides profit by cost, while margin divides profit by selling price. That’s why the percentages differ even when they describe the same sale.

Use markup when you want to see how much you’ve added to a product’s cost. Use gross profit margin to understand how much of your sales revenue remains after the cost of goods sold. If you have a target margin, divide your cost by one minus that margin to calculate the required selling price.

Most importantly, don’t stop at the product cost. Consider shipping, payment fees, advertising, discounts and other relevant expenses. A product can have an attractive gross margin and still contribute less to your business than you expected.

Once you understand the difference between margin and markup, you’ll be better equipped to set prices, compare products and make decisions based on the numbers rather than guesswork.

Frequently asked questions

What is the difference between margin and markup?

Markup is profit divided by cost, while gross profit margin is profit divided by selling price. For example, if a product costs $25 and sells for $40, the gross profit is $15. That gives you a 60% markup and a 37.5% gross profit margin.

Is margin higher than markup?

For a profitable sale with a positive cost, gross profit margin is lower than markup. For example, a 50% markup means a product’s selling price is 1.5 times its cost. The resulting gross profit margin is 33.3%, not 50%.

How do I convert markup into margin?

Divide the markup by one plus the markup, using decimals rather than whole percentages.

Margin = Markup ÷ (1 + Markup)

For a 50% markup, the calculation is 0.50 ÷ 1.50 = 0.3333, or approximately 33.3% gross profit margin.

To convert a target margin into markup, use:

Markup = Margin ÷ (1 − Margin)

A 40% target margin requires a markup of approximately 66.7%.

What is a good profit margin for a small business?

There isn’t one ideal margin for every business. Appropriate margins vary by industry, product type, sales volume, competition and operating expenses. A retailer selling low-cost, high-volume products may work with different margins from a business selling specialist or premium products. Compare your figures with businesses in the same industry and check whether your margins can support your expenses.

How do I calculate a selling price from cost?

First, decide whether you’re targeting a markup or a gross profit margin.

For a target markup, multiply the cost by one plus the markup. For a target gross profit margin, divide the cost by one minus the target margin.

For example, if a product costs $60 and you want a 40% gross profit margin, calculate $60 ÷ 0.60. The selling price should be $100, before any additional costs that haven’t been included in the product cost.

Advertisement

Related articles