The gap between standard cost and actual cost is where your margin goes. Connect production, quality and cost data end to end and the number in the ledger starts reflecting what actually happened on the floor — while there is still time to do something about it.
A standard is a reasonable estimate frozen at a point in time. Then the tooling wore, the mix changed, the labor market moved, and a new operator took over second shift. The standard did not move with any of it. Every job since has been measured against a number that stopped being true a long time ago.
Tuesday
The job runs. Two unplanned stops, one changeover that took 90 minutes instead of 40, four hours of overtime to make the ship date.
That week
None of it reaches a cost record. The job is relieved at standard: the labor rate, the machine rate and the run time somebody set with confidence two years ago.
Month-end
The variance lands in a single aggregate line. It is real, it is large, and it cannot be traced back to a part, a line or a shift.
Two weeks later
Someone explains the variance. By then the quarter is spent — and the quote that lost money has already gone out twice more at the same price.
This is not a failure of accounting competence.
Your controller is closing the books on the only data that reaches them. The problem sits upstream: the ledger has no live connection to the floor. It inherits a rate instead of an event. Until that connection exists, no amount of rigor at close can turn a stale assumption into a defensible number — and no reporting project can fix it either, because the data it would report on was never captured.
Every one of these is a real expense that already hit your P&L. The issue is not that the money is unaccounted for in total. It is that it was never attached to the part, the line, the shift or the order that caused it — and an unattached cost cannot be priced, quoted or fixed.
The line stopped for 26 minutes. Nobody logged a reason code, so the cost of those minutes was spread across every part that ran that month — including the parts that ran clean.
Rework consumes machine time, labor and material twice, then ships as a good part at standard cost. The second pass rarely carries a cost record of its own.
The most expensive loss is the one that looks like production. The line ran all shift, just not at rate. There is no stop to explain, so the variance has no story attached to it.
Short runs of a high-mix product absorb the same changeover as a long run. Allocate that by volume and your small orders look cheap while they quietly subsidize nothing.
Premium hours get blended into a single labor rate. The job that forced the Saturday shift and the job that ran Tuesday at noon are costed identically.
The one nobody questions. It cleared margin on paper because its true machine time, its stops and its rework were never captured — so you repeat it, and you quote the next one the same way.
Cost genealogy is the unbroken chain between a physical event and the number you report. It is activity-based costing tied to real production data instead of to an allocation assumption — and it is what turns operational data into a decision a CFO can defend in front of a board, a lender or an auditor.
Step 01
A stop, a cycle, a rate change, a temperature excursion, a tool change. It happens on a PLC, a drive, a historian or a sensor that was never wired to anything finance can read. This is the only place true cost originates.
Step 02
The event is tied to a work order, a part number, a line, a shift and an operator — plus the quality result. Good, scrap, rework. Without this binding, the event is trivia.
Step 03
Run time, setup, changeover, inspection, rework, material movement, unplanned stop. Each is an activity with a driver and a consumption rate that comes from measurement rather than from a committee.
Step 04
The activity is priced with your real rates: machine, labor including premium hours, energy, consumables, overhead. The cost follows the activity to the part, not to a volume-based allocation that was convenient to calculate.
Step 05
That cost posts against the order, the customer, the product family and the plant. Now gross margin by part and by line is an auditable chain you can walk backward, from the number in the ledger to the minute on the machine.
The test
Pick any cost line in your margin report and ask which machine minute produced it. If the answer is an allocation rule, you have a reporting layer. If the answer is an event with a timestamp, you have cost genealogy.
Most costing initiatives fail in the same place: the model is built in a spreadsheet on top of floor data nobody trusts, and the first person to challenge a number wins. We work in the other direction. Instrument first, connect second, model third — so the number survives the argument.
Magic Engineering
Thirty-plus years of controls engineering and 1,900+ automation projects, multi-vendor across Ignition, Rockwell, AVEVA, Siemens, Omron, Mitsubishi, Schneider, FANUC, Yaskawa, Cognex and ABB. Stops, cycles, rates and quality events get captured at the physical layer — with reason codes a person will actually use, because the costing model is only as honest as the floor data under it.
Magic EngineeringMagic Integration
Magic XPI is enterprise integration across ERP, CRM, WMS, MES, HR, finance, support, historians and the plant floor, with 100+ pre-built and certified connectors and proprietary in-memory middleware for high availability. It overlays your existing systems — cloud, on-prem or hybrid — so the production record and the cost record stop being two separate truths.
Magic IntegrationMagic Consulting
Activity-based costing tied to real production data, delivered through an engagement model of Assess, Target, Execute, Sustain. The model is designed with your controller, reconciled to your general ledger, and handed over with the drivers documented — alongside the operational work that typically yields 10-15%+ gains in throughput and yield.
Magic ConsultingA costing model is worthless if the floor data underneath it isn't trustworthy.
That is why this starts with real instrumentation rather than a spreadsheet exercise. We are the only company in the Americas with OT engineering, enterprise integration, bespoke application development, AI development and operational strategy under one P&L, without subcontracting any layer. One accountable team from the sensor to the margin report — which matters most on the day a number gets questioned.
The difference is not resolution. It is timing. A cost you learn about on day 45 is history. The same cost on day 3 is a decision: requote it, resequence it, fix the changeover, or walk away from the order.
Today
With cost genealogy
Treat this as a reporting upgrade and it will be judged on how the dashboard looks. It is not a reporting upgrade. It is a pricing and margin capability: the ability to raise a price with evidence, to hold a price when a customer pushes, to say no to the order that only looks good, and to go into a lender or board conversation with a cost structure you can substantiate down to the machine. That capability compounds every quarter you own it.
You are going to be skeptical of a vendor's ROI math, and you should be. So here is ours with the names attached.
60+ hrs
saved weekly at Michelman, with ROI in under 10 months
$250K
in annual savings at Zazen Water, alongside 30% growth
50%
reduction in development costs at Christofle
200M
liters per year at Coca-Cola Sorocaba
The group behind the work
20+ offices worldwide and 1,000+ business partners. The costing work on your floor is delivered by Magic Software Americas divisions under one P&L — backed by a group that has been closing books and connecting systems for four decades.
What your auditors will ask about
SOC 2 Type II as of February 2026, ISO 9001, ISO 27001 and GDPR. If a number is going to carry weight in your reporting, the pipeline that produced it has to stand up to the same scrutiny as the ledger it feeds.
For an independent benchmark on connected manufacturing finance, a Forrester Total Economic Impact study commissioned by Epicor reported 270% ROI with a 20-month payback. We lead with our own customer outcomes above, because those are the ones we delivered and can walk you through in detail.
Magic Engineering, Magic Integration and Magic Consulting are divisions of Magic Software Americas — not partners, not resellers, not subcontractors. The same P&L carries the instrumentation, the integration and the model, which is why nobody can tell you the costing problem is somebody else's scope.
The costing model
Activity-based costing tied to real production data, built with your controller and reconciled to your ledger. Assess, Target, Execute, Sustain — with the drivers documented so your team owns the model after we leave.
Explore Magic ConsultingThe connective layer
Magic XPI moves production, quality and financial data between ERP, MES, WMS, CRM, historians and the plant floor, with 100+ pre-built and certified connectors. It overlays your existing systems instead of replacing them.
Explore Magic IntegrationThe physical layer
CSIA-certified since 2002, an Inductive Automation Premier Integrator and a FANUC Authorized System Integrator. If the event you need to cost isn't being captured today, this is the team that makes it measurable.
Explore Magic EngineeringStart here if the data isn't trustworthy yet
Trustworthy floor data is the prerequisite for trustworthy cost. If you cannot see stops, rates and quality in real time, start with visibility and the costing model follows on solid ground.
See the visibility outcomeThe commercial side of the same chain
Cost genealogy tells you what a job really cost. Order to cash tells you how fast that job turns into collected revenue. Same connected data, the other half of the margin equation.
Explore order to cashWhere the number ultimately posts
Your ERP is the system of record and it stays that way. We connect it to the floor rather than replace it, so the cost record lands where your auditors already look.
Explore our ERP workName the part, the line or the customer you have never been able to reconcile. We will walk the chain backward with you — what is measured today, what is missing, and what it takes to make that one number defensible. Thirty minutes, no slides.