Lye calculator
- Soap
- Free calculator
- No sign-up
Enter your oils and get the lye, the water and every oil weighed out.

How much oil are you using in total?
g
Don't know? Work it out from your mold
Which oils, and what share of each? Example blend
%
%
%
%
100% total
Settings
- Making
- Bar soap
- Superfat
- 5%
- Water
- 33% lye solution
- Fragrance
- 3% of oils
The usual settings for cold process bar soap. Most people keep them.
You need
Enter your total oil weight and your answer appears here.
How to use your results
How it's calculated
Each oil needs a different amount of lye to turn into soap. The tool calculates that amount for every oil, adds them, then reduces the total by your chosen superfat. It works out water separately from your concentration setting. Check the oil names, weights and lye type before you make a batch; a wrong lye amount can make unsafe soap.
Full lye = Σ (oil weight × saponification value)
Lye used = full lye × (1 − superfat)
= water
= = lye × (1 − concentration) ÷ concentration
KOH sap = NaOH sap × 1.4028, then ÷ purity
Worked example 1000 g of 40% olive oil, 30% coconut oil (76°), 25% palm oil, 5% castor oil takes 142.8 g of sodium hydroxide at a 5% superfat, and 290 g of water at a 33% lye solution.
Practical tips
- Recalculate every time
- Each oil needs a different amount of lye. Run the calculator again whenever you change an oil or its weight, and never reuse a lye amount from another recipe.
- Check your lye
- The result assumes pure sodium hydroxide, or the KOH purity you enter. Use the assay printed on your own product.
- Percentages don't have to add to 100
- The calculator keeps your ratio and gives each oil its share of the total. "Make it 100%" just tidies the numbers.
Common questions
How much lye do I need for 1 kg of oils?
There's no single answer, because it depends on the oils. The example blend, 40% olive oil, 30% coconut oil (76°), 25% palm oil, 5% castor oil, displays 142.8 g of sodium hydroxide at a nominal 5% lye discount. The same kilo as pure coconut oil displays 173.8 g, and pure olive oil 127.7 g. Check the exact oils and alkali assay before making a batch.
Why can I not just use an average saponification value?
Because the values are too far apart for an average to be safe. Coconut oil needs about 36% more lye per gram than olive oil does. Average them and a coconut-heavy recipe comes out short of lye, which is merely soft soap, while an olive-heavy one comes out lye-heavy, which burns skin. This calculator saponifies each oil separately and adds the results up.
What superfat should I use?
5% is this tool's example lye discount for cold process. It reduces the calculated alkali by 5%; it doesn't measure the exact amount of oil left in the finished bar. The actual result also depends on the oils' SAP values and the alkali's assay. Lower discounts leave less room for ingredient and weighing variation; high discounts can soften a bar.
How much water goes with that lye?
At the standard 33% lye concentration, that example batch takes 290 g of water, which is 29% of the oil weight, not the 38% you'll see in older recipe books. Water is the one figure soapers quote three incompatible ways, so the calculator shows all three at once and the water discount calculator converts between them.
Can I use this for liquid soap?
Yes, switch the lye to potassium hydroxide. The tool converts the NaOH SAP values by 1.4028 and divides by the KOH assay you enter. At the example 90% assay, it displays 222.6 g for the same oil blend. Use the assay on your own KOH container or batch certificate.
My percentages don't add up to 100. Is that a problem?
Not for the math. The calculator treats your numbers as a ratio and gives each oil its share of the total oil weight you entered, so a blend adding to 96% still produces a correct recipe. It's flagged because it's usually a typo rather than a choice, and "Make it 100%" rescales the rows without changing their proportions.
Is it safe to round the lye weight?
The displayed lye amount rounds down to a tenth of a gram, or a hundredth of an ounce. Weigh with a scale that resolves the displayed unit and don't round the number upward. The lye discount is a planning margin, not proof that a batch is safe.
Keep going
Learn
Make
Other calculators
Last updated