Business Management. Warehouse Analytics

Today we go deeper into our business management topic. In short: the first part answered the question “What is happening in the business?”, and this part answers “What should we do?”


Aside #1: these topics are meant only for learning. In real life, the order of things you need to do will most likely be different. For example, if the company has a marketing department, after the basic reports it’s more useful to dig into the marketing reports first. So I’d ask you not to come away thinking the financial reports here are the must-have.


In this essay we dig into math. In every section, the “How do we calculate it?” part is all about the math formula. If you don’t think you need to know how it works, you can skip that part. There are online calculators for almost all of it anyway.

All right, same business as before:

Let’s invent a business. Say, a chain of building-supply stores. There are two retail stores and one warehouse. From the warehouse, goods go out to wholesale. We import the goods from China.

Now let’s move to the reports that show our real mistakes and help us prevent them. And the first of them is:

1. ABC analysis

The general idea

A, B, C are categories. A bit like grades. Good products go into category A, average ones into B, and the laggards into C.

What do we mean by “good”? There are many kinds of ABC analysis. By revenue, by profit, by quantity, by consistency, and so on. Each has its own strengths and weaknesses. For example, if we sort products into A, B, and C by revenue, our “axe” product might land in category A. Because it sells a lot. We’ll start bringing in and selling more of it. But if its revenue is high and its margin (profit) is low, no matter how many we bring in, it will barely make any money.

ABC is usually used together with XYZ. XYZ categorizes by how stable demand is. X is a product that always sells. Y is a product that sells seasonally or in cycles. Z is products that sell only once in a while. It’s probably easiest to see on a chart:

Here we took ABC by profit.

What does this report give us?

AX are our champion products. We always keep them in stock. We make sure they never run out. In some cases we can even add more variants of the product. For example, if bricks land in AX and we only carry one type of brick, maybe we should carry two or three.

BX and AY are hidden heroes. They must be in stock. We keep them in the right quantity at the right price.

CX, BY, and AZ — we don’t bring in a lot of these. They’re worth analyzing. For the ones that fell into C, we should try raising the margin (we’ll talk about margin below). We study the products without steady demand. Once you study them, if a product turns out to be seasonal, you’ll know you can barely stock it in other seasons.

CY and BZ — the products in these categories can most likely be optimized a lot. If it works, we try to move them higher. If not, we barely stock them. And if we do, only in very small quantities.

CZ — most of the products here most likely need to go. They bring in neither customers nor profit. Holding them in the warehouse probably isn’t worth it either. More money probably goes to the rent for the space they take up. If you want to keep a product, find a good reason and keep it consciously.

How do we calculate it?

Calculating ABC

How you calculate ABC depends on what you base the categories on. If it’s profit, first you sort your products by their share of profit. From the most profitable downward. All the products that add up to 80% go into category A. From 80 to 95% go into B. The rest are C. For example:

Calculating XYZ

XYZ is a bit harder to calculate. You need to know some statistics, but there’s an easier way. We’ll learn to calculate it in Google Sheets.

The mean. All right, the first thing we need is the product’s month-by-month sales history. Say, a hammer drill. In January we sold 100. In February, 108. In March, 96. From this we can find out how many hammer drills we sell on average (the arithmetic mean). We add them all up and divide by the number of months. In our case

(100 + 108 + 96) / 3 = 101.34

So on average we sell 101 of this product.

Deviation. Now we find the deviation (how much sales differ from the average). In our case, for example:

January: average 101 → ours 100 (a difference of 1 unit)

February: average 101 → ours 108 (a difference of 7 units)

March: average 101 → ours 96 (a difference of 5 units)

And so on. The bigger the difference, the further the product moves toward category Z. In Google Sheets you can get this with the “STDEV” formula. Other online calculators will do it too. In the example above, the standard deviation is 6.1.

CV. One last step. Divide the deviation by the average sales quantity. Multiply by 100 to make it easier to work with. That is:

CV = 6.1/101 * 100= 6.03

If CV is below ten, it’s category X.

From 10 to 25, category Y.

Above 25, category Z.

Extras

  1. ABC can be done not only for products but also for customers, suppliers, and employees.
  2. ABC-XYZ has a few drawbacks. For example:
    a) In this report we need to account for new, premium, and traffic-driving products and many other things. A product we just started carrying will land in CZ, but in the long run it may become profitable.
    b) This analysis works in a stable market. In clothing, there are often new SKUs (product variants) every season, so ABC analysis is likely to come out inaccurate.
    c) It barely works for products with a short shelf life.

With that in mind, it’s a handy tool.

Conclusion

ABC analysis sorts our products into categories.

To do it, we first split them into ABC categories. You can do that here.

Then we split them into XYZ:

  1. We find the mean for each product. You can do that here.
  2. Then we find their standard deviation. You can do that here.
  3. Divide the number from step 2 by the number from step 1. Then multiply by 100.

That gives you XYZ.

Once you know the ABC and XYZ of every product, you analyze them using the “What does this report give us?” section above.

Notice? Looking at this report, we start getting rid of products that don’t sell. We start stocking more of the ones we need. In other words, we slowly start to see what needs to be done.

