Sewing line efficiency calculator for garment factories.
Calculates the industry-standard SAM-based efficiency metric, target output, required worker count, and line balance / bottleneck analysis. Built and used in production by Scan ERP — the QR-based ERP that tracks line efficiency in real time on the factory floor.
| Language | Install | Source |
|---|---|---|
| Node.js / TypeScript | npm install garment-line-efficiency |
npm/ |
| Python 3.7+ | pip install garment-line-efficiency |
python/ |
Efficiency % = (Output × SAM) / (Workers × Hours × 60) × 100
Example: 25 workers × 8 hours = 12,000 available minutes. Produced 200 pieces of a SAM-15 garment = 3,000 minutes earned → 25% efficiency.
calculateEfficiency/calculate_efficiencycalculateTargetOutput/calculate_target_output— reverse calccalculateRequiredWorkers/calculate_required_workers— for planningcalculateLineBalance/calculate_line_balance— bottleneck analysisclassifyEfficiency/classify_efficiency— benchmark classification
| Efficiency % | Classification |
|---|---|
| < 35% | BELOW_STANDARD |
| 35–50% | AVERAGE (typical for Bangladesh / India / Nepal) |
| 51–65% | GOOD |
| 66–75% | EXCELLENT |
| > 75% | WORLD_CLASS |
This calculator is free. The full ERP system that uses it every day to compute line efficiency from real-time QR-scan data — with bottleneck alerts and operator dashboards — is at scanerp.pro.
- Live demo · 1.4M+ pieces tracked
- Line efficiency guide
- Free 30-day trial
MIT © Santosh Rijal / Scan ERP
- garment-smv-calculator — SMV / SAM
- garment-cmt-cost — CMT cost calculation
- garment-dhu-calculator — DHU quality metric
- garment-aql-calculator — AQL sampling
Part of the Scan ERP open-source garment toolkit — production-tested utilities for CMT factory operations, all MIT licensed:
- aql-sample-size — ISO 2859-1 sample-size lookup (zero-dependency data library)
- garment-aql-calculator — Full AQL inspection decision engine with pass/fail logic
- garment-bundle-id — Bundle QR code generator + parser (STYLE-LOT-COLOR-SIZE-BUNDLE# format)
- garment-cmt-cost — CMT cost calculator with 13-country CPM comparison
- garment-dhu-calculator — Defects Per Hundred Units with defect-type breakdown + multi-checker aggregation
- garment-fabric-consumption — Fabric consumption (knit GSM × area, woven marker length)
- garment-line-efficiency — Line efficiency, target output, line balance / bottleneck detection
- garment-piece-rate — Piece-rate earnings calculator with bonuses and overtime
- garment-smv-calculator — Stopwatch SMV/SAM with Westinghouse performance rating
See the curated awesome-garment-erp list for the full Scan ERP ecosystem, or visit scanerp.pro for the production garment manufacturing ERP this toolkit powers.