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.
Redox and pH drift in opposite directions all shift. Dose against what the probes read, not against the recipe card.
Hydrosulfite to Add
—kg
Top-up to bring the vat to target redox potential
Dosing Sheet
Hydrosulfite Dose
—g/L
Caustic Dose
—g/L
Caustic to Add
—kg
Redox Deficit
—mV
pH Deficit
—
Hydrosulfite to Indigo Ratio
—×
The two response coefficients are vat-specific and drift with bath age and carry-over — fit them from your own dosing log rather than assuming. Sodium hydrosulfite is self-heating and releases sulfur dioxide on contact with acid or moisture; this sizes a dose, not a handling procedure.
Using this calculator
About the Indigo Vat Redox & Hydrosulfite Dosing Calculator
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
vatVolume
Vat Volume
L
currentOrp
Measured Redox Potential
mV
targetOrp
Target Redox Potential
mV
currentPh
Measured pH
—
targetPh
Target pH
—
hydrosulfiteResponse
Hydrosulfite per 100 mV
g/L
causticResponse
Caustic per pH Unit
g/L
indigoConcentration
Indigo in Vat
g/L
vatHydrosulfite
Hydrosulfite Already in Vat
g/L
hydrosulfiteTotal
Hydrosulfite to Add
kg
hydrosulfiteDose
Hydrosulfite Dose
g/L
causticDose
Caustic Dose
g/L
causticTotal
Caustic to Add
kg
orpDeficit
Redox Deficit
mV
phDeficit
pH Deficit
—
reductionRatio
Hydrosulfite to Indigo Ratio
×
How the result is derived
Step by step, from the values you type to the figure on screen.
The 9 inputs are read from the form on every keystroke: Vat Volume, Measured Redox Potential, Target Redox Potential, Measured pH, Target pH, Hydrosulfite per 100 mV, Caustic per pH Unit, Indigo in Vat and Hydrosulfite Already in Vat.
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 Hydrosulfite to Add together with every supporting figure in one pass — no value is carried over from a previous entry.
The supporting outputs — Hydrosulfite Dose, Caustic Dose, Caustic to Add, Redox Deficit, pH Deficit and Hydrosulfite to Indigo Ratio — 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
Vat Volume
L
50 to 100000 L
8000
Measured Redox Potential
mV
-1000 to 0 mV
-680
Target Redox Potential
mV
-1000 to 0 mV
-780
Measured pH
—
7 to 14
10.8
Target pH
—
7 to 14
11.3
Hydrosulfite per 100 mV
g/L
0.01 to 5 g/L
0.35
Caustic per pH Unit
g/L
0.01 to 20 g/L
1.8
Indigo in Vat
g/L
0.1 to 20 g/L
2.5
Hydrosulfite Already in Vat
g/L
0 to 20 g/L
1.2
What the tool returns
The headline figure and every supporting value it is built from.
Output
Unit
What it tells you
Hydrosulfite to Add (headline result)
kg
Top-up to bring the vat to target redox potential
Hydrosulfite Dose
g/L
Caustic Dose
g/L
Caustic to Add
kg
Redox Deficit
mV
pH Deficit
—
Hydrosulfite to Indigo Ratio
×
Worked example
Given
Vat Volume
8000 L
Measured Redox Potential
-680 mV
Target Redox Potential
-780 mV
Measured pH
10.8
Target pH
11.3
Hydrosulfite per 100 mV
0.35 g/L
Caustic per pH Unit
1.8 g/L
Indigo in Vat
2.5 g/L
Hydrosulfite Already in Vat
1.2 g/L
The tool loads with this case already solved — the Hydrosulfite to Add 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 — Vat State and Dosing Response. 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 Hydrosulfite to Add in the dark results panel — that is the headline figure, expressed in kg.
Check the supporting rows underneath (Hydrosulfite Dose, Caustic Dose, Caustic to Add, Redox Deficit, pH Deficit and Hydrosulfite to Indigo Ratio) 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 Hydrosulfite to Add before a trial is booked, so machine time and material in Denim Manufacturing & Specialized Wet Processing are committed against a calculated figure rather than an estimate.
Costing and quotation — Hydrosulfite to Add 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 Vat Volume) shows how much of the gap in Hydrosulfite to Add each variable explains.
Teaching and study — the accepted ranges bracket normal Denim Manufacturing & Specialized Wet Processing practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
The two response coefficients are vat-specific and drift with bath age and carry-over — fit them from your own dosing log rather than assuming. Sodium hydrosulfite is self-heating and releases sulfur dioxide on contact with acid or moisture; this sizes a dose, not a handling procedure.
Every input is bounded to the range normal practice occupies (Vat Volume 50 to 100000 L, Measured Redox Potential -1000 to 0 mV and Target Redox Potential -1000 to 0 mV, 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 Indigo Vat Redox & Hydrosulfite Dosing Calculator?
Have these to hand: Vat Volume, Measured Redox Potential, Target Redox Potential, Measured pH, Target pH, Hydrosulfite per 100 mV, Caustic per pH Unit, Indigo in Vat and Hydrosulfite Already in Vat. With those entered, the tool returns Hydrosulfite to Add immediately.
What exactly is Hydrosulfite to Add?
Top-up to bring the vat to target redox potential. It is reported in kg. It is derived from Vat Volume, Measured Redox Potential, Target Redox Potential, Measured pH, Target pH, Hydrosulfite per 100 mV, Caustic per pH Unit, Indigo in Vat and Hydrosulfite Already in Vat, and is the figure the rest of the Denim Manufacturing & Specialized Wet Processing calculation is built around.
Which units does this calculator expect?
Enter Vat Volume in L, Measured Redox Potential in mV, Target Redox Potential in mV, Hydrosulfite per 100 mV in g/L, Caustic per pH Unit in g/L, Indigo in Vat in g/L and Hydrosulfite Already in Vat in g/L. 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: Hydrosulfite Dose, Caustic Dose, Caustic to Add, Redox Deficit, pH Deficit and Hydrosulfite to Indigo Ratio. 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 two response coefficients are vat-specific and drift with bath age and carry-over — fit them from your own dosing log rather than assuming. Sodium hydrosulfite is self-heating and releases sulfur dioxide on contact with acid or moisture; this sizes a dose, not a handling procedure. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.