Beginning Inventory Calculator
Opening stock reconstructed from the period's figures.
Calculate beginning inventory from ending inventory, purchases and cost of goods sold when the opening figure is missing.
Optional, enter a counted value to see shrinkage.
Beginning inventory
$30,000
COGS + ending − purchases
How the Beginning Inventory Calculator works
The opening figure is normally just the previous period's close. When records are incomplete: a first set of accounts, a system migration, a missed count. It can be reconstructed by running the inventory equation backwards.
Also known as: opening stock calculator · opening inventory balance · start of period stock
Behind the number
Beginning inventory is the prior period's ending inventory, and where that is unavailable it can be reconstructed: beginning inventory = COGS + ending inventory − purchases.
The reconstruction is a check rather than a measurement. If the derived figure does not match the recorded closing balance from the previous period, something is wrong in one of the other three terms and it is worth finding out which.
A real example
COGS for the year $37,868, ending inventory $3,132, purchases $37,800. Beginning inventory = 37,868 + 3,132 − 37,800 = $3,200.
That matches the prior year's closing figure, so the four terms are internally consistent and the period's records hang together.
If it had come out at $3,650, the $450 discrepancy would point at a receiving entry in the wrong period, a purchase invoice posted late, or stock counted twice, all of which are findable, and none of which get found if the check is never run.
The usual mistakes
The formula assumes purchases and COGS are both complete and correctly dated. Cut-off errors, an invoice posted in the wrong month, a delivery received on the last day and entered on the first, move value between periods and make both look wrong.
Any adjustment made to the closing balance after the period was reported, such as a write-down, also has to carry forward. Starting a new period from an unadjusted closing figure quietly reinstates stock that was written off.
Using the result
Use it as a reconciliation rather than a calculation. In a properly maintained system the number is simply the prior close, and the value of the formula is entirely in checking that it agrees.
Where a business is starting from no records: a first year, a system migration, an acquisition, the physical count is the only honest starting point, and the formula then gives the COGS for the period rather than the other way round.
Opening balances at a system migration
Migrating inventory into new software is where opening balances most often go wrong, because the temptation is to import the old system's quantities and move on. Those quantities carry every accumulated error from the old system with them.
The better sequence is to count physically, load the counted quantities, and treat the difference against the old system as a one-off adjustment in the final period of the old system rather than a mystery in the first period of the new one.
It costs a day and it establishes a clean baseline, which means any variance appearing afterwards is genuinely new information rather than inherited noise. Businesses that skip it spend the following year unable to tell whether their new system is accurate, which defeats most of the reason for migrating.
Confirm that the opening quantities and the opening value agree. A system can carry the right units at the wrong cost after a supplier price change, and the mismatch produces a margin that drifts all period for no visible reason.
Reconciling units against value takes a single export and catches the problem while it is still one period's worth rather than several.
Where to go next
The Beginning Inventory question rarely arrives on its own. These are the ones that usually come with it:
- Ending Inventory Calculator — Closing stock from opening, purchases and COGS.
- Average Inventory Calculator — The average stock level over a period.
- Inventory Value Calculator — Stock value at cost and at retail.
- Etsy Fee Calculator — Every Etsy fee on one sale, itemised.
Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.
Frequently asked questions
How is beginning inventory calculated?
Cost of goods sold + ending inventory − purchases. Ending at £35,000 with £80,000 of purchases and £75,000 of COGS implies £30,000 of opening stock.
When would I need to calculate it?
Reconstructing incomplete records, migrating between systems, preparing a first set of accounts, or checking whether a reported opening figure is consistent with the rest of the period.
Does beginning inventory affect profit?
Yes, through COGS. Cost of goods sold is opening inventory plus purchases minus closing inventory, so an overstated opening figure inflates COGS and understates profit for the period.
What if the calculated figure looks wrong?
One of the other three numbers is wrong, or there is unrecorded shrinkage. The equation only balances when all the inputs are accurate, which makes a surprising result a useful audit signal rather than an answer to accept.
Related calculators
Ending Inventory Calculator
Closing stock from opening, purchases and COGS.
OpenAverage Inventory Calculator
The average stock level over a period.
OpenInventory Value Calculator
Stock value at cost and at retail.
OpenEtsy Fee Calculator
Every Etsy fee on one sale, itemised.
Open