Calculation basis, sources and review
COGS = opening inventory + purchases + inward freight − closing inventory.
- Publisher
- Count.ie, operated by K Imports
- Page last updated
- — explanatory content and transparency information, not a new rules verification.
- Documented source check
- No dated source check recorded.
- Professional review
- No named independent professional review is recorded for this tool.
Any dated method notes below apply only to their stated scope. A formula or user-entered rate is not evidence that statutory rules are current.
Uses the stated formula and the assumptions you enter. No external source review is claimed.
Estimates, not financial, tax, legal or accounting advice. How our dates and checks work. Report a correction.
How do opening stock and closing stock change cost of goods sold?
Calculate COGS from stock, purchases and inward freight. Goods bought during the period are not necessarily all sold during that period. The supported inventory bridge uses opening stock, purchases and closing stock to isolate the cost assigned to sales. Consistent valuations matter, and the result does not automatically resolve stock write-downs, work in progress or accounting-policy differences.
How the calculation works
Cost of goods sold applies one fixed set of rules to the inputs described below, so the same entries always give the same answer. The exact formula is published once, in the Sources, formula and methodology section further down this page.
Opening inventory (€) is entered as 10,000 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount. Purchases (€) is entered as 50,000 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount. Inward freight (€) is entered as 1,000 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount. Closing inventory (€) is entered as 12,000 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount.
Worked example
A fixed illustration uses Opening inventory (€): 10,000; Purchases (€): 50,000; Inward freight (€): 1,000; Closing inventory (€): 12,000. COGS: €49,000.00. All remaining illustrated settings are listed in the example-input disclosure below. These are reproducible sample figures, not saved visitor inputs; this text does not change when you edit the interactive form.
Compare cogs using matching periods and units. A total cost, a recurring payment and a percentage answer different questions. Check omitted costs and the timing of payments before using the result as a spending commitment.
What moves the answer
Each comparison changes one input of the fixed example and re-runs this calculator’s engine. Other assumptions stay unchanged.
- Raising opening inventory (€) from 10,000 to 11,000, with everything else unchanged, cogs moves from €49,000.00 to €50,000.00.
- Raising purchases (€) from 50,000 to 55,000, with everything else unchanged, cogs moves from €49,000.00 to €54,000.00.
Frequently asked questions
What happens if I increase opening inventory (€) in this example?
Changing opening inventory (€) from 10,000 to 11,000, with the other example settings unchanged, changes cogs from €49,000.00 to €50,000.00. This isolates one input using the form's actual calculation. Compare changes separately rather than attributing a difference to several assumptions at once.
What assumptions should I check for Cost of goods sold?
Use consistent accounting periods and valuation policies. Outward delivery and operating overheads are not COGS in this simple model. This is a formula-based planning tool, not a feed of live quotations or an independent assessment. Its editable amounts, prices and rates are your assumptions, so check them against the records or specifications relevant to your case.
Quick answer
The Cost of goods sold model returns cogs. Goods bought during the period are not necessarily all sold during that period.
Outputs and units: COGS (euro (€)).
Fixed worked example results
Cost of goods sold example — Opening inventory (€): 10,000; Purchases (€): 50,000; Inward freight (€): 1,000; Closing inventory (€): 12,000. COGS: €49,000.00.
Illustration only, not your entered figures. Use the complete example inputs below, selected options and stated limitations when quoting these results.
| Result | Example value |
|---|---|
| COGS | €49,000.00 |
Exact inputs used in the worked example
- Opening inventory (€)
- 10,000
- Purchases (€)
- 50,000
- Inward freight (€)
- 1,000
- Closing inventory (€)
- 12,000
Cite this calculation example
Count.ie. Cost of goods sold: fixed worked example. Page updated 2026-10-17. https://count.ie/business/cost-of-goods-sold/#worked-example
This citation describes the fixed example above, not your entered figures. Include the complete assumptions and relevant year when quoting a result. Official sources remain the authority on the underlying rules.
Link to the worked exampleFixed example, assumptions and sources (JSON)AI discovery index
Sources, formula and methodology
| Step | Formula or calculation | When it applies |
|---|---|---|
| Published calculation method | COGS = opening inventory + purchases + inward freight − closing inventory. | Use the stated input units, supported modes and limitations below. |
Assumptions and limits
Use consistent accounting periods and valuation policies. Outward delivery and operating overheads are not COGS in this simple model.
Explanation of the implemented calculator, not independent professional review, enactment verification or a promise of AI citation. See the source links and review scope above.