LIFO Inventory Calculator
Enter inventory purchases and units sold to compute ending inventory value and cost of goods sold under the LIFO method.
Inventory Purchase Layers
Total units sold from all inventory layers combined.
Total Available
—
units
COGS (LIFO)
—
cost of goods sold
Ending Inventory
—
remaining value
LIFO Layer Breakdown
Newest layers are consumed first.
| Layer | Units Purchased |
Unit Cost |
Units Sold |
Units Remaining |
Ending Value |
|---|
Add purchase layers and units sold,
then click Calculate LIFO.
Copied!
Summary
Enter inventory purchases and units sold to compute ending inventory value and cost of goods sold under the LIFO method.
How it works
- Add each inventory purchase layer: date/label, quantity purchased, and unit cost.
- Enter the total number of units sold during the period.
- Click "Calculate LIFO" to run the cost-flow algorithm.
- The tool depletes the most recent layers first (LIFO order) to assign costs to COGS.
- Remaining units from earlier layers form the ending inventory at their original costs.
- Review the per-layer breakdown table and summary totals.
Use cases
- Prepare COGS figures for income statements using LIFO.
- Compare LIFO vs FIFO impact during periods of rising or falling prices.
- Audit inventory cost-flow assumptions for accounting accuracy.
- Study or teach the LIFO method with a step-by-step layer breakdown.
- Estimate taxable income under LIFO when prices are rising.
- Validate manually computed LIFO figures before filing financial statements.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu