Calculate Ending Inventory Using Lifo






LIFO Ending Inventory Calculator – Calculate Ending Inventory Using LIFO


LIFO Ending Inventory Calculator

Calculate Ending Inventory Using LIFO

Enter your inventory layers and units sold to calculate ending inventory value using the Last-In, First-Out (LIFO) method.



















Enter the total number of units sold during the period.



Chart showing cost allocation to COGS and Ending Inventory by layer.


Layer Units Cost/Unit Total Cost Units Sold Cost of Units Sold Ending Units Ending Value

Inventory Layers and LIFO Allocation

What is Ending Inventory Using LIFO?

Ending inventory using LIFO (Last-In, First-Out) is an inventory valuation method where it’s assumed that the last units of inventory purchased are the first ones sold. This means the cost of the most recently acquired items is charged to the Cost of Goods Sold (COGS) first. Consequently, the ending inventory on the balance sheet is valued at the cost of the oldest items remaining in stock. The LIFO method is one of several ways to calculate ending inventory using LIFO and COGS, alongside FIFO (First-In, First-Out) and the weighted-average method.

Businesses that deal with non-perishable goods or commodities where the physical flow of goods doesn’t necessarily match the cost flow assumption often use LIFO, especially in periods of rising costs, as it can result in a higher COGS and lower taxable income (though its use is restricted under IFRS). Understanding how to calculate ending inventory using LIFO is crucial for accurate financial reporting and tax planning for companies using this method.

A common misconception is that LIFO reflects the actual physical flow of goods. In most cases, it does not. Businesses typically sell their oldest stock first to avoid obsolescence, but LIFO is an accounting assumption about cost flow, not physical flow. When you calculate ending inventory using LIFO, you are assigning the costs of the oldest inventory to what remains.

LIFO Formula and Mathematical Explanation

To calculate ending inventory using LIFO, you first determine the total number of units sold during a period. Then, you assume these units sold were the most recently purchased ones. You work backward from your latest purchases until you account for all units sold, assigning their costs to COGS.

The steps are:

  1. List all inventory layers: beginning inventory and all purchases during the period, with their respective unit costs.
  2. Determine the total number of units sold.
  3. Starting from the most recent purchase, assign units sold and their costs to COGS, moving to progressively older purchases until all sold units are accounted for.
  4. The remaining units in each layer, valued at their original cost, constitute the ending inventory. The sum of the values of these remaining units is the total ending inventory value.

For example, if you sold 300 units and your last purchase was 100 units at $15, those 100 units are part of COGS. If the previous purchase was 150 units at $14, those are also part of COGS. You still need 50 more units for COGS, which come from the next oldest layer. What’s left in the older layers is your ending inventory. This is how you calculate ending inventory using LIFO.

Variables Table:

Variable Meaning Unit Typical Range
Beginning Inventory Units Number of units at the start of the period Units 0+
Beginning Inventory Cost/Unit Cost per unit of beginning inventory Currency 0+
Purchase Units Number of units in each purchase Units 0+
Purchase Cost/Unit Cost per unit for each purchase Currency 0+
Units Sold Total units sold during the period Units 0 to Total Available Units
Ending Inventory Value Total cost of remaining units Currency 0+
Cost of Goods Sold (COGS) Total cost assigned to units sold Currency 0+

Variables used to calculate ending inventory using LIFO.

Practical Examples (Real-World Use Cases)

Example 1: Rising Costs

A company has the following inventory and sales data for a month:

  • Beginning Inventory: 50 units @ $10/unit
  • Purchase 1 (Jan 10): 100 units @ $12/unit
  • Purchase 2 (Jan 20): 80 units @ $15/unit
  • Units Sold (Jan 31): 120 units

To calculate ending inventory using LIFO:

  1. 120 units sold come from:
    • 80 units from Purchase 2 @ $15 = $1200
    • 40 units from Purchase 1 @ $12 = $480
  2. COGS = $1200 + $480 = $1680
  3. Ending Inventory:
    • Remaining from Purchase 1: 100 – 40 = 60 units @ $12 = $720
    • Beginning Inventory: 50 units @ $10 = $500
  4. Total Ending Inventory Value = $720 + $500 = $1220 (110 units)

In a rising cost environment, LIFO results in a higher COGS and lower ending inventory value compared to FIFO.

Example 2: Multiple Purchases and Sales

