Finance · Business & Commerce

Cost of Goods Sold Calculator

Calculate cost of goods sold from beginning inventory, net purchases, and ending inventory.

Loading calculator…

Feedback

Quick guide

How to use this calculator

  1. Gather Beginning inventory, Net purchases and production costs, and Ending inventory for the same business scenario before calculating.
  2. Keep cash flows, accounting profit, financing proceeds, and owner contributions separate; they answer different questions even when they occur in one period.
  3. Apply the displayed cost of goods sold result to the stated decision only after checking every entered assumption.

Calculation method

Calculation method

COGS = beginning inventory + net purchases − ending inventory.

The calculation uses these named inputs: Beginning inventory, Net purchases and production costs, and Ending inventory. No market rate, benchmark, tax rule, or accounting classification is inserted automatically.

Fixed-decimal arithmetic remains exact through display unless a result is explicitly labelled approximate, such as a square-root inventory quantity.

Profitability, cash flow and funding

Where the Cost of Goods Sold Calculator helps

Calculate cost of goods sold from beginning inventory, net purchases, and ending inventory.

Use the result to compare how operating performance, financing choices, or cash timing change under explicitly entered assumptions.

  • Reconcile a completed reporting period
  • Compare a base case with a downside scenario
  • Explain which entered driver changes the result

Interpretation check

How to audit the result

Recalculate the scenario when any of these inputs changes: Beginning inventory, Net purchases and production costs, and Ending inventory.

Keep this formula beside the result: COGS = beginning inventory + net purchases − ending inventory. Then compare the output with the source records and the calculator-specific assumption below.

  • Confirm that all amounts use one currency and reporting period.
  • Check that rates, counts, and quantities describe the same population or transaction set.
  • Save the entered assumptions with the decision; the result alone is not reproducible evidence.

Worked example

Worked example

Beginning inventory 20,000, purchases 80,000, and ending inventory 25,000 give COGS of 75,000.00.

COGS = beginning inventory + net purchases − ending inventory.

Supported inputs

Precision and limits

Visible input limits

Fixed decimals accept up to 30 digits and 12 decimal places and are capped at an absolute value of 1e12 per input. Rates are capped at 1000%; percentage shares and method-specific domains may be narrower.

International scope

No currency, tax jurisdiction, accounting framework, payroll rule, marketplace fee schedule, financing term, or industry benchmark is selected automatically.

Decision boundary

Use the result to compare how operating performance, financing choices, or cash timing change under explicitly entered assumptions. Results remain arithmetic scenarios, not accounting records, forecasts, valuations, legal interpretations, professional advice, or recommendations.

Calculator-specific assumptions

This is a scenario from visitor-entered values. Keep currencies, periods, accounting classifications, and operating definitions consistent. It is not accounting, tax, legal, investment, or business advice.