Paste this where you want the calculator to appear. It works on any site — WordPress, Squarespace, Webflow, Ghost or plain HTML — and needs no JavaScript of yours. It carries a link back here, which is the only thing we ask for it.
A vertical line is a needle. A repeating horizontal mark is a feeder. Measuring the repeat tells you which drawer to open.
Suspect Needle Number
—no.
Counting from the datum in the direction of numbering
Fault Geometry
Needle Pitch
—mm
Cylinder Circumference
—mm
Defect Repeat Distance
—cm
Defects per Metre
—no.
Courses per Minute
—no.
Fabric Production Speed
—m/min
The needle number is only as good as the datum: it must be measured on relaxed fabric from a marked reference wale, and tubular fabric that has been slit, stretched or finished has moved relative to where it was knitted. Compare the defect repeat against the feeder count first — a repeat equal to the number of feeders indicates a single feeder rather than a needle, and no amount of needle-changing will fix it. Sinkers, cams and a burred needle in an adjacent track all produce marks near the calculated position, so treat the number as where to start inspecting rather than as a diagnosis.
Using this calculator
About the Knitting Machine Defect-to-Needle Correlation Analyzer
The formula
This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.
Each input feeds the expression evaluated in the browser; the symbol table below names every term and its unit.
Symbols used above
Symbol
Stands for
Unit
cylinderDiameter
Cylinder Diameter
in
needles
Needles in Cylinder
no.
feeders
Feeders
no.
machineRpm
Machine Speed
rpm
linePosition
Line Position from Datum
mm
defectRepeatCourses
Defect Repeat
courses
coursesPerCm
Course Density
courses/cm
suspectNeedle
Suspect Needle Number
no.
needlePitch
Needle Pitch
mm
cylinderCircumference
Cylinder Circumference
mm
defectRepeatDistance
Defect Repeat Distance
cm
defectsPerMetre
Defects per Metre
no.
coursesPerMinute
Courses per Minute
no.
fabricSpeed
Fabric Production Speed
m/min
How the result is derived
Step by step, from the values you type to the figure on screen.
The 7 inputs are read from the form on every keystroke: Cylinder Diameter, Needles in Cylinder, Feeders, Machine Speed, Line Position from Datum, Defect Repeat and Course Density.
Each value is checked against the accepted range in the input table below. A value outside its range stops the calculation rather than producing a misleading figure — the results blank out and a message appears.
The validated values are substituted into the expression above, which resolves Suspect Needle Number together with every supporting figure in one pass — no value is carried over from a previous entry.
The supporting outputs — Needle Pitch, Cylinder Circumference, Defect Repeat Distance, Defects per Metre, Courses per Minute and Fabric Production Speed — come from the same pass, so they always describe the same case as the headline figure.
Results are rounded for display only. The full-precision value is used throughout the chain, so reading a rounded intermediate figure back into the tool by hand can shift the last digit.
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
Cylinder Diameter
in
3 to 60 in
30
Needles in Cylinder
no.
50 to 10000 no.
3000
Feeders
no.
1 to 200 no.
96
Machine Speed
rpm
1 to 120 rpm
28
Line Position from Datum
mm
0 to 5000 mm
458
Defect Repeat
courses
1 to 2000 courses
96
Course Density
courses/cm
1 to 60 courses/cm
12.5
What the tool returns
The headline figure and every supporting value it is built from.
Output
Unit
What it tells you
Suspect Needle Number (headline result)
no.
Counting from the datum in the direction of numbering
Needle Pitch
mm
Cylinder Circumference
mm
Defect Repeat Distance
cm
Defects per Metre
no.
Courses per Minute
no.
Fabric Production Speed
m/min
Worked example
Given
Cylinder Diameter
30 in
Needles in Cylinder
3000 no.
Feeders
96 no.
Machine Speed
28 rpm
Line Position from Datum
458 mm
Defect Repeat
96 courses
Course Density
12.5 courses/cm
The tool loads with this case already solved — the Suspect Needle Number shown above is its answer. Change one value and the difference from this baseline is the sensitivity of the result to that variable.
How to use it
Work through the input groups in order — Machine and Observed Fault. 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 Suspect Needle Number in the dark results panel — that is the headline figure, expressed in no..
Check the supporting rows underneath (Needle Pitch, Cylinder Circumference, Defect Repeat Distance, Defects per Metre, Courses per Minute and Fabric Production Speed) 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
Process planning — establishing Suspect Needle Number before a trial is booked, so machine time and material in Machine Performance & OEE are committed against a calculated figure rather than an estimate.
Costing and quotation — Suspect Needle Number is an input to the cost sheet, and quoting from a worked number rather than a remembered one is what keeps a margin intact.
Troubleshooting — when the floor result drifts from plan, entering the measured values (starting with Cylinder Diameter) shows how much of the gap in Suspect Needle Number each variable explains.
Teaching and study — the accepted ranges bracket normal Machine Performance & OEE practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
The needle number is only as good as the datum: it must be measured on relaxed fabric from a marked reference wale, and tubular fabric that has been slit, stretched or finished has moved relative to where it was knitted. Compare the defect repeat against the feeder count first — a repeat equal to the number of feeders indicates a single feeder rather than a needle, and no amount of needle-changing will fix it. Sinkers, cams and a burred needle in an adjacent track all produce marks near the calculated position, so treat the number as where to start inspecting rather than as a diagnosis.
Every input is bounded to the range normal practice occupies (Cylinder Diameter 3 to 60 in, Needles in Cylinder 50 to 10000 no. and Feeders 1 to 200 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.
Questions people ask
What do I need to know before using the Knitting Machine Defect-to-Needle Correlation Analyzer?
Have these to hand: Cylinder Diameter, Needles in Cylinder, Feeders, Machine Speed, Line Position from Datum, Defect Repeat and Course Density. With those entered, the tool returns Suspect Needle Number immediately.
What exactly is Suspect Needle Number?
Counting from the datum in the direction of numbering. It is reported in no.. It is derived from Cylinder Diameter, Needles in Cylinder, Feeders, Machine Speed, Line Position from Datum, Defect Repeat and Course Density, and is the figure the rest of the Machine Performance & OEE calculation is built around.
Which units does this calculator expect?
Enter Cylinder Diameter in in, Needles in Cylinder in no., Feeders in no., Machine Speed in rpm, Line Position from Datum in mm, Defect Repeat in courses and Course Density in courses/cm. Mixing unit systems is the most common cause of a result that looks an order of magnitude wrong — convert before typing, not after reading.
What are the other figures under the main result?
They are the intermediate quantities the calculation passes through: Needle Pitch, Cylinder Circumference, Defect Repeat Distance, Defects per Metre, Courses per Minute and Fabric Production Speed. They are shown because a headline number nobody can trace is a number nobody trusts — checking them against your own expectation is the fastest way to confirm the inputs were read as you intended.
Can I rely on this for a production decision?
The needle number is only as good as the datum: it must be measured on relaxed fabric from a marked reference wale, and tubular fabric that has been slit, stretched or finished has moved relative to where it was knitted. Compare the defect repeat against the feeder count first — a repeat equal to the number of feeders indicates a single feeder rather than a needle, and no amount of needle-changing will fix it. Sinkers, cams and a burred needle in an adjacent track all produce marks near the calculated position, so treat the number as where to start inspecting rather than as a diagnosis. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.