Mestric logo

Sharing is caring

Learn with us! We want to give you an easy-to-follow guide to manufacturing processes and show you the best optimization process.
Section dividerSection divider
Planner compares work order records with components
October 28, 2026

Work order cost calculation in manufacturing

The cost of a work order (obračun stroška delovnega naloga) is the sum of everything a production order consumed: material, labour, machine time, tooling and a share of production overhead. You calculate it twice. Once before production, from norms, and once after, from what was really booked. The gap between the two is where you find out whether your prices, norms and processes are right.

This guide shows what goes into the calculation, how to build it step by step, which Slovenian accounting rules sit behind it, and how to stop collecting the data by hand.

Mestric
Know Your Actual Production Costs
Mestric connects with manufacturing equipment to track performance, downtime, quality parameters and cost analysis in real time.

Explore Mestric

TL;DR

  • A work order cost has two versions: the pre-calculation (predkalkulacija) from norms and the post-calculation (pokalkulacija) from actual consumption.
  • The cost covers direct material, direct labour, direct services, depreciation, and variable and fixed production overheads.
  • Accuracy depends on clean data: a bill of materials, routings, real operation times, scrap and downtime booked against the order.
  • In Slovenia, valuing production output follows the Slovenian Accounting Standards, in particular SRS 4 on inventories.
  • Automatic data collection from machines removes most manual entry, so the actual cost is ready when the order closes.

Table of Contents

What a work order cost includes

A work order is the instruction to produce a defined quantity of a product. Its cost is every euro that can be traced to that quantity. A 2011 University of Ljubljana analysis of Slovenian accounting practice lists the elements of the full production cost (zožena lastna cena) as:

  • direct material costs,
  • direct labour costs,
  • direct service costs,
  • direct depreciation costs,
  • variable indirect production costs,
  • fixed indirect production costs.

In practice, a plant manager groups them into four blocks:

Block Typical content Where the data comes from
Material Raw material, components, packaging, planned scrap Bill of materials, material issues, goods receipts
Labour Setup time and run time of operators Operation confirmations, time records
Machine Machine hours, depreciation, energy, maintenance Machine counters, machine hour rates
Overhead Supervision, quality control, tooling wear, building costs Cost accounting, allocation keys

Selling and general administration costs are normally not part of this. The 2024 Slovenian Accounting Standards say production costs of finished goods and work in progress cover production costs and only in exceptional cases other costs needed to bring stock to its present location and condition. You can read the wording in the SRS 2024 text. Your accountant decides the exact treatment, but the work order should be structured so that the split is visible.

Pre-calculation and post-calculation

A single number is rarely enough. A useful work order cost has two layers.

Pre-calculation (predkalkulacija). You build it before production from norms: how much material the bill of materials calls for, how many minutes each routing operation should take, which machine rate applies. It supports quotes, pricing and planning.

Post-calculation (pokalkulacija). You build it after production from what was actually consumed and how long operations actually ran. It values the output and shows what the order really cost.

University of Ljubljana research on managerial costing explains the logic: standard costs support planning and pricing, while comparison with actual historical costs reveals deviations that you can control and act on. If you only calculate after the fact, you learn about a loss when the goods are already shipped. If you only calculate before, you never test your norms.

Pre-calculation and post-calculation — overview diagram

Step-by-step: how to calculate the cost of a work order

1. Fix the norms

Start with a correct bill of materials and routing. The bill of materials gives the quantity of each component per unit, including planned scrap. The routing lists operations, work centres, setup time and run time per unit. If these are outdated, every later number is wrong, however good your software is. Our guide to process norm optimisation from live data explains how to update norms from measured times instead of guesswork.

2. Price the inputs

Assign a price to each material (average, FIFO or standard price, according to your accounting policy) and an hourly rate to each work centre and worker category. Machine rates should contain depreciation, energy and maintenance. Keep a record of the date and basis of every rate, because auditors and your own controllers will ask.

3. Build the pre-calculation

Multiply norms by prices. Add overhead using the allocation key your company has chosen, such as a percentage of direct labour or a rate per machine hour. Divide by the planned quantity to get the unit cost.

4. Record what really happens

While the order runs, book:

  • material issued to the order and material returned,
  • scrap and rework,
  • actual setup and run time per operation,
  • machine downtime and its reason,
  • quantity produced and quantity accepted by quality control.

5. Build the post-calculation

Value the real consumption at the same prices, add overhead on the real hours, and divide by the good quantity. Note the denominator: scrapped units still cost money, so the cost per good piece is higher than the cost per piece started.

6. Compare and explain the variances

Split the difference into material variance (quantity and price), labour and machine variance (time and rate), and volume variance (planned versus produced). Each variance should have an owner and a cause, otherwise the report is only a number.

Worked example

Worked example — overview diagram

The figures below are invented to show the mechanics. They are not benchmarks.

A work order for 1,000 aluminium housings:

Item Planned Actual
Material 1,050 kg at 3.20 € = 3,360 € 1,130 kg at 3.20 € = 3,616 €
Machine time 40 h at 55 € = 2,200 € 46 h at 55 € = 2,530 €
Labour 50 h at 22 € = 1,100 € 55 h at 22 € = 1,210 €
Overhead (60 % of labour) 660 € 726 €
Total 7,320 € 8,082 €
Good units 1,000 960
Cost per good unit 7.32 € 8.42 €