We’ve sorted our products. It turns out some bring in good profit. Others bring in almost nothing. They might even sell at a loss. But why? Why do some products have low margins? Why did some land in category C? Where do we find a product’s numbers?

2. Unit economics

The general idea

This report goes all the way down to the level of the product and shows what is eating the margin.

A unit is one quantity of our unit of measure. If we sell by the piece, it could be 1 piece. If by weight, 1 kg is our 1 unit. In services it might be 1 hour, and so on.

In our case (building supplies), each product is one unit. We sold a hammer drill: we sold 1 unit. An axe is 1 unit, a lamp is 1 unit, a bag of cement is 1 unit.

Now that we know what a unit is, let’s look inside it.

# For example, 1 bag of cement

Price: 25,000
Our purchase price at the factory: 18,000
Profit: 7,000 → # wrong

Let’s calculate the costs. To bring in 100 bags, we paid the truck driver 200,000 soum. That adds 2,000 soum to the cost of each bag.

Logistics: 2,000

A loader most likely stacked the bags. Maybe he was paid 100,000 soum to carry them. That comes to 1,000 soum per bag.

Loading: 1,000

Notice that we brought every cost down to the unit level. We calculated the costs inside one unit.

So the full picture of the unit is:

# 1 bag of cement
Price: 25,000

Our purchase price at the factory: 18,000
Logistics: 2,000
Loading: 1,000

Profit: 4,000 → # correct

Only the costs related to this unit should go here. Rent, electricity, and so on are not included.

We’ve broken the product down into atoms too. From the level of abstraction we talked about last time, we’re getting close to the very lowest levels.

What does this report give us?

Now we can see why this SKU’s margin is low. Seeing it, different solutions come to mind. For example:

  1. Find a cheaper supplier. If we find a supplier for 16,000 instead of 18,000, our margin goes from 16% to 24%.
  2. Find cheaper logistics. Maybe someone will deliver for 150,000 soum instead of 200,000? Then each bag saves 500 soum. Our margin goes up from 16 to 18. Or maybe, looking at it over time, it would be cheaper to buy our own truck and hire a driver? Or a closer factory might sell to us at 19,000 and handle the logistics itself?
  3. Loading. Maybe instead of paying per job, we hire the loader on a monthly salary? If we work out a daily rate from the salary, then the average number of bags per day, and spread that across the units, wouldn’t it come out much cheaper?
  4. Why are we selling this product for 25,000 soum anyway? Can’t we raise the price? Even at 26,000 soum, for example, our margin goes up to 20%.

Doing this kind of unit-level analysis usually lets you raise the margin on your best-selling products. If we can raise it by just 2% on average (that’s only 500 soum on a bag of cement), on a turnover of 1 billion that means 20,000,000 soum. And 2% is most likely the minimum. Raising it by 5–10% is possible too. That means 50–100 million. We haven’t even done strategy yet; analyzing the internal structure alone can get you this far.

3. Warehouse efficiency report

The general idea

Imagine. One of our products sells 2 units a day on average. That’s about 60 a month. There are 5 left in the warehouse. It’s a small generator that costs 150,000 soum. The question: how many will you order? Maybe 10, maybe 30, 100 at most. But you won’t order 5,000. Why? Because you know the product will freeze your money. You’ll think, “When will I ever sell 5,000 of these and get my money back?” This problem, buying more than you need, is called overstock. It ties up your money. It has an opposite: out of stock. The problem of running out of a product because we bought less than we needed.

Say the right quantity is 50. If you buy 70, you have an overstock problem. You’ve frozen the money for 20 units. In our case that’s 20 * 150,000 = 3,000,000 soum. It would have been more effective to put that money into a different product. Or you bought 30. Out of stock. Most likely you’ll have to order again soon, or the product will run out.

OK, so you need to buy the right quantity. But how much is the right quantity? How do we know how much to buy for a given product?

Economic Order Quantity (EOQ) is a formula that makes sure we buy the right amount.

How do we calculate it?


Aside #2: now we’re going to get into some math. If you’re not great at it, feel free to skip ahead. There are online calculators that will work out EOQ for you. Using them is more efficient.


D — average quantity sold in one year.

S — the cost of one order (shipping, customs).

H — the cost of holding this product for one year (this includes money you didn’t earn. In other words, beyond rent, insurance, and so on for the product sitting in the warehouse, it includes how much I could have earned if I hadn’t bought this unit and had put the money into another product instead. Usually people take an average of 30–60% of the annual margin).

So:

D = 2 units * 365 days = 730 units/year

S = 300,000 soum (shipping)

H = 80,000 soum (with an average 10% markup turned over 6 times a year, that comes to about 60%. 60% of 150,000 is roughly 80,000)

Plugging into the formula:

It turns out that ordering 74 units of this product is ideal.

What does this report give us?

If you do this for every product, you can likely free up about 10–15% of the money in your overall turnover.

Overall conclusion

Today we learned three warehouse analytics reports.

  1. ABC analysis — we figure out which products we need and which we don’t.
  2. Unit economics — we raise a product’s margin.
  3. EOQ — we learn how much of a needed product to bring in.

Calculating all of this may look hard. And at first it is. But in today’s automated world, many apps and ERP systems include these reports. If yours doesn’t, it’s enough to set them up once in Excel. After that, it will calculate everything for you.