What the Cost of Goods Sold (COGS) Calculator does
The Cost of Goods Sold (COGS) Calculator works out COGS and goods available for sale from opening inventory, purchases and closing inventory. Profit margin, markup, break-even, ROI, payroll and other everyday business figures.
It runs in your browser and nothing you type is uploaded.
Before you start
You need 3 values and may add 1 optional one:
- Opening inventory: A number: zero or more.
- Purchases: A number: zero or more.
- Direct costs (freight, labour) (optional): A number: zero or more.
- Closing inventory: A number: zero or more.
Step by step
- Open the Cost of Goods Sold (COGS) Calculator.
- Enter Opening inventory.
- Enter Purchases.
- Enter Closing inventory.
- Add direct costs (freight, labour) if you want it included, or leave it empty.
- Press Calculate. Every field that needs fixing is listed next to it.
- Read the main result first, then the other lines. Open Formula and assumptions to see how it was worked out.
- Use Copy to keep the result, and add the calculator to your favourites if you use it often.
A worked example
With these sample values (they are only an illustration; use your own):
| Opening inventory | 10 |
|---|---|
| Purchases | 10 |
| Direct costs (freight, labour) (optional) | 100000 |
| Closing inventory | 10 |
the calculator gives:
| COGS | PKR 100,010.00 |
|---|---|
| Goods available for sale | PKR 100,020.00 |
Money is shown with PKR as the currency label (you can change it in the calculator settings). The example is the real output of this calculator.
Reading your result
The result lists: COGS and goods available for sale.
The formula it uses:
COGS = opening + purchases + direct costs − closing
- Periodic inventory method; the closing value is your own valuation.
Common mistakes
- Use the same units for every value.
- Type numbers without currency symbols; commas are fine.
- Optional fields can stay empty. Required fields cannot.
- Treat the result as an estimate: real quotes, rules and rounding can differ.