How To Calculate Fifo Cost Of Goods Sold

8 min read

Of course. Here is a complete, in-depth article on how to calculate FIFO Cost of Goods Sold, written to be SEO-friendly and easy to understand.


How to Calculate FIFO Cost of Goods Sold: A Step-by-Step Guide

Understanding how to calculate the FIFO Cost of Goods Sold (COGS) is a fundamental skill for anyone involved in business, accounting, or finance. This calculation is critical for accurately reporting a company's profitability on its income statement. So fIFO, which stands for First-In, First-Out, is an inventory valuation method used to determine the cost of a company's inventory that is sold during a specific period. This full breakdown will walk you through the concept, the formula, and provide a clear, step-by-step example to ensure you can calculate FIFO COGS with confidence Simple as that..

What is FIFO Cost of Goods Sold?

Before diving into the calculation, it's essential to understand what FIFO COGS represents. Cost of Goods Sold (COGS) is the direct cost attributable to the production of the goods sold by a company. Consider this: this includes the cost of materials and labor directly used to create the product. Now, under the FIFO method, the assumption is that the oldest inventory items (the "first-in") are sold first. So, the cost of goods sold is based on the cost of the earliest purchases, while the value of the remaining inventory on the balance sheet reflects the cost of the most recent purchases Not complicated — just consistent..

This method aligns with the physical flow of inventory for most businesses, as products like milk or newspapers are typically sold in the order they are received. The primary impact of FIFO is that it results in a lower COGS and higher reported profits during periods of inflation, because the older, cheaper inventory costs are matched against current revenues.

The FIFO COGS Formula

The basic formula for calculating Cost of Goods Sold is consistent across inventory methods, but the key difference lies in which inventory costs are used.

Cost of Goods Sold (FIFO) = Cost of Goods Available for Sale - Ending Inventory (at current costs)

To break this down further, you need to follow a series of steps:

  1. Determine the Cost of Goods Available for Sale: This is the total value of inventory you had available to sell during the period Worth keeping that in mind..

    • Formula: Beginning Inventory + Purchases (and Purchases Returns & Allowances) = Cost of Goods Available for Sale
  2. Determine the Ending Inventory (using FIFO): This is the value of the inventory that remains unsold at the end of the period. Under FIFO, this ending inventory is valued using the costs of the most recent purchases Simple as that..

  3. Calculate COGS: Subtract the value of the ending inventory from the total cost of goods available for sale.

Step-by-Step Calculation of FIFO COGS

Let's walk through a practical example to solidify the process Not complicated — just consistent..

Scenario: "Boutique Bean" coffee shop is calculating its COGS for the month of April.

Step 1: Gather Your Data You need the following information:

  • Beginning Inventory value and units.
  • Details of all purchases made during the period (dates, units, cost per unit).
  • The number of units in the ending inventory.

Data for Boutique Bean (April):

  • Beginning Inventory (April 1): 100 units @ $5.00 each = $500
  • Purchases:
    • April 5: 50 units @ $5.50 each = $275
    • April 15: 75 units @ $6.00 each = $450
    • April 25: 25 units @ $6.25 each = $156.25
  • Ending Inventory (April 30): 60 units remaining.

Step 2: Calculate the Cost of Goods Available for Sale Add the beginning inventory to all purchases made during the month It's one of those things that adds up..

  • Beginning Inventory: $500
    • April 5 Purchase: $275
    • April 15 Purchase: $450
    • April 25 Purchase: $156.25
  • Total Cost of Goods Available for Sale = $500 + $275 + $450 + $156.25 = $1,381.25

Step 3: Calculate the Value of Ending Inventory (using FIFO) This is the most critical step. Under FIFO, the 60 units in ending inventory are assumed to come from the most recent purchases. We work our way backward from the last purchase until we account for all 60 units.

  • Last Purchase (April 25): We have 25 units available. All 25 are used.

    • 25 units @ $6.25 = $156.25
    • Units accounted for: 25. Remaining to find: 35 (60-25).
  • Previous Purchase (April 15): We need 35 more units from this batch of 75.

    • 35 units @ $6.00 = $210.00
    • Units accounted for: 25 + 35 = 60. We have now valued all 60 units in ending inventory.
  • Total Ending Inventory Value (FIFO): $156.25 + $210.00 = $366.25

Step 4: Calculate the FIFO Cost of Goods Sold Now, subtract the ending inventory value from the cost of goods available for sale.

  • COGS = Cost of Goods Available for Sale - Ending Inventory
  • COGS = $1,381.25 - $366.25
  • FIFO Cost of Goods Sold = $1,015.00

