Every number the calculator produces comes from the formulas below. They mirror the standard mill costing method and are listed so anyone can verify, audit, or reverse-engineer the result. All yarn counts are English cotton count (Ne).
1693.33 = 768.096 m per hank ÷ 0.4536 kg per lb — the standard English-count length-to-weight figure. 120/1852 is the warp derivation used by the source method, balanced by the per-mill Average factor.
Each warp yarn, using its own count, price and % share of ends:
WarpRS = warp reed space (inches). No wastage is applied to warp. Multiple warp yarns are each computed and summed.
Charged on the warp weight only, per ₹/kg. Summed across warp yarns.
Weft uses picks and its own reed space, with wastage applied here (and only here):
WeftRS is a separate field from WarpRS — typically ~0.5–1 inch less than warp reed space. This is the single biggest source of costing error if set equal to warp.
Majuri (weaving) is per pick, not per metre of cloth. Warping is a flat per-metre charge.
Profit is markup on cost (5%–15% ladder plus a custom %). Naked = 0% profit.
For an order of L metres, reusing the exact per-metre weights above:
⌈ ⌉ means rounded up. Cone weight and cones/bag depend on yarn type and quality (default 1.89 kg, 24/bag).
Reed 64 · Warp RS 72 · Weft RS 71 · Picks 68 · Average 104 · Warp & Weft 30s @ ₹265/kg · Sizing ₹22/kg · Wastage 5% · Majuri ₹0.10/pick
| Component | ₹/m |
|---|---|
| Warp yarn | 25.36 |
| Sizing | 2.11 |
| Weft yarn (incl. 5%) | 26.45 |
| Majuri | 6.80 |
| Warping | 0.00 |
| Naked cost | 60.71 |
Setting weft reed space to 72 instead of 71 gives ₹61.08 — a ₹0.37/m error, or ₹9,250 on a 25,000 m order. This is why warp and weft reed space are kept separate.
Every yarn is converted to metres-per-kg. Same m/kg ⇒ same weight ⇒ same cost, whichever unit it is typed in.
Inside the verified costing formulas the yarn enters as effective Ne = m/kg ÷ 1693.33, so Ne inputs reproduce the source app to the paisa, and Denier/Lea inputs use the same physics.
Clean grey weight — no wastage, no finish. If Width is blank, Weft RS is used as the width. Crimp is not added; treat as loomstate approximation.
Target GLM T. With warp weight W and weft weight F (g/m), each lever solved alone:
The exact value is shown as the truth; the nearest whole number is shown beside it for reed and picks. Cost for each option is recomputed with the full verified engine — including majuri moving with picks. Sensitivity table shows ΔGSM and Δcost for one unit step of each lever.
Every input and select on the Costing, Adjuster and Tip-in pages carries one of three states, tracked live as you type:
Loading a saved costing flips every restored field to green, since those values came from a deliberate save, not a placeholder or a live auto-fill.
Unlike Mode 1 (solve one lever alone), Mode 2 looks for a cheaper combination of two levers that keeps GLM unchanged. Four levers are available — Warp reed, Picks, Warp count(s), Weft count(s) — each markable "Keep constant"; at least two must stay free for a trade to exist.
For blends, the count lever scales every yarn on that side by the same factor, preserving the blend's % ratio.
The closed-form solve for B: warp (or weft) side weight as a function of its count-scale factor s is C1/s + C2·s, where C1 sums the grey weight of Ne/Lea yarns on that side (weight ∝ 1/count) and C2 sums Denier yarns (weight ∝ count). Solving C1/s + C2·s = K for a required weight K is a quadratic in s (linear if the side is single-unit). Reed and Picks act as simple multipliers on their side's total. No search, no iteration beyond the fixed 121-point sweep — every candidate is exact algebra, then verified by recomputing the real engine. If no candidate beats the current cost, the page says so plainly rather than showing an empty table.
Every page's action row has an "Include margin" toggle, on by default.
With margin ON, PDF and WhatsApp output show the full cost breakdown: yarn costs, sizing, majuri, warping, naked cost, and the profit ladder. With margin OFF ("quotation mode"), all of that is omitted — the document shows only construction/spec details and a single line, Rate: ₹X/m, where X is the @custom% selling price. Nothing in the quotation reveals that the rate contains a margin. The Tip-in quotation likewise drops yarn/production cost and profit-in-hand, showing only kg/cones/bags and Order value: ₹Y (Y = rate × order length). The PDF header reads "Quotation" instead of "Costing Slip" in this mode, so it reads as a clean customer-facing document.