Ending Inventory Calculator (LIFO Periodic System)


LIFO Periodic Ending Inventory Calculator

Calculate your ending inventory value using the Last-In, First-Out (LIFO) periodic method.

Inventory Layers


Number of units at the start.

Cost for each beginning unit.



Sales Information



Total number of units sold during the period.

What is Ending Inventory using LIFO Periodic System?

Ending inventory calculation using the LIFO (Last-In, First-Out) periodic system is an accounting method to value inventory at the end of an accounting period. The core assumption of LIFO is that the last items added to inventory are the first ones to be sold. Consequently, the inventory that remains on hand (the ending inventory) is assumed to consist of the oldest items purchased.

This method is used under a periodic inventory system, where the inventory account is not updated for every purchase and sale. Instead, a physical count of inventory is performed at the end of the period to determine the ending inventory quantity. The value of this ending inventory is then calculated by applying the costs of the earliest purchases. Many businesses, especially in the United States, use LIFO because, during periods of rising prices (inflation), it results in a higher Cost of Goods Sold (COGS), which leads to lower reported profits and a lower income tax liability.

The LIFO Periodic Formula and Explanation

There isn’t a single formula for LIFO, but rather a process. The calculation under the periodic system involves these steps:

  1. Determine Units Available for Sale: Add the beginning inventory units to all units purchased during the period.
  2. Determine Ending Inventory Units: Subtract the total units sold from the total units available for sale. This is typically confirmed with a physical inventory count.
  3. Value the Ending Inventory: This is the key LIFO step. You assign the cost of the oldest inventory layers to the ending inventory units. Start with the beginning inventory cost, then the cost of the first purchase, then the second, and so on, until all ending inventory units have been assigned a cost.
  4. Calculate Cost of Goods Sold (COGS): Subtract the calculated value of the ending inventory from the total Cost of Goods Available for Sale (the total cost of beginning inventory plus all purchases).
Variable Explanations
Variable Meaning Unit Typical Range
Beginning Inventory Units and cost of inventory at the start of the period. Units, Currency ($) Positive numbers
Purchases Units and costs of all inventory bought during the period. Units, Currency ($) Positive numbers
Units Sold Total quantity of items sold. Units Positive numbers
Ending Inventory Value The final, primary result: the monetary value of remaining stock. Currency ($) Calculated value
Cost of Goods Sold (COGS) The direct cost attributed to the production of the goods sold. For more info, check out our Cost of Goods Sold (COGS) Calculator. Currency ($) Calculated value

Practical Examples

Example 1: Rising Costs

A company has the following inventory record for the year:

  • Beginning Inventory: 200 units @ $10/unit
  • Purchase 1 (March): 300 units @ $12/unit
  • Purchase 2 (August): 250 units @ $15/unit
  • Total units sold during the year: 400 units

Calculation:

  1. Units Available for Sale: 200 + 300 + 250 = 750 units.
  2. Ending Inventory Units: 750 – 400 = 350 units.
  3. Value Ending Inventory (LIFO): The 350 remaining units are valued using the oldest costs. We take all 200 beginning units and 150 units from the first purchase.

    (200 units * $10) + (150 units * $12) = $2,000 + $1,800 = $3,800.
  4. COGS: Total Cost Available ($2000 + $3600 + $3750) – Ending Inventory ($3800) = $9350 – $3800 = $5,550. Understanding the FIFO vs LIFO methods is crucial here.

Example 2: Selling Through Layers

Using the same inventory as above, but now the company sells 600 units.

Calculation:

  1. Units Available for Sale: 750 units.
  2. Ending Inventory Units: 750 – 600 = 150 units.
  3. Value Ending Inventory (LIFO): The 150 remaining units are valued using the oldest costs. They all come from the beginning inventory layer.

    (150 units * $10) = $1,500.
  4. COGS: Total Cost Available ($9350) – Ending Inventory ($1500) = $7,850.

How to Use This LIFO Periodic Calculator

Using this calculator is simple and efficient. Follow these steps:

  1. Enter Beginning Inventory: Input the number of units and the cost per unit for your starting inventory.
  2. Add Purchases: For each purchase made during the period, click “Add Purchase” and fill in the units and cost per unit for that batch. Add as many purchase layers as you need.
  3. Enter Units Sold: Input the total quantity of units sold over the entire period.
  4. Calculate: Click the “Calculate” button.
  5. Interpret Results: The calculator will instantly display the total value of your ending inventory, your Cost of Goods Sold (COGS), the number of units in ending inventory, and the total cost of goods available for sale. The chart provides a visual comparison of your Ending Inventory value versus your COGS.

Key Factors That Affect LIFO Calculations

  • Inflation/Deflation: During periods of rising prices (inflation), LIFO results in a higher COGS and lower ending inventory value. The opposite occurs during deflation.
  • Inventory Layers: The number of different purchase batches and their associated costs directly impacts the calculation. More layers mean more complexity.
  • LIFO Liquidation: This occurs when a company sells more inventory than it purchases in a period, dipping into older, lower-cost inventory layers. This can artificially inflate profit and tax liability for the period.
  • Physical Inventory Accuracy: The periodic system relies on an accurate physical count of inventory. Errors in counting lead directly to errors in ending inventory value and COGS. Managing this is a core part of the Periodic Inventory System.
  • Record Keeping: Accurate and detailed records of all purchases, including dates, quantities, and costs, are essential for an accurate LIFO calculation.
  • Accounting Standards: LIFO is permitted under U.S. GAAP but is prohibited under International Financial Reporting Standards (IFRS), which can affect multinational companies.

Frequently Asked Questions (FAQ)

1. Why use LIFO instead of FIFO?
The primary benefit of LIFO, especially during inflation, is tax reduction. By reporting a higher COGS, a company can report lower net income, thus lowering its taxable income.
2. What is the main difference between periodic LIFO and perpetual LIFO?
In a periodic system, the COGS and ending inventory are calculated only at the end of the period. In a perpetual system, the inventory account is updated with every sale, applying the cost of the most recent purchase *at that moment*. This can lead to different valuations.
3. What happens if I sell more units than I have available?
In a real-world scenario, this is impossible. In the calculator, it will result in an error or a negative ending inventory, indicating a data entry mistake. Your units sold cannot exceed your total units available for sale.
4. Is the ending inventory value shown on the balance sheet?
Yes, the ending inventory value is reported as a current asset on the company’s balance sheet.
5. Does LIFO reflect the actual physical flow of goods?
Rarely. Most businesses aim to sell their oldest stock first to avoid obsolescence (a FIFO flow). LIFO is primarily an accounting assumption for costing, not a reflection of physical inventory management.
6. What is a “LIFO Reserve”?
The LIFO reserve is the difference between the inventory value calculated using FIFO and the value calculated using LIFO. Companies that use LIFO must disclose this amount in their financial statement footnotes.
7. Can I switch between LIFO and FIFO?
Companies can change their inventory method, but it is a complex accounting change that requires retrospective application and strong justification. It is not done frequently. Check out our guide on the Weighted Average Cost Method for another alternative.
8. Why is LIFO banned by IFRS?
IFRS bans LIFO because it can distort earnings and is not seen as a faithful representation of inventory flow. It can lead to reporting outdated inventory values on the balance sheet.

© 2026 Your Company Name. All Rights Reserved. For educational purposes only.


Leave a Reply

Your email address will not be published. Required fields are marked *