Adblocker Detected

Uh Oh! It seems you’re using an Ad blocker!

We always struggled to serve you with the best online calculations, thus, there's a humble request to either disable the AD blocker or go with premium plans to use the AD-Free version for calculators.

Disable your Adblocker and refresh your web page 😊

fifo and lifo Calculator

FIFO & LIFO Calculator


print pdf

Enter the units sold per sale and enter each unit’s price. The calculator will estimate the goods’ cost, goods sold, units remaining, and remaining inventory value by using FIFO and LIFO methods.


No. of Purchases

  • Unit


  • Unit


  • Unit


  • Unit


Add One by One

Add More Purchases
  • 5 Purchases
  • 10 Purchases
  • 15 Purchases
  • 20 Purchases
  • 50 Purchases

Total Units Sold


Cost of Goods Purchased

Cost of Goods Purchased


Cost of Goods Sold (COGS)

Cost of Goods Sold


Ending Inventory Value

Ending Inventory Value


This report is generated by

Get The Widget!


Add FIFO & LIFO Calculator to your website through which the user of the website will get the ease of utilizing calculator directly. And, this gadget is 100% free and simple to use; additionally, you can add it on multiple online platforms.

Available on App

Download FIFO & LIFO Calculator App for Your Mobile, So you can calculate your values in your hand.


An online lifo fifo calculator allows you to calculate the remaining value of inventory and cost of goods sold by using the fifo and lifo method. The product inventory management becomes easy with the assistance of this calculator for first-in-first-out and last-in-last-out.

Well, come to the point, in this content, we tell you how to calculate fifo and lifo (step-by-step) and by using calculator, fifo and lifo examples, and all you need to know about inventory valuation.

Now, first, we start with the basic definition inventory, fifo, and lifo!

What is an Inventory?

When it comes to inventory, it is referred to as a company’s goods in three stages of production including:

  1. The goods that are raw materials
  2. The goods that are in production
  3. The goods that are finished and ready for sale

In other terms, you just get the goods that the company has in the starting, very next, add the material that is purchased to generate more goods, then, subtract the goods that the company sold, COGS that are an acronym for the cost of goods sold, and the result is what remains – are said to be as an inventory. Also, simply account for the above lifo and fifo calculator that helps you to perform ending inventory-related calculations by using both fifo and lifo methods of inventory valuations.

Inventory accounting is something that assigns values to the goods in each production stage and simply classifies them as company assets, as inventory can be sold, that’s the reason why turning it into cash in the near future. Remember that assets should be accurately valued so that the company as a whole can be precisely valued. The given formula helps in calculating inventory:

BI+ Net Purchases −COGS=EI


  • BI = Beginning inventory
  • EI = Ending Inventory

Remember that ending inventory is a crucial component in the calculation of the cost of goods sold. And, you can easily calculate ending inventory by using multiple valuation methods including, fifo, lifo, and weighted-average cost.

Also, you can give a try to this free online enterprise value calculator to find the economic value of the company.

What is FIFO – First In First Out Method?

FIFO stands for first in first out! It is inventory management term means the items which were added first to the stock will be removed from stock first. And, the inventory stone can also be calculated by the online tool and will leave the stock in balance order same as that in which it was added to the stock. FIFO is the most abundant method that commonly used in THE U.S.A as this approach appeals to common sense. No doubt, good inventory management scenario is that the oldest items should be sold first, while the most recently purchased goods remain in inventory. First in first out (FIFO) method of ending inventory involves matching the oldest produced goods with revenues. So, try a simple fifo calculator online that helps you in inventory management by calculating ending inventory value, cost of goods purchased, and cost of goods sold (COGS). Read on to know how to find fifo ending inventory!

FIFO method is used for cost flow assumption purposes, these assumptions are referred to as the method of moving the cost of a company’s product that is out of its inventory to its cost of goods sold.

How to Calculate FIFO (Manually)?

If you want to calculate Cost of Goods Sold (COGS) concerning the FIFO method, then you ought to figure out the cost of your oldest inventory. Its mean, you just have to multiply that cost by the total amount of inventory sold. Also, you can try simple fifo lifo method calculator that uses fifo formula (method) for the ending inventory management calculations.

You have to remember that if the paid-price for the inventory fluctuates during the specific time period you are calculating Cost of Goods Sold, then that should be taken into account too. Furthermore, you can use an online fifo lifo calculator that uses both fifo and lifo valuations to provides you the fifo lifo inventory table.

