Last verified · v1.0
Calculator · business
Ending Inventory Calculator
Calculate ending inventory using beginning inventory, net purchases, and COGS. Get instant, accurate period-end stock valuations for any business.
Inputs
Ending Inventory Value
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is Ending Inventory?
Ending inventory is the total dollar value of goods a business holds at the close of an accounting period—a month, quarter, or fiscal year. This figure appears on the balance sheet as a current asset and feeds directly into gross profit calculations on the income statement. Accurate ending inventory measurement drives financial reporting integrity, tax compliance, and procurement decisions for retailers, manufacturers, and distributors of all sizes.
The Ending Inventory Formula
The foundational equation used across managerial accounting curricula expresses the movement of goods through a business:
Ending Inventory = Beginning Inventory + Net Purchases − Cost of Goods Sold
This formula captures the perpetual flow of stock: a business opens a period with existing goods, adds new purchases, and removes units it sold. Whatever remains constitutes ending inventory.
Variable Definitions
- Beginning Inventory: The verified dollar value of inventory at the start of the period, equal to the prior period's ending inventory balance. For a January statement, this equals the December 31 closing value.
- Net Purchases: Total inventory acquisition cost after deducting purchase returns, allowances, and discounts. If gross purchases total $75,000 with $3,500 in returns and $1,000 in allowances, net purchases equal $70,500.
- Cost of Goods Sold (COGS): The cost allocated to all inventory units sold during the period, reported on the income statement. COGS depends on the valuation method selected—FIFO, LIFO, or weighted average.
Step-by-Step Calculation Example
A home goods retailer reports the following figures for Q3:
- Beginning Inventory: $140,000
- Gross Purchases: $92,000
- Purchase Returns and Allowances: $5,500
- COGS: $108,000
Step 1 — Calculate Net Purchases: $92,000 − $5,500 = $86,500.
Step 2 — Apply the formula: $140,000 + $86,500 − $108,000 = $118,500 ending inventory.
This $118,500 posts to the September 30 balance sheet as a current asset and rolls forward as beginning inventory for Q4.
Inventory Valuation Methods and Their Effect
Because COGS varies with the valuation method chosen, the resulting ending inventory figure changes accordingly:
- FIFO (First-In, First-Out): Assigns oldest costs to COGS first. During inflation, FIFO produces higher ending inventory values and higher reported net income.
- LIFO (Last-In, First-Out): Assigns most recent costs to COGS first, yielding lower ending inventory and taxable income when prices rise. LIFO is prohibited under IFRS standards.
- Weighted Average Cost: Divides total cost of goods available by total units to derive an average cost applied equally to COGS and ending inventory, smoothing price volatility across the period.
Physical Counts and Inventory Adjustments
The calculated ending inventory figure must align with a physical count to detect shrinkage, theft, or clerical errors. Many businesses perform cycle counts monthly and a full physical count annually. When physical count totals differ from the calculated balance, adjustments record obsolete stock write-downs, damaged goods reserves, or inventory valuation allowances. These adjustments ensure the balance sheet ending inventory reflects actual fair value available for sale, not just the mathematical result of the formula.
Why Accurate Ending Inventory Matters
Overstating ending inventory understates COGS, artificially inflating gross profit and net income—a frequent source of financial misstatement. Understating it reduces reported profit and may trigger unnecessary reorder activity. Lenders, auditors, and tax authorities depend on this figure for credit assessments, financial audits, and deductible expense validation. As documented in the University of North Georgia's Principles of Managerial Accounting, inventory valuation forms a cornerstone of cost accounting and period-end financial close. Eastern Connecticut State University's Ten Managerial Accounting Formulas similarly identifies the ending inventory equation as essential knowledge for every business analyst and accountant.
Practical Applications
- Retail: Monthly stock reconciliation to identify shrinkage and set reorder points.
- Manufacturing: Valuing finished goods and work-in-process at period close.
- E-commerce: Matching fulfillment center physical counts to accounting records.
- Tax Preparation: Computing deductible COGS for annual business tax filings.
- Audit and Compliance: Reconciling book inventory to physical counts to detect and correct discrepancies.
Reference