
Short answer
ABC inventory analysis splits products into three classes by value contribution: class A has few products but most of the value, commonly about 70% to 80%; class B about 15% to 25%; class C has many products but only about 5% to 10%. To do it, calculate each product's 12-month value as units sold times unit cost, sort in descending order, accumulate the shares and cut classes at the thresholds. For an online shop, place net profit per product (a management measure) beside the ABC class before deciding purchasing capital, safety stock and counting schedules.
A shop selling dozens to hundreds of codes, counting color and size variants, usually lacks the time and capital to track every code in the same detail. If all are treated alike, an important product can run out just as it sells well, while capital sits in codes that rarely get orders. ABC analysis is a long-established way of classifying inventory in warehouse management, based on the observation that a few items usually account for most of the value that flows through.
This article explains how to run an ABC inventory analysis for shops selling on TikTok Shop and Shopee: choosing the ranking measure, the steps in a spreadsheet, how to put net profit per product beside the ABC class, and how to manage each class. It is a method article; every figure in the example is hypothetical, and the thresholds are commonly used conventions rather than mandatory standards. The content is current as of 02/11/2026 and does not replace an accountant's advice.
What principle ABC analysis rests on#
ABC analysis applies the Pareto principle to inventory: in many ranges, a small share of items accounts for most of the value. The actual ratio is not fixed at 80/20; it depends on the category and on the number of codes in each shop. The analysis divides the range into three classes:
| Class | Commonly used share of value | Commonly seen share of codes | Level of control |
|---|---|---|---|
| A | About 70% to 80% | A few codes, often about 10% to 20% | Tightest: frequent monitoring, careful safety stock |
| B | About 15% to 25% | About 30% | Moderate: periodic monitoring |
| C | About 5% to 10% | Most codes, often about 50% | Simple: general rules, less frequent checks |
The classic measure is annual usage value, which is the quantity consumed in the year times unit cost. For a retail shop, "consumption" is units sold, so a product's value in the analysis approximates its cost of goods sold over 12 months. When purchase prices change between batches, units sold times one representative unit cost is only an estimate; this figure is for classification and does not replace the cost of goods sold recorded in the accounting books. It shows the value of goods sold flowing through each product each year, that is, how much a stock error on that product affects cash flow.
Choosing the ranking measure: cost, revenue or net profit#
Before building the table, choose the quantity to rank by. Three common choices have different strengths and weaknesses:
| Measure | What it measures | When to use | Note |
|---|---|---|---|
| 12-month cost of goods sold (units sold × unit cost) | Capital flowing through the product | Inventory management: ordering, safety stock, counting | Needs correct batch costs; see how to calculate landed cost |
| 12-month revenue | Contribution to sales | When product-level cost is not yet available | High-price, low-margin products get pushed into class A |
| Net profit per product (a management measure) | Net revenue minus platform fees, advertising, affiliate commission, return costs and cost of goods; before overheads, financing costs and tax | Deciding capital and advertising | Can be negative, so shares cannot be accumulated; use as a second axis |
The approach that suits most shops is to rank by cost of goods sold (or by revenue if cost is not yet available), then put net profit per product in a separate column beside it. The ABC class answers "which products need tight stock control", and net profit answers "which products deserve more capital". Net profit per product in this article is an internal management measure, not accounting profit; how to build the table and its scope of costs are covered in the profit and loss tracking sheet.
Steps for ABC analysis in a spreadsheet#
- Get the list of codes and units sold. Use the order files exported from each marketplace's Seller Center, grouped by code at variant level. Count only successfully delivered orders, net of returns. The standard period is the most recent 12 months to smooth out seasonality; a new shop can use 3 to 6 months but should note it.
- Attach unit cost. Use the average cost of the batches sold in the period, including goods, purchasing agent fees, shipping and non-deductible taxes; if cost of goods sold by batch is available, use it directly.
- Calculate each code's value as units sold times unit cost.
- Sort in descending order of value, then calculate each code's share of the total and the cumulative share.
- Cut classes at the chosen thresholds. For example, with thresholds of 80% and 95%: a code is class A when the cumulative share of the codes before it is below 80%, class B when it is below 95%, and class C otherwise.
- Review codes near the thresholds and special cases: new products without enough data, seasonal products, products being discontinued.
- Flag codes with no sales in the period. Zero sales value does not mean zero stock value. These codes need a look at quantity on hand, stock age and whether they can still be sold, not only the fact that they sit at the bottom of class C.
For a table with eight columns as in the example below (A code, B product name, C units sold, D unit cost, E value, F share, G cumulative, H class; data in rows 2 to 11), the corresponding formulas are:
E2 (value): =C2*D2
F2 (share): =E2/SUM($E$2:$E$11)
G2 (cumulative): =SUM($F$2:F2)
H2 (class): =IF(G2-F2<0.8,"A",IF(G2-F2<0.95,"B","C"))
Sort the table by column E in descending order before reading columns G and H. The formula in column H looks at the cumulative share before the code being assessed, so a code that pushes the cumulative share over a threshold stays in the higher class. This avoids a very large product being pushed into a lower class merely because it alone crosses a threshold. As a result the actual share of each class can differ from 80%, 15% and 5%, especially when the range has few codes. Depending on the language settings of Excel or Google Sheets, the argument separator may be a semicolon instead of a comma.
Hypothetical example: classifying 10 household products#
A household goods shop has 10 products. Units sold and unit cost over 12 months below are hypothetical, already sorted in descending order of value:
| Code | Product | Units sold, 12 months | Unit cost (dong) | Value (dong) | Share | Cumulative | Class |
|---|---|---|---|---|---|---|---|
| SP01 | Storage box with lid | 4,800 | 52,000 | 249,600,000 | 26.0% | 26.0% | A |
| SP02 | Multi-tier shoe rack | 3,000 | 68,000 | 204,000,000 | 21.2% | 47.2% | A |
| SP03 | Multi-purpose cloth | 6,500 | 24,000 | 156,000,000 | 16.2% | 63.5% | A |
| SP04 | Bathroom corner shelf | 1,500 | 86,000 | 129,000,000 | 13.4% | 76.9% | A |
| SP05 | Clothes hanger set | 2,200 | 31,000 | 68,200,000 | 7.1% | 84.0% | A |
| SP06 | Foldable basket | 900 | 58,000 | 52,200,000 | 5.4% | 89.5% | B |
| SP07 | Adhesive wall hook | 2,600 | 15,000 | 39,000,000 | 4.1% | 93.5% | B |
| SP08 | Doormat | 700 | 45,000 | 31,500,000 | 3.3% | 96.8% | B |
| SP09 | Vacuum storage bag | 1,100 | 18,000 | 19,800,000 | 2.1% | 98.9% | C |
| SP10 | Foldable drying rack | 400 | 27,000 | 10,800,000 | 1.1% | 100.0% | C |
| Total | 960,100,000 | 100.0% |
Result: class A has 5 codes (SP01 to SP05), accounting for 84.0% of value; class B has 3 codes (SP06 to SP08), accounting for 12.8%; class C has 2 codes, accounting for 3.2%. SP05 is class A because the cumulative share before it is 76.9%, below 80%. With only 10 codes, the share of codes in class A (50%) is higher than usual; how far the share of codes and the share of value diverge depends on how value is distributed among the codes.
The example also shows that units sold do not decide the class. SP03 sells the most (6,500 units) but ranks third because its unit cost is low; SP04 sells only 1,500 units but is still class A because its unit cost is high. If ranked by units sold, SP07 (2,600 units) would sit above SP04 although it accounts for only 4.1% of value, against 13.4% for SP04.
Place net profit beside the ABC class before deciding on capital#
The ABC class shows whether the value of goods sold for a product is large or small, not how much profit the product contributes. Add three columns for each code: net profit per product over 12 months, average inventory value at cost, and inventory turnover. The simplest average inventory is (opening stock + closing stock) ÷ 2; when stock varies strongly during the year, use the average of each month's closing stock. Turnover equals the value in column E divided by average inventory. Continuing the hypothetical example:
| Code | Class | Net profit per product, 12 months (dong) | Average inventory (dong) | Net profit ÷ average inventory | Turnover (times/year) |
|---|---|---|---|---|---|
| SP01 | A | 96,000,000 | 30,000,000 | 3.2 | 8.3 |
| SP02 | A | −8,000,000 | 40,000,000 | −0.2 | 5.1 |
| SP03 | A | 58,000,000 | 12,000,000 | 4.8 | 13.0 |
| SP04 | A | 21,000,000 | 35,000,000 | 0.6 | 3.7 |
| SP05 | A | 30,000,000 | 8,000,000 | 3.8 | 8.5 |
| SP06 | B | 6,000,000 | 15,000,000 | 0.4 | 3.5 |
| SP07 | B | 18,000,000 | 4,000,000 | 4.5 | 9.8 |
| SP08 | B | −3,000,000 | 9,000,000 | −0.3 | 3.5 |
| SP09 | C | 12,000,000 | 3,000,000 | 4.0 | 6.6 |
| SP10 | C | 1,000,000 | 6,000,000 | 0.2 | 1.8 |
The ratio of net profit to average inventory is an internal management indicator: how many dong of net profit each dong of capital held in the warehouse for that product produces in a year. Average days of stock is roughly 365 divided by turnover.
Reading the table on two axes yields conclusions that neither axis shows alone:
- SP02 is class A but has negative net profit. It is the product with the largest loss in the example: a large value of goods sold, the highest average inventory, but negative net profit for the year. The cause usually lies in price, advertising cost or return rate, so the per-item profit and loss should be reviewed before a new batch is ordered; how to judge whether advertising pays is covered in what ROAS is profitable.
- SP04 is class A with positive profit but capital stays tied up. Turnover is about 3.7 times a year, equal to about 99 days of average stock. The seller can consider smaller orders or a shorter lead time, after checking the reorder point and safety stock so that the risk of stockouts does not rise.
- SP09 is class C but has a high ratio of net profit to average inventory. A product should not be dropped just because it is class C. The seller can consider bundling it with a class A product or testing more advertising after assessing demand, margin and the costs involved, as in pricing combos without a loss.
- SP08 (class B, loss-making) and SP10 (class C, profit near zero) both turn slowly. They are candidates for stopping reorders and clearing the remaining stock; how to decide and the clearance options are covered in handling slow-moving stock.
Whether profit is high or low should be judged by the ratio of net profit to average inventory, compared with other products in the same range and the seller's expected return; the table below only suggests a direction and does not set a general profit threshold. From the two axes, actions can be arranged as follows:
| Positive net profit, good return on capital | Low net profit | Negative net profit | |
|---|---|---|---|
| A | Prioritize capital, avoid stockouts | Review order quantity and turnover | Fix price, advertising and returns before reordering |
| B | Maintain, try to grow sales | Monitor periodically | Set a deadline to fix, then consider stopping |
| C | Keep at a low stock level, consider bundling | Combine purchase orders, reduce stock | Stop reordering, plan clearance |
How each class is managed differently#
The end purpose of ABC analysis is to apply a different level of control to each class. The frequencies below are starting examples, to be adjusted to the seller's scale and staffing; codes that are prone to loss, spoilage or unstable supply may still need frequent checks even in class C:
| Task | Class A | Class B | Class C |
|---|---|---|---|
| Rotating stock counts | Weekly or at each receipt | Monthly | Quarterly |
| Monitoring stock and reorder points | Daily, with a separate reorder point for each code | Weekly | Monthly or when a combined batch is ordered |
| Safety stock | Calculated from demand variability and lead time for each code | A common formula | A simple rule, such as a fixed number of days of sales |
| Order quantity | Consider ordering more often in smaller quantities to reduce capital in stock, after weighing total ordering cost, MOQ, freight and lead time | A fixed cycle | Order less often, combine with other products' batches to share freight |
| Capital and advertising | Priority if net profit is positive | Depends on net profit | Limited, except codes with a good return on capital |
Rotating counts by class (cycle counting) is the most common use of ABC analysis in warehousing: instead of stopping sales to count the whole warehouse at once, the seller counts class A often, because discrepancies there affect the most capital. A reporting entity subject to accounting rules must carry out stocktaking as the law requires; rotating counts for management do not automatically replace that obligation, so the schedule should be agreed with the accountant.
Goods imported from China have long and variable lead times, so class A needs its reorder point and safety stock calculated separately. For class C, combining with the same shipment as a class A product is often more efficient for freight than ordering separately; splitting purchase orders into smaller ones is not always beneficial once freight, customs clearance time and MOQ are counted.
Adding demand stability with XYZ analysis#
ABC analysis does not show whether a product's demand is steady or erratic. XYZ analysis adds this axis using the coefficient of variation (CV), the standard deviation divided by the mean of sales per week or per month. For 12 months of sales in columns B to M:
CV: =IF(AVERAGE(B2:M2)=0,"Not classified",STDEV.P(B2:M2)/AVERAGE(B2:M2))
A product with no sales in the whole period has no CV and needs separate review, not an automatic Z. Common thresholds are X when CV is below 0.5 (relatively stable demand), Y when CV is from 0.5 to below 1 (moderate variation, which may include seasonal effects), Z when CV is 1 or above (erratic); sources do not agree on the thresholds, so these are conventions too. CV only measures the spread of sales by period, and sales can be distorted by months of stockouts, promotions or seasonality. Combining the two axes:
- AX: high value, stable demand. Easy to forecast; order on a regular cycle and hold just enough safety stock.
- AZ: high value, erratic demand. Needs close monitoring because the value flowing through is high and sales vary strongly; consider ordering in smaller batches, and do not place a large order just because the wholesale price is lower, while also considering actual stock, lead time and the risk of stockouts.
- CZ: low value, erratic demand. Often the first candidate for trimming the range.
Common mistakes in ABC classification#
- Grouping by parent product instead of variant. A class A product can contain a few colors or sizes that sell very slowly. Classifying at variant level is what reveals that stock.
- Using too short a period for seasonal goods. Classifying on one peak month pushes a seasonal product into class A, then down to C the month after. A rolling 12-month period is more stable.
- Putting new products in class C. A product that has sold for a few weeks lacks data. Keep new products in a separate group and review them after one purchasing cycle.
- Classifying once and leaving it. Demand changes; the classification should be updated quarterly, with codes that change class flagged.
- Treating class C as discards. Some class C codes are accessories or products often bought with others, raising the order value of the main product. The decision to keep or drop rests on net profit and the code's role in the range.
Shops with many codes across several marketplaces can use the ABC classification as a frame for the whole warehouse process.
Checklist#
- The ranking measure (cost of goods sold or revenue) is chosen and recorded; net profit is not used as the accumulating measure.
- Figures are calculated at variant level, count only successfully delivered orders net of returns, over the most recent 12 months.
- Unit cost is taken from batches received into the warehouse, including freight and non-deductible taxes.
- A set of thresholds (for example 80% and 95%) and a rule for codes near the thresholds are chosen, and used the same way across periods.
- Net profit per product, average inventory and turnover are placed beside the ABC class.
- Each class has its own counting schedule, safety stock method and reorder point.
- New products, seasonal products and codes with no sales are flagged separately, not mechanically put in class C.
- The classification is updated every quarter; codes that changed class are reviewed for the reason.
Frequently asked questions
- What is ABC inventory analysis?
- It is a way of ranking products into three classes by the share of total stock value they account for, usually measured as units sold in a year times unit cost. Class A is the few products that account for most of the value and need the tightest control; class C is the many low-value products, managed with simple rules. The aim is to put time and capital where the impact is greatest.
- Should I rank by revenue or by cost?
- The classic approach uses cost, because ABC analysis measures the capital flowing through each product. Revenue is easier because the figures are already in Seller Center, but it pushes high-price, low-margin products into class A. Net profit should be placed beside the ABC class as a second axis rather than used as the accumulating measure, since some products have negative profit.
- Does a shop with few products need ABC analysis?
- A shop with only a handful of products usually does not need classes: ranking products by cost of goods sold and net profit is enough. When the number of codes, counting color and size variants, reaches several dozen, tracking every code in the same detail becomes time-consuming, and ABC analysis helps decide which codes to review weekly and which monthly.
- How often should the ABC classification be updated?
- Usually once a quarter, using the most recent 12 months on a rolling basis; shops with many new or seasonal products may update monthly. At each update, mark the products that changed class and look at why: a change may come from units sold, unit cost or the value mix of the whole range, and does not necessarily mean demand for that product alone has fallen.
- Should class C products be dropped?
- Not automatically. Class C only says a product accounts for little value, not whether it makes or loses money. A class C product with positive net profit, little capital and frequent add-on purchases with a main product is still worth keeping at a low stock level. A class C product with negative net profit and slow stock is the candidate for stopping reorders and clearing.