Accounting Share · Inventory & purchasing

Cost of Goods Sold Calculator

Calculate periodic COGS for a merchandising business by removing ending inventory from goods available for sale.

Free to useVisible formula & workingsNo account required

The interactive calculator requires JavaScript. The formula and worked example below remain available.

03 / Understand the method

Formula and method

Beginning inventory + Net purchases − Ending inventory

Calculate periodic COGS for a merchandising business by removing ending inventory from goods available for sale.

How to use this calculator

  1. Collect the figures for the same entity, currency and reporting period.
  2. Enter each input using its label and unit. For percentages, enter 15 to mean 15%.
  3. Choose Calculate, inspect the breakdown and compare the result with your assumptions.
  4. Change one input to explore a scenario. Recalculate after edits; display rounding does not round the underlying calculation.

Inputs at a glance

  • Beginning inventory: A nonnegative numeric input in the units specified by the label.
  • Net purchases and eligible freight-in: A nonnegative numeric input in the units specified by the label.
  • Ending inventory: A nonnegative numeric input in the units specified by the label.

Worked example

Follow one calculation.

Beginning inventory
20000
Net purchases and eligible freight-in
80000
Ending inventory
25000
Calculated result
75,000

Load this example in the interactive form to inspect the intermediate amounts.

Assumptions and interpretation

Net purchases should reflect applicable returns, discounts and eligible acquisition costs. Manufacturers should use an appropriate manufactured-goods schedule.

The output is a model based on the figures entered. Check source records and use the accounting or contractual definitions relevant to your task before relying on a result.

Questions about this tool

What does the cost of goods sold calculation measure?

Calculate periodic COGS for a merchandising business by removing ending inventory from goods available for sale.

Which assumptions can change the result?

Net purchases should reflect applicable returns, discounts and eligible acquisition costs. Manufacturers should use an appropriate manufactured-goods schedule.

Why can displayed totals differ slightly from my spreadsheet?

Calculations use the unrounded input values. Only the display is rounded. Use four or six decimal places to inspect small differences, and check the timing, sign conventions and rounding policy in your spreadsheet.

Reference and further learning

Inventory reporting reference: IAS 2. These original learning examples apply the displayed formula; the reference does not certify or endorse this calculator.

Look up an accounting term · Practise with accounting questions

Formula and worked example checked 4 November 2026. Calculations run in your browser without sending the entered figures to Accounting Share. Report a calculation issue with the tool name, example inputs and expected result; avoid sharing confidential records.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *