Skip to content
OneKitly

FIFO and LIFO inventory calculator

Value inventory and cost of goods sold three ways at once — FIFO, LIFO and weighted average. Add each purchase batch with its quantity and unit cost, enter the units sold, and it computes the COGS, ending inventory value and units on hand under all three methods so you can compare their profit impact side by side.

Open FIFO and LIFO inventory calculator and you get an answer straight away, with no account to create. You will find it under Planning & operations, with Inventory period calculator and Inventory shrinkage calculator for the neighbouring cases.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What is FIFO and LIFO inventory calculator?

Value inventory and cost of goods sold three ways at once — FIFO, LIFO and weighted average. Add each purchase batch with its quantity and unit cost, enter the units sold, and it computes the COGS, ending inventory value and units on hand under all three methods so you can compare their profit impact side by side.

What does a concrete case look like?

100 @ 10 + 100 @ 12, −150 → FIFO 1 600, LIFO 1 700 — the tool shows every step in between, not just the final figure.

When would I actually use this?

Running the week: issuing an invoice or a quote, knowing what is in stock and what to reorder, and seeing whether cash covers what is due.

What is the most common mistake?

Reading profit as cash. A profitable month with sixty-day payment terms can still leave the account empty — the two numbers answer different questions.

How is FIFO and LIFO inventory calculator different from Inventory period calculator?

They sit next to each other but answer different questions. Inventory period calculator: days Inventory Outstanding — how long stock sits before it sells: average inventory ÷ cost of goods sold × days, or simply days ÷ inventory turnover if you already know the ratio. Lower is faster turnover and better cash flow. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

Inventory shrinkage calculator is the closest one after this: Measure inventory shrinkage as a percentage and value from book vs counted stock.

Where do the figures come from?

The arithmetic is exact for what you enter. Invoice content, VAT treatment and mandatory mentions are set by national rules — an invoice that computes correctly can still be non-compliant.

Further reading

All guides →
ComparisonFIFO vs LIFO: What Actually Changes, and What Does NotFIFO and LIFO are assumptions about which cost you attach to a sale, not about which box leaves the warehouse. Worked through identical purchases and sales, they move cost of sales, inventory, profit and tax — but operating cash before tax is identical to the cent.ExplainerFifty-Five Days to Get Paid on Thirty-Day Terms180,000 outstanding against 1,200,000 of annual sales is 54.75 days of collection and 6.67 turns a year. On thirty-day terms, that gap is a quarter of a million financed for free.ExplainerFifty Thousand of Working Capital, and None of It SpendableCurrent assets of 150,000 less current liabilities of 100,000 gives working capital of 50,000 and a ratio of 1.5. Whether that is comfortable depends on what the 150,000 is made of.ExplainerA 30 % Sell-Through Is Excellent or Alarming, and the Missing Word Is "When"120 units sold out of 400 received is 30 %. Whether that is a success depends entirely on how long it took, and the rate on its own does not carry the answer.ExplainerCost of Goods Sold Is What Left the Shelf, Not What You BoughtOpening stock 40,000, purchases 120,000, closing stock 35,000 — the cost of goods sold is 125,000, and it is larger than the purchases because the shelf gave up 5,000 of what was already there.ExplainerFour Points of Service Level Cost 41 % More StockGoing from a 95 % service level to 99 % raises the z-score from 1.645 to 2.326 and the safety stock from 346 units to 488. The last few points of availability are the expensive ones.