The order cost 762 € more than planned, but the cost per good unit rose by 1.10 €, about 15 %, because 40 units were rejected. A report showing only the total would hide that. The variance analysis points to three questions: why did 80 kg more material go in, why did the machine run six extra hours, and why did 4 % of units fail inspection? The answers might be a worn tool, a long changeover or an unstable setting. Each has a different fix.

Slovenian accounting context

Work order costs feed directly into the value of inventories, so they are not only an internal matter. The 2024 Slovenian Accounting Standards, mainly SRS 4 on inventories, determine how production costs are capitalised into finished goods and work in progress or recognised as expenses of the period. The standards are published in the official SRS 2024 e-book.

The academic analysis cited earlier also describes that stock can be valued at production cost in the broader sense (full) or in the narrower sense (variable), and notes that the chosen method significantly affects reported profitability. So agree the method with your finance team before you design the work order structure. Changing it later makes year-on-year comparison difficult.

If you want a broader theoretical grounding in direct and overhead costs and in job-order versus process costing, the University of Ljubljana cost accounting course covers exactly those topics.

What data you need to get the number right

The formula is simple. The data is the hard part. For each work order you need:

  • Norms: bill of materials and routing with setup and run times.
  • Material movements: reservations, issues, returns and receipts of finished goods.
  • Operation records: start, end, operator, work centre, quantity good and scrap.
  • Downtime records: duration and reason, ideally recorded by the machine itself.
  • Traceability: which material batch went into which product, so a quality complaint can be linked to its real cost.
  • Status: open, in progress, finished, closed. A cost calculated on an order that is not closed is a forecast, not a result.

Typical failures are late booking at the end of the shift, rounding times to the nearest hour, forgetting returns of unused material, and recording downtime as run time. Each pushes cost to the wrong order and makes your norms look better than they are.

Common mistakes in work order costing

  1. Using the same norms for years. Real times drift as tools wear and products change.
  2. Spreading overhead evenly. A simple loaded labour percentage can make a machine-intensive product look cheaper than it is.
  3. Ignoring scrap in the denominator. Always divide by good units.
  4. Mixing work in progress with finished goods. Open orders need their own valuation. See how to get real-time WIP visibility on one pilot line.
  5. Not costing downtime. Stoppages are a cost of the order that was running. Use a defensible per-hour downtime cost to make it visible.
  6. Looking at totals only. Analyse by cost type, by operation and by shift. Our cost analysis guide for factories and the examples of cost analysis in production show how.

How to make cost tracking faster and more accurate

Three measures give most of the benefit.

Reuse norms. For repeated or similar orders, copy an existing bill of materials and routing and change only what differs. This cuts repeated manual typing and the errors that come with it.

Monitor production by operation. When you confirm operations, not just the whole order, the calculation can include work already completed and not only material consumed. That matters for orders that run for days or weeks.

Compare planned and actual on one screen. Reports that line up planned and consumed material, planned and actual operation time and downtime, and planned and produced quantity, together with order status, let supervisors act while the order is still running. Getting there requires data that is captured, not retyped. The guide to managing production in real time describes the setup.

Where an MES fits

An ERP system holds the norms, prices and the financial result. It usually does not know what happened on the machine minute by minute. A Manufacturing Execution System closes that gap: it connects to the equipment, records run time, stoppages, quantities and quality results per work order, and passes them on for costing. You can see how the layers differ in our overview of types of manufacturing software and in MES versus traditional manufacturing.

With automated data collection, three things change for costing:

  • machine hours and downtime are exact, not estimated at the end of the shift,
  • scrap is tied to the order and operation where it happened,
  • the post-calculation is ready when the order closes, not a week later.

The Mestric™ MES connects directly to production equipment and shows KPIs such as performance, downtime, quality parameters and cost analysis in one view, with AI-supported recommendations for process optimisation. You can also see it working on connected machines at our demonstration centre. If you are still weighing budget, read what an MES costs in Slovenia, and if you are ready to start, choose an MES and run a pilot in 8 weeks.

Our perspective

Most plants we speak to do not have a costing problem. They have a data timing problem. The formula for a work order cost fits on one page, and the finance team already knows it. What fails is the input: times written on paper at the end of a shift, downtime without a reason, scrap counted next day.

So we suggest starting small. Pick one line and one product family. Measure real operation times and downtime for a few weeks. Compare them to your norms. In nearly every case, a few norms turn out to be clearly off, and correcting those gives a more accurate cost than any new allocation formula.

Only then extend the approach to the whole plant. A calculation that supervisors can see during the order, not after it, changes behaviour. That is what we built Mestric™ for: to make the actual cost a by-product of production, not a monthly reconstruction.

— Andraž

FAQ

What is the difference between pre-calculation and post-calculation of a work order?

Pre-calculation estimates the cost from norms before production, and you use it for quotes and planning. Post-calculation values what was actually consumed once the order is done. Comparing them shows whether your norms and prices match reality.

Which costs belong in the cost of a work order?

Direct material, direct labour, direct services, direct depreciation, and variable and fixed production overheads. Selling and general administration costs are normally left out, and only exceptional non-production costs may be included under the Slovenian Accounting Standards. Confirm the treatment with your accountant.

How do I treat scrap in the cost per unit?

Include all costs of the order, scrapped units included, and divide by the good units only. This gives the true cost per sellable piece. Record scrap by operation so you can see where the loss starts.

Can I calculate work order costs in a spreadsheet?

Yes, for a small number of orders with simple routings. It becomes unreliable when times and quantities are typed in by hand across shifts. Once you run many orders in parallel, automatic capture from machines saves time and reduces errors.

Sources


crossmenu