Stock you were holding on day one — last period's closing figure.
Everything bought for resale in the period, at invoice value.
Stock still on the shelf at the end. It is taken back off — you have not sold it.
Sales after refunds and allowances. Needed for the gross profit line — leave it at zero for the cost figure alone.
Refine
Returns and discounts come off the purchases. Carriage inwards — freight and duty paid to get stock in — is added. Carriage outwards, what you pay to send goods to a customer, is a selling expense and does not belong here.
Loaded with an example. Type over any field.
Cost of goods sold
£46,480.00
Sales of £79,500.00 on £46,480.00 of stock leave £33,020.00 gross profit — 41.5% of sales
- Net purchases
- £46,530.00
- Goods available for sale
- £61,080.00
- Net sales
- £79,500.00
- Gross profit
- £33,020.00 · 41.5%
The working
- Net purchases: £48,750.00 − £1,280.00 − £940.00 = £46,530.00
- Goods available for sale: £12,400.00 + £46,530.00 + £2,150.00 = £61,080.00
- Cost of goods sold: £61,080.00 − £14,600.00 = £46,480.00
- Gross profit: £79,500.00 − £46,480.00 = £33,020.00
- Gross profit margin: £33,020.00 ÷ £79,500.00 = 41.5%
Gross profit only. Rent, wages, marketing and delivery to the customer all come off below this line. The margin calculator does the same arithmetic one item at a time.
The same money, three ways
Every bar below is drawn to the same scale, so you can compare their lengths directly. The dark block is the cost of goods sold — watch it appear twice, once as the part of your stock that sold and once as the part of your sales that was cost.
Where the stock came from
£61,080.00
Everything you had available to sell this period.
- Opening inventory£12,400.00
- Net purchases£46,530.00
- Carriage in£2,150.00
Where that stock went
£61,080.00
The same total, split between what sold and what did not.
- Sold — cost of goods sold£46,480.00
- Still on the shelf£14,600.00
What you sold it for
£79,500.00
The same cost block, now sitting inside your sales.
- Cost of goods sold£46,480.00
- Gross profit£33,020.00
Of every £1.00 that came in, £0.58 went on the goods themselves and £0.42 was gross profit — before rent, wages or anything else.
Cost of goods sold statement
calculatorpro.co
Your cost of goods sold statement
The standard format, filled in with the figures above. Amounts in brackets are taken away. Print it or export it and the working goes with it.
The period names the document. It changes no figure — it is there so the printed statement says which year it covers.
| Line | Code | Amount |
|---|---|---|
| Opening inventorythe stock you started with | OI | £12,400.00 |
| Add: Purchaseseverything you bought to sell | P | £48,750.00 |
| Less: Purchase returnsgoods you sent back | PR | (£1,280.00) |
| Less: Purchase discountsmoney the supplier knocked off | PD | (£940.00) |
| Net purchaseswhat the buying really cost | NP | £46,530.00 |
| Add: Direct expenses / carriage inwardsfreight and duty to get it in | DE | £2,150.00 |
| Cost of goods available for saleeverything you could have sold | COGAS | £61,080.00 |
| Less: Closing inventorycounted at the end, still unsold | CI | (£14,600.00) |
| Cost of goods soldwhat the goods you sold cost you | COGS | £46,480.00 |
| Net saleswhat your customers paid you | NS | £79,500.00 |
| Gross profitsales, less what the goods cost | GP | £33,020.00 |
The working
- Net purchases: £48,750.00 − £1,280.00 − £940.00 = £46,530.00
- Goods available for sale: £12,400.00 + £46,530.00 + £2,150.00 = £61,080.00
- Cost of goods sold: £61,080.00 − £14,600.00 = £46,480.00
- Gross profit: £79,500.00 − £46,480.00 = £33,020.00
- Gross profit margin: £33,020.00 ÷ £79,500.00 = 41.5%
The formulas, at a glance
Six lines. Each one feeds the next, which is why the order matters more than any single step.
- Net purchases
- NP = P − PR − PD
- Cost of goods available for sale
- COGAS = OI + NP + DE
- Cost of goods sold
- COGS = COGAS − CI
- Cost of goods sold, in full
- COGS = OI + P − PR − PD + DE − CI
- Gross profit
- GP = Net sales − COGS
- Gross profit margin
- GP % = GP ÷ Net sales × 100
OI opening inventory · P purchases · PR purchase returns · PD purchase discounts · NP net purchases · DE direct expenses · COGAS cost of goods available for sale · CI closing inventory · COGS cost of goods sold
Check this before you rely on it. A free everyday calculator, provided as a guide — not tax, accounting, financial or legal advice. The working is shown above so you can verify it against your own figures. See our terms of use.