Jump to a calculator 671 tools
Knitting
Courses & Wales per Inch Calculator
Count over at least two inches in each direction. A single-inch count carries too much error.
Courses per Inch
— CPI
Loop rows along the fabric length
Loop Density
- Wales per Inch
- — WPI
- Stitch Density
- — /inch2
- Courses per Centimetre
- — /cm
- Wales per Centimetre
- — /cm
- Loop Shape Factor
- — CPI/WPI
Condition the sample and let it relax flat before counting. Tension in the sample is the most common source of disagreement between mill and buyer.
Using this calculator
About the Courses & Wales per Inch Calculator
The formula
This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.
cpi = coursesInSample / sampleLength wpi = walesInSample / sampleWidthCounting over a measured distance rather than a single inch is what makes the result repeatable — a miscount of one loop over 2.5 inch is a 0.4 CPI error rather than a 1.0 error.
stitchDensity = cpi x wpiThe quantity that drives fabric weight, cover and dimensional stability together.
coursesPerCm = cpi / 2.54 walesPerCm = wpi / 2.54 loopShapeFactor = cpi / wpiThe loop shape factor is the ratio of the two densities. It says whether the loops are taller than they are wide, which is the fingerprint of the relaxation state.
| Symbol | Stands for | Unit |
|---|---|---|
coursesInSample | Courses Counted | no. |
sampleLength | Over Length | inch |
walesInSample | Wales Counted | no. |
sampleWidth | Over Width | inch |
cpi | Courses per Inch | CPI |
wpi | Wales per Inch | WPI |
stitchDensity | Stitch Density | /inch2 |
coursesPerCm | Courses per Centimetre | /cm |
walesPerCm | Wales per Centimetre | /cm |
loopShapeFactor | Loop Shape Factor | CPI/WPI |
How the result is derived
Step by step, from the values you type to the figure on screen.
- Courses are counted along the fabric length and wales across the width, each over a measured distance rather than over a nominal inch.
- Each count is divided by its distance, giving densities that do not depend on how big a window was used.
- The product gives stitch density, which is what a GSM prediction consumes.
- Metric equivalents are produced by dividing by 2.54, since most buyer specifications outside the cotton trade are written per centimetre.
- The ratio of the two densities is reported as the loop shape factor, because it is the most sensitive indicator that a sample was measured before it had relaxed.
What each input means
Where to read each value on the floor, the unit it must be in, and the range the tool accepts.
| Input | Unit | Accepted range | Default | What it means |
|---|---|---|---|---|
| Courses Counted | no. | 1 to 5000 no. | 105 | |
| Over Length | inch | 0.25 to 40 inch | 2.5 | |
| Wales Counted | no. | 1 to 5000 no. | 80 | |
| Over Width | inch | 0.25 to 40 inch | 2.5 |
What the tool returns
The headline figure and every supporting value it is built from.
| Output | Unit | What it tells you |
|---|---|---|
| Courses per Inch (headline result) | CPI | Loop rows along the fabric length |
| Wales per Inch | WPI | |
| Stitch Density | /inch2 | |
| Courses per Centimetre | /cm | |
| Wales per Centimetre | /cm | |
| Loop Shape Factor | CPI/WPI |
Worked example
Given
- Courses counted
- 105
- Over length
- 2.5 inch
- Wales counted
- 80
- Over width
- 2.5 inch
Substituting
cpi = 105 / 2.5 = 42.0wpi = 80 / 2.5 = 32.0stitch density = 42 x 32 = 1,344 loops per square inchloop shape = 42 / 32 = 1.31Answer
- Courses per inch
- 42.00 CPI
- Wales per inch
- 32.00 WPI
- Stitch density
- 1,344 /in2
- Courses per cm
- 16.54
- Wales per cm
- 12.60
- Loop shape factor
- 1.3125
A loop shape factor near 1.3 is the signature of a properly relaxed single jersey. Counting the same fabric under tension might give 38 CPI and 34 WPI — a factor of 1.12, and a GSM prediction about 10% light.
How to use it
- Work through the input groups in order — Course Direction and Wale Direction. The defaults are a realistic case, so you can change one value at a time and watch what moves.
- There is no calculate button. Every figure recalculates as you type or drag, which is what makes this usable for a what-if sweep rather than a single answer.
- Read Courses per Inch in the dark results panel — that is the headline figure, expressed in CPI.
- Check the supporting rows underneath (Wales per Inch, Stitch Density, Courses per Centimetre, Wales per Centimetre and Loop Shape Factor) before acting on the headline — they are where an implausible input usually shows itself first.
- Reset to defaults returns every field to the reference case, which is the quickest way to check whether a surprising result came from the tool or from an input you had changed earlier.
Where this is used
- Incoming quality control — checking a delivery against the agreed construction before it is cut.
- GSM prediction — course and wale density are two of the four inputs a knitted weight calculation needs.
- Shrinkage and spirality diagnosis — a fabric that measures the right GSM but the wrong loop shape has a relaxation problem, not a yarn problem.
- Machine setting — comparing measured density against the intended setting closes the loop between the knitting machine and the fabric.
Reading the result
Typical bands and what each one is telling you.
| Value | What it indicates |
|---|---|
| Loop shape 1.25 to 1.40 | Normal relaxed single jersey. |
| Loop shape under 1.15 | Fabric measured while still extended along its length — relax it and count again. |
| Loop shape above 1.55 | Over-relaxed or over-compacted; expect length shrinkage in the garment. |
Assumptions and limits
- Condition the sample and let it relax flat before counting. Tension in the sample is the most common source of disagreement between mill and buyer.
- Every input is bounded to the range normal practice occupies (Courses Counted 1 to 5000 no., Over Length 0.25 to 40 inch and Wales Counted 1 to 5000 no., and so on for the rest). Those bounds are guard rails against typing errors, not a claim that the formula fails one unit outside them.
- The calculation is deterministic: the same inputs always give the same result. It carries no allowance for machine condition, operator skill, ambient conditions or lot-to-lot material variation unless an input above explicitly represents one.
- Nothing is sent anywhere. The maths runs in your browser, so the numbers you type never leave the page.
Standards and further reading
- ASTM D3887 — standard specification for tolerances for knitted fabrics.
- ISO 7211-2 / ASTM D3775 — counting thread density, the counting method itself.
- ISO 139 — conditioning atmosphere; counts taken outside it are not comparable.
Questions people ask
How large should the counting window be?
At least 2 inch, and larger on coarse gauges. Counting over a bigger distance divides any miscount by a bigger number, and taking five windows in different places on the piece catches variation that a single window hides.
Why does the mill reading disagree with the buyer laboratory?
Almost always relaxation. Fabric off the machine, off the roll, dry relaxed and wet relaxed give four different course counts on the same cloth. Agree the relaxation state in the specification and the disagreement disappears.
How does this connect to fabric GSM?
Courses and wales are two of the four inputs a knitted GSM prediction needs, alongside stitch length and yarn count. When predicted and measured GSM disagree, re-check this measurement first: it is the input most sensitive to how the sample was handled before it reached the counting glass.