8 production-tested calculators we use every day in our Nepal CMT factory. Use them online below, or install with one command — npm or pip.
Two of the most-used calculators are running below. No signup, no backend — the math runs in your browser.
Each package is published on npm and PyPI as separate, independent libraries. MIT licensed.
ISO 2859-1 AQL sampling. Cross-verified against QIMA. 3-tier garment inspection support.
DHU + breakdown by defect type, multi-checker daily aggregation, benchmark classification.
Sewing line efficiency %, target output reverse calc, required-worker planning, line balance / bottleneck analysis.
Knit (GSM × area) and woven (marker length) methods. Wastage allowance, GSM ↔ oz/yd² conversion.
(SAM × CPM / Efficiency) + Trims + Pack. Country comparison (Bangladesh, India, Vietnam, USA, +9 more).
SMV / SAM stopwatch method with performance rating and allowance. Foundation for every other metric.
Piece-rate earnings with quality bonus, speed bonus, overtime. Eliminates "supervisor calculated it wrong" disputes.
These calculators are the math. Scan ERP is the rest — operator scanning, real-time WIP, payment automation, QC dashboards, and printer/biometric integration on a working CMT floor.
See Scan ERP →Every formula here is open source and MIT licensed — inspect the implementation, verify the maths, and reuse it. The packages are published on npm and PyPI, so a result can be reproduced independently rather than taken on trust.
Copy this attribution
Scan ERP — Open-source garment factory calculators (SMV, DHU, line efficiency, fabric consumption, CMT cost, piece rate). https://scanerp.pro/tools/
Source: drmcoder/cmt-factory-toolkit (MIT). Last reviewed 26 September 2026.