Module 07 · Inventory Accounting and COGS in Practice

Just-in-Time Inventory: When It Fits, When It Doesn't and What It Does to Your Books

Just-in-time inventory management: inventory turnover, days of inventory, carrying cost vs price premium, stockout risk, and when JIT fits CPG.

10 min readLesson 8 of 10 in this moduleUpdated 2026-11-09

Just-in-time (JIT) inventory means ordering or producing goods only as they are needed, so that little stock sits waiting. Its effect on your books shows up in two numbers: inventory turnover (COGS divided by average inventory) and days of inventory (365 divided by turnover). Example: cutting average inventory from $100,000 to $60,000 on $600,000 of annual COGS lifts turnover from 6.0 to 10.0 and shortens days of inventory from about 61 to 36.5.

Key takeaways

  • JIT lowers the stock you hold, which raises inventory turnover, shortens days of inventory and releases cash that was tied up in the shelf.
  • The saving is real only if the carrying costs you avoid are larger than what JIT adds: a price premium on small orders, more frequent deliveries and lost sales when stock runs out.
  • JIT works when demand is predictable, lead times are short and reliable, and suppliers can deliver small lots often; it is a poor fit for volatile demand, long or erratic lead times and seasonal peaks.
  • Less inventory does not change how COGS is calculated, but it makes your counts, cut-off and supplier invoices matter more because there is less buffer for mistakes.
  • Treat JIT as a supply-chain choice you test with numbers, not as an accounting trick or a guaranteed saving.

What is just-in-time inventory management?

Just-in-time inventory management is a supply approach in which stock arrives close to the moment it is sold or used, instead of being bought in large batches and stored. A bakery that takes flour deliveries twice a week rather than monthly is practising a simple version of it. The goal is to shrink the average amount of money sitting in inventory without running out of what customers want.

For a small business, JIT is a spectrum, not a switch. You can move toward it by ordering more often in smaller quantities, agreeing shorter lead times with suppliers, or keeping a lean buffer for fast sellers and ordering slow sellers only against customer orders. The wider operational picture, including the supplier and logistics side, is covered in the blog article on just-in-time inventory management; this lesson focuses on what it does to the numbers and how to judge whether it pays.

How does JIT show up in your accounting?

JIT does not introduce new journal entries. Inventory is still debited when goods are received and credited (with a matching debit to COGS) when they are sold; the rules in cost of goods sold apply unchanged. What changes is the size of the balances and how often the entries happen.

  • Inventory on the balance sheet shrinks. Less cash is tied up in stock: if you simply stop over-buying, inventory falls and cash is higher by the same amount, so total assets are unchanged.
  • Receipts are smaller and more frequent. More deliveries means more receipts and more supplier invoices to match. If goods are received before the invoice arrives, the receipt is typically recorded against a goods received not invoiced (GRNI) clearing account until the invoice clears it.
  • Costing differences shrink. When stock turns over in a few weeks, the gap between FIFO and average cost narrows because there are fewer old layers in play. The choice still matters when prices are moving; see when FIFO beats average cost.
  • Errors have less room to hide. With a thin buffer, an uncounted shipment or a missed cut-off hits the month more visibly. The inventory and COGS month-end checks become part of the weekly rhythm, not just the monthly one.

A receipt under GRNI looks like this for a $4,000 delivery that arrives before its invoice:

AccountDebitCredit
Inventory4,000
Goods Received Not Invoiced (GRNI)4,000
Total4,0004,000

When the supplier invoice arrives, GRNI is cleared against Accounts Payable (Debit GRNI 4,000, Credit Accounts Payable 4,000). Inventory is not touched twice.

The two metrics that show whether JIT is working

Two ratios tell you what has happened to your stock levels. Both rely on COGS from your income statement and an average inventory balance (opening plus closing, divided by two, or an average of month-end balances if you have them).

Inventory turnover = Cost of goods sold / Average inventory

Days of inventory = 365 / Inventory turnover (or 365 x Average inventory / COGS)

Worked example: a food distributor tries JIT

Northfield Foods is a small distributor of packaged goods. Its annual COGS is $600,000. Before it changes its ordering, average inventory is $100,000. After moving key products to smaller, more frequent orders, average inventory falls to $60,000, while COGS stays at $600,000. The figures in this example are fictional.

