Using Fifo Calculate Ending Inventory






FIFO Ending Inventory Calculator – Calculate Inventory Value


FIFO Ending Inventory Calculator

Calculate Ending Inventory (FIFO)

Enter the units sold and details of your inventory purchases (layers) to calculate ending inventory and COGS using the First-In, First-Out (FIFO) method.


Enter the total number of units sold.

Inventory Purchases (Layers)









What is a FIFO Ending Inventory Calculator?

A FIFO ending inventory calculator is a tool used by businesses to determine the value of their ending inventory and the Cost of Goods Sold (COGS) for a period, based on the First-In, First-Out (FIFO) inventory costing method. Under FIFO, it is assumed that the oldest inventory items (those purchased or produced first) are sold first. This means the cost of the oldest inventory is used to calculate COGS, and the cost of the most recent inventory is used to value the ending inventory remaining on hand.

Businesses, especially those dealing with perishable goods or items with a short shelf life (like food, electronics with rapid obsolescence), often use the FIFO method because it aligns the flow of costs with the actual physical flow of goods. However, any business can choose FIFO for accounting purposes, regardless of the actual physical flow, as it’s an accepted method under GAAP and IFRS.

Common misconceptions include thinking FIFO always reflects the physical flow (it’s an accounting assumption) or that it always results in lower taxes (in times of rising prices, FIFO results in higher taxable income compared to LIFO).

FIFO Ending Inventory Formula and Mathematical Explanation

The FIFO method doesn’t have a single formula for ending inventory value but rather a process:

  1. Identify Inventory Layers: List all inventory purchases (or production batches) during the period and the beginning inventory, along with the units and cost per unit for each layer. These are ordered chronologically, from oldest to newest.
  2. Account for Units Sold: Starting with the oldest layer, subtract the units sold from the units available in that layer until all units sold are accounted for. The cost of these units sold from each layer is summed up to get the Cost of Goods Sold (COGS).
  3. Determine Ending Inventory: The units remaining in the layers after accounting for sales constitute the ending inventory. The value of the ending inventory is the sum of the remaining units in each layer multiplied by their original cost per unit.

So, COGS (FIFO) = (Units sold from layer 1 * Cost of layer 1) + (Units sold from layer 2 * Cost of layer 2) + …

Ending Inventory Value (FIFO) = (Remaining units in layer 1 * Cost of layer 1) + (Remaining units in layer 2 * Cost of layer 2) + … + (Units in newest layers * Cost of newest layers)

Variable Meaning Unit Typical Range
Beginning Inventory Units Units on hand at the start Units 0+
Beginning Inventory Cost/Unit Cost per unit of beginning inventory Currency 0+
Purchased Units (per layer) Units acquired in each purchase Units 1+
Cost/Unit (per layer) Cost per unit for each purchase layer Currency 0+
Units Sold Total units sold during the period Units 0 to Total Available

Using a FIFO ending inventory calculator simplifies this layer-by-layer calculation.

Practical Examples (Real-World Use Cases)

Example 1: Rising Prices

A company has the following inventory and sales during January:

  • Jan 1: Beginning Inventory: 50 units @ $10/unit
  • Jan 10: Purchase: 100 units @ $12/unit
  • Jan 20: Purchase: 80 units @ $13/unit
  • Jan 31: Units Sold: 160 units

Using FIFO:

  • Sell 50 units from Jan 1 @ $10 = $500
  • Sell 100 units from Jan 10 @ $12 = $1200
  • Sell 10 units from Jan 20 @ $13 = $130 (160 – 50 – 100 = 10 from this layer)

COGS = $500 + $1200 + $130 = $1830

Ending Inventory: 70 units from Jan 20 @ $13 = $910 (80 – 10 = 70 remaining)

Example 2: Stable Prices

A bookstore has:

  • Start: 30 books @ $15/book
  • Purchase 1: 50 books @ $15/book
  • Purchase 2: 40 books @ $15/book
  • Sold: 90 books

Using FIFO:

  • Sell 30 @ $15 = $450
  • Sell 50 @ $15 = $750
  • Sell 10 @ $15 = $150 (90 – 30 – 50 = 10)

COGS = $450 + $750 + $150 = $1350

