Soap Making Lye Calculator

Build your oil blend, set your superfat percentage, and get the exact amount of NaOH or KOH to weigh out — plus the water amount and INS hardness value. 16 oils from coconut to shea. Nothing uploaded.

NaOH or KOH ? Superfat / lye discount ? 16 oils INS hardness ? Water ratio
Lye amount
—
NaOH (sodium hydroxide)
Water
—
Total oils
—
Batch size
—
Superfat
—
INS hardness value ?
—
Safety: lye is caustic. Always add lye to water (never water to lye). Wear gloves and eye protection. Work in a ventilated area.

Learn more: calculating lye for cold process soap

Lye comes from each oil's SAP value

Every oil has a saponification (SAP) value, the amount of alkali needed to turn it into soap. The Soapery's guide to SAP values says the value shows how much sodium hydroxide or potassium hydroxide an oil needs, and lists NaOH values of 0.182 for coconut oil, 0.135 for olive oil and 0.129 for castor oil. The tool multiplies each oil's weight by its value and adds up the oils. It uses 0.190 for coconut oil, 0.134 for olive and 0.128 for castor, so for 500 g it gives 95 g of lye for coconut oil and 67 g for olive oil.

Values differ between sources and between batches of oil. The Soapery gives coconut oil as 0.182, a supplier table I checked gives it as 191.1 per kilogram, and the tool uses 0.190. A higher value means more lye and a smaller real superfat. Check a recipe against a second calculator and the figures on your own oil's label, and use a superfat of at least a few percent so an error does not leave too much lye.

Superfat is a lye discount

Superfat leaves some oil unreacted. The tool applies it by cutting the lye, and the oil weight stays the same. The Soapery says you can discount 5% off the sodium hydroxide or potassium hydroxide to superfat a soap. For 500 g of olive oil, 67 g of lye with a 5% superfat becomes 63.65 g. A recipe of 300 g olive oil and 200 g coconut oil at 5% superfat needs about 74.3 g of lye in the tool.

Liquid soap uses KOH

Liquid soap uses potassium hydroxide. The tool converts a NaOH value to KOH by dividing by 0.713, the ratio of the two molecular weights, which agrees with the Soapery's use of 1,000 for KOH against 1,403 for NaOH, a ratio of 0.713. It then divides by the purity of your KOH, such as 0.90, since a less pure product needs more of it. For 500 g of olive oil at 90% purity that is about 104 g.

Water and the INS number

Water dissolves the lye and is set as a share of the oil weight, so it is separate from the lye amount. The INS value in the tool is the average of each oil's INS number weighted by its share of the recipe. It is a guide to hardness and not a safety figure, and it is the lye amount that matters for safety.

Safety

Lye is caustic. Wear gloves and eye protection, add lye to water and not the other way round, and keep it away from children and pets. Too much lye leaves unreacted lye in the bar, so check your numbers before you start.

FAQ

What if I use too little lye?

Some oil is left unreacted, which can make the soap soft or greasy. Too much lye leaves free lye in the bar, which is a safety problem, so recalculate whenever the oils change.

What is the INS value?

A weighted average of the oils' INS numbers that gives a rough idea of hardness. It is a guideline, not a safety check.

Why is water a percentage of the oil?

Water dissolves the lye and affects how the batter behaves, but it does not react with the oil the way lye does. The tool sets it as a share of oil weight, apart from the lye.

Last reviewed: October 1, 2026

Link to this tool

Sharing or citing this calculator? Copy a link in the format you need. You're free to quote and cite anything on this page.

Plain URL
https://bentoutils.com/apps/soap-lye-calculator/
HTML link
<a href="https://bentoutils.com/apps/soap-lye-calculator/">Soap Making Lye Calculator</a>
Markdown link
[Soap Making Lye Calculator](https://bentoutils.com/apps/soap-lye-calculator/)
Citation
Soap Making Lye Calculator. BentoUtils. October 1, 2026. https://bentoutils.com/apps/soap-lye-calculator/