Soap Lye Calculator
Work out the exact lye (NaOH) and water for cold process soap from your oil weights, with superfat, water ratio and a full recipe breakdown.
How to calculate soap lye
- Each oil or butter reacts with a specific amount of sodium hydroxide, called its saponification or SAP value. Enter the weight of every oil in your recipe in grams or ounces and leave unused oils at zero. The calculator multiplies each weight by its NaOH value, for example 0.135 for olive oil and 0.183 for coconut oil, and adds them up. That total is the lye needed to turn every gram of oil into soap with nothing left over.
- Soap made at exactly that amount would be harsh, so soap makers reduce the lye slightly. This is the superfat. A 5% superfat means 5% of the oils stay free in the bar to keep it gentle and to cover small differences between real oils and published SAP values. Most cold process recipes use 3% to 8%, while laundry soap is often made with 0% to 1%.
- Water dissolves the lye before it is mixed into the oils. The water to lye ratio controls how strong that solution is. A ratio of 2 to 1 gives a solution that is about 33% lye and is a common, forgiving starting point. Lower ratios such as 1.5 to 1 speed up unmolding but give less time to work with the batter. The calculator shows the water weight, lye concentration and total batch weight so you can size your mold.
Formula: lye at 0% superfat = Σ (oil weight × NaOH SAP) lye = lye at 0% × (1 − superfat ÷ 100) water = lye × water ratio concentration = lye ÷ (lye + water) × 100
Formula
lye at 0% superfat
Where:
- NaOH SAP
- = Grams of sodium hydroxide that react with one gram of that oil
- superfat
- = Percent of oil left unreacted for a gentler bar
- water ratio
- = Parts of water per one part of lye by weight
Worked example
A 1,000 gram batch with 500 g olive oil, 300 g coconut oil, 150 g shea butter and 50 g castor oil needs 67.5 + 54.9 + 19.2 + 6.4 = 148.0 g of NaOH to react completely.
At a 5% superfat that becomes 140.6 g of lye. With a 2 to 1 water ratio you dissolve it in 281.2 g of water, a 33.3% lye solution, for a total batch of about 1,422 g before fragrance.
Safe habits for making cold process soap
Weigh everything, including water, on a digital scale that reads to the gram, since measuring cups are not accurate enough for lye. Mix the lye solution in a heat safe plastic or stainless steel container in a ventilated area, always pouring lye into water and never the other way around. Keep vinegar away from skin burns; rinse with plenty of cool running water instead and seek help if needed.
Let bars cure for four to six weeks on a rack with air around them. Curing lets water evaporate and the bar harden, giving a milder and longer lasting soap. Write down every weight, superfat and temperature in a notebook so you can repeat a recipe that works or adjust one that does not.
Frequently asked questions
Multiply the weight of each oil by its NaOH saponification value, add the results, then reduce the total by your superfat. For 1,000 g of olive oil at 5% superfat that is 1,000 × 0.135 × 0.95 = 128.25 g of lye.
Related calculators
Lye is caustic. Wear eye and skin protection and double check every recipe before mixing. SAP values are typical published figures.