# How to calculate margin vs. markup

If you’ve been wondering about the differences between Margin and Markup and how to calculate those figures, this is the article for you! We’ll explore the relationship between cost, price, markup, and margins.

Margin vs. markup. Whats the difference? How do we calculate both?

Well, it starts with deciding on how to price your products (which is a big deal!). How you price your goods will depend on whether you buy your products in bulk, or if you buy them from different vendors at differing prices. However, in most instances, once you have a system in place to figure out the cost (a.k.a. cost of goods sold or your purchase price), you can use cost to help derive your price.

This is where the concept of markup comes in. Depending on where you search, you can get differing answers for what markup is, and what it has to do with something called margin (or gross profit margin).

If you’re wondering how to untangle that web of M-words and learn what the difference is between margin vs. markup, then you’ve come to the right place.

Let’s get started, shall we?

## What is the markup formula?

You can think of markup as the extra percentage that you charge your customers (on top of your cost).

The markup formula looks like this:

## An example of using the markup formula

Now let’s make the example a little more concrete. Let’s say the cost for one of Archon Optical’s products, Zealot sunglasses, is set at $18. That $18 is how much it costs Archon Optical to create a single pair of the Zealot. They will then turn around and sell each Zealot for the price of $36.

If we run through that calculation, we arrive at a markup of 100%:

## Pricing products based on markup

However, some businesses might set their prices based on a certain pre-defined markup percentage. They’d have the costs ready and have particular markup percentages in mind to help them calculate a price.

How would we express the markup formula in this case? Let’s write this out:

Given a markup of 100% on the Zealot, the price would be $36.00:

Expressing markup as a percentage is useful because you can guarantee that you are generating a proportional amount of revenue for each item you sell, even as your cost fluctuates or increases. This means that the markups you set up at the beginning should scale well as your business grows. We’ll discuss this more when you’ve scrolled further down this page.

## What about margin vs. markup?

Now that we’ve defined markup and how it helps you decide on a price, we should discuss the other other big M-Word: margin. The type of margin we’re discussing in this case is gross profit margin, which describes the profit that you earn on a product as a percentage of the selling price.

## What is the margin formula?

Margin is often expressed as a specific amount in currency, or a percentage (similar to markup). However, margin uses price as the divisor. If we want to calculate the margin on the Zealot sunglasses, here is what that looks like:

The gross profit margin on Zealot sunglasses is $18 ($36 price – $18 cost), or you could say the margin is 50%.

Expressed in this way, margin and markup are two different perspectives on the relationship between price and cost. Just like you could say: Maryan is taller than Thomas, or Thomas is shorter than Maryan.

## When should I use margin? When should I use markup?

The question then arises: if these two M words are so similar, how do we know which one to express or use at a given time? Here’s our take on that:

Markup is perfect for helping ensure that revenue is being generated on each sale. Markup is good for getting started because, as you are getting things set up, you are keenly aware of the costs for your business, and you’re still learning about the kind of revenue you can bring in through sales.

As you get to know your business better and you start to look at reports on your sales, margin can be helpful for examining how much actual profit you’re making on each sale.

## Fixed markup as percentage or dollar amount

The cost of manufacturing the Zealot may not always stay at $18 (actually, it definitely won’t!). So the wise staff at Archon Optical will want to make sure that their prices are always adjusted to reflect the increases in cost.

This where the concept of fixed markup really comes in handy, because it can help you to automatically adjust your prices based on changed in cost. You could have cost and price as separate numbers that you input into your spreadsheet or inventory management software, but it’s much easier in the long run to have them linked.

Defining your markup as a percentage above cost ensures that you continue to earn revenue on sales as costs increase, but it also means that you don’t have to keep automatically going back to adjust your pricing. Manually adjusting your prices based on cost is plausible for a smaller business, but this quickly becomes untenable as your inventory expands to include hundreds of items.

If the Zealot becomes more expensive to produce over time, the price will have to go up, and gaining a markup of $18 on a $36 item is very different a markup of $18 on an item priced at $55. A fixed markup percentage would ensure that the earnings are always proportional to the price.

## What other factors affect markup?

We’ve described markup very simply thus far because we’re assuming a scenario where Archon Optical makes the Zealot for a set cost and sells it at a set price, and that’s all there is to it. Of course, real life is a little more complicated than that.

For each order of the Zealot, someone will have to be there to package and sell it. That’s a labor cost that’s likely broken down into an hourly wage.

