Manufacturing accounting is ordinary accounting with one extra problem: what you buy is not what you sell. A shop buys a candle for €9 and sells that same candle. A workshop buys wax, wicks and jars, spends hours on them, and sells something that did not exist before. The accounting has to follow the money through that change, and that is all the special vocabulary is for. This page walks through it for a small manufacturer, on one set of numbers.

The short version

1. Direct materials used
= opening raw materials + purchases - closing raw materials

2. Total manufacturing cost
= direct materials used + direct labour + manufacturing overhead

3. Cost of goods manufactured
= opening work in progress + total manufacturing cost - closing work in progress

4. Cost of goods sold
= opening finished goods + cost of goods manufactured - closing finished goods

Four lines, each feeding the next. Everything else in manufacturing accounting is about getting the inputs to those four lines right.

The three inventories

A retailer has one kind of stock. A manufacturer has three, and a cost sits in exactly one of them at any moment:

Money spent on production is not an expense yet. It is stock, and it moves from one of these to the next. It becomes an expense, cost of goods sold, only on the day the finished product is sold. That single rule is the main difference between manufacturing accounting and writing down what you spent.

One month, start to finish

A candle workshop in March. It made 1,200 candles.

LineMarch
Raw materials on the shelf, 1 March€4,200
Raw materials bought in March+ €6,800
Raw materials on the shelf, 31 March- €3,500
1. Direct materials used€7,500
Direct labour (130 hours at €18)+ €2,340
Manufacturing overhead (rent share, power, equipment)+ €1,560
2. Total manufacturing cost€11,400
Work in progress, 1 March and 31 March€0
3. Cost of goods manufactured€11,400
Finished candles in stock, 1 March+ €3,000
Finished candles in stock, 31 March- €4,200
4. Cost of goods sold€10,200

The workshop spent €6,800 on materials, made €11,400 of candles and sold €10,200 worth. Three different numbers, all correct, and only the last one belongs in March's profit. The same figures are taken apart formula by formula in the product cost formula guide, which also has a calculator for cost per unit, margin and markup.

Work in progress inventory, and how to calculate it

In the table above, work in progress is zero at both ends of the month, which is common in a small workshop: batches start and finish inside the period. When that is not true, you need a figure for what is half-made on the last day.

closing work in progress
= opening work in progress + total manufacturing cost - cost of goods manufactured

In practice you do it the other way round. On the last day you list every unfinished batch and add up what has gone into it so far: the materials issued to it and the labour already spent. That sum is closing work in progress, and formula 3 then gives you cost of goods manufactured.

Suppose 100 candles had been poured on 31 March but not yet finished, with €600 of wax, jars and labour in them. Closing work in progress is €600, so cost of goods manufactured is €11,400 - €600 = €10,800. The €600 is not lost and not an expense. It is stock, and it joins April's production.

FIFO vs weighted average: which price does material leave at?

Formula 1 hides a decision. If you bought the same wax three times at three prices, which price does the wax you used carry? There are two common answers, and both are accepted under IFRS and US GAAP.

FIFO (first in, first out) assumes the oldest purchase is used first. The weighted average inventory method pools everything and uses one average price:

weighted average cost per unit
= total cost of units available ÷ total units available

The workshop bought wax three times and used 180 kg:

PurchaseQuantityPrice per kgCost
January100 kg€6.00€600
February100 kg€6.60€660
March100 kg€7.20€720
Available300 kg€1,980
FIFO
used = 100 × 6.00 + 80 × 6.60 = €1,128
left on the shelf = 20 × 6.60 + 100 × 7.20 = €852

Weighted average
average = 1,980 ÷ 300 = €6.60 per kg
used = 180 × 6.60 = €1,188
left on the shelf = 120 × 6.60 = €792

Same wax, same invoices, €60 apart. When prices rise, FIFO shows a lower cost today and a higher stock value; weighted average smooths the rise across everything. Neither is more true. What matters is that you pick one and keep it, because switching between them moves your profit without anything happening in the workshop. LIFO, the third method you may read about, is not permitted under IFRS.

FIFO vs weighted average calculator

Put in your own purchases of one material and how much of it you used. The sums run in your browser; nothing is sent anywhere.

Quantity boughtPrice per unit
FIFO: cost of material used-
FIFO: value left on the shelf-
Weighted average: cost of material used-
Weighted average: value left on the shelf-
Weighted average cost per unit-
Difference in cost between the two-

Enter purchases oldest first. The weighted average here is the periodic one: a single average over everything available in the period.

Job order costing or process costing?

These are two ways of attaching cost to units, and the choice follows from how you produce.

Job order costing collects cost per job: one order, one batch, one custom piece. You know what went into that batch and divide by what came out of it. Process costing is for continuous production of identical units, where cost is averaged over a period rather than traced to a batch.

A small workshop that makes things in batches is doing job order costing whether it uses the name or not. One batch of 200 candles from the March example:

materials €1,250 + labour €390 + overhead €260 = €1,900
€1,900 ÷ 200 candles = €9.50 per candle

The value of costing by batch is that a bad batch shows up. If one run of 200 loses 30 candles to a failed pour, its cost per good candle is €11.18, and an average over the month would have hidden it.

A month-end routine that fits a small workshop

Three mistakes that distort the result

Treating purchases as this month's cost

Buying a year of jars in March does not make March a bad month. Until the jars are in a candle that has been sold, they are stock.

Ignoring scrap

A failed batch used real materials and real hours. If it is left out, cost per unit looks better than it is by exactly your scrap rate.

Changing the method midway

Moving between FIFO and weighted average, or changing how overhead is shared out, changes profit on paper. Decide once and write the decision down.

Where Masto Control fits

Masto Control is the stock and costing side of this, not the bookkeeping side. Every purchase is kept as its own batch at the price you actually paid, delivery included, and material leaves the oldest batch first. The method is FIFO and only FIFO; there is no weighted average setting.

A production run can be started, released in parts as units are finished, and closed, with spoiled units written off as scrap that appears as its own line in the profit report. While a run is in progress the cost sitting in it is shown on the run.

The reports cover the lines above: cost of goods sold for a period, margin per product, profit and loss, inventory valuation today or as of a past date, a purchase ledger, a fixed asset register with depreciation, and what you owe suppliers. All of them export to Excel.

What it does not do: it has no general ledger and no double-entry bookkeeping, and it does not file tax returns. It produces the stock and cost figures your accountant or your bookkeeping software needs, and those are usually the figures a manufacturer finds hardest to get.