Ask a factory owner what it costs to make one unit of their product, and you rarely get a single number straight away. That’s because total cost isn’t one lump sum – it’s built up in layers, with each layer adding a different category of expense to the one before it. Understanding this layered structure, from prime cost all the way to cost of sales, is one of the first practical skills you need in cost accounting, and it’s the backbone of every cost sheet you’ll ever prepare.
This buildup isn’t just an academic exercise. It tells a business exactly where its money is going – how much is spent on raw materials and labour, how much on running the factory, how much on administration, and how much on getting the product into a customer’s hands. Let’s walk through the ladder, step by step.
Table of Contents
- Why total cost is broken into stages
- Stage one: Prime cost
- Direct material
- Direct labour
- Direct expenses
- Stage two: From prime cost to works cost
- Stage three: From works cost to cost of production
- Stage four: From cost of production to cost of sales
- Putting it all together: A quick worked example
- Why this buildup matters for cost control
- Common mix-ups students should avoid
Why total cost is broken into stages
A single “total cost” figure tells you very little on its own. If a company’s costs rise this month, is it because raw material prices went up, or because the sales team spent more on advertising? Splitting total cost into stages – prime cost, works cost, cost of production, and cost of sales – lets managers pinpoint exactly which part of the business is driving the change.
According to study material published by IGNOU’s cost accounting unit, cost sheets exist precisely to present this information in a structured sequence, moving from the most direct, easily traceable costs to the broadest, most indirect ones. Each stage builds on the last, so nothing gets counted twice and nothing gets left out.
Stage one: Prime cost
Prime cost is the foundation of the entire structure. It includes only the costs that can be traced directly to a specific unit of product – no estimates, no allocations, no guesswork. Zoho Books describes prime cost as the aggregate of material consumed, wages paid, and direct expenses incurred, and notes it’s also known as basic cost, first cost, or flat cost.
Direct material
This is the raw material that physically becomes part of the finished product – cotton in a shirt, steel in a machine part, flour in a loaf of bread. To calculate material actually consumed in production, accountants adjust purchases for opening and closing stock:
Material consumed = Opening stock + Purchases − Closing stock
Direct labour
These are wages paid to workers who are directly engaged in converting raw material into the finished product – the machine operator, the tailor, the assembly-line worker. Wages of a supervisor or a security guard, by contrast, don’t qualify, since their work supports the factory as a whole rather than one specific unit.
Direct expenses
Beyond material and labour, some expenses can still be traced to a specific job or product, even though they aren’t material or wages. Royalty paid per unit produced, hire charges for a special tool used only on one order, or the cost of a design made exclusively for a particular product all fall under direct expenses.
Add these three together and you get prime cost:
Prime cost = Direct material + Direct labour + Direct expenses
Because prime cost tracks so closely with production volume, it’s the first place a business looks when checking whether raw material is being wasted or labour is running inefficient.
Stage two: From prime cost to works cost
Products aren’t made with direct inputs alone. A factory needs electricity, machine maintenance, depreciation on equipment, and supervisory staff – none of which can be pinned to one specific unit, yet all of which are essential to production. These are called factory overheads (also called works overheads), and adding them to prime cost gives works cost, sometimes called factory cost.
As explained in the Institute of Chartered Accountants of India’s costing study material, this stage typically includes items like depreciation of plant and machinery, factory rent, and repair and maintenance of factory buildings. Businesses also adjust for opening and closing work-in-progress at this point, since some units may still be partly finished at the start or end of the period.
Works cost = Prime cost + Factory overheads (+/− adjustment for work-in-progress)
This is where cost analysis starts getting interesting. Two factories making identical products with identical prime costs can still end up with very different works costs, simply because one runs older, less efficient machinery or carries a bloated maintenance bill.
Stage three: From works cost to cost of production
Once the product physically exists, the business still has to run its offices, pay administrative salaries, cover legal and audit fees, and maintain its head office. These are office and administrative overheads, and adding them to works cost gives cost of production.
Finance Strategists notes that this stage is also referred to as office cost or gross cost, since it captures the full cost of getting a product ready – manufactured and administratively supported – before it’s sold.
Cost of production = Works cost + Office and administrative overheads
At this point, businesses often make one more adjustment: accounting for opening and closing stock of finished goods, to arrive at the cost of goods sold. This ensures the cost sheet reflects only what was actually sold during the period, not what’s sitting unsold in the warehouse.
Stage four: From cost of production to cost of sales
A product sitting in a warehouse doesn’t sell itself. Getting it to a customer involves advertising, sales staff salaries, commission, packing, warehousing, and transportation. These are selling and distribution overheads, and adding them to the cost of goods sold gives the final figure: cost of sales, also called total cost.
Cost of sales = Cost of goods sold + Selling and distribution overheads
This is the number a business actually needs before it can price a product sensibly. Quote a price below cost of sales, and every unit sold loses money, no matter how efficient the factory floor is.
Putting it all together: A quick worked example
A worked example from an actual costing exam, prepared by the Institute of Cost Accountants of India, shows this buildup for an advertising agency: starting with a prime cost of ₹53,200, adding 40% production overhead brings it to a factory cost of ₹74,480, and adding 25% selling and distribution overhead results in a cost of sales of ₹93,100 – before profit is even added. Notice how each stage is simply the previous total plus one more category of expense.
| Stage | Formula |
|---|---|
| Prime cost | Direct material + Direct labour + Direct expenses |
| Works cost | Prime cost + Factory overheads |
| Cost of production | Works cost + Office and administrative overheads |
| Cost of sales | Cost of production (adjusted) + Selling and distribution overheads |
Why this buildup matters for cost control
Breaking total cost into these four layers isn’t just about arriving at a final number – it’s a diagnostic tool. If prime cost is climbing, the problem likely lies in raw material prices or labour productivity. If works cost is disproportionately high compared to prime cost, factory overhead allocation may need review. If cost of sales balloons despite a reasonable cost of production, the issue is probably in marketing spend or distribution inefficiency.
This is exactly why cost sheets remain a core tool for pricing decisions, cost comparison across periods, and preparing tenders and quotations. A business that only tracks total cost as one number loses the ability to diagnose where money is actually leaking.
Common mix-ups students should avoid
A few distinctions trip up students repeatedly. First, works cost and cost of production are not the same thing – works cost stops at factory overheads, while cost of production also includes office overheads. Second, cost of goods sold and cost of sales are different: cost of goods sold accounts only for the stock adjustment of finished goods, while cost of sales goes one step further by adding selling and distribution overheads. Third, factory overheads, office overheads, and selling and distribution overheads are three separate buckets, and mixing them up when preparing a cost sheet is one of the most common errors in exams.
What do you think? If a company’s cost of sales is rising faster than its cost of production, what does that suggest about where its inefficiencies might lie? And in a service business with no physical product, how would you adapt this same layered structure to build up its total cost?
References
- https://www.egyankosh.ac.in/bitstream/123456789/104840/1/Unit%2010.pdf
- https://www.zoho.com/books/academy/accounting-principles/cost-sheet.html
- https://resource.cdn.icai.org/66531bos53753-cp6.pdf
- https://www.financestrategists.com/accounting/cost-accounting/elements-and-components-of-cost/
- https://icmai.in/upload/Students/MQP_2022/Inter/A_MQP_Paper8_Set1_Dec24.pdf
Leave a Reply