What is Lifo – Last In First Out Method?

Lifo or Last in first out is an efficient technique that is used in the valuation of inventory, the goods which were added to the stock will be removed from the stock first. With Lifo method, the goods will leave the stock in an order reverse of that in which the goods were added to the stock!

In simple words, this method assumes that the most recent goods added to an inventory are sold first. Now, we are also you about how to find lifo manually! You can try our most efficient and reliable lifo calculator to manage the inventory goods that were added to your inventory concerning lifo method.

How to Calculate LIFO (Manually)?

If you want to calculate Cost of Goods Sold (COGS) concerning the LIFO method, then you ought to find out the cost of your most recent inventory, and simply multiply it by the cost of inventory sold.

Same as FIFO, if the rate to acquire the goods in inventory fluctuates during the specific time period you are determining COGS for then you must take that into account.

For convenience, you can consider online fifo and lifo calculator helps to find out the cost of goods purchased, COGS, ending inventory value along with the detail inventory table.

Lifo and FiFo Calculator: Both Calculators At The Same Platform of Calculator-Online:

An online fifo and lifo calculator is considered the First In First Out (FIFO) and Last In First Out (LIFO) ending inventory methods to calculate the inventory cost.

More specifically:

  • Fifo calculator uses the first in first out method to find inventory value/cost for the first sold goods
  • Lifo calculator helps you to find out the inventory value/cost of most sold goods

Additionally, you people can try fifo method calculator uses fifo method to find the ending inventory in the balance order same as that in which it was added to the company’s stock. Whereas, try lifo method calculator that uses the lifo method while performing ending inventory calculations on the most recent goods.

How to Calculate Lifo and Fifo With This lifo fifo calculator?

To find lifo and fifo for your ending inventory, simple stick to the given steps:


  • First of all, you just have to enter the quantity of each unit purchases
  • Then, you have to add the quantity of the price/unit you purchased
  • Also, the lifo fifo method calculator provides you with options of adding more purchases “one by one” or multiple
  • Then, you have to enter the total units sold from your number of purchases
  • Once done, you can hit either “calculate fifo” or “calculate”, it’s your choice according to your ending inventory management


The fifo and lifo calculator calculate ending inventory cost according to first in first out and last in first out method. It doesn’t matter at all whether you want to calculate lifo and fifo for ending inventory, the calculator will shows:

  • Total cost of goods purchased
  • Cost of goods sold (COGS)
  • Ending inventory value
  • Detailed ending inventory table for your fifo or lifo ending inventory cost

FIFO and LIFO Examples:

Here we are going to mention an example of a company to elaborate on the cost of goods sold (COGS) using and FIFO and LIFO methods.

Let’s suppose that there is a Mike’s Television Company that has been in operation now for a year; this is what his inventory costs look like:

Month           Amount             Price Paid

  • January           100 Units             $800.00
  • February         100 Units             $800.00
  • March             100 Units             $825.00
  • April                100 Units            $825.00
  • May                 100 Units             $825.00
  • June                100 Units             $850.00
  • July                 100 Units             $850.00
  • August            150 Units             $875.00
  • September     150 Units              $875.00
  • October          150 Units             $900.00
  • November      150 Units             $900.00
  • December      150 Units             $900.00

Means, 1450 units acquired

Units = Televisions

Well, let’s calculate the COGS using the given methods:

FIFO Method:

When it comes to the FIFO method, Mike needs to utilize the older costs of acquiring his inventory and work ahead from there.

So, Mike’s COGS calculation is as follows:

  • 200 units x $800 = $160,000
  • 300 units x $825 = $247,500
  • 200 units x $850 = $170,000
  • 300 units x $875 = $262,500
  • 100 units x $900 = $90,000

Mike’s cost of goods sold is $930,000.

Also, simply use the online simple fifo calculator that helps you in understanding how to calculate fifo ending inventory and provide you with a detailed table of your ending inventory by using fifo method.

LIFO Method:

When it comes to LIFO method, mike needs to go through by his most recent inventory costs first and work backwards from there.

  • 450 units x 900 = $405,000
  • 300 units x 875 = $262,500
  • 200 units x 850 = $170,000
  • 150 units x $825 = $125,750

Mike’s cost of goods sold is $961,250.

However, the remaining 350 unsold televisions will be accounted for in ‘inventory.’

Is LIFO Permitted Under GAAP?