If you ship Zealot to customers in boxes or send them in trucks to stores around the city, you’ll also have to factor the cost of freight charges. Sending express or two-week shipping can make those costs vary wildly.

Since the Zealot is a product that Archon Optical had to develop over time (it didn’t just materialize as a completed product), they need to account for all of the time and expertise that went into making sure that the Zealot was as as cool, aesthetically pleasing, and blocked as many of the sun’s harsh rays as possible. That product development time can also factor into cost.

## Markup in inFlow

If your markup percentages change often, you can use inFlow’s *Product Pricing *feature to help you change prices for multiple products, with just a few clicks.

Or if you’d like to automate some of your pricing, inFlow can set up a fixed markup percentage (e.g., always sell for 30% above cost) for your products. This guarantees that you’ll always make money on each sale, even as your costs change.

You actually spell out the difference. Can you please do that?

Hi Deborah

Not sure I understand what you’re asking! But, feel free to get in touch with support@inflowinventory.com and we’ll do our best to help you out 🙂

kindly help me convert mark- up into margin.

Thanks

whats the mathematical relationship between mark up and margin

Hi Pyno (and Hellen who asked this before):

I wouldn’t necessarily try converting one thing into the other. Instead, I’d find out the Price and Cost of a particular item, and calculate margin and markup from there. As long as you have those two variables, you can use the formulas in this post to find out either Margin or Markup.

Thanks for your interesting article. If I have a range of products that I wish to receive a particular margin on (and it varies). Is there a formula for calculating the markup % to ga in a given margin.

Ie 50% margin is 100% markup and 40% margin is 80% markup but 20% margin is 25% markup.

What would 42% margin be for instance?

Hi Steve, you’re not the first person to ask this, so this is actually the subject of our latest post: https://www.inflowinventory.com/blog/markup-into-margin-formula/

That formula on that page can help you to find the margin when you only have the markup percentage, or vice versa.

This very useful. Well explained, so simple to understand.

Thank you !

Thomas, this is the best article I’ve read on the topic. You have a knack for teaching! Please keep doing what you’re doing.

Thanks for the kind words and for stopping by, Kiara. I’m glad you found the article helpful!

Well explained….simple and straight forward.

Why would a business not be able to achieve a mark up of 100%

Hi Robyn!

Well if you’re reselling there are definitely some high value items, like laptops and cellphones, where it’s hard to make a markup of 100% because you’re already getting the products at a manufacturer markup, and consumers won’t buy the product for much more than that. In these cases, you can usually sell peripherals with a high markup value to help to make up for the loss in profits on the big ticket items.

Considering the below what would be my selling price.

my expenses are 15% of the current sales and my customer receive a discount on every invoice about 20% (which varies customer by customer). I would like to have a net 15% margin of profits.

should I work my prices based on the above markup formula and how or should I work in the margin formula and how.

for e.g my cost for a product A is 7. what would be my selling price to get 15% net margin with the above details.

Hi Zaheer,

If you’re looking to find out the price and you know the margin and cost, you can use this formula instead:

Price = -Cost / (Margin-1)

In your example, that would be:

Price = -7 / (0.15-1), which is a price of 8.23.

For margin this formula seems to only apply when the margin is less than 100%. What if you have a product you want to sell for more than 100% margin? And what if you want to maintain the margin over time.

For example I have an apple that I buy for $0.68. Today, I sell it for $2.00. If the cost goes up to $1.10 tomorrow and I want to maintain the same margin (not markup) how do I do that?

Hi Adam! I had a colleague on the QA team help with this so that it’s easier to follow the math.

That same formula in the post can apply to the example you’d written out.

Let’s just rearrange the margin formula so it’s (Price – Cost) / Price = Margin.

Using your cost of $0.68 and price of $2.00, that’s a 0.66 margin (66%).

Knowing that, you can rearrange that formula above to solve for X (the new price).

(x – 1.10) / x = 0.66

(x – 1.10) = 0.66x

x – 0.66x = 1.10

0.34x = 1.10

x = 3.24

So $3.24 your new price to preserve a 66% margin on $1.10 cost.

Been confused for years with the margin markup. This is the best explanation ever. I will never forget it again!

Hi,

How do you calculate the mark-up percentage backwards from the GP percentage?

Is there a way to do that?

Hi Sharon, we’ve got a related post about how to turn margin back into markup with a formula + table for common values: https://www.inflowinventory.com/blog/markup-into-margin-formula/

I think that post should answer your question!