First 30 days free for all plans! With the option to pay annual plans in installments.

Learn More

logo
  • Inventory
    ✓ Free✓ No Signup⚡ Instant Result

    Inventory Valuation Calculator (FIFO / LIFO / Average)

    Compare FIFO, LIFO, and Weighted Average on the same transactions, side by side

    Costing method

    Transactions

    DateTypeQuantityUnit cost

    Ending units

    80units

    Ending inventory value

    1,200SAR

    Cost of goods sold

    2,500SAR

    Side-by-side comparison

    Same transactions, three methods. Under rising prices FIFO shows the highest ending value, LIFO the lowest.

    FIFO

    1,200SAR

    Cost of goods sold: 2,500 SAR

    Weighted Average

    1,025.45SAR

    Cost of goods sold: 2,674.55 SAR

    LIFO

    800SAR

    Cost of goods sold: 2,900 SAR

    Transaction trace
    DateTypeQuantityUnit costRunning unitsRunning valueCOGS impact
    1/5/2026Purchase100101001,000
    2/10/2026Purchase100122002,200
    3/15/2026Sale80101201,400800
    4/20/2026Purchase100152202,900
    5/5/2026Sale9011.561301,8601,040
    5/25/2026Sale5013.2801,200660
    Save your time

    Do this every day? Snad automates it for you.

    • Full accounting + ZATCA + invoicing in one system
    • Calculations happen automatically — no separate calculators needed
    • Free 30-day trial · no credit card required
    No credit card · 30 days free

    How does it work?

    Three accounting methods can assign different costs to the same units sold — and produce different ending inventory values and COGS. FIFO assumes oldest stock leaves first; LIFO assumes newest leaves first; Weighted Average recomputes a running average after each purchase. Under rising prices, FIFO shows the highest profit and ending inventory; LIFO shows the lowest. Under IFRS (and SOCPA in Saudi Arabia), LIFO is not permitted — but this tool models it for teaching and US-GAAP audiences.

    How each method draws cost

    All three accept the same purchases + sales feed. They differ only in which layer (or average) each sale pulls from:

    FIFO: sale draws from oldest layer first | LIFO: sale draws from newest layer first | WAvg: sale draws at running average cost = total value ÷ total units

    Worked example

    Buy 100 @ 10, buy 100 @ 12, sell 80, buy 100 @ 15, sell 90, sell 50 — rising prices:

    1. Total purchased: 300 units for 3,700 SAR
    2. Total sold: 220 units; ending units across all methods = 80
    3. FIFO: ending inventory = 80 @ 15 = 1,200 SAR; COGS = 2,500 SAR
    4. LIFO: ending inventory = 80 @ 10 = 800 SAR; COGS = 2,900 SAR
    5. WAvg: ending value ≈ 1,000 SAR; COGS ≈ 2,700 SAR (depends on rounding)
    6. FIFO highest profit, LIFO lowest — under rising prices

    Practical tips

    • Saudi Arabia (under SOCPA / IFRS) does not allow LIFO for financial reporting — use FIFO or Weighted Average for your statements.
    • Once chosen, the method must be applied consistently across periods (consistency principle).
    • Weighted Average is computationally simplest and matches how most ERP systems calculate cost on the fly.
    • If prices are rising, FIFO inflates profit (good for valuations, but higher tax). Under falling prices, the opposite.
    • Pair this tool with the Reorder Point calculator to plan replenishment around the same transaction log.

    Frequently Asked Questions

    Related Tools

    Discover more free Snad tools

    Dozens of free tools to manage your business smarter — all in one place.

    Browse All Tools
    Chat with us