Yes, LIFO (Last-in-first-out) is allowed under GAAP. Well, GAAP is acronym for “Generally Accepted Accounting Principles” that simply sets the standard for accounting procedures in the United States. It was specifically created so that all the businesses should have the same set of rules to follow. GAPP typically sets standards for a wide variety of topics from assets and liabilities to foreign currency, also the financial statement presentation. Under GAAP, last-in-first-out (lifo) is legal.

However, the LIFO method is not allowed as an accounting practice, outside the US. That’s the reason why some American companies consider the lifo inventory method on their financial statements, and switch to first in first out (fifo) inventory method for their international operations.

The IFRS (International Financial Reporting Standards) foundation set some rules, which most other countries are required to follow.

What is The Impact of Inflation (FIFO And LIFO):

Remember that if inflation were nonexistent, then all the three ending inventory valuation methods would generates the same exact outcomes. Inflation is referred to as a measure of the rate of price that increases in an economy. However, when it comes to real world, prices are something that tend to rise over the long term, which simply indicate that the choice of accounting method can really affect the inventory valuation and even the profitability for the period.

Suppose that prices are rising, inflation would impact the three basis approaches to valuing inventory that are allowed by GAAP:

First-In, First-Out (FIFO):

Under fifo, the COGS (cost of goods sold) is depends upon the cost of material bought earliest in the period, while the inventory cost is depends upon the cost of material bought later in the year. Remember that the outcomes in inventory cost being closed to current replacement cost. During the period of inflation, the use of fifo will outcome in the lowest estimate of COGS among the three approaches, and even the highest net income.

Last-In, First-Out (LIFO):

Under lifo, the COGS (cost of goods sold) is entirely depends upon the cost of material bought towards the end of the period, it resulting in inventory costs that closely approximate current costs. However, the ending inventory is valued on the basis of the cost of materials bought earlier in the year. When it comes to periods of inflation, the use of last-in-first-out will outcome in the highest estimate of COGS among the three approaches, and the lowest net income.

Weighted Average:

Under this inventory valuation method, both inventory and COGS are depends upon the average of all units bought during the period. Remember that when inventory turns over rapidly this inventory approach will more closely resemble fifo than lifo.


Organizations typically adopt the last-in, First-out (LIFO) inventory approach for the tax benefits during the periods of high inflation, and optimistic studies depicted that organizations with the given characteristics are more likely to adopt LIFO – rising inventory prices for raw materials & labor, more variable inventory growth, an absence of other tax loss carry forwards, and the large size. Remember that when organizations switch from fifo to lifo in valuing inventory, there is likely to be a drop in net income and even a concurrent increase in cash flows (just because of the tax savings). The reverse will be applied when organizations switch from LIFO to FIFO.

Which is Better Inventory Valuation Method – LIFO or FIFO?

First of all, you should have to remember that:

  • Higher-cost inventory = lower taxes
  • Lower-cost inventory = higher taxes

So, to assess the relative value of last-in-first-out (lifo) or first-in-first-out (fifo) ending inventory cost, you simply have to look at the way your inventory costs are changing:

  • If the ending inventory costs are going up, or are likely to increase, LIFO costing approach may be better as the higher cost units (the ones purchased or made last) are accounted to be sold. This outcome in higher costs and even lower profits
  • If the opposite it’s true, and the ending inventory costs are going down, then FIFO costing approach might be better. Since inventory prices usually increase, most businesses are highly prefer to use LIFO costing
  • And, if you want to evaluate more accurate cost, then FIFIO costing approach is better, as this inventory valuation assumes that older less-costly units are most usually sold first

IRS Regulations and FIFO vs. LIFO:

The IRS (Internal Revenue Service) does not prefer LIFO inventory valuation, just because it typically results in lower profits (less taxable income). But, the IRS does allow businesses to consider LIFO accounting, requiring an application, on Form 970.

The national accounting standards organization, the FASB (Financial Accounting Standards Board), in its GAAP (Generally Accepted Accounting Procedures) allows both FIFO (First-in-first-out) and LIFO (last-in-first-out) accounting methods. The IFRS (International Financial Reporting Standards) does not allow LIFO to be used, so if your Firm has international locations, you won’t be able to account it.


How do you convert LIFO to FIFO inventory?

These are the simple steps that help to convert a LIFO-based statement to a FIFO-based statement:

  • First, you have to add the LIFO reserve to LIFO inventory
  • Then, you have to deduct the excess cash that saved from lower taxes under LIFO (i:e. LIFO Reserve x Tax rate)
  • Very next, you have to increase the retained earnings component of shareholders’ equity by the LIFO reserve x (1-T)
  • Finally, in the income statement, FIFO COGS = LIFO COGS – Δ LIFO Reserve

