Cost of Goods Sold (COGS) Calculator: Periodic FIFO Method
Accurately determine your COGS and ending inventory value using the First-In, First-Out (FIFO) method under a periodic inventory system.
Periodic FIFO Calculator
Enter the number of units and the cost per unit for your starting inventory.
Add each batch of inventory purchased during the period.
Enter the total number of units remaining in inventory at the end of the period (from a physical count).
What is the Cost of Goods Sold using Periodic FIFO?
The **Cost of Goods Sold (COGS) using the Periodic FIFO method** is an accounting technique to value inventory and determine the direct costs associated with goods sold during a specific period. This method operates under two key principles: the **Periodic Inventory System** and the **First-In, First-Out (FIFO)** assumption.
- Periodic System: Unlike a perpetual system that tracks sales and inventory in real-time, a periodic system updates inventory balances at the end of an accounting period (e.g., month, quarter, year) through a physical count.
- FIFO Assumption: This principle assumes that the first inventory items purchased are the first ones sold. Therefore, the inventory remaining at the end of the period (ending inventory) consists of the most recently purchased items.
To **calculate the cost of goods sold using periodic fifo**, a business first determines the total cost of all goods available for sale. Then, it calculates the value of the ending inventory based on the cost of the newest stock. Subtracting the ending inventory value from the cost of goods available for sale yields the COGS for the period. This method is widely used, especially for businesses with perishable goods or products with a short shelf life, as it aligns the cost flow with the natural physical flow of inventory.
The Periodic FIFO Formula and Explanation
The calculation is not a single formula but a three-step process. The core idea is to find the value of what’s left (Ending Inventory) and subtract it from the total value you had available to sell.
- Cost of Goods Available for Sale = Beginning Inventory Cost + Total Purchases Cost
- Cost of Ending Inventory = Valued using the cost of the most recent purchases
- Cost of Goods Sold = Cost of Goods Available for Sale – Cost of Ending Inventory
This process ensures that the oldest costs are assigned to COGS, while the newest costs are assigned to the assets on the balance sheet (Ending Inventory).
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Beginning Inventory | The quantity and cost of inventory at the start of the period. | Units & Currency ($) | 0 to Millions |
| Purchases | All inventory acquired during the period, often in multiple batches at different costs. | Units & Currency ($) | 0 to Millions |
| Ending Inventory (Units) | The quantity of inventory remaining at the end of the period, determined by a physical count. | Units | 0 to Millions |
| Cost of Goods Sold (COGS) | The final calculated direct cost attributable to the inventory sold during the period. | Currency ($) | Calculated Value |
Practical Examples
Example 1: Rising Prices
Imagine a bookstore with the following activity in January:
- Beginning Inventory: 50 books at $10 each
- Purchase (Jan 10): 100 books at $12 each
- Purchase (Jan 25): 60 books at $13 each
- End-of-Month Count: A physical count reveals 80 books remaining.
Calculation Steps:
- Goods Available for Sale: (50 * $10) + (100 * $12) + (60 * $13) = $500 + $1200 + $780 = $2,480. Total units available = 50 + 100 + 60 = 210 units.
- Ending Inventory Value (FIFO): The 80 remaining books are from the newest purchases.
- 60 units from Jan 25 purchase @ $13 = $780
- 20 units from Jan 10 purchase @ $12 = $240
- Total Ending Inventory Value = $780 + $240 = $1,020
- Cost of Goods Sold: $2,480 (Goods Available) – $1,020 (Ending Inventory) = $1,460.
For more insights on inventory costing, you might want to explore an overview of inventory valuation methods.
Example 2: Stable Prices
A hardware store tracks its inventory of a specific screw type.
- Beginning Inventory: 1,000 screws at $0.05 each
- Purchase (Mar 5): 5,000 screws at $0.05 each
- Purchase (Mar 20): 5,000 screws at $0.05 each
- End-of-Month Count: 3,000 screws remaining.
Calculation Steps:
- Goods Available for Sale: (1,000 * $0.05) + (5,000 * $0.05) + (5,000 * $0.05) = $50 + $250 + $250 = $550. Total units available = 11,000.
- Ending Inventory Value (FIFO): Since the cost is stable, the 3,000 remaining units are valued at the most recent price: 3,000 * $0.05 = $150.
- Cost of Goods Sold: $550 (Goods Available) – $150 (Ending Inventory) = $400.
How to Use This Periodic FIFO Calculator
This tool simplifies the process of calculating your COGS. Follow these steps:
- Enter Beginning Inventory: Input the number of units and the cost per unit you had at the start of the accounting period.
- Add Purchases: For each inventory purchase made during the period, click “+ Add Purchase” and enter the units and cost per unit for that batch. Add as many as you need.
- Enter Ending Inventory Units: After performing a physical inventory count, enter the total number of units you have on hand at the end of the period.
- Calculate: Click the “Calculate COGS” button. The calculator will automatically perform the FIFO logic.
- Interpret Results: The tool will display the final COGS, the value of your ending inventory, the cost of goods available for sale, and a chart visualizing the breakdown. Understanding the difference between LIFO vs FIFO can provide additional context for your results.
Key Factors That Affect Periodic FIFO COGS
Several factors can influence the outcome of your COGS calculation:
- Inflation/Price Changes: In an inflationary environment, FIFO results in a lower COGS because older, cheaper costs are expensed first. This can lead to higher reported profits and taxes.
- Purchase Timing: The timing and size of your inventory purchases directly impact the cost layers available for both COGS and ending inventory.
- Inventory Damage or Spoilage: If units are lost or damaged, they cannot be part of the ending inventory count, which means their cost will be absorbed into COGS (or written off separately).
- Supplier Price Volatility: Frequent price changes from suppliers will create more distinct cost layers, making accurate tracking more critical. For businesses interested in real-time tracking, a perpetual inventory calculator might be more suitable.
- Physical Count Accuracy: The entire periodic system hinges on an accurate physical inventory count. Errors in counting directly lead to errors in both COGS and ending inventory valuation.
- Economic Order Quantity (EOQ): The purchasing strategy, such as using an Economic Order Quantity (EOQ) model, will determine the frequency and size of purchase cost layers.
Frequently Asked Questions (FAQ)
- 1. Why is it called “periodic” FIFO?
- It’s called “periodic” because inventory and COGS are calculated at the end of a set period, not continuously. The calculation is triggered by a periodic physical inventory count.
- 2. Is FIFO always the best method?
- Not necessarily. While FIFO is logical and widely accepted, other methods like LIFO (Last-In, First-Out) or Weighted-Average Cost might be better in certain situations, though LIFO is not permitted under IFRS. The best method depends on your inventory type, industry, and financial reporting goals. A weighted average cost guide can explain an alternative approach.
- 3. What happens if I have more ending inventory units than units available for sale?
- This indicates an error in your data entry. You cannot have more items at the end than you started with plus what you purchased. The calculator will show an error message if this occurs.
- 4. How does FIFO affect my balance sheet and income statement?
- FIFO affects both. On the income statement, it impacts COGS and, consequently, gross profit. On the balance sheet, it determines the value of your ending inventory, which is a current asset.
- 5. Can I use this calculator for LIFO?
- No, this calculator is specifically designed for the FIFO method. The logic for LIFO is different, as it assumes the last items purchased are the first ones sold.
- 6. Why are my units and costs in separate fields?
- This allows the calculator to handle different purchase batches where the cost per unit may have changed, which is essential for accurate FIFO calculations.
- 7. What if a purchase includes freight costs?
- For accurate accounting, freight-in costs should be added to the cost of the inventory. You should calculate the per-unit cost including freight and enter that value into the “Cost per Unit” field.
- 8. How do returns of goods affect the calculation?
- Purchase returns should be deducted from your total purchases for the period. Sales returns, if the goods are returned to inventory, will increase your ending inventory count.