FIFO vs LIFO Inventory Cost Calculator

Calculate inventory value using FIFO vs LIFO. Compare impact on profits.

Published June 2024Updated June 2024
Calculator
Result
KES 3,200 difference in reported cost of sales
Stock on hand before the sale200 units, KES 40,000
Units sold120
FIFO: cost of salesKES 22,400
FIFO: closing stock valueKES 17,600
LIFO: cost of salesKES 25,600
LIFO: closing stock valueKES 14,400
Difference in cost of salesKES 3,200

Same stock, same sales, two different profits. When prices are rising FIFO charges the older cheaper units to cost of sales, which reports a higher profit and a higher closing stock value; LIFO does the opposite. This is a modelling tool, not a choice of policy: IAS 2, which Kenya follows, does not permit LIFO for financial reporting. Use it to see how much of your reported margin is a costing convention rather than trading.

Automate this
Want Veira to do this for every sale, every shift, every branch, automatically?

Why the same stock produces two different profits

When you buy the same item at different prices, you have to decide which cost to charge against a sale. First in, first out charges the oldest cost. Last in, first out charges the newest. The physical goods may move in any order; this is an accounting convention, not a description of what left the shelf.

In a period of rising prices FIFO reports a lower cost of sales, so a higher profit and a higher closing stock value. LIFO does the reverse. Neither is more honest; they answer different questions.

What Kenyan businesses should actually use

IAS 2, which applies under the IFRS framework Kenya follows, does not permit LIFO for financial reporting. In practice that leaves FIFO or weighted average cost, and FIFO is the natural fit for anything perishable or dated, because it matches how the stock has to move anyway.

The LIFO column here is for comparison, so you can see how much of your reported margin is a costing convention. If the gap between the two is large, your buying prices are moving fast enough that the choice of convention is material, and that is worth knowing before a year end.

Prefer this running automatically, on every sale, with no manual entry?

Sign Up

Worked examples

100 units at KES 180 then 100 at KES 220, with 120 sold
  • FIFO cost of sales: KES 22,400
  • LIFO cost of sales: KES 25,600
  • Difference in reported cost: KES 3,200
  • Same stock, same sales, KES 3,200 of profit moved

Frequently asked questions

Which method should a Kenyan business use?
FIFO or weighted average cost. IAS 2, which applies under the IFRS framework Kenya follows, does not permit LIFO for financial reporting. The LIFO column here exists for comparison, so you can see how much of your reported margin is a costing convention.
Does FIFO mean I have to sell the oldest stock first?
No. It is a costing convention, not an instruction about which physical units leave the shelf. That said, for anything perishable or dated you should be rotating stock that way anyway, which is part of why FIFO fits most retail.
Why does the method change my profit?
Because it changes which purchase cost is charged against a sale. When prices are rising, charging the older cheaper cost reports a higher profit and a higher closing stock value. No trading has changed; only the cost attached to it has.
What is weighted average cost?
Every unit carries the average cost of all units held, recalculated as new stock arrives. It sits between FIFO and LIFO, smooths out price swings, and is simpler to run when you buy the same item frequently at changing prices.
How big a difference does this make in practice?
It depends entirely on how fast your buying prices move. If the gap shown here is large, your costs are volatile enough that the choice is material to your reported results, and that is worth raising with your accountant before a year end.

Doing this by hand every time? Veira runs the same calculation automatically on every sale, no spreadsheet required.

Need help, or want to talk it through first? Chat with us on WhatsApp