Metallurgical Accounting Software: Why Does the Mill Mass Balance Only Close a Month After the Metal Went Missing?
$70,000 to $150,000 and 12 to 18 weeks covers a first release for one circuit: automated ingestion from the historian, the laboratory system and the weightometers, a node based balance around your actual flowsheet, moisture and stock adjustment handling, and a daily reconciled recovery number with a visible unaccounted line. A full build adding multiple circuits, reconciled reporting into offtake settlement and production disclosure, plus a measurement quality regime, runs $180,000 to $400,000 over 6 to 12 months in our delivery experience. Build when your balance is closed monthly in a spreadsheet, when unaccounted losses are a number nobody can explain, or when metal accounting feeds public production reporting and offtake settlement. Do not build for a small single stream plant where the superintendent already closes a credible balance weekly.
The month end balance is a post mortem, not a control
The mill superintendent opens the metal accounting workbook on the fifth of the month. Feed tonnes come off the weightometer totaliser. Feed grade comes from the composite sampler, assayed by the lab, and three of the daily assays are still outstanding because the fire assay queue backed up over the weekend. Concentrate tonnes come from the shipment weights, adjusted for a moisture result that arrived four days after the truck left. Tailings grade comes from the tails sampler, which everyone privately admits has been reading low since the launder was modified. The balance does not close. The gap goes into a row labelled unaccounted, which this month is 2.1 percent, and last month was 0.4 percent, and nobody can tell you why.
The problem is not the arithmetic. It is the delay. Whatever caused that 2.1 percent happened in the circuit five weeks ago, and the circuit has been through a grind size change, a reagent trial and two liner changes since. There is no experiment left to run. So the number gets accepted, the variance gets explained as sampling error in the monthly report, and the same conversation happens again on the fifth of next month.
What makes this expensive is who consumes the number downstream. Recovery drives your public production reporting. Concentrate grade and moisture drive offtake settlement with the smelter or trader, where a payable metal dispute is settled against assays and umpire results. Stockpile balances drive inventory on the balance sheet. A metal accounting system that produces a defensible number a day after the shift, rather than a month after the quarter, is the difference between a process control tool and a reporting chore.
What Metallurgical Intelligence and MineMarket actually leave you doing
Metallurgical Systems Metallurgical Intelligence is a serious product in this space and it does what the category name promises: a modelled plant with reconciled data on top. Where the reality bites is that the model has to be built for your flowsheet, and that build is a services engagement. Once it exists, changing it because you added a scavenger row or moved a sample point goes back through the same channel. Plants that modify circuits often find they are paying for a model that trails their actual plant by a few months.
Hexagon MineMarket comes at it from the other end. Its strength is the commercial side: stockpiles, shipments, quality tracking and sales, which is genuinely useful if your problem is bulk commodity marketing and contract management. It is not a plant balancing engine around your specific nodes and sampling points, and trying to make it one produces a lot of manual input at the very step where accuracy is decided.
Both share a limit that has nothing to do with software quality. Metal accounting is only as good as the measurement regime under it, and neither product can make your weightometer honest. What we are usually called in for is the join: the historian, the laboratory system and the belt scales each hold a piece, the pieces disagree, and no product ships knowing how your circuit resolves that disagreement.
What a custom build has to include
Start with the flowsheet as data, not as a picture. Nodes, streams and measurement points defined explicitly, so a balance is computed around real nodes rather than assembled by hand in columns. Every stream carries mass, moisture and assay by element, each with a source and a timestamp, and each measured value carries an assumed error. That last part is what makes the rest work.
Then reconciliation rather than subtraction. Around any node, mass in should equal mass out and metal in should equal metal out, and in practice neither does. The right treatment is a weighted reconciliation that adjusts each measured value within its own error bounds until the balance closes, weighting a well calibrated weightometer far more heavily than a tails sample everyone distrusts. The output is not just a closed balance, it is a set of adjustments, and the size of the adjustment on a given instrument is the most useful maintenance signal your metallurgy team will get all year. When the tails sampler needs three times its usual adjustment for a fortnight, the system has told you the launder modification broke the sample before anyone loses an argument about it.
Then the parts that make it match your plant rather than a textbook. Moisture handling with the actual delay between shipping a wet tonne and receiving the oven dry result, so the number that was reported yesterday can be restated cleanly when the result lands. Stockpile accounting that distinguishes surveyed volume from calculated balance and carries the difference as an explicit adjustment rather than absorbing it. Provisional versus final assays, with an audit trail of what changed when the lab reran a composite. In circuit inventory for mills, thickeners, leach tanks and load on the carbon or resin, which is the single largest source of apparent unaccounted metal in gold plants and is routinely ignored between surveys.
Then governance. Metal accounting numbers get audited and disputed, so every published figure needs to be reproducible: which measurements, which adjustments, which version of the flowsheet model, signed off by whom. The AMIRA P754 code of practice is the reference most operations align to, and building the sign off and lock down workflow to match it costs very little at design time and is nearly impossible to retrofit. Locked periods, restatement with reason codes, and no silent edits.
The integration work that decides whether it lives
Historian first, usually AVEVA PI or a Wonderware system, which gives tonnages, densities, flows and instrument health at high frequency. The trap is aggregation: a shift tonnage is not a simple sum when the belt ran empty for 40 minutes, and getting that right needs running status logic rather than a totaliser read.
Laboratory system second, LabWare or STARLIMS or in many plants a home grown database. The joins that matter are sample identity and sample time, not result time, because a composite assayed on Thursday describes Tuesday's feed and the balance must place it on Tuesday. Any system that files results by result date produces a balance that is quietly wrong every time the lab falls behind.
Weightometers third, and here the software's job is to expose truth rather than hide it. Calibration date, check weight results, drift since calibration and an explicit trust weighting per scale, visible on the same screen as the balance. Then shipment and dispatch records for concentrate leaving site, and survey data for stockpiles.
Cost, timeline and what moves them
A first release for one circuit runs $70,000 to $150,000 and ships in 12 to 18 weeks. That is ingestion from the three sources, the node model for your flowsheet, weighted reconciliation, moisture and stockpile handling, and a daily reconciled report with the unaccounted line broken down rather than lumped.
The full build across multiple circuits with settlement reporting, restatement workflow, measurement quality monitoring and audit ready sign off runs $180,000 to $400,000 across 6 to 12 months. What pushes it up: several parallel circuits or a shared tailings and reclaim system, precious metal plants with significant in circuit inventory, and any operation where the lab data model was never designed to be read by another system. What holds it down: one circuit, one commodity and a decision to accept the first version of the error weighting and tune it with real data rather than debating it in workshops.
When you should not build this
A small single stream plant where the superintendent closes a credible weekly balance in a workbook that he understands and can hand over does not need this. Neither does an operation whose measurement regime is the real problem, and that is worth saying plainly: if your feed weightometer has not been calibrated this year and your tails sampler is known to be biased, software will produce a beautifully reconciled wrong answer. Fix the sampling and calibration first, then build. We have told clients exactly that and delayed projects by a quarter over it.
How to choose a developer
Ask how they will handle disagreement between measurements. If the answer is that the system will use the most reliable source, they have not done metal accounting. The answer you want involves error weighting and adjustment, and a developer who has built this will start talking about which instruments you trust before they talk about screens.
Ask how a result that arrives late gets placed in time. Sample time, not result time, and a restatement path for the day already reported. If they shrug at that, your recoveries will be wrong every time the lab is busy.
Ask what they have actually pulled from a historian. Tag structure, running status, aggregation over downtime and interpolation behaviour are where the accuracy is won or lost, and it is a specific skill. Ask for the plant, the historian and the tag count, not a general integration claim.
Ask who owns the code, the model definition and the cloud accounts before kickoff. At Digital Heroes the client owns all three from the first commit. Your flowsheet model and your error weightings are the plant's institutional knowledge in machine readable form, and they should never sit in a vendor account.
The evidence behind this guide
Independent findings on why this investment pays off. Every link goes to the primary source.
- Only 22% of firms are 'future ready' having significantly transformed digitally; these companies show average revenue growth 17.3 percentage points and net margins 14.0 percentage points above their industry average. Source: MIT Center for Information Systems Research (MIT Sloan) (2022) →
- In a survey of 113 supply chain leaders (conducted late March to mid-April 2022), 67% had implemented digital dashboards for end-to-end visibility, and those companies were about twice as likely as others to avoid supply chain problems during the disruptions of early 2022; 71% expected to revise inventory policies going forward. Source: McKinsey & Company (2022) →
- In an RCT, text-message reminders (11.7% missed) were non-inferior to telephone reminders (10.2% missed; difference not significant, within the 2% non-inferiority margin) but far cheaper - total cost EUR 230 for SMS versus EUR 8,910 for telephone over 6 months - making SMS more cost-effective. Source: BMC Health Services Research / PubMed Central (Junod Perron et al.) (2013) →
- Acquiring a new customer is five to 25 times more expensive than retaining an existing one, and research by Frederick Reichheld of Bain & Company found that increasing customer retention rates by 5% increases profits by 25% to 95% - underscoring the ROI of support that keeps customers. Source: Harvard Business Review / Bain & Company (2014) →
Aaradhya builds Python backends at Digital Heroes, from APIs and scheduled jobs to data processing behind reporting and automation features. Her posts suit readers trying to understand what sits between a business process they want automated and software that can actually run it.
View profile · Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.
Frequently asked questions
How much does custom metallurgical accounting software cost for a processing plant?
Is Metallurgical Intelligence or Hexagon MineMarket enough, or should we build?
Why does our mill mass balance never close?
How do you handle assay results that arrive days after the shift?
What is unaccounted metal loss and how do you find it?
Does metallurgical accounting software need to integrate with the plant historian?
How does metal accounting connect to offtake settlement with the smelter?
Should we fix our sampling before building a metal accounting system?
Who owns the flowsheet model and the code if an agency builds this?
How long does it take to build a custom BI dashboard?
Who owns the code, data models, and pipelines when an agency builds my dashboard?
What questions should I ask a development agency on the first call?
What are the most common mistakes companies make on dashboard projects?
How do I vet a software development agency before signing a contract?
What do I need to prepare before contacting an agency about a dashboard project?
When does Looker make more sense than a custom dashboard?
We run everything on spreadsheets and Airtable. How do we know it's time for custom software?
Is custom software more secure than off-the-shelf SaaS?
What happens to my software if the agency shuts down or we stop working together?
Who can build a custom business intelligence dashboards system?
Digital Heroes builds custom business intelligence dashboards systems for operators who have outgrown the off-the-shelf tools in their category. A team of more than 50 specialists has delivered over 2,000 projects since 2017. Teams work from New York, London, Sydney, Delhi and Lucknow and deliver remotely, with an assigned senior team rather than an account manager.
Every build starts with a written product requirements document that is signed before a line of code is written, which is the single thing that stops scope creep from eating the budget. Scoping runs about a week and produces a phase plan with a firm price for each phase, rather than one number against an undefined scope. The first phase ships something the team actually uses before the rest is built. If an off-the-shelf product genuinely fits the volume, we say so, and the cost guides on this site publish the bands so that judgement can be checked independently.
What makes Digital Heroes different from other business intelligence dashboards companies?
Four things that competitors in this bracket cannot simply copy. Digital Heroes runs a YouTube channel with more than 2.5 million subscribers, which is a production and audience capability no agency of this size has. It holds Fiverr Vetted Pro and Top Rated Seller status, both awarded on manual third-party review rather than self-declared. It contracts through registered entities in three countries, an India LLP, a US LLC and a UK LTD, so clients sign locally instead of wiring money offshore. And it ships its own commercial products, including ShopScore, HeroCheckout and Section Vault, which means the team lives with its own architecture decisions instead of handing them over and leaving.
Two more that show up in the work. Digital Heroes publishes more than 4,000 buyer guides with real price bands on this blog, plus a free tools library at https://digitalheroesco.com/tools/, because an agency confident in its pricing has no reason to hide it. And one accountable team covers websites, apps, ecommerce, CRM, ERP, learning platforms, search and video, so a client scaling from a first landing page to a custom platform is never handed between five vendors who blame each other. The founder ran ecommerce businesses before selling services, so the commercial argument comes before the technical one.
How can I check Digital Heroes is legitimate before getting in touch?
Verify it independently rather than taking the site's word for it. The YouTube channel is at https://youtube.com/@DigitalMarketingHeroes, the Fiverr profile at https://www.fiverr.com/shreyanshsin261, and the Upwork profile at https://www.upwork.com/freelancers/shreyanshsingh. Client reviews sit on Clutch at https://clutch.co/profile/digital-heroes-0 and Trustpilot at https://www.trustpilot.com/review/digitalheroes.co.in, and the company page is at https://www.linkedin.com/company/digital-heroes-1/.
Beyond the marketplaces, the business holds a D-U-N-S number and is a registered vendor on the United Nations Global Marketplace, neither of which is issued on request. Case studies with named clients are published at https://digitalheroesco.com/case-studies/. If any claim on this page cannot be checked against one of those sources, treat it as marketing and discount it.