A retailer has:

  • Beginning: 200 @ $5
  • Purchase 1: 300 @ $6
  • Purchase 2: 400 @ $7
  • Purchase 3: 100 @ $8
  • Units Sold: 700

Calculating LIFO COGS and Ending Inventory:

  1. 700 units sold come from:
    • 100 from P3 @ $8 = $800
    • 400 from P2 @ $7 = $2800
    • 200 from P1 @ $6 = $1200 (100+400+200=700)
  2. COGS = $800 + $2800 + $1200 = $4800
  3. Ending Inventory:
    • Remaining from P1: 300 – 200 = 100 @ $6 = $600
    • Beginning: 200 @ $5 = $1000
  4. Total Ending Inventory Value = $600 + $1000 = $1600 (300 units)

This demonstrates how to calculate ending inventory using LIFO with multiple layers.

How to Use This LIFO Ending Inventory Calculator

  1. Enter Beginning Inventory: Input the number of units and cost per unit for your starting inventory.
  2. Enter Purchases: Fill in the units and cost per unit for each purchase made during the period (up to 3 purchases in this calculator). If you have fewer purchases, leave the fields for subsequent purchases blank or enter zero.
  3. Enter Units Sold: Input the total number of units sold during the period.
  4. Calculate: Click “Calculate” or observe the results updating as you type.
  5. Read Results: The calculator will show the “Value of Ending Inventory” as the primary result, along with “Cost of Goods Sold (COGS),” “Units in Ending Inventory,” and “Average Cost per Unit in Ending Inventory.” A breakdown table and chart are also provided.

The results help you understand the financial impact of using the LIFO method to calculate ending inventory using LIFO, especially on your balance sheet (ending inventory) and income statement (COGS).

Key Factors That Affect LIFO Results

  • Cost Trends: In periods of rising costs, LIFO results in higher COGS and lower ending inventory values (and thus lower taxable income) compared to FIFO. In falling costs, the opposite is true. This is the most significant factor when you calculate ending inventory using LIFO.
  • Number of Units Sold: The more units sold, the deeper the LIFO method digs into older, potentially cheaper inventory layers for COGS, impacting both COGS and ending inventory.
  • Purchase Timing and Quantity: The timing and size of purchases at different costs directly influence which cost layers are used for COGS under LIFO.
  • LIFO Liquidation: If a company sells significantly more units than it purchases, it may liquidate old LIFO layers, bringing very old (and potentially much lower) costs into COGS, which can distort profits.
  • Inventory Levels: Maintaining certain inventory levels can prevent LIFO liquidation and its associated profit distortions.
  • Tax Regulations: The permissibility of LIFO for tax purposes (allowed in the U.S. under GAAP, but not under IFRS) influences its adoption. LIFO conformity rule in the U.S. requires companies using LIFO for tax to also use it for financial reporting.

Frequently Asked Questions (FAQ)

What does LIFO stand for?
LIFO stands for Last-In, First-Out. It’s an inventory costing method.
Is LIFO allowed under IFRS?
No, LIFO is not permitted under International Financial Reporting Standards (IFRS) due to concerns that it can distort financial statements, especially during periods of high inflation.
Is LIFO allowed under US GAAP?
Yes, LIFO is permitted under U.S. Generally Accepted Accounting Principles (GAAP), but if used for tax purposes, it generally must also be used for financial reporting (the LIFO conformity rule).
Why would a company use LIFO?
In periods of rising costs, LIFO results in a higher Cost of Goods Sold, which leads to lower taxable income and lower income taxes. It can also provide a better matching of current costs with current revenues.
How does LIFO compare to FIFO in rising prices?
In rising prices, LIFO yields a higher COGS, lower ending inventory, and lower net income compared to FIFO (First-In, First-Out).
What is LIFO liquidation?
LIFO liquidation occurs when a company sells more inventory than it purchases during a period, causing older, lower-cost inventory layers to be included in COGS, potentially leading to an unusual increase in reported profit.
Does LIFO reflect the actual flow of goods?
Not usually. Most businesses try to sell their oldest goods first to avoid spoilage or obsolescence. LIFO is a cost flow assumption, not necessarily a physical flow reflection.
How do I calculate ending inventory using LIFO if I have many purchases?
You systematically work backward from the last purchase, allocating sold units to the most recent cost layers until all sold units are accounted for. The remaining units in the older layers form the ending inventory.

© 2023 Your Company. All rights reserved.



Leave a Comment