MeasureBefore JITAfter JIT
Annual COGS$600,000$600,000
Average inventory$100,000$60,000
Inventory turnover (COGS / average inventory)6.0 times10.0 times
Days of inventory (365 / turnover)60.8 days36.5 days
Cash released from inventory$40,000

The $40,000 is a one-time release of cash, not an annual saving: you stop owning it once, and you keep the benefit as long as the lower level holds. Whether it makes the business better off depends on the costs on the other side of the ledger.

What does holding stock cost, and what does JIT add?

Carrying cost is whatever it costs to keep stock: the cash tied up (financing or lost use), storage space, handling, insurance, spoilage and obsolescence. It is usually expressed as a percentage of inventory value per year. That percentage differs widely by business, so use your own. For illustration only, we assume 20% a year.

JIT adds its own costs: smaller orders can carry a higher unit price or a delivery fee, more frequent deliveries take receiving time, and thin stock risks lost sales when a delivery is late. A fair comparison puts them side by side.

Item (illustrative assumptions)CalculationAnnual effect
Carrying cost avoided$40,000 less inventory x 20%+$8,000
Price premium of 1% on purchases of $600,000$600,000 x 1%-$6,000
Net effect with a 1% premium$8,000 - $6,000+$2,000
Price premium of 3% on purchases of $600,000$600,000 x 3%-$18,000
Net effect with a 3% premium$8,000 - $18,000-$10,000
Lost gross margin if stockouts cost $20,000 of sales at 35% margin$20,000 x 35%-$7,000
Net effect with a 1% premium and those stockouts$8,000 - $6,000 - $7,000-$5,000

The 20% rate, the premiums and the stockout figures are assumptions for the example. With these numbers, break-even on the price premium alone is $8,000 / $600,000, about 1.33%: if suppliers charge more than roughly that for smaller lots, JIT loses money. This is why price changes from smaller orders are the first thing to test, and why it helps to know exactly what you pay per unit; a product whose purchase cost is tracked in your FIFO or average costing setup will show the effect straight away in your margin.

A lower inventory number is not automatically a better business

Turnover and days of inventory describe how fast stock moves, not whether you made money. A business can raise turnover by running out of its best sellers, which looks efficient on the ratio and costs sales in the real world. Always read these ratios next to gross margin and stockout events.

When does JIT fit, and when doesn't it?

JIT fits best when the following hold at the same time:

  • Demand is predictable. Steady, repeat sales let you order close to what you will sell.
  • Lead times are short and reliable. If a supplier delivers in two days, every time, you need a much smaller buffer than if the range is five to fifteen days.
  • Suppliers accept small, frequent orders without a punishing price or minimum order quantity.
  • Storage is expensive or goods spoil. The more holding costs and shelf-life pressure you face, the more a lean approach pays.

It fits poorly when:

  • Demand is volatile or seasonal. Promotions, holiday peaks and viral spikes create sudden needs a lean pipeline cannot meet.
  • Lead times are long or erratic. Overseas sourcing, customs or a single fragile supplier turn a delay into a stockout.
  • Bulk discounts are large. If buying a full container halves the unit cost, the lower carrying cost may not compensate.
  • A stockout is very costly. Where a missing part stops production or loses a customer permanently, a buffer is cheap insurance.

JIT inventory management in CPG

Consumer packaged goods (CPG) businesses, such as food, beverage and household products, sit in the middle. Shelf life and storage cost argue for lean stock, and fast-moving lines turn quickly. On the other side, retail promotions, seasonal peaks, minimum order quantities for packaging and ingredients, and supplier lead times can all argue for a buffer. A practical CPG approach is to treat products differently: run steady, high-volume lines close to JIT, hold more stock on promotional and seasonal items, and order slow movers against confirmed demand. For multi-site operations, balancing stock between locations can substitute for extra buffer; see multi-warehouse inventory management.

How much buffer does a lean business still need?

Even a JIT business keeps some safety stock to cover variability in demand and lead time. A simple way to size it uses worst-case and average figures:

Safety stock = (Maximum daily usage x Maximum lead time) - (Average daily usage x Average lead time)

