Skip to content

drmcoder/garment-line-efficiency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

garment-line-efficiency

Powered by Scan ERP License: MIT

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.

Two languages, same logic

Language Install Source
Node.js / TypeScript npm install garment-line-efficiency npm/
Python 3.7+ pip install garment-line-efficiency python/

Formula

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.

API

  • calculateEfficiency / calculate_efficiency
  • calculateTargetOutput / calculate_target_output — reverse calc
  • calculateRequiredWorkers / calculate_required_workers — for planning
  • calculateLineBalance / calculate_line_balance — bottleneck analysis
  • classifyEfficiency / classify_efficiency — benchmark classification

Industry benchmarks

Efficiency % Classification
< 35% BELOW_STANDARD
35–50% AVERAGE (typical for Bangladesh / India / Nepal)
51–65% GOOD
66–75% EXCELLENT
> 75% WORLD_CLASS

Try Scan ERP

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.

License

MIT © Santosh Rijal / Scan ERP

Related

About

Sewing line efficiency calculator — efficiency %, target output, required workers, line balance (npm + PyPI).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors