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.
Displacement wastes nothing — the transitional mixture goes onto yarn that accepted either recipe. Only the clock decides.
Displacement Time
—h
To bring the box inside tolerance without draining
Changeover Comparison
Box Turnovers Required
—×
Volume to Displace
—L
Drain and Refill Time
—h
Time Saved by Displacing
—h
Size Liquor Not Discarded
—/change
Displacement is only available when both recipes are chemically compatible, and that is a formulation judgement rather than an arithmetic one — mixing incompatible binders can gel the box, which costs far more than the drain it was avoiding. A negative time saving simply means draining is quicker for this pair. The exponential also assumes the box is well stirred and the addition is fresh recipe at working concentration; boxes with poor circulation retain old size in corners and on immersed rollers. Whatever the sequence, the yarn made during the transition carries an intermediate size add-on and should be tracked, since weaving performance follows size pick-up closely.
Using this calculator
About the Sizing Batch Washout & Size Box Changeover Optimizer
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
boxVolume
Size Box Volume
L
addRate
Fresh Size Addition Rate
L/h
sizePrice
Size Liquor Value
/L
recipeDifference
Recipe Difference
%
tolerance
Acceptable Deviation
%
drainTime
Drain and Clean Time
h
heatUpTime
Refill and Heat-up Time
h
washoutTime
Displacement Time
h
turnoversRequired
Box Turnovers Required
×
volumeDisplaced
Volume to Displace
L
drainRefillTime
Drain and Refill Time
h
timeSaved
Time Saved by Displacing
h
sizeSaved
Size Liquor Not Discarded
/change
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: Size Box Volume, Fresh Size Addition Rate, Size Liquor Value, Recipe Difference, Acceptable Deviation, Drain and Clean Time and Refill and Heat-up Time.
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 Displacement Time together with every supporting figure in one pass — no value is carried over from a previous entry.
The supporting outputs — Box Turnovers Required, Volume to Displace, Drain and Refill Time, Time Saved by Displacing and Size Liquor Not Discarded — 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
Size Box Volume
L
50 to 5000 L
900
Fresh Size Addition Rate
L/h
20 to 3000 L/h
350
Size Liquor Value
/L
0.05 to 20 /L
0.8
Recipe Difference
%
0.5 to 100 %
12
Difference in size solids or composition between the two recipes.
Acceptable Deviation
%
0.1 to 50 %
5
Drain and Clean Time
h
0.1 to 10 h
1.5
Refill and Heat-up Time
h
0.1 to 10 h
2
What the tool returns
The headline figure and every supporting value it is built from.
Output
Unit
What it tells you
Displacement Time (headline result)
h
To bring the box inside tolerance without draining
Box Turnovers Required
×
Volume to Displace
L
Drain and Refill Time
h
Time Saved by Displacing
h
Size Liquor Not Discarded
/change
Worked example
Given
Size Box Volume
900 L
Fresh Size Addition Rate
350 L/h
Size Liquor Value
0.8 /L
Recipe Difference
12 %
Acceptable Deviation
5 %
Drain and Clean Time
1.5 h
Refill and Heat-up Time
2 h
The tool loads with this case already solved — the Displacement Time 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 — Size Box and Recipe Change. 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 Displacement Time in the dark results panel — that is the headline figure, expressed in h.
Check the supporting rows underneath (Box Turnovers Required, Volume to Displace, Drain and Refill Time, Time Saved by Displacing and Size Liquor Not Discarded) 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 Displacement Time before a trial is booked, so machine time and material in Production Planning & Sequencing are committed against a calculated figure rather than an estimate.
Costing and quotation — Displacement Time 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 Size Box Volume) shows how much of the gap in Displacement Time each variable explains.
Teaching and study — the accepted ranges bracket normal Production Planning & Sequencing practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
Displacement is only available when both recipes are chemically compatible, and that is a formulation judgement rather than an arithmetic one — mixing incompatible binders can gel the box, which costs far more than the drain it was avoiding. A negative time saving simply means draining is quicker for this pair. The exponential also assumes the box is well stirred and the addition is fresh recipe at working concentration; boxes with poor circulation retain old size in corners and on immersed rollers. Whatever the sequence, the yarn made during the transition carries an intermediate size add-on and should be tracked, since weaving performance follows size pick-up closely.
Every input is bounded to the range normal practice occupies (Size Box Volume 50 to 5000 L, Fresh Size Addition Rate 20 to 3000 L/h and Size Liquor Value 0.05 to 20 /L, 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 Sizing Batch Washout & Size Box Changeover Optimizer?
Have these to hand: Size Box Volume, Fresh Size Addition Rate, Size Liquor Value, Recipe Difference, Acceptable Deviation, Drain and Clean Time and Refill and Heat-up Time. With those entered, the tool returns Displacement Time immediately.
What exactly is Displacement Time?
To bring the box inside tolerance without draining. It is reported in h. It is derived from Size Box Volume, Fresh Size Addition Rate, Size Liquor Value, Recipe Difference, Acceptable Deviation, Drain and Clean Time and Refill and Heat-up Time, and is the figure the rest of the Production Planning & Sequencing calculation is built around.
Which units does this calculator expect?
Enter Size Box Volume in L, Fresh Size Addition Rate in L/h, Size Liquor Value in /L, Recipe Difference in %, Acceptable Deviation in %, Drain and Clean Time in h and Refill and Heat-up Time in h. 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: Box Turnovers Required, Volume to Displace, Drain and Refill Time, Time Saved by Displacing and Size Liquor Not Discarded. 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?
Displacement is only available when both recipes are chemically compatible, and that is a formulation judgement rather than an arithmetic one — mixing incompatible binders can gel the box, which costs far more than the drain it was avoiding. A negative time saving simply means draining is quicker for this pair. The exponential also assumes the box is well stirred and the addition is fresh recipe at working concentration; boxes with poor circulation retain old size in corners and on immersed rollers. Whatever the sequence, the yarn made during the transition carries an intermediate size add-on and should be tracked, since weaving performance follows size pick-up closely. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.