Adaptive ERP, Accounting, Stock & Operations
Menu

FIND YOUR NEXT STEP

Search guides, workflows & answers

Choose a starting point or describe your task.

FIFO vs. Weighted Average Inventory Valuation: Which Protects Your Margins?

When supplier prices rise, one product can sit in the warehouse at several perfectly valid costs. The units look identical on the shelf, but they arrived at different prices. If a sales report uses the latest purchase price for every sale, its margin can look very different from the stock value in your accounts. FIFO and weighted average are cost-allocation methods. They answer which costs leave inventory when units are sold and which remain

, 7 min read

A manufacturing team reviewing work and stock records.

7 min read

The short answer for busy owners

Goods that look the same on the shelf can carry different recorded costs.

Know which valuation method sits behind a report, and apply your policy consistently, before you compare margins.

When supplier prices rise, one product can sit in the warehouse at several perfectly valid costs. The units look identical on the shelf, but they arrived at different prices. If a sales report uses the latest purchase price for every sale, its margin can look very different from the stock value in your accounts.

FIFO and weighted average are ways of assigning cost. They decide which costs leave stock when you sell, and which stay at the end of the period. They aren’t the same as the rules for which box gets picked, and you shouldn’t swap between them to make one month’s profit look better.

This guide uses three purchase batches and one sale to show the difference. The point is to make the arithmetic easy to check, not to claim one method always makes for a better business. Agree the policy with your accountant and apply it the same way to similar stock.

How costs flow isn’t the same as how stock moves

FIFO means first in, first out, for assigning cost. In the simple example, the oldest purchase costs go to cost of goods sold first. The warehouse can still pick a different physical unit for a good operational reason, as long as you can trace it and the approved costing policy still holds.

Periodic weighted average divides the total cost available by the total units available for the period. A moving average recalculates after each relevant receipt, so the timing of receipts and sales matters. Say which average you use. Two spreadsheets both labelled “average cost” can quite rightly give different answers if one is periodic and the other is moving.

FEFO means first expired, first out. It picks the batch with the earliest usable expiry date. A clinic or food business might pick stock by FEFO and still use a different costing formula in the accounts. Keeping expiry picking and valuation apart stops a useful warehouse rule turning into an accidental accounting policy.

A worked example with real numbers

Buy 100 units at $10, then 100 at $12, then 100 at $15. All purchases occur before the illustrated sale of 120 units at $20. FIFO uses 100 × $10 plus 20 × $12 = $1,240. Periodic average cost is $3,700 ÷ 300 = $12.333333 per unit, giving COGS of $1,480.

MeasureFIFOPeriodic weighted averageLatest price shortcut
Purchases100 × $10; 100 × $12; 100 × $15Same 300 units, $3,700 in totalSame stock
Cost of the 120 units sold$1,240.00$1,480.00$1,800.00
180 units left$2,460.00$2,220.00$1,900.00 if forced to make it add up
Sales at $20 a unit$2,400.00$2,400.00$2,400.00
Gross profit$1,160.00$920.00$600.00
COGS plus closing stock$3,700.00$3,700.00$3,700.00 only if forced to add up

FIFO leaves 80 units from the $12 batch and all 100 units from the $15 batch: $960 + $1,500 = $2,460. Weighted average leaves 180 units at the unrounded average: $2,220. Both reconcile with the same $3,700 total purchase cost, but they allocate that cost differently between current expense and remaining inventory.

The latest price shortcut charges every sold unit at $15. That’s a handy replacement-cost figure for a new quote, but it isn’t the FIFO or weighted average calculation above. If the stock sheet also values everything left at $15, COGS plus stock comes to $4,500, which is $800 more than you actually spent.

With prices rising, FIFO shows a higher gross profit than weighted average in this example. That doesn’t create extra cash, or prove FIFO protects your margin. Purchasing, pricing, waste and discounts decide how the business really performs. Valuation only decides when recorded costs show up in profit.

Common spreadsheet mistakes, and the control that fixes each one

Spreadsheet mistakeControl to put in placeWhat to check
Last purchase price used for everythingPast sales and closing stock stop adding upKeep each receipt’s cost layer and your chosen formula
A rounded average reused on every rowRounding again and again leaves cents nobody can explainWork at full precision and reconcile the totals
Expiry picking treated as costingFEFO quietly replaces the accounting policyKeep physical picking apart from financial valuation
A backdated receipt entered without a checkCosts in an earlier period shift without warningUse period locks and proper adjustments

Step-by-step setup checklist

  1. Establish the policy Document the cost formula and the inventory groups it applies to. Clarify whether average means moving or periodic, and who approves a policy change.
  2. Reconcile opening stock Match units and values by warehouse to the approved opening position. Separate damaged, reserved and non-sellable quantities rather than treating every unit as available.
  3. Check each receipt Confirm purchase cost, eligible landed charges, units of measure and actual received quantities. A valuation engine cannot repair a carton-versus-piece error in its inputs.
  4. Trace a sample sale Follow the sale quantity to its stock movement and assigned cost. Recalculate the amount independently and explain any rounding adjustment before relying on the report.
  5. Close with a bridge Reconcile opening value plus receipts and adjustments less COGS to ending value. Investigate negative quantities, unexpected layers and old unallocated charges before locking the period.

How TerminalERP handles it

TerminalERP's stock and batch workflows provide receiving, location and movement evidence that can support cost review. Inspect the actual configured costing behavior and source references in your workspace. Do not assume a comparison article means every alternative valuation method is selectable in the product.

For an online seller, compare the accounting margin with a separate check on replacement cost. For a retailer, combine the valuation check with cycle counts and how returns are handled. These answer different questions, but they should point to the same products, quantities and receipts.

Your weekly check

A good monthly check covers slow-moving stock and possible write-downs as well as the cost formula. Stock with a high recorded cost may not sell for what you expect. Look at damaged, expired or obsolete items under your accounting policy. A positive quantity alone doesn’t make stock worth its cost.

Give purchasing and finance one reconciliation to sign off. Label any replacement price analysis clearly, and never overwrite the historical receipt cost just to make a new quote competitive. Keeping those apart makes both the pricing decision and the financial report easier to explain.

Frequently asked questions

Does FIFO mean the oldest box always has to be picked?

No. In this comparison, FIFO is about how cost flows. Physical picking can follow expiry dates, location or other operational rules. Keep the batch trail and the accounting easy to check, and confirm your setup follows the approved policy.

Can I switch methods whenever prices change?

Don’t switch just to get the profit figure you’d prefer. Accounting policies have to be applied consistently, and changes need proper treatment. Talk any change through with your accountant, keep the old reconciliation and test the effect before you change any settings.

Which method gives the truest margin?

Both can be right under your accounting framework. What matters is that the formula suits you, is used consistently and rests on accurate receipts. For pricing, also look at current replacement costs and selling costs. Accounting gross profit is only one part of the decision.

Reference: IAS 2 cost formulas. The worked figures above are illustrative.

Need a hand getting started?

Try it in your own business

See how this links to the rest of your business. Read the setup guides, compare plans, and join early access when you’re ready.

Join early accessExplore the product