CMT (Cut, Make, Trim) cost calculator for garment factories.
Calculates per-garment making cost from SAM × CPM × efficiency, supports trims and packaging, and compares CMT cost across major sourcing countries. Built and used in production by Scan ERP — the garment manufacturing ERP for CMT factories worldwide.
| Language | Install | Source |
|---|---|---|
| Node.js / TypeScript | npm install garment-cmt-cost |
npm/ |
| Python 3.7+ | pip install garment-cmt-cost |
python/ |
Making cost = (SAM × CPM) / Efficiency
CMT cost = Making cost + Trims + Packaging
Example: SAM 15, CPM $0.10 (Bangladesh), 50% efficiency, $0.30 trims, $0.20 packaging → Making = (15 × 0.10) / 0.5 = $3.00; CMT = $3.50
calculateCMTCost/calculate_cmt_costcalculateCPM/calculate_cpm— derive CPM from monthly factory costcalculateMakingCost/calculate_making_costestimateCMTByCountry/estimate_cmt_by_country— use country CPM defaultcompareByCountry/compare_by_country— cross-country comparisonaddMargin/add_margin
| Country | CPM | Country | CPM |
|---|---|---|---|
| Ethiopia | $0.07 | Sri Lanka | $0.20 |
| Myanmar | $0.08 | China | $0.25 |
| Nepal | $0.09 | Turkey | $0.30 |
| Bangladesh | $0.10 | Mexico | $0.40 |
| Pakistan | $0.11 | USA | $1.00 |
| Cambodia | $0.12 | ||
| Vietnam | $0.16 | ||
| India | $0.18 |
Industry averages — use calculateCPM with your own salary + overhead data for accurate costing.
This calculator is free. The full ERP that uses it daily for CMT quote generation — with live SMV data from your own factory floor — is at scanerp.pro.
- Live demo · 1.4M+ pieces tracked
- CMT cost country comparison 2026
- SMV costing for CMT pricing
- Free 30-day trial
MIT © Santosh Rijal / Scan ERP
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.