Skip to content

FIFO in IZI: How Cost of Goods Sold Is Calculated

Published: · IZI Team

FIFO in IZI: How Cost of Goods Sold Is Calculated

Section titled “FIFO in IZI: How Cost of Goods Sold Is Calculated”

FIFO is the rule by which IZI determines at what price to deduct an item from warehouse stock on every sale. Understanding it matters for one reason: it determines how accurately the system shows your bar’s margin.

FIFO (first in, first out) — when an item is sold, the system takes the cost from the earliest batch that has not yet been fully consumed.

In practice: every time you process a receipt, IZI records:

  • the receipt date
  • the quantity
  • the purchase price per unit

This is the “batch.” On the next sale from the bar catalog, the system automatically finds the oldest unclosed batch and takes the cost from it.

Say your bar sells a soft drink. There were two purchases over a quarter:

DateQuantityPurchase Price
1 March30 cansP₁
15 April40 cansP₂ (higher — supplier raised price)

By 1 May, 35 cans have been sold. IZI calculates cost as:

First 30 cans → at price P₁ (entire first batch)
Next 5 cans → at price P₂ (start of second batch)
Total COGS for 35 cans = 30 × P₁ + 5 × P₂

Remaining stock: 35 cans, all at price P₂.

If the purchase price had not changed (P₁ = P₂), the result would be the same — the consumption method would not matter. But as soon as the price changes, the method determines what goes into cost.

Behind the scenes, the system maintains a queue of batches for each item. A new receipt adds a batch to the end of the queue. On a sale, the system “bites” from the front batch:

  1. If the first batch has enough stock — the entire sale is costed at its price
  2. If the first batch is insufficient — part is taken from it, the remainder from the next
  3. When a batch is fully consumed — it is removed from the queue, and the next one becomes current

This process happens automatically on every bar sale, every manual write-off, and when calculating discrepancies in a stock count.

Margin per item is calculated as:

Margin = Selling Price − FIFO Cost

With stable purchase prices, margin is predictable. When prices change:

  • If purchase prices rose: FIFO first consumes old (cheaper) batches, showing higher calculated margin. As old batches are exhausted, margin declines to the true level of new prices.
  • If purchase prices fell: FIFO first consumes old (more expensive) batches, temporarily showing lower margin.

This matters for pricing decisions: if a supplier raises their price, you will see it in the report after a delay — once old batches run out.

The most common mistake — accepting goods physically but entering the invoice at end of week or month. During that gap the system has no knowledge of the new batch and starts “drawing” from the old one, sometimes going negative or showing incorrect margin.

Rule: every delivery is processed in the system on the day of receipt, before sales from that batch begin.

If a price is entered “approximately” or rounded off — FIFO will calculate margin with that inaccurate figure. Tracing discrepancies months later becomes difficult.

If an item sits without selling, old batches with outdated prices accumulate in the queue. When sales suddenly pick up, the first units are costed at the old price — margin will look anomalously high or low. Regular stock counts help keep data in order.

The cost calculated by FIFO is visible in:

  • COGS Report — cost per item and total for the bar for a period. More detail → COGS Report and Bar Margin
  • Movement History — each transaction shows which batch was consumed and at what price
  • Item Card — current batch queue with prices and remaining quantities
ErrorConsequence
No purchase price on receiptCost = 0, margin inflated by 100%
Wrong price (typo)Margin for the entire batch calculated with the error
Duplicate receiptStock doubled, extra batch in queue
Items sold before receipt was processedSales went negative without a batch; FIFO did not work for those units

If you see implausibly high or zero margin on a specific item in the COGS report — first check the receipt history: is the purchase price entered correctly.

Frequently asked questions

What is FIFO in warehouse accounting?

FIFO (first in, first out) is a method where the cost of goods being sold is taken from the earliest received batch. If you bought 10 units at price A, then 10 at price B — the first 10 sold are costed at price A.

Why does a gaming center need FIFO?

It gives an accurate cost for every sale. Without FIFO, when purchase prices change, margin in the report will be calculated incorrectly: the system will not know from which batch and at which price the item is being consumed.

Do I need to configure anything for FIFO?

No. FIFO operates automatically on every bar sale and every manual write-off. Your responsibility is to enter purchase prices correctly on every receipt.

What happens if I do not specify a purchase price during a receipt?

The system cannot calculate margin — cost will be zero or incorrect. All profit figures in the COGS report will be wrong.

How does FIFO affect tax reporting?

FIFO is the standard inventory valuation method in retail accounting. If your accountant uses FIFO, IZI cost data is compatible with external reporting. For specific regulatory requirements — check with your accountant.

Can I switch from FIFO to a different method?

IZI uses FIFO as its sole cost accounting method. Switching to another method (e.g., LIFO or weighted average) is not available in the current version.