Skip to content
Omnikalc

Lye calculator: how much lye and water for your soap recipe?

Calculate the sodium hydroxide or potassium hydroxide and the water for a cold process soap recipe of up to three oils, with the superfat of your choice.

Updated on
Your inputs
Type of soap

Value out of range

Value out of range

Value out of range

%

Value out of range

%

Value out of range

Results

Lye to weigh

4.52

Lye is caustic: wear goggles and gloves, add lye to water (never the reverse) and work with ventilation

Water

10.56

Lye concentration in the solution
30.0%
Within the usual range of about 25 to 40%
Total oils
32.0
Total batch weight
47.1

The chemistry of soap

Soap is made by saponification: a strong alkali, the lye, reacts with the fatty acids in oils and butters to form soap and glycerin. Sodium hydroxide (NaOH) makes hard bar soap; potassium hydroxide (KOH) makes soft or liquid soap. Each oil needs a specific amount of lye, given by its saponification value, so a recipe must be calculated oil by oil.

How the calculation works

For each oil: lye = weight of oil × saponification value. The calculator adds the oils, then applies:

  • Superfat: a percentage of oil left unsaponified, usually 5 to 8%, for a milder bar and a safety margin. The lye is reduced by that percentage.
  • KOH: for liquid soap, the NaOH amount is multiplied by 1.403, the ratio of their molar masses, and divided by 0.9 because commercial KOH is about 90% pure.
  • Water: as a share of the oil weight, typically 30 to 38%, giving a lye solution of about 25 to 40%.

Example

A recipe of 16 oz of olive oil, 10 oz of coconut oil and 6 oz of shea butter, with 5% superfat and water at 33% of the oils:

  • Lye (NaOH): (16 × 0.135 + 10 × 0.183 + 6 × 0.128) × 0.95 = 4.52 oz, or 128 g
  • Water: 10.56 oz
  • Lye concentration: 30%
  • Total batch: about 47 oz, or 2.9 lb

Saponification values used

Per gram of oil, for NaOH: olive 0.135, coconut 0.183, palm 0.142, shea butter 0.128, cocoa butter 0.137, castor 0.128, sunflower 0.134, sweet almond 0.136, canola 0.124, avocado 0.133, lard 0.138 and beef tallow 0.143. Values vary slightly between batches of oil, which is one reason to keep a superfat.

Safety

Lye is highly caustic and can cause severe burns and blindness. Wear splash goggles, gloves and long sleeves. Always add lye to water, never water to lye, in a heat-resistant container, in a ventilated space away from children and pets. Weigh everything on a digital scale, never by volume, and let cold process bars cure for 4 to 6 weeks before use. Keep vinegar for cleaning surfaces, but rinse lye on skin with plenty of running water.

Frequently asked questions

What is the saponification value?

The amount of lye needed to turn one gram of a given oil into soap. Coconut oil needs about 0.183 g of sodium hydroxide per gram, olive oil about 0.135 g, so each oil in a recipe needs its own calculation.

What is superfat?

A margin of oil left unsaponified, usually 5 to 8%. It makes the bar milder and protects against small weighing errors that could leave free lye in the soap.

How much water should I use?

Between about 25 and 38% of the oil weight is common, or a lye concentration of 25 to 40%. Less water speeds up unmolding and curing but gives less time to work the batter.

How do I work with lye safely?

Wear goggles, gloves and long sleeves, work in a ventilated space away from children and pets, and always pour the lye into the water, never the reverse. Weigh with a digital scale and run every recipe through a lye calculator.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.