Accounting learning tool
Cost of Goods Sold Calculator
Reconcile beginning inventory, purchases and ending inventory to calculate COGS.
Inputs and results stay in this browser. Currency symbols are illustrative; use any consistent currency.
Understand Cost of goods sold
One idea, three depths
Choose how deeply to explain Cost of goods sold
Cost of goods sold: Reconcile beginning inventory, purchases and ending inventory to calculate COGS.
Age 5 Explain it to a 5-year-old Start with a picture
Imagine keeping labelled boxes for everything a business owns, owes, earns and spends. This tool helps check one part of those records. For example: $20,000 opening inventory plus $80,000 purchases less $25,000 closing inventory gives $75,000 COGS. The answer tells you Cost of goods sold.
Age 15 Explain it to a 15-year-old Connect it to the formula
Goods available for sale consist of opening inventory plus purchases; the portion still held at period end is removed to obtain the cost sold. The rule is COGS = Beginning inventory + purchases − ending inventory. Its input values are Beginning inventory, Net purchases, Ending inventory, and the main result is Cost of goods sold. For example: $20,000 opening inventory plus $80,000 purchases less $25,000 closing inventory gives $75,000 COGS.
College Explain it at college level State the model precisely
This calculator evaluates one accounting relationship within a consistent entity, currency, reporting period and recognition policy. The implemented relation is COGS = Beginning inventory + purchases − ending inventory, evaluated from Beginning inventory, Net purchases, Ending inventory to produce Cost of goods sold. Goods available for sale consist of opening inventory plus purchases; the portion still held at period end is removed to obtain the cost sold. Recognition, measurement, tax, consolidation, foreign-currency and disclosure rules may require adjustments under the accounting framework that applies to the entity.
What this accounting tool does
Reconcile beginning inventory, purchases and ending inventory to calculate COGS.
Why the relationship works
Goods available for sale consist of opening inventory plus purchases; the portion still held at period end is removed to obtain the cost sold.
The accounting formula
COGS = Beginning inventory + purchases − ending inventory
Inputs and period consistency
This model uses Beginning inventory, Net purchases, Ending inventory. Use the same reporting period, currency, entity boundary and accounting policy for every input.
What the result means
The primary output is Cost of goods sold; supporting outputs include Goods available. Trace each amount back to the relevant ledger or statement line before relying on it.
Worked accounting example
$20,000 opening inventory plus $80,000 purchases less $25,000 closing inventory gives $75,000 COGS.
Limits of this compact model
The calculator teaches one relationship. Recognition, measurement, tax, consolidation, foreign-currency and disclosure rules may require additional adjustments under the framework that applies to the entity.
Continue with a free textbook
OpenStax reading and academic references
Use the calculator as the worked interaction, then continue into the peer-reviewed textbook context. MW SysArc links to OpenStax; the explanation on this page is original and does not reproduce the book.
Principles of Accounting, Volume 1: Financial Accounting
Read the free OpenStax financial accounting textbookCite this book
- APA 7
- Franklin, M., Graybeal, P., & Cooper, D. (2019). Principles of accounting, volume 1: Financial accounting. OpenStax. https://openstax.org/books/principles-financial-accounting/pages/1-why-it-matters
- MLA 9
- Franklin, Mitchell, et al. Principles of Accounting, Volume 1: Financial Accounting. OpenStax, 2019, https://openstax.org/books/principles-financial-accounting/pages/1-why-it-matters.
- Chicago author-date
- Franklin, Mitchell, Patty Graybeal, and Dixon Cooper. 2019. Principles of Accounting, Volume 1: Financial Accounting. Houston, TX: OpenStax. https://openstax.org/books/principles-financial-accounting/pages/1-why-it-matters.
OpenStax books are free to read online. Their current reuse licence is CC BY-NC-SA; follow the licence shown on the linked book before redistributing or adapting its content.
Clear answers
Frequently asked questions
What does the Cost of goods sold do?
Reconcile beginning inventory, purchases and ending inventory to calculate COGS.
How does the Cost of goods sold work?
The calculator applies COGS = Beginning inventory + purchases − ending inventory. Goods available for sale consist of opening inventory plus purchases; the portion still held at period end is removed to obtain the cost sold.
What can I learn from the Cost of goods sold?
You will connect Beginning inventory, Net purchases, Ending inventory to Cost of goods sold, then see how the relationship belongs in the accounting process.
Does MW SysArc receive or store what I enter?
No. The calculation runs locally in your browser. MW SysArc does not receive or store your calculation inputs.
How should I use the result?
Use the result as an educational or reconciliation reference. Confirm the reporting period, accounting policy and source records before relying on it.
Last reviewed 2026-07-21. Calculations tested 2026-07-21.