LIFO Calculator

Download our free LIFO calculator

LIFO Calculator

This LIFO calculator will help you calculate the remaining value of your inventory as well as cost of goods sold using the last-in-first-out method.

Here is a preview of CFI’s LIFO calculator below:


LIFO Inventory Value Calculator Preview


Download the Free Template

Enter your name and email in the form below and download the free template now!

LIFO Calculator

Download the free Excel template now to advance your finance knowledge!


LIFO Inventory Valuation

This LIFO calculator uses the last-in-first-out method of inventory valuation to determine ending inventory value and cost of goods sold. This method assumes that the last inventory items that are purchased are the first ones to be sold.

A practical example of a store that uses LIFO would be a pharmacy. Pharmaceutical products tend to experience high inflation in prices. Thus, it is most accurate for them to report based on the most recent prices of their inventory purchases. Therefore, the oldest costs are the ones that remain on the balance sheet while the most recent ones are expensed first.

Consider the pharmacy example mentioned above. Here is an example of the pharmacy’s schedule of pill purchases:

  • July 6, 2019: 100 pills purchased at $1.15/pill
  • July 7, 2019: 100 pills purchased at $1.65/pill
  • July 9, 2019: 100 pills purchased at $2.25/pill

If by July 10th, this pharmacy sold 220 pills, what would its inventory value and COGS be?

We can calculate this by applying the LIFO method used in CFI’s LIFO calculator.

Following the schedule above, we can calculate the cost of the remaining pills and the cost of goods sold.

  • July 9, 2019: 100 pills sold at $2.25/pill = $225 in COGS
  • July 7, 2019: 100 pills sold at $1.65/pill = $165 in COGS
  • July 6, 2019: 20 pills sold at $1.15/pill = $23 in COGS

Therefore, total cost of goods sold would be 225+165+23 = $413 and the remaining inventory value would be 80*1.15 = $92.


More Free Templates

For more resources, check out our business templates library to download numerous free Excel modeling, PowerPoint presentation and Word document templates.

  • Excel Modeling Templates
  • PowerPoint Presentation Templates
  • Transaction Document Templates
  • CFI Template Marketplace

Financial Analyst Certification

Become a certified Financial Modeling and Valuation Analyst (FMVA)® by completing CFI’s online financial modeling classes and training program!