Short answer: product cost = direct materials + direct labour + manufacturing overhead (indirect costs) allocated to the product; unit cost is that sum divided by the quantity produced. Most mistakes happen in the third part: the base you use to allocate overhead noticeably changes the cost of every product.
Below you will find what is and is not included in production cost, the core formulas, costing methods, a full numerical example with two different allocation bases, and a way to calculate cost automatically. The examples are for a manufacturing company, but the logic fits any industry.
How is product cost calculated?
Cost accounting has four layers:
| Layer | Formula | Why you need it |
|---|---|---|
| Direct cost | Materials + direct labour | Costs that can be clearly "tied" to a product |
| Production cost | Direct cost + allocated manufacturing overhead | Inventory valuation and product profitability |
| Full cost (management accounting) | Production cost + allocated period expenses (selling, administration) | Pricing and strategic decisions |
| Unit cost | Total cost ÷ quantity produced | Cost per piece, kg or metre |
Core formula:
Unit cost = (Materials + Labour + Allocated overhead) ÷ Quantity
The material part is calculated with the consumption standard:
Materials = Consumption standard × (1 + process waste %) × Price − Value of recoverable waste
Step-by-step calculation (HowTo)
- Write the product recipe (BoM). Every raw material, semi-finished product and packaging item, with its standard quantity per unit of product.
- Determine the material price. Using your inventory valuation method (FIFO, average or standard price — details below).
- Calculate direct labour. Piece rate, or operation time × hourly rate (including mandatory payroll contributions).
- Collect overhead costs. Workshop depreciation, electricity, repairs, workshop management salaries and so on — per month.
- Choose an allocation base. Machine hours, labour hours, direct wages or production volume.
- Calculate the rate and allocate. Rate = total overhead ÷ total base; to a product = rate × the product's share of the base.
- Work out unit cost and compare it with actual. The difference between planned (standard) and actual cost is the most useful management information.
What costs are included in production cost?
In Uzbekistan, the composition of costs included in production cost is set out in the Regulation approved by Cabinet of Ministers Resolution No. 54 of 5 February 1999 [1]. According to the Regulation, production cost includes costs directly related to manufacturing the product and to the technology and organisation of production, grouped into the following elements [1]:
| Element (per the Regulation) | Examples |
|---|---|
| Production material costs (less the value of recoverable waste) | Raw materials, materials, semi-finished products, packaging, process fuel and energy |
| Production labour costs | Piece-rate and time-based wages of workers, additional payments |
| Social insurance contributions related to production | Mandatory contributions charged on production staff wages |
| Depreciation of production fixed assets and intangible assets | Machines, lines, workshop building |
| Other production-related costs | Repairs, workshop services, occupational safety |
Not included in cost — period expenses. The Regulation puts costs not directly related to the production process into a separate group: administrative expenses, selling expenses and other general business expenses [1]. For example, the director's salary, office rent, advertising and delivery are recorded as period expenses, not as production cost.
The Regulation is listed on lex.uz as a document in force, but it was amended many times between 2003 and 2022 and some of its clauses are no longer valid [1]. So check the current version of the Regulation and your company's accounting policy with your accountant.
Direct and indirect costs
- Direct — charged to a specific product: the fabric used for this model, the polymer used for this batch, the piece rate for this operation.
- Indirect (overhead) — shared by several products: workshop electricity, machine depreciation, the foreman's salary. They reach a product only through allocation.
Variable and fixed costs
- Variable — change with volume (raw materials, piece-rate wages, process energy).
- Fixed — almost the same every month regardless of volume (rent, depreciation, management salaries).
This split is needed for pricing and for calculating the break-even point:
Break-even point (units) = Fixed costs ÷ (Price − Variable cost per unit)
Illustrative example: the product price is 10 500 UZS, the variable cost per unit is 7 200 UZS, and the fixed costs attributable to this product are 12 000 000 UZS per month. Break-even point = 12 000 000 ÷ (10 500 − 7 200) = 3 636.4 → at least 3 637 units per month.
What costing methods are there?
| Method | How it works | Who it suits |
|---|---|---|
| Job-order costing (позаказный) | Costs are collected for each order or batch | Furniture, metal structures, made-to-order sewing, printing houses |
| Process or stage costing (попередельный) | The cost of each stage passes to the next: spinning → weaving → dyeing | Textiles, food, chemicals, building materials |
| Standard costing | Standard cost is calculated in advance, then deviations from actual are analysed | Serial production, stable recipes |
| Activity-based costing (ABC) | Overhead is allocated by activities (setup, quality control, logistics) | Companies with a wide product range and a high share of overhead |
In practice, methods are combined: for example, in stage-based production, standard cost is kept within each stage and compared with actual at month end.
How to value materials in the warehouse
The material price is not always the same: say one batch arrived at 22 000 UZS and the next at 24 000 UZS. Which price goes into cost depends on the valuation method. The Odoo 19 documentation describes three methods [2]:
| Method | Logic | Note |
|---|---|---|
| Standard price | A fixed unit price, updated manually | Convenient for standard costing; differences are analysed separately |
| Average cost (AVCO) | Weighted average price of all units | Often used for raw materials whose price changes frequently |
| FIFO | First in, first out | Close to the actual batch price |
The Odoo documentation stresses that LIFO can only be used as a picking order in the warehouse, not as a valuation method, and that LIFO is not permitted under IFRS [2]. Which method is used is set in the company's accounting policy.
How are indirect costs allocated to products?
To allocate indirect costs, you choose a base — the indicator that best "drives" the overhead:
| Base | When it fits |
|---|---|
| Machine hours | Overhead depends mainly on equipment (depreciation, electricity, repairs) — automated workshops |
| Labour hours | Lots of manual work — sewing, assembly |
| Direct wages | Data is easy to collect, but it can understate the cost of automated products |
| Production volume (pieces, kg, m) | Similar products, same technology |
| Material value | Overhead depends mainly on handling raw materials (warehouse, receiving) |
Practical example: one workshop, two products, two bases
Illustrative example: a plastic container workshop made two products in one month.
Step 1. Materials (product A, one piece). Polymer standard 0.25 kg, process waste 4% → 0.26 kg × 22 000 UZS = 5 720 UZS. Recoverable waste (ground and reused) of 0.01 kg × 8 000 = 80 UZS is deducted. Dye and additives — 360 UZS. Total materials: 5 720 − 80 + 360 = 6 000 UZS. The same calculation for product B gave 11 000 UZS.
Step 2. Direct costs.
| A (5 litres) | B (10 litres) | Total | |
|---|---|---|---|
| Produced | 10 000 pcs | 4 000 pcs | — |
| Materials, per piece | 6 000 | 11 000 | — |
| Materials, total | 60 000 000 | 44 000 000 | 104 000 000 |
| Piece-rate wages (with contributions), per piece | 1 200 | 2 000 | — |
| Piece-rate wages, total | 12 000 000 | 8 000 000 | 20 000 000 |
| Machine hours, per piece | 0.03 | 0.075 | — |
| Machine hours, total | 300 | 300 | 600 |
Step 3. Overhead (per month). Depreciation 9 000 000 + workshop electricity 7 000 000 + workshop management and technical staff 6 000 000 + repairs 2 000 000 = 24 000 000 UZS.
Step 4. Allocation with two bases.
| Base: machine hours | Base: direct wages | |
|---|---|---|
| Rate | 24 000 000 ÷ 600 = 40 000 UZS per machine hour | 24 000 000 ÷ 20 000 000 = 1.2 UZS per 1 UZS of wages |
| Allocated to A | 300 × 40 000 = 12 000 000 → 1 200 UZS/pc | 12 000 000 × 1.2 = 14 400 000 → 1 440 UZS/pc |
| Allocated to B | 300 × 40 000 = 12 000 000 → 3 000 UZS/pc | 8 000 000 × 1.2 = 9 600 000 → 2 400 UZS/pc |
Step 5. Unit cost.
| Machine-hour base | Wage base | Difference | |
|---|---|---|---|
| A, per piece | 6 000 + 1 200 + 1 200 = 8 400 | 6 000 + 1 200 + 1 440 = 8 640 | 240 UZS |
| B, per piece | 11 000 + 2 000 + 3 000 = 16 000 | 11 000 + 2 000 + 2 400 = 15 400 | 600 UZS |
| Check: total | 84 000 000 + 64 000 000 = 148 000 000 | 86 400 000 + 61 600 000 = 148 000 000 | 0 |
Total cost is the same in both cases — 148 million UZS (104 + 20 + 24). But the split between products is different: on the wage base, B looks 600 UZS cheaper. B takes more equipment time, and overhead depends mainly on equipment — so for this workshop the machine-hour base is closer to reality. If you price from the wage-base cost, you may sell B too cheaply and overcharge for A.
Stage-based production: how cost moves along the chain
In textiles, the output of each stage is the raw material of the next. Illustrative example:
| Stage | Input | Stage costs | Output cost |
|---|---|---|---|
| Spinning | Cotton fibre | Labour + overhead | 1 kg of yarn = 30 000 UZS |
| Weaving | 0.12 kg of yarn × 30 000 = 3 600 UZS | Labour 700 + overhead 900 | 1 m of greige fabric = 5 200 UZS |
If the cost in spinning is calculated wrongly, the error passes to weaving, and from there to dyeing and sewing. That is why in stage-based production the cost of each stage must be closed separately and on time. More on the textile chain: ERP for a textile company and the transformation chain from cotton to finished product.
Can production cost be calculated automatically?
Yes. In an ERP, cost is calculated for every manufacturing order, because material consumption, operation time and prices are in one database. Using Odoo as an example (per the official Odoo 19 documentation):
- Planned and actual cost. Odoo Manufacturing shows the expected cost according to the recipe and the actual cost separately for each manufacturing order (MO); the difference appears because an operation took longer, more material was consumed or a price changed [3].
- Material price. The component price is calculated automatically from the average purchase price on purchase orders [3].
- Work centre and employee cost. An hourly operating cost is entered for the work centre: operation duration × hourly cost is added to the MO cost [3]. The documentation also describes an employee's individual hourly cost, but this part is not visible in Odoo's open-source (Community) code — it depends on the edition; we clarify it during analysis [3][5].
- Inventory valuation. Standard, average and FIFO methods [2].
- Additional costs (landed costs). A feature for adding costs such as delivery, insurance and customs duties to product valuation; for this, the AVCO or FIFO method must be selected in the product category [4].
The main cost modules — mrp_account, stock_account and stock_landed_costs — are in Odoo's open-source 19.0 (Community) repository [5]. Full accounting (the Accounting app and financial reports), however, is in Enterprise according to Odoo's editions table; Community only has Invoicing [8]. So which part of cost entries and reports works in which edition depends on the edition; we determine this at the analysis stage. Allocating overhead on a non-standard base, or closing stage costs according to the company's own logic, is often done through a custom module. Solutions for manufacturing: ERP for manufacturing. If material stock and movements are not recorded correctly, cost will be wrong too: warehouse accounting software.
What mistakes are common in cost accounting?
- Allocating overhead "by eye". If no base is chosen, or it stays unchanged for years, product profitability gets distorted (the 600 UZS difference in the example above).
- Ignoring waste and defects. If the standard has no process waste, actual material consumption shows up every month as an "unexplained" shortage.
- Adding period expenses to production cost. If the director's salary or advertising goes into cost, inventory valuation and product profitability will be wrong [1].
- Calculating at old prices. The raw material price has changed, but the recipe card still shows the price from six months ago.
- Looking only at planned cost. Without comparing with actual, you cannot see which workshop or operation is overspending.
- Closing stages in isolation. In stage-based production, if one stage is late, the cost of the following stages becomes an estimate.
- Including the customer's material in cost. Under a tolling scheme (working with the customer's raw material), the material supplied by the customer is not your property — only processing costs go into cost.
Real example: Shodlik Textile
Shodlik Textile is a full-cycle cluster made up of 15 cotton collection points, 2 ginning plants, 2 oil plants, and an Open-End spinning and weaving mill (poplin, calico, satin) [6]; annual turnover is over $70M, with 1 000+ employees [7]. Empire Group brought the cluster's production, warehouse, purchasing, sales, finance, HR and maintenance processes into a single system on Odoo 19 Enterprise: 28 custom modules, more than 10 equipment integrations (industrial scales, machine telemetry, Face-ID turnstiles), project duration 6 months [7].
From a costing point of view, the point of this example is: when weight from the scales and running time from the machines go straight into the system rather than through a person, material consumption and machine hours — the main inputs of the formulas above — are not collected by hand.
Frequently asked questions
Is the director's salary included in production cost?
Under Regulation No. 54, administrative expenses are period expenses, not production cost [1]. In management accounting, when calculating "full cost", it can be allocated separately.
Which base is best for overhead?
Whatever the overhead depends on most: equipment — machine hours; manual work — labour hours. If overhead types differ, you can use several bases (for example, electricity — machine hours, warehouse costs — material value).
How often should cost be recalculated?
Actual cost is usually closed every month. Update planned cost when the raw material price or the recipe changes.
What does the difference between planned and actual cost show?
Excess material consumption, an operation taking longer, or a price change. Analysing this difference by workshop and by product is one of the most useful management reports.
Can cost be calculated in Excel?
With one or two products and stable prices — yes. As the product range, stages and raw material price changes grow, Excel needs manual updating and the risk of errors increases.
How much does it cost to implement a costing system in an ERP?
The price depends on project scope — an exact figure after analysis. The Odoo Enterprise licence is paid separately; its price depends on the number of users and the plan — current pricing: odoo.com/pricing. More: Odoo ERP pricing.
Free consultation
Let's find together where your cost is "getting lost". In a free consultation we review your recipes, overhead and allocation base, and tell you openly what is needed to calculate cost automatically: ERP for manufacturing.
Sources
- Resolution of the Cabinet of Ministers of the Republic of Uzbekistan No. 54 of 05.02.1999 — Regulation on the composition of costs of production and sale of products (works, services) and the procedure for forming financial results (Uzbek text): https://lex.uz/docs/-264422
- Odoo 19 documentation — Valuation cheat sheet (Standard, AVCO, FIFO): https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/inventory/inventory_valuation/cheat_sheet.html
- Odoo 19 documentation — Manufacturing order costs: https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/manufacturing/basic_setup/mo_costs.html
- Odoo 19 documentation — Landed costs: https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/inventory/inventory_valuation/landed_costs.html
- Odoo source code, 19.0 (Community) — module manifests: https://raw.githubusercontent.com/odoo/odoo/19.0/addons/mrp_account/__manifest__.py, https://raw.githubusercontent.com/odoo/odoo/19.0/addons/stock_account/__manifest__.py, https://raw.githubusercontent.com/odoo/odoo/19.0/addons/stock_landed_costs/__manifest__.py
- Shodlik Textile — about the company: https://shodliktextile.uz/kompaniya.html
- Empire Group — Shodlik Textile case study: https://empiregroup.uz/keyslar/shodlik-textile
- Odoo — Community and Enterprise editions comparison (as of 2026-10-16): https://www.odoo.com/page/editions