How to Calculate a Dye Recipe: WOG, Depth of Shade, Ratio
Measuring dye "a spoonful per shirt" works once. A written recipe based on weight works every time, scales from a swatch to a bedsheet, and lets you repeat a color months later. Dyers use four numbers: the weight of goods, the depth of shade, the liquor ratio, and the amount of each auxiliary chemical per liter. This guide explains each one, then works through full examples you can redo with your own numbers.
1. Weight of goods (WOG)
Weight of goods is the dry weight of the fabric or yarn you are dyeing. Natural dyers often say weight of fiber (WOF); it means the same thing. Every other quantity is calculated from it, so weigh carefully:
- Weigh the goods dry, before scouring or soaking. Wet fabric can weigh twice as much or more.
- Use a digital scale reading to 1 g for fabric, and a jewelry-type scale reading to 0.01 g for small amounts of dye. Keep both for dye work only, or cover the pan.
- For yardage you cannot weigh yet, estimate from fabric weight: dry weight (g) = GSM x area (square meters). The Fabric GSM Calculator finds the GSM from a small swatch, and the fabric weight guide explains how.
Length and size do not decide how much dye you need. A heavy cotton towel can weigh five times as much as a shirt of the same area.
2. Depth of shade (DOS)
Depth of shade is the weight of dye as a percentage of the weight of goods. It sets how light or dark the color will be.
dye (g) = dry fabric weight (g) x depth of shade (%) / 100
Example: 300 g of cotton at 1.5 percent depth of shade needs 300 x 1.5 / 100 = 4.5 g of dye.
As a rough guide for fiber-reactive dyes, pale shades use well under 1 percent, medium shades about 1 to 2 percent, and deep shades 4 percent or more; blacks and some deep colors need more still. Each dye and color has its own strength, so the maker's chart and your own test swatches are the real authority. Natural dyestuffs use the same formula, but at much higher percentages, often 50 to 100 percent for dried plant material.
3. Liquor ratio
The liquor ratio is the weight of the bath water to the weight of the goods. A 20:1 ratio means 20 mL of water for every 1 g of fabric (1 mL of water weighs 1 g).
bath water (mL) = dry fabric weight (g) x liquor ratio
Example: 300 g of fabric at 20:1 needs 300 x 20 = 6,000 mL, which is 6 L.
Higher ratios (30:1, 40:1) let the fabric move freely and dye more evenly, but use more water and, for fiber-reactive dye, more salt and soda ash. Lower ratios (10:1 or less) save water and chemicals and give more mottled, textured results. Pick a ratio that lets the fabric move in your pot, and keep it the same when you want to repeat a color.
4. Salt and soda ash per liter
For fiber-reactive immersion dyeing, salt and soda ash are measured against the water, not the fabric:
salt or soda ash (g) = bath liters x grams per liter
Example: a 6 L bath at 50 g/L salt and 20 g/L soda ash needs 300 g of salt and 120 g of soda ash.
The right amounts vary with the dye, the depth of shade and the maker's instructions. Published recipes run from about 10 g/L of salt for very pale shades to 60 g/L or more for deep ones, and from about 5 to 20 g/L of soda ash. Acid dyes use vinegar or citric acid instead, and natural dyes use mordants measured as a percentage of fiber weight; neither uses these salt and soda ash lines.
A full worked example
Example: 500 g of dry cotton, 2 percent depth of shade, 20:1 liquor ratio, 50 g/L salt, 20 g/L soda ash. These match the default rates of the Dye Recipe Calculator with the fabric weight set to 500 g.
| Item | Arithmetic | Result |
|---|---|---|
| Dye | 500 x 2 / 100 | 10 g |
| Water | 500 x 20 | 10,000 mL = 10 L |
| Salt | 10 L x 50 g/L | 500 g |
| Soda ash | 10 L x 20 g/L | 200 g |
In US units that is about 1.1 lb of fabric, 10.6 quarts (2.6 gallons) of water, 17.6 oz of salt and 7.1 oz of soda ash, with 10 g (0.35 oz) of dye. Weighing in grams is far more accurate than cups and spoons, because the weight of a spoonful of powder varies with how it is packed.
The calculator gives estimates to test on a swatch. Its dye line works for any dye class and for natural dyestuff; its salt and soda ash lines are for fiber-reactive immersion only.
Scaling a recipe
Because every quantity follows from the weight of goods, scaling is multiplication. Keep the depth of shade and liquor ratio the same and everything scales together.
Example: scale the recipe above to 1,200 g of cotton. Dye: 1,200 x 2 / 100 = 24 g. Water: 1,200 x 20 = 24 L. Salt: 24 x 50 = 1,200 g. Soda ash: 24 x 20 = 480 g.
Changing the liquor ratio changes the water, salt and soda ash, but not the dye. Example: the 500 g batch at 10:1 needs the same 10 g of dye in 5 L of water, with 250 g of salt and 100 g of soda ash. The dye is twice as concentrated in the bath, which tends to give a slightly deeper, less even result; test before switching ratios on a color you need to match.
Small amounts: use a stock solution
Swatches need tiny amounts of dye that are hard to weigh. Dissolve a larger, easy-to-weigh amount in a known volume of water instead. A 1 percent stock solution is 1 g of dye made up to 100 mL of water, so every 1 mL holds 0.01 g of dye.
Example: a 10 g swatch at 2 percent needs 10 x 2 / 100 = 0.2 g of dye, which is 20 mL of 1 percent stock. Mix stock solutions without soda ash, label them with the dye and date, and follow the maker's guidance on how long they keep.
Mixing more than one dye
For a mixed color, split the total depth of shade by parts. Example: a 2 percent depth of shade made from 3 parts of one color to 1 part of another, on 500 g of fabric: total dye 10 g, so 7.5 g of the first and 2.5 g of the second. The Color Mixing Calculator works out parts for a batch, and the color mixing guide explains why test swatches matter.
Cost per batch
Cost is grams used x price per gram, for the dye and for each auxiliary. Example, using the default inputs of the Dye Cost Estimator: 10 kg of fabric at 2 percent depth of shade uses 0.2 kg of dye; at a dye price of 50 per kg (in your currency) that is 10. Add auxiliaries at 3 per kg of fabric (30) and labor of 20, and the batch costs 60, or 6 per kg of fabric. Swap in your own prices to compare colors, fibers or suppliers.
Keep a recipe record
Write down every batch: date, fiber and its source, dry weight, dye and color names, depth of shade, liquor ratio, salt and soda ash per liter, water temperature, times, and a dried swatch. Without the record, even a perfect color cannot be repeated.
Safety
Weighing is the moment dye powder is most likely to get into the air. Wear a well-fitting particulate respirator of the type the SDS calls for, measure gently away from drafts, keep containers closed, and wipe spills with a damp towel; some fiber-reactive dye powders can cause respiratory allergy. Wear chemical-resistant gloves, and splash goggles with soda ash solutions. Scales, spoons and containers used for dye stay dedicated to dyeing and never go back to food use. Store dyes sealed and away from children and pets. See the fabric dyeing safety guide for the full list.