Ending Inventory: 30 books @ $15 = $450 (40 – 10 = 30 remaining)

With stable prices, FIFO, LIFO, and Weighted Average methods yield similar results for COGS and ending inventory value, which our FIFO ending inventory calculator can quickly show.

How to Use This FIFO Ending Inventory Calculator

  1. Enter Units Sold: Input the total number of units sold during the accounting period in the “Units Sold During Period” field.
  2. Input Inventory Layers: For each purchase or beginning inventory layer, enter the number of units and the cost per unit in the respective fields. Start with the oldest layers first. Use the “Add Layer” button if you have more purchases than the initial fields shown, and “Remove Last Layer” if you have fewer.
  3. Calculate: Click the “Calculate” button.
  4. Review Results: The calculator will display:
    • Ending Inventory Value: The total value of your remaining inventory.
    • Cost of Goods Sold (COGS): The cost associated with the units sold.
    • Ending Inventory Units: The number of units remaining.
    • Average Cost of Ending Inventory: The average cost per unit of the remaining inventory.
    • A table detailing how units were sold from each layer and what remains.
    • A chart visualizing the cost distribution.
  5. Reset: Click “Reset” to clear the fields and start over with default values.

The results help in financial reporting (Balance Sheet and Income Statement) and inventory management decisions. The detailed table in our FIFO ending inventory calculator shows exactly which cost layers contribute to ending inventory.

Key Factors That Affect FIFO Results

  • Price Fluctuations: In periods of rising prices, FIFO generally results in a lower COGS (as older, cheaper costs are matched with revenues) and a higher ending inventory value (valued at more recent, higher prices), leading to higher reported profits and taxes. The opposite is true in periods of falling prices. Our FIFO ending inventory calculator helps visualize this.
  • Inventory Layers: The number of different purchase layers and the cost per unit in each directly impact the COGS and ending inventory calculation. More layers with varying costs will show more distinct steps in the FIFO calculation.
  • Number of Units Sold: The more units sold, the further into the newer inventory layers the COGS calculation will go.
  • Inventory Holding Period: How long inventory is held can influence which cost layers are matched with sales, especially with many purchase transactions.
  • Type of Goods: Perishable or rapidly obsolete goods often naturally follow a FIFO flow, making the accounting method align with physical flow.
  • Accounting Standards: GAAP and IFRS both permit FIFO, but the choice can have tax implications and affect financial ratios.

Consider using a good inventory management system to track layers accurately.

Frequently Asked Questions (FAQ)

Q: What does FIFO stand for?
A: FIFO stands for First-In, First-Out. It’s an inventory costing method.
Q: How does FIFO work?
A: It assumes the oldest inventory items are sold first. COGS is based on the cost of the oldest items, and ending inventory is valued at the cost of the newest items.
Q: When is FIFO most appropriate?
A: It’s often used for perishable goods or when businesses want to report higher profits during inflationary periods. It also often matches the actual physical flow of goods. See our accounting basics guide for more.
Q: Does FIFO give a more accurate inventory value on the balance sheet?
A: In times of rising prices, FIFO values ending inventory at the most recent, higher costs, which is closer to the current replacement cost, thus often considered more “accurate” for the balance sheet.
Q: How does FIFO compare to LIFO?
A: LIFO (Last-In, First-Out) assumes the newest items are sold first. In rising prices, FIFO gives higher profit and higher inventory value than LIFO. LIFO is not permitted under IFRS. Check our LIFO calculator.
Q: Can I switch between FIFO and LIFO?
A: Switching inventory methods is possible but usually requires a valid business reason, disclosure in financial statements, and consistency once chosen.
Q: What if I have no beginning inventory?
A: If you start with no inventory, your first purchase layer becomes the first layer for the FIFO calculation when using the FIFO ending inventory calculator. Just leave beginning inventory fields empty or zero.
Q: Is the FIFO ending inventory calculator suitable for all types of inventory?
A: Yes, as long as you can track your inventory in layers (batches of purchases or production with associated costs and units), the FIFO ending inventory calculator can be used.

© 2023 Your Company. All rights reserved. Use this FIFO ending inventory calculator for estimation purposes.




Leave a Comment