Can you use both LIFO and FIFO?

The IRS permits you to use the FIFO method or LIFO method – FIFO and LIFO. Simply, if you choose LIFO valuation method, you can be able to further choose from one of several sub-methods, which including dollar-value LIFO, or DVL. Our online fifo and lifo calculator helps you to calculate both lifo valuation and fifo valuation for you ending inventory management.

Why is LIFO bad?

The IFRS (International Financial Reporting Standards) prohibits LIFO inventory method because of the potential distortions it may have on a firm’s profitability and financial statements. For instance, LIFO valuation method can understate a firm’s earnings for the purposes of keeping taxable income low. Also, this approach result in inventory valuations that is outdated and obsolete.

Why do companies use LIFO?

In simple terms, LIFO valuation method reduces taxes and even assists match revenue with cost.

During the times of rising prices, firms may find it beneficial to account LIFO costing approach over FIFO. Under LIFO, companies can save on taxes along with a better match their revenue corresponding to their latest costs when prices are rising.

Why does Apple use FIFO?

The Apple Company uses the FIFO method as it ensures that most old-model units are sold before new Apple product models that are released to the market. Also, Apple store managers handles the inventory management of their respective stores. You can also manage you ending inventory system by using this best fifo calculator that calculate ending inventory using fifo method.

Where is LIFO used?

When the costs of producing a product or acquiring inventory have been increasing, the LIFO inventory valuation method is used in the COGS (Cost of Goods Sold). This may be because of inflation. Try an online (lifo) last-in-first-out or last in first out calculator to calculate ending inventory cost according to lifo method.

What is the FIFO rule?

Traders refer to Rule 2-43b as the FIFO rule of inventory management. According to the FIFO policy, traders should have to close the earliest trades first in situations where different open traders-in-play involve the same currency and even are of the same position size.

Can a company change from LIFO to FIFO?

Yes, most companies switching from LIFO to FIFO valuation statement to restate their historical financial statements as if the new inventory valuation method had been used all along. It’s immensely important that companies keep precise records to make these changes.

Why does US GAAP allow LIFO?

LIFO inventory method is permitted in the US since it is a quick and dirty approximation to inflation accounting for the income statement.

What are the advantages and disadvantages of LIFO method?

LIFO ending inventory approach is more difficult to maintain than the FIFO as it can result in older inventory that never being shipped or sold. Also, lifo results in more complex records and even accounting practices because the unsold inventory prices do not leave the accounting system.

Is LIFO still allowed?

No doubt, LIFO provides you with a high-quality income statement matching. LIFO is only prohibited under IFRS and ASPE. However, under the US GAAP (Generally Accepted Accounting Principles), LIFO is permitted.

What is the FIFO method of food storage?

FIFO is referred to as “first in first out” and simply you ought to label your food with the dates your store them, and need to put the older foods in front or on top, so that you can use them first. This inventory approach helps you to find your food quicker and even use them more efficiently.

What companies use FIFO method?

Typically, the companies that sell perishable products or units subject to obsolescence including “food products or designer fashions” are typically following the FIFO inventory valuation method.

How do you calculate gross profit FIFO?

For example, let’s suppose a firm’s oldest inventory cost $200, the newest cost $400, and it has sold only one unit for $1,000. The gross profit would be determined as $800 under LIFO method and $600 under FIFO method.

Wrapping it up:

Well, thankfully, you people come to know how to do fifo and lifo calculation for an ending inventory management. Remember that an inaccurate measure of ending inventory will spoil your finance statement! So, simply account the above lifo and fifo calculator to do precise measurements for your ending inventory management.

No doubt, the decision to use LIFO vs. FIFO is complicated, and even each business situation is varying. You should have to conform to IRS (Internal Revenue Service) regulations and U.S. and international accounting standards. You ought to get assistance from your tax professionals before you decide on an inventory valuation method. In a single sentence, you can easily manage fifo and lifo ending inventory accounts at this platform.


From the source of Wikipedia: FIFO and LIFO accounting, FIFO Tax Implications, and detail about lifo and more

From the source of thebalancesmb: FIFO or LIFO – What’s the Difference and Which is Better?

From the source of valuepenguin: How to Apply FIFO vs LIFO Inventory Accounting

From the authorized source of IRS (Internal Revenue Service): About Form 970, Application to Use LIFO Inventory Method