Does Every Work Order Make Money? How the System Shows You the Numbers
2026-10-27 06:13:34
Did this order make money once it was finished? Most small shops go by feel: the customer paid without fuss, material did not overrun, the work did not come back for rework, so it counts as profitable. But when the year-end accounts are done, there are always a few orders that lost money, and often more than expected. This article explains how the system calculates the cost of a work order, and where the calculation stops.

1. Work Order Cost Has Only Two Parts: Material and Labor
Let us get the structure clear first, so expectations are not misplaced.
A work order's cost in the system has only two blocks:
- Material cost (material_cost)
- Processing cost (processing_cost)
- plus a material loss factor (loss_factor, default 1.0)
- Total cost (total_cost) = material cost + processing cost
That is all. No outsourcing cost, no manufacturing overhead allocation, no equipment depreciation, no administrative cost. This is not a shortcoming but the positioning of the system: it calculates the direct cost of this order, not the full cost in an accounting sense.
Knowing where the boundary is keeps you from using this number as a profit statement.
2. How Material Cost Is Calculated: Volume Times Density Times Unit Price
The formula for material cost is plain:
Length (mm) x Width (mm) x Height (mm) x Density (g/cm3) x Unit price (RMB/kg) / 1,000,000 x Loss factor
One by one:
Dimensions come from the work order (length, width, height, in millimeters). These three numbers are not entered at random; they come from the product dimensions on the work order. If the dimensions are wrong the material cost is wrong, and it errs linearly: one size larger and the cost jumps by a step.
Density and unit price come from the material master. The system looks up the material linked to the work order: first it checks which material the work order names, and if it cannot find it, it fuzzy-matches the material text on the work order against the material library (for example, if the work order says 45#, a 45# round bar in the library will match).
The loss factor makes up the difference. Cutting stock produces saw kerf, chuck waste and test-cut scrap, so the material cost computed from volume comes out low, and this factor closes the gap. The default is 1.0, meaning no allowance at first; an honest approach sets it to 1.1, 1.2 or higher according to actual losses.
Here is a trap: if the material master has no density or unit price, or the work order has no dimensions, the material cost comes out as 0. The system does not raise an error; the field is simply blank. So the first time you use the cost feature, go and check whether those material records are complete.
3. How Processing Cost Is Calculated: Hours Times Rate
The processing cost formula is a sum:
Sum over each operation segment of (planned hours x rate of that segment x quantity factor)
Planned hours sit on the work order's operation list, in hours per piece. The rate comes from the operation definition (hourly_rate, RMB per hour). Multiplying the two gives the processing cost of one piece; multiplying again by the quantity factor gives the processing cost of the whole order.
The quantity factor is the most easily overlooked link. It depends on the shop's hour-counting setting:
- Per piece (per_piece): the quantity factor equals the work order quantity, giving the processing cost of the whole work order.
- Per order (total): the quantity factor is 1, giving the processing cost of the job as a whole, without multiplying by quantity.
Both settings are reasonable, depending on how the shop reports hours. But they must not be mixed: for the same work order, the two can differ by dozens of times. If a cost figure looks absurd, check this setting before checking the formula.
Note that this uses planned hours, not the actual hours that come out of reporting. The reason is simple: at quoting time there is only an estimate and no actual figure, and cost has to support quoting, so it uses the estimated version.
4. When to Recalculate: Change Something, Recalculate
A work order's cost is not calculated once and done. All of the following call for a recalculation:
- a change in quantity (under the per-piece setting the processing cost moves with it)
- operations added or removed, or planned hours adjusted
- a change of material, or a change in the density or unit price in the material master
- a change in the loss factor
The system offers a recalculate action that applies the formulas: it reads the current dimensions and material of the work order, reads the current planned hours and rates of the operation segments, computes again, and overwrites that work order's cost record.
The word overwrite matters: a recalculation does not add a record, it replaces the current values. So before recalculating, if the old numbers matter to you, for instance when negotiating change compensation with a customer, note them down first.
5. After the Calculation: What It Can and Cannot Answer
What it can answer: what this order's material is worth at standard, what the processing is worth at segment rates and planned hours, and the sum. Placed next to the order amount, it shows roughly how much this order earns.
What it cannot answer: whether this batch of material actually cost more than before, how much equipment depreciation this order absorbed, how much overhead was allocated to it, how much was paid out for outsourcing.
The last point deserves special note: outsourcing cost is not listed separately, but do not add it on top either. The planned hours and rate of the outsourced operation segment are already counted in processing cost, so the processing value of the outsourced work is already in the labor part; adding the outsourced reconciliation amount would count the same operation twice and inflate the cost. The purpose of the outsourced reconciliation amount is settlement, how much to pay and whether it was paid, not a second line in the cost calculation.
6. Putting It to Work: Three Actions
First, complete the material master. With density and unit price blank, material cost is zero. Skip this and everything after is wasted arithmetic.
Second, give every operation segment a sensible rate. It need not be exact, but it must exist: a segment with no rate counts processing cost as zero.
Third, recalculate after every work order change. Without it the cost remains the pre-change figure and the quotation will use the wrong number.
With those three done, work order costing is really running. Every new order can then be quoted against the actual cost of similar work orders, and quoting stops being guesswork.