Home · Finance · Business & Accounting · Ending Inventory Calculator
Ending Inventory Calculator
Close the inventory account for a period: beginning stock plus purchases minus the cost of goods sold leaves the ending inventory value.
What this calculator does
Close the inventory account for a period: beginning stock plus purchases minus the cost of goods sold leaves the ending inventory value. Every figure on this page is your own input — no lender's rate, no country's tax table and no market forecast is built in — and every result is computed from the formula stated below, with no hidden rounding steps. Results are estimates for planning, not financial advice.
The formula and method
Under a periodic inventory system, the cost of goods available for sale is beginning inventory plus purchases made during the period. Subtracting the cost of goods sold leaves the value of inventory still on hand at period end.
All three inputs are at cost, not selling price, and purchases should be net of returns and allowances. The result feeds the balance sheet as a current asset and becomes next period's beginning inventory.
Worked example
With the example inputs this page opens with (beginning inventory 80000, purchases 250000, cost of goods sold 260000), the result is 70,000.00 — ending inventory. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Beginning inventory | Ending inventory |
|---|---|
| 40000 | 30,000.00 |
| 64000 | 54,000.00 |
| 80000 | 70,000.00 |
| 100000 | 90,000.00 |
| 120000 | 110,000.00 |
| 160000 | 150,000.00 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Ending Inventory Calculator work?
Close the inventory account for a period: beginning stock plus purchases minus the cost of goods sold leaves the ending inventory value. Beginning inventory · Purchases · Cost of goods sold → Ending inventory. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Ending Inventory Calculator need?
Beginning inventory · Purchases · Cost of goods sold → Ending inventory. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Ending Inventory Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.