Alternative (and often simpler) Method: Tracking the Sold Units You can also calculate COGS directly by identifying the cost of the units that were sold. The number of units sold is: Total Units Available - Ending Units Took long enough..

  • Total Units Available = 100 (Beg) + 50 + 75 + 25 = 250 units
  • Units Sold = 250 - 60 (Ending) = 190 units

Under FIFO, these 190 units are sold from the oldest inventory first.

  • Sell all 100 units from Beginning Inventory: 100 @ $5.00 = $500

  • Sell all 50 units from April 5 Purchase: 50 @ $5.50 = $275

  • We have sold 150 units so far (100+50). We need to sell 40 more units (190-150) Small thing, real impact..

  • Sell 40 units from the April 15 Purchase: 40 @ $6.00 = $240

  • Total COGS = $500 + $275 + $240 = $1,015.00

This method confirms our previous calculation. Both approaches are valid, and you can choose the one that makes the most sense to you.

Why Calculating FIFO COGS

Why Calculating FIFO COGS Matters for Your Business

Understanding the mechanics of FIFO is more than an academic exercise; the resulting Cost of Goods Sold figure ripples through your financial statements, tax obligations, and operational decisions.

1. Impact on Gross Profit and Net Income In periods of rising prices—like the scenario illustrated above where unit costs climbed from $5.00 to $6.25—FIFO assigns the oldest, lowest costs to COGS. This results in a lower COGS and a higher Gross Profit compared to methods like LIFO (Last-In, First-Out) or Weighted Average. This means Net Income appears higher on the Income Statement. While this presents a healthier picture to investors and lenders, it also means a higher taxable income, potentially increasing your tax liability for the period.

2. Balance Sheet Valuation Accuracy FIFO’s most distinct advantage lies on the Balance Sheet. Because Ending Inventory is valued using the most recent purchase costs ($6.00 and $6.25 in our example), the inventory asset value closely approximates current market replacement cost. This provides stakeholders with a more realistic assessment of the company’s working capital and liquidity position. In our walkthrough, the ending inventory was valued at $366.25; under LIFO, using the oldest costs, that same inventory would have been valued significantly lower, understating the company's true asset base.

3. Tax Implications and Cash Flow The "FIFO Profit" phenomenon creates a direct cash flow trade-off. Higher reported profits lead to higher income taxes paid in the current period. Businesses operating in inflationary environments must weigh the benefit of stronger-looking financial statements (useful for securing loans or attracting equity) against the immediate cash outflow of higher tax payments. Conversely, in deflationary periods, FIFO produces the opposite effect: higher COGS, lower taxes, but an understated inventory value.

4. Alignment with Physical Flow For businesses selling perishable goods (food, pharmaceuticals) or items subject to rapid obsolescence (technology, fashion), FIFO isn't just an accounting choice—it mirrors reality. You must sell the oldest stock first to avoid spoilage or write-downs. Using FIFO in these industries ensures your accounting records match your warehouse operations, simplifying audits and reducing the risk of inventory shrinkage going unnoticed.

5. Regulatory Compliance It is critical to note that while FIFO is permitted under both GAAP (Generally Accepted Accounting Principles) in the U.S. and IFRS (International Financial Reporting Standards) globally, LIFO is prohibited under IFRS. If your company operates internationally—or plans to—standardizing on FIFO ensures consistency and comparability across all jurisdictions without requiring complex reconciliation adjustments.


Summary: The FIFO Workflow at a Glance

Step Action Key Principle
1 List Inventory Layers Chronological order: Beginning Inv.
2 Total Goods Available Sum all units and total costs. → Purchases. Think about it:
3 Value Ending Inventory Work BACKWARD from newest purchases.
4 Calculate COGS Goods Available - Ending Inventory OR work FORWARD from oldest costs for units sold.

Final Thoughts

Mastering FIFO COGS calculation equips you with a clearer lens through which to view your profitability. In our example, the $1,015.Here's the thing — 00 COGS figure tells the story of a business navigating rising input costs while maintaining a healthy margin. Whether you are preparing for an audit, modeling cash flow forecasts, or evaluating pricing strategy, the precision of this number is foundational.

By consistently applying the "first-in, first-out" logic—valuing what remains at current costs and expensing what left at historical costs—you ensure your financial reporting remains both compliant and insightful.

Hot New Reads

What's New

Round It Out

Stay a Little Longer

Thank you for reading about How To Calculate Fifo Cost Of Goods Sold. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home