Accounting learning tool

Cost of Goods Sold Calculator

Reconcile beginning inventory, purchases and ending inventory to calculate COGS.

Runs locally

Inputs and results stay in this browser. Currency symbols are illustrative; use any consistent currency.

Cost of goods sold$75,000.00
Goods available$100,000.00

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 5Explain it to a 5-year-oldStart with a picture

Imagine using Cost of goods sold to answer this question: reconcile beginning inventory, purchases and ending inventory to calculate cogs? Enter Beginning inventory, Net purchases, Ending inventory; the calculator shows Cost of goods sold. 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 15Explain it to a 15-year-oldConnect 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.

CollegeExplain it at college levelState 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.

Supporting sourcesAcademic referencesPrimary standards, textbooks and complete citations

Standards, reading and academic references

Use the calculator as the worked interaction, then consult the primary standards and academic textbooks listed below. MW SysArc links to the original sources; the explanation on this page is original and does not reproduce them.

Principles of Accounting, Volume 1: Financial Accounting

Read the free OpenStax financial accounting textbook
Cite 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 entries are free to read online. Follow the licence shown on each linked source before redistributing or adapting its content.

Reuse the page responsiblyCite this pageAPA, MLA, Chicago, Harvard, BibTeX and RIS

These formats cite this calculator page itself. They are separate from the academic references above, which support the mathematical method and terminology.

APA 7

MW SysArc. (2026, July 21). Cost of Goods Sold Calculator. MW SysArc Tools. https://accounting.mwsysarc.com/cost-of-goods-sold

MLA 9

MW SysArc. “Cost of Goods Sold Calculator.” MW SysArc Tools, 21 July 2026, https://accounting.mwsysarc.com/cost-of-goods-sold. Accessed 26 Aug. 2026.

Chicago 17

MW SysArc. “Cost of Goods Sold Calculator.” MW SysArc Tools. Published July 21, 2026. Accessed August 26, 2026. https://accounting.mwsysarc.com/cost-of-goods-sold.

Harvard

MW SysArc (2026) ‘Cost of Goods Sold Calculator’, MW SysArc Tools. Published 21 July 2026. Available at: https://accounting.mwsysarc.com/cost-of-goods-sold (Accessed: 26 August 2026).

BibTeX and RIS records

BibTeX

@misc{mwsysarc_cost_of_goods_sold_2026,
  author = {{MW SysArc}},
  title = {Cost of Goods Sold Calculator},
  howpublished = {MW SysArc Tools},
  year = {2026},
  url = {https://accounting.mwsysarc.com/cost-of-goods-sold},
  note = {Published July 21, 2026; accessed August 26, 2026}
}

RIS

TY  - ELEC
AU  - MW SysArc
TI  - Cost of Goods Sold Calculator
T2  - MW SysArc Tools
PY  - 2026
DA  - 2026-07-21
Y2  - 2026-08-26
UR  - https://accounting.mwsysarc.com/cost-of-goods-sold
N1  - Published July 21, 2026
ER  -

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 . Calculations tested .

MW SysArc Certified