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.

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

  1. Add each inventory purchase layer: date/label, quantity purchased, and unit cost.
  2. Enter the total number of units sold during the period.
  3. Click "Calculate LIFO" to run the cost-flow algorithm.
  4. The tool depletes the most recent layers first (LIFO order) to assign costs to COGS.
  5. Remaining units from earlier layers form the ending inventory at their original costs.
  6. 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