Reorder point = (Average daily usage x Average lead time) + Safety stock

Suppose a product sells 100 units a day on average and up to 130 on its busiest days. Deliveries usually take 4 days but have taken up to 7. Safety stock is (130 x 7) - (100 x 4) = 910 - 400 = 510 units, and the reorder point is (100 x 4) + 510 = 910 units. If you sharpen the supplier's reliability so the maximum lead time is 5 days, safety stock drops to (130 x 5) - 400 = 250 units. Improving reliability is often a cheaper route to leaner stock than hoping for the best. This is a rule of thumb, not a guarantee, and more sophisticated methods exist.

What should you watch in the books after you move toward JIT?

  1. Gross margin by product. If unit costs rise on small orders, margin falls even though turnover improves. See markup versus margin if you need to keep the two straight.
  2. Stockout and backorder log. Count days out of stock and sales lost or delayed; it is the missing line in the ratio story.
  3. Cut-off and receiving accuracy. Check that goods received by month-end are in inventory and not left in GRNI without an invoice for months.
  4. Counts of fast-moving items. Regular cycle counts catch discrepancies earlier than one annual count; the method is in conducting a stock opname step by step.
  5. Cash and payables. Releasing cash from stock can be offset if suppliers shorten your payment terms in return for flexibility. Look at the whole cash cycle, not just the stock line.

For retail specifics on reorder points and counts, inventory management for retail goes deeper, and the retail COGS calculation lesson shows how periodic counts feed the COGS figure.

Tracking lean stock in Reyuko

Reyuko records purchases and sales through a perpetual inventory system, so your stock and COGS update with each transaction. Goods received through a Delivery or receipt are debited to Inventory against a GRNI clearing account until the purchase invoice clears it and creates the payable, which suits the frequent small receipts of a lean operation. Each product has its own costing method (Average, FIFO, LIFO or FEFO), and every sale pulls its cost from the batches, so the effect of a price change on small orders appears in your margin. Stock adjustments and stock-takes (opname) post any difference to a shrinkage expense or an inventory gain account, which helps you keep thin stock honest.

Frequently asked questions

What is just-in-time inventory management?

Just-in-time inventory management means receiving or producing stock only when it is needed, rather than holding large reserves. The aim is to cut the cost and cash tied up in storage while still meeting customer demand. It relies on reliable suppliers, short and predictable lead times, and accurate demand forecasts, because there is little spare stock to absorb mistakes.

What are the benefits and risks of JIT inventory?

The benefits are lower inventory value, higher turnover, less storage and spoilage cost, and cash released from stock. The risks are stockouts if deliveries are late or demand spikes, higher unit prices or fees on smaller orders, and less room for counting or receiving errors. Whether it pays depends on weighing those costs with your own numbers.

How do you calculate inventory turnover and days of inventory?

Inventory turnover is cost of goods sold divided by average inventory. Days of inventory is 365 divided by turnover. For example, $600,000 of COGS on $60,000 average inventory gives a turnover of 10 and about 36.5 days. Use the same period for both figures and an average inventory balance rather than a single date.

Does JIT inventory management work in CPG?

It can work for steady, fast-selling lines where shelf life and storage cost favour lean stock, but promotions, seasonal peaks, packaging minimums and supplier lead times often call for a buffer. Many CPG businesses mix approaches: near-JIT for stable products, extra stock for seasonal or promoted lines, and orders against confirmed demand for slow movers.

Does JIT change how cost of goods sold is calculated?

No. COGS is still the cost of the goods sold in the period, calculated with your chosen method. What changes is the level of stock and the speed of turnover, so inventory balances are smaller and your counts, cut-off and supplier invoices matter more because there is less cushion for errors.

Is JIT always cheaper than holding extra stock?

No. JIT saves carrying costs but can add price premiums, delivery fees and lost sales from stockouts. If those exceed the carrying cost you avoid, holding more stock is cheaper. The only way to know is to compare the two with your actual carrying cost, supplier terms and stockout history.

Put this into practice in Reyuko

Reyuko posts inventory, cost of goods sold and gross profit from the same ledger, so the numbers in this lesson are the numbers on your reports.

Download Reyuko freeSee what's included