Jump to a calculator 671 tools
Hosiery
Sock Pairing Yield from Length Variation
The difference of two lengths has root-two the spread of either. Random pairing fails far more than the CV suggests.
Pairing Yield with Sorting
— %
When socks are binned by length before pairing
Variation, Pairing & Loss
- Length Standard Deviation
- — mm
- Spread of the Difference
- — mm
- Tolerance in Difference Sigmas
- — z
- Yield without Sorting
- — %
- Sorting Bin Width
- — mm
- Bins Required
- — nos
- Expected Singles per Shift
- — nos
- Pairs per Shift
- — nos
- Cost of the Singles
- — cost
- CV at which One Bin Suffices
- — %
Random pairing is the pessimistic bound and sorted pairing the optimistic one, and a real operation sits between them: it does not pair blind, but it also does not sort perfectly, and socks are pulled for pairing in the order they arrive rather than from a settled distribution. Read the two figures as the range the process lives inside, and the gap between them as what a sorting investment is worth. The bin model assumes production is spread across bins evenly enough that each ends with an odd sock about half the time, which holds when the run is long relative to the bin count and fails on a short run or a narrow size where one bin holds almost everything - there the singles count is close to one, not half the bin count. Length variation is treated as normal, which is a fair description of machine-to-machine and cycle-to-cycle scatter and a poor one where a single faulty machine is producing a second population; a bimodal distribution has far worse pairing behaviour than its overall CV suggests, and the tell is a pairing yield well below what this predicts. Nothing here covers the other pairing criteria - shade, welt, toe closure and foot size - each of which multiplies the bin count and therefore the singles.
Using this calculator
About the Sock Pairing Yield from Length Variation
The formula
This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.
sigmaDiff = sigma x sqrt(2)Two independent lengths subtract, and their variances add, so the difference is 41 percent more variable than either sock.
P(pair) = erf( tolerance / (sigmaDiff x sqrt(2)) )At a 4 mm tolerance on a 5.76 mm sigma this is only 38 percent - blind pairing throws away most of the production.
bins = ceil( 6 sigma / (2 x tolerance) ) singles = bins / 2Five bins across the population, an odd sock in about half of them, and the yield goes to 99.94 percent.
| Symbol | Stands for | Unit |
|---|---|---|
meanLength | Mean Leg Length | mm |
lengthCv | Length CV | % |
pairTolerance | Pairing Tolerance | mm |
shiftProduction | Socks per Shift | nos |
unitCost | Cost per Sock | cost |
sortedPairYield | Pairing Yield with Sorting | % |
standardDeviation | Length Standard Deviation | mm |
differenceSigma | Spread of the Difference | mm |
zScore | Tolerance in Difference Sigmas | z |
randomPairProbability | Yield without Sorting | % |
binWidth | Sorting Bin Width | mm |
effectiveBins | Bins Required | nos |
expectedSingles | Expected Singles per Shift | nos |
pairsPerShift | Pairs per Shift | nos |
singlesCostPerShift | Cost of the Singles | cost |
cvForOneBin | CV at which One Bin Suffices | % |
How the result is derived
Step by step, from the values you type to the figure on screen.
- The 5 inputs are read from the form on every keystroke: Mean Leg Length, Length CV, Pairing Tolerance, Socks per Shift and Cost per Sock.
- 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 Pairing Yield with Sorting together with every supporting figure in one pass — no value is carried over from a previous entry.
- The supporting outputs — Length Standard Deviation, Spread of the Difference, Tolerance in Difference Sigmas, Yield without Sorting, Sorting Bin Width, Bins Required, Expected Singles per Shift, Pairs per Shift, Cost of the Singles and CV at which One Bin Suffices — 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 |
|---|---|---|---|---|
| Mean Leg Length | mm | 50 to 900 mm | 320 | |
| Length CV | % | 0.1 to 15 % | 1.8 | |
| Pairing Tolerance | mm | 0.5 to 40 mm | 4 | Length difference a pair may carry and still be sold |
| Socks per Shift | nos | 50 to 100000 nos | 4000 | |
| Cost per Sock | cost | 0 to 100 cost | 1.15 |
What the tool returns
The headline figure and every supporting value it is built from.
| Output | Unit | What it tells you |
|---|---|---|
| Pairing Yield with Sorting (headline result) | % | When socks are binned by length before pairing |
| Length Standard Deviation | mm | |
| Spread of the Difference | mm | |
| Tolerance in Difference Sigmas | z | |
| Yield without Sorting | % | |
| Sorting Bin Width | mm | |
| Bins Required | nos | |
| Expected Singles per Shift | nos | |
| Pairs per Shift | nos | |
| Cost of the Singles | cost | |
| CV at which One Bin Suffices | % |
Worked example
Given
- Mean Leg Length
- 320 mm
- Length CV
- 1.8 %
- Pairing Tolerance
- 4 mm
- Socks per Shift
- 4000 nos
- Cost per Sock
- 1.15 cost
The tool loads with this case already solved — the Pairing Yield with Sorting 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 — Length Variation and Shift. 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 Pairing Yield with Sorting in the dark results panel — that is the headline figure, expressed in %.
- Check the supporting rows underneath (Length Standard Deviation, Spread of the Difference, Tolerance in Difference Sigmas, Yield without Sorting, Sorting Bin Width, Bins Required, Expected Singles per Shift, Pairs per Shift, Cost of the Singles and CV at which One Bin Suffices) 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 Pairing Yield with Sorting before a trial is booked, so machine time and material in Advanced Knitting & Hosiery are committed against a calculated figure rather than an estimate.
- Costing and quotation — Pairing Yield with Sorting 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 Mean Leg Length) shows how much of the gap in Pairing Yield with Sorting each variable explains.
- Teaching and study — the accepted ranges bracket normal Advanced Knitting & Hosiery practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
- Random pairing is the pessimistic bound and sorted pairing the optimistic one, and a real operation sits between them: it does not pair blind, but it also does not sort perfectly, and socks are pulled for pairing in the order they arrive rather than from a settled distribution. Read the two figures as the range the process lives inside, and the gap between them as what a sorting investment is worth. The bin model assumes production is spread across bins evenly enough that each ends with an odd sock about half the time, which holds when the run is long relative to the bin count and fails on a short run or a narrow size where one bin holds almost everything - there the singles count is close to one, not half the bin count. Length variation is treated as normal, which is a fair description of machine-to-machine and cycle-to-cycle scatter and a poor one where a single faulty machine is producing a second population; a bimodal distribution has far worse pairing behaviour than its overall CV suggests, and the tell is a pairing yield well below what this predicts. Nothing here covers the other pairing criteria - shade, welt, toe closure and foot size - each of which multiplies the bin count and therefore the singles.
- Every input is bounded to the range normal practice occupies (Mean Leg Length 50 to 900 mm, Length CV 0.1 to 15 % and Pairing Tolerance 0.5 to 40 mm, 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.
On this site
Articles that explain what this tool calculates.
Questions people ask
What do I need to know before using the Sock Pairing Yield from Length Variation?
Have these to hand: Mean Leg Length, Length CV, Pairing Tolerance, Socks per Shift and Cost per Sock. With those entered, the tool returns Pairing Yield with Sorting immediately.
What exactly is Pairing Yield with Sorting?
When socks are binned by length before pairing. It is reported in %. It is derived from Mean Leg Length, Length CV, Pairing Tolerance, Socks per Shift and Cost per Sock, and is the figure the rest of the Advanced Knitting & Hosiery calculation is built around.
Which units does this calculator expect?
Enter Mean Leg Length in mm, Length CV in %, Pairing Tolerance in mm, Socks per Shift in nos and Cost per Sock in cost. 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: Length Standard Deviation, Spread of the Difference, Tolerance in Difference Sigmas, Yield without Sorting, Sorting Bin Width, Bins Required, Expected Singles per Shift, Pairs per Shift, Cost of the Singles and CV at which One Bin Suffices. 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?
Random pairing is the pessimistic bound and sorted pairing the optimistic one, and a real operation sits between them: it does not pair blind, but it also does not sort perfectly, and socks are pulled for pairing in the order they arrive rather than from a settled distribution. Read the two figures as the range the process lives inside, and the gap between them as what a sorting investment is worth. The bin model assumes production is spread across bins evenly enough that each ends with an odd sock about half the time, which holds when the run is long relative to the bin count and fails on a short run or a narrow size where one bin holds almost everything - there the singles count is close to one, not half the bin count. Length variation is treated as normal, which is a fair description of machine-to-machine and cycle-to-cycle scatter and a poor one where a single faulty machine is producing a second population; a bimodal distribution has far worse pairing behaviour than its overall CV suggests, and the tell is a pairing yield well below what this predicts. Nothing here covers the other pairing criteria - shade, welt, toe closure and foot size - each of which multiplies the bin count and therefore the singles. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.
Convert this result
Reference rate of 2026-11-19, published by the European Central Bank. Source
A reference rate is not a dealing rate. Banks and payment providers apply their own spread, so treat this as the mid-market figure a quotation is negotiated around rather than the money that will arrive.