How to Compute Work Order Cost in a Machining Shop: Why Outsourcing Fees Must Not Be Added In
2026-10-31 14:54:42

A shop making precision parts added its outsourcing reconciliation amounts into work order costs last year — and kept doing it for most of the year. Once added, something looked off: plenty of orders that year, yet book margin stayed stubbornly low, with some orders even losing money.
The owner assumed quoting was too low and raised prices by ten percent. Two old customers left immediately after — each with one sentence: "You're quite a bit pricier than last year."
Later they found the problem wasn't the price — it was the cost. They re-examined the outsourcing fees: the outsourced operation's planned hours had already been costed into machining fees at the section rate, and then the reconciliation amount was added again — the same operation counted twice. Cost inflated, margin deflated, and then the deflated margin guided price increases, which is where the trouble started.
The scary part of this mistake isn't that it's hard to avoid — it's that it feels so natural: "The money I pay the outsourcing shop is obviously a cost." Logically fine; the error is that it's already been counted once.
I. First Separate Two Sums of Money: Cost and Payable
Work order cost answers the question: does this order make me money?
Outsourcing payable answers the question: how much do I owe the outsourcing shop for this order?
These are two different questions serving two different scenarios. The former judges single-order profit and loss and guides quoting; the latter handles settlement, payment, and reconciliation. They may reference each other, but they cannot be added together.
The classic symptom of mixing them is exactly that shop above: implausibly low margins, yet no way to say where the money was lost. Because the cost contains a sum that shouldn't be there.
The opposite error also exists: some shops, chasing "nicer-looking costs," record no outsourcing fees at all — cost covers only material and their own labor. The margin this produces is inflated; you think you earn a lot when quoting, and only after settling the outsourcing bills discover how thin it really is.
Both errors run in opposite directions but share one root: failing to keep the "cost" and "payable" pockets separate.
II. The Material Sum Is Computed, Not Typed In
First clarify the two halves of cost, and then it's clear why outsourcing fees can't squeeze in.
Material cost isn't a hand-filled number — it has a formula: length × width × height × density × unit price ÷ 1,000,000 × loss factor.
Length, width, height are the blank's three dimensions in millimeters; density follows the material, in grams per cubic centimeter; unit price is the material price per kilogram; dividing by one million converts cubic millimeters to the right magnitude; finally multiply a loss factor to account for saw kerf, clamping allowance, and scrap at blanking.
A concrete example: a 200×150×50 mm blank, density 7.85, unit price 6 yuan per kilogram, loss factor 1.05. Volume is 1.5 million cubic millimeters; multiply by density, by unit price, divide by a million — material cost 70.65 yuan, times the loss factor makes 74.18 yuan.
The formula's virtue is reproducibility: same dimensions, same material, same loss factor — the same number comes out every time. Its limitation: it only holds for parts "blanked by size" — if you buy standard stock by the bar, or the blank is a forging quoted per piece, material cost must be hand-filled.
So for material, the system's principle is "compute what can be computed, hand-fill what can't" — not making people fill everything. This matters: anything computable that's left to hand-filling gets filled with an "about right," and cost is never accurate.
One more often-overlooked variable: which number the material unit price takes.
The same steel grade was 5.2 yuan a kilogram last year and may be 6 yuan this year. Cost computed on a stale price runs low, and quotes run low with it. This deviation never raises an error — it just quietly eats profit.
The reasonable choice is "the most recent actual purchase price," updated regularly. Weighted averages aren't recommended — they drag in low prices from months ago and don't reflect the current market. Nor the market price at quoting time, unless you can genuinely buy at that price.
The same goes for the loss factor. Once set, it should stay consistent for the same part class; if one part's factor is quietly raised, either the process truly differs or someone is "adjusting cost" — either way, it should be explainable.
III. The Machining Sum Hinges on "Planned Hours" and "Rate"
Machining cost isn't hand-filled either: multiply each operation's planned hours by that operation's rate, then sum.
An operation's planned hours are set at scheduling: this turning operation takes 2.5 hours. The rate is what the operation costs per hour: turning at 45 yuan per hour. That operation is 112.5 yuan. Ten operations summed — that's the order's machining cost.
Here's a definitional issue that must be spelled out: are hours counted per piece or per batch?
Take the same "turning 2.5 hours." Counted per piece, a 100-piece work order is 2.5 × 45 × 100 = 11,250 yuan; counted per batch, it's 2.5 × 45 = 112.5 yuan.
Both conventions are in use. Shops that quote per piece fill in "per-piece hours" and multiply cost by quantity; shops that dispatch whole batches fill in "total hours for this batch" and don't multiply.
In the system this is a tenant-level switch with two values: per-piece hours, or batch-total hours. Default: per piece.
One warning about this switch: once set, don't change it midway. Existing hour records won't be recomputed under the new convention — earlier per-piece records stay, later batch-total records come in, the two mix, and cost statistics are permanently wrong. If you must change, first decide what happens to historical data.
IV. The Rate Is Even Easier to Fake Than the Hours
Hours at least come out of scheduling; rates often come off the top of someone's head.
A typical case: a shop with a dozen-plus operations whose rate table holds exactly three numbers — turning 40, milling 40, grinding 50. Ask where they came from: "set years ago by referencing peers." Nobody has touched them since.
Two problems are buried there.
First, rates don't reflect equipment differences. An ordinary lathe and a machining center differ by up to three times in hourly cost. Rate both at 40, and machining-center work looks cheap — so it gets underquoted — while ordinary-lathe work looks expensive, and customers walk on comparison.
Second, rates don't reflect what should be spread. An operation's hourly cost should ideally include that hour's labor, equipment depreciation, energy, and space allocation. Many shops' rates count labor only — leaving depreciation and electricity outside the work order. Every order looks profitable; the year-end tally is thin — and the gap is exactly this.
For setting rates, here's a workable rough method:
Add up a machine's monthly depreciation, the operator's monthly wage, monthly electricity, and space cost by floor area; divide by the hours that machine truly works in a month (not 22 days × 8 hours — deduct waiting for material, maintenance, and idle time with no orders). That's the machine's hourly cost. It's far more accurate than a guess, and it can explain "why 40, not 55."
An even easier back-solving method: use outsourcing quotes as the reference. What outsourcing shops charge per hour for turning tells you roughly where the market prices that operation; setting your rate near it won't drift far — unless your equipment is clearly better or worse.
Whichever method, one rule must hold: one operation, one shop-wide rate — never one price per order. One price per order means each order's cost basis differs, and cross-order comparison fails completely.
V. The Outsourced Operation's Hours Were Counted Too
Now the crux.
A work order has ten operations, one of which — heat treatment — goes outside. Does that operation have planned hours in the system? Yes. At scheduling it's planned like any other: when it goes out, when it should return, how much time it gets.
With hours comes a rate, and into machining cost it goes.
So this order's machining cost already includes "the heat treatment operation costed at planned hours × rate." The logic: that operation occupies the schedule and the section's load — even done outside the shop, it's part of the order's cost.
Then at month-end the outsourcing shop reconciles: how many pieces heat-treated, unit price, total — and the money is paid.
Adding that reconciliation amount into work order cost means: the heat treatment operation was charged once by hours, and once by outsourcing bill.
VI. "Isn't Money I Paid a Cost?" — Yes, but It's Already Inside
This objection deserves a direct answer, because it's where most people get tangled.
Money paid to the outsourcing shop is certainly an expense of this order. But the way it enters cost is "the outsourced operation's hours cost," not "the outsourcing reconciliation amount."
A plainer analogy: your in-house turner draws wages, and wages enter cost as "2.5 hours × 45 yuan for this operation." You don't tape the turner's whole month's payslip onto this work order. Same for the outsourcing shop — the reconciliation amount you pay enters cost as that operation's planned hours times rate.
Won't the two numbers differ greatly? They will. Planned hours are estimated at scheduling; the outsourcing unit price is negotiated at reconciliation — one by the hour, one per piece or per kilogram — naturally mismatched.
That difference is precisely useful information: it tells you whether the outsourced operation was "estimated high or estimated low." If actual outsourcing spend persistently exceeds hours estimates, rates are too low and quotes should adjust upward; the reverse says outsourcing that operation is a bargain.
But seeing that difference requires the two sums recorded separately. Mixed together, the information vanishes forever.
VII. The Outsourcing Shop Cut Prices — Should the Rate Follow?
This section answers a question that will inevitably come: if outsourcing fees aren't added separately, how does cost follow when outsourcing market prices move?
The answer is inside the rate's definition.
An outsourced operation enters cost as: planned hours × section rate. That rate means "what one hour of this operation is worth." Picture a grinder outsourced and settled at 80 yuan per hour — the grinding section's rate should be 80. If the outsourcing shop's capacity glut drops quotes to 70 while the rate stays at 80, work order cost still computes at 80 — every order's cost inflated by roughly twelve percent, quotes inflated after it.
So adjusting rates isn't "casually editing a number" — it is the sole entrance through which outsourcing price changes reach cost. Unadjusted, cost stays frozen at old prices. And it never errors, never alarms, never sends anyone to find you — it just quietly kills your quoting competitiveness.
The reverse is even more dangerous. Outsourcing prices rise, rates don't, cost runs low, quotes look profitable — and only after finishing do you discover you lost money. This error doesn't lose you orders; it makes you take a pile of orders you shouldn't have.
How do you know when to adjust?
Use that difference from the previous chapter. Put an outsourced operation's "hours cost" beside its "outsourcing actual spend": if actual spend exceeds hours cost by more than ten percent for three consecutive months, the rate should rise; if it's lower for three consecutive months, it should fall. No extra statistics needed — both numbers already live in the system.
Two things to settle in advance.
Don't adjust too often. When a rate moves, recomputation changes every work order referencing that operation — including last month's (more on this later). A reasonable cadence is quarterly or semi-annual review, exporting the period costs you want to keep before changing. Adjusting per order destroys historical meaning — "how much did last month's order earn" becomes unanswerable.
One operation, one rate. If an operation is half in-house, half outsourced, choosing the rate value takes care: pick the in-house cost and the outsourced portion overstates; pick the outsourcing price and the in-house portion understates. The compromise: set it by whichever mode dominates and treat the other side's deviation as a known bias. Better than flip-flopping between both — at least the basis stays stable.
One possibly counterintuitive closing note: when outsourcing prices fall, don't necessarily follow immediately.
If it's short-term volatility — a shop short on orders this quarter giving a temporary discount, likely reverting next quarter — holding the rate is right. The test isn't "what does it cost now" but "has this price held." One question suffices: can you do it at this price next quarter? Their answer beats any market analysis.
VIII. After Double-Counting, More Than Numbers Go Wrong
The direct consequences of wrong cost are obvious; the indirect ones are worse.
The most direct: quoting distorts. Quotes are cost plus a margin. Cost inflated, quotes run high — that's exactly the chain by which the shop above raised prices ten percent and lost customers. Conversely, cost running low means quotes run low: many orders taken, each one thin.
More serious: single-order profit and loss loses meaning. If the owner board's "how much did this order earn" contains a duplicated sum, the number is wrong — and wrong unevenly: orders with heavy outsourcing err more, light-outsourcing orders err less. Viewed together, a batch of orders yields conclusions like "outsourcing-heavy orders don't make money" — when reality may be the opposite.
The hardest to trace: it self-reinforces. Cost wrong, quotes wrong; quotes wrong, order mix shifts; mix shifts, next round's cost estimates drift too. Six months later, nobody can say where it started.
IX. What Doesn't Enter Work Order Cost — but Must Enter Overall P&L
Work order cost has only two halves: material and machining. So some money never enters a work order, yet must enter the overall books.
Not in work order cost: factory rent, utilities (if not already in rates), management wages (owner, expediters, finance), freight and packaging, taxes, selling expenses.
This money is real; it just isn't attributable to any single order. Forcing it onto individual work orders distorts "does this order make money" — because an order's profit depends on its own material and machining, not this month's rent.
But viewed only through work order cost, a dangerous conclusion appears: every order makes money, yet the company doesn't. The gap is exactly this unattributable money.
So two tables must be read together:
One shows each work order's cost and margin, answering "is this order worth taking, and at what price"; the other shows overall income and expense, answering "did this month actually make money."
Many small shops' problem is having only the latter — accounting holds a general ledger but no per-order cost, so they can't tell which order types earn and which lose, taking orders on feel. Others invert it: per-order cost only, never the whole — every order computes profitable, yet the year-end tally leaves little.
One special word on equipment depreciation: whether it enters work order cost depends on how rates are set. If rates already include depreciation, it's already in cost and must not be added again — another "same money enters twice" trap, exactly like the outsourcing fee.
X. Three Self-Checks You Can Do Tonight
No system needed — existing numbers can tell whether you're double-counting.
First, take an outsourcing-heavy order and put the reconciliation amount beside the work order cost. If the cost contains a large figure that plainly doesn't match "operation hours × rate," the outsourcing amount has probably been added in.
Second, back-solve one outsourced operation. Pick one, multiply planned hours by rate for one number; multiply the outsourcing unit price by quantity for another. The two should be of the same magnitude — twenty or thirty percent apart is normal. If both appear inside the work order cost, it's been counted twice.
Third, look at the margin distribution. Sort this year's orders by outsourcing share: if margins fall as outsourcing share rises — implausibly far — the outsourcing fee is almost certainly double-counted.
XI. Three Common Methods — Only One Is Right
Lay out the methods seen in small shops and the comparison is clear.
Method one: cost = material + machining, outsourcing recorded separately as payable. Correct. Work order cost answers "profitable or not"; payable answers "how much to pay."
Method two: cost = material + machining + outsourcing reconciliation amount. Double-counting. The outsourced operation's hours are already in machining; adding again counts twice.
Method three: cost = material + in-house machining hours, excluding the outsourced operation's hours. Also a coherent method, but it requires adding the outsourcing amount — otherwise that operation vanishes from cost entirely. The problem: "outsourced" and "in-house" can no longer be compared — wanting to know whether an operation is cheaper in-house or outside, with mismatched bases on the two sides, never yields an answer.
So the key isn't "add outsourcing fees or not" — it's that the basis must be self-consistent: count hours fully (including outsourced operations) and outsourcing amounts stay payable-only; or exclude outsourced operations' hours and only then does the outsourcing amount enter cost. Either road works — pick one, and never mix.
Moges PMS5 takes the first road: work order cost has exactly two items, materials and machining; machining covers all operations (including outsourced operations' planned hours), and the outsourcing reconciliation amount appears only as payable — never in work order cost.
Run one concrete order through, and the difference becomes visible.
Suppose the order is 1,000 pieces: material cost 5,000 yuan, planned-hours machining cost for all operations 3,000 yuan, of which the outsourced heat treatment operation is 2 hours × rate 80 yuan = 160 yuan; the heat treatment outsourcing reconciliation actually paid 1,800 yuan.
Method one (material + machining, outsourcing as payable separately): work order cost 5,000 + 3,000 = 8,000 yuan, with 1,800 yuan payable listed separately. Method two (material + machining + outsourcing amount): 5,000 + 3,000 + 1,800 = 9,800 yuan, 22.5% above method one. Method three (material + hours excluding outsourcing + outsourcing amount): 5,000 + 2,840 + 1,800 = 9,640 yuan.
Methods two and three look similar — both err identically: the heat treatment operation counted twice.
Push one step further. Quoting at cost plus thirty percent margin:
Method one quotes 10,400 yuan, method two quotes 12,740 yuan, method three quotes 12,532 yuan.
Same order, quotes differing by more than two thousand yuan. A customer holding two vendors' quotes sees you twenty percent pricier than the competitor, with no explainable reason — because your own cost sheet genuinely says so.
XII. Change the Rate, and Historical Costs Move With It
This section states a fact that's easy to miss but affects judgment.
Work order cost is "computed," not "recorded." Its two inputs — planned hours and rate — change either one, and recomputation changes the cost. The recomputation logic recalculates from current data and overwrites, keeping no historical versions.
One concrete consequence: if you adjust an operation's rate in October and then recompute September's orders, September's costs come out at the new rate. Looking back at how much a September order earned, you no longer see the number as it was.
This isn't a defect — it's a trade-off: keeping no historical versions keeps the system simple, queries fast, and avoids "which version governs" disputes. The price is that history can't be chased.
So two things should be done in advance:
First, before adjusting rates, export the period costs you want to keep. If you want year-end analysis of per-order P&L, archive the current cost table before changing.
Second, rate changes themselves need records. When it was changed, from what to what, and why — write down all three. Otherwise, six months later, "why is March's cost a notch above February's" has no answer.
The same holds for planned hours. A work order change altering operations or quantities recomputes cost — that's correct, because the work truly changed. Distinguishing "changed because the work changed" from "changed because the rate changed" rests on that change record.
XIII. The Hard Part Was Never Arithmetic — It's the Trade-Off
With cost, the difficulty was never arithmetic — it's "what belongs inside and what doesn't."
An outsourced operation has its hours — one sum — and its outsourcing bill — another. Both are real, but only one belongs to work order cost. Get this straight and quoting gains its basis; fail to, and you're the shop from the opening story — repricing off a miscalculated cost, still not knowing where the error was.
---