Soap lye calculator

Pick up to four oils and enter their weights. The calculator uses typical saponification values to give the sodium hydroxide (or potassium hydroxide) and the water for your batch, with the superfat and lye concentration you choose.

Oil left unsaponified; 5 % is a common choice for bars
Lye ÷ (lye + water); 25 to 40 % is the usual range
100 for pure NaOH; KOH is often sold at about 90 %
Lye140.6 g
Water285.5 g
Total oils
1,000 g
Total batch (oils + lye + water)
1,426.1 g
Water : lye
2.03 : 1
Water as % of oils
28.5 %
Lye with no superfat
148 g

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose grams or ounces. Pick an oil for each row and enter its weight; leave unused rows at 0.
  2. Choose NaOH for bar soap or KOH for liquid soap, and set the purity (KOH is often about 90 %).
  3. Set the superfat and the lye concentration.
  4. Weigh out the lye and water shown. Always add the lye to the water, never the other way round.

How it works

lye = Σ (oil weight × SAP) × (1 − superfat ÷ 100) ÷ (purity ÷ 100)

The SAP values are grams of NaOH per gram of oil; for KOH they are multiplied by 56.106 ÷ 39.997 = 1.403, the ratio of the molar masses.

water = lye × (100 − concentration) ÷ concentration

The same arithmetic works in grams or ounces, as long as all weights are in one unit.

Worked example

500 g olive oil, 300 g coconut oil, 150 g shea butter and 50 g castor oil, NaOH, 5 % superfat, 33 % concentration:

  • 500 × 0.135 = 67.5; 300 × 0.183 = 54.9; 150 × 0.128 = 19.2; 50 × 0.128 = 6.4; sum 148 g;
  • with 5 % superfat: 148 × 0.95 = 140.6 g NaOH;
  • water: 140.6 × 67 ÷ 33 = 285.5 g, a water : lye ratio of 2.03 : 1 and 28.5 % of the oil weight;
  • the whole batch weighs 1,000 + 140.6 + 285.5 = 1,426.1 g.

Safety

  • Sodium and potassium hydroxide burn skin and eyes. Wear goggles and gloves, work in a ventilated place and keep children and pets away.
  • Weigh everything on a scale; measuring cups are not accurate enough for lye.
  • Run any new recipe through a second calculator or check the arithmetic before you make it.

Frequently asked questions

How is the amount of lye calculated?

Each oil needs a set amount of lye to turn into soap, its saponification (SAP) value. Multiply each oil's weight by its SAP value, add them up, reduce by the superfat and divide by the purity. 500 g olive × 0.135 + 300 g coconut × 0.183 + 150 g shea × 0.128 + 50 g castor × 0.128 = 148 g NaOH; with 5 % superfat, 140.6 g.

What superfat should I use?

Superfat is the share of oil left as free oil in the finished soap, a safety margin against excess lye and a softer feel on the skin. Around 5 % is common for bars; more makes a gentler but softer, faster-spoiling soap. Liquid soap is often made with little or no superfat.

How accurate are the SAP values?

They are typical averages. Published tables differ slightly and every batch of oil varies, which is one reason to keep a superfat. If your supplier gives a SAP value for the oil you bought, it is better than a table.

How much water should I use?

The lye concentration sets it: water = lye × (100 − c) ÷ c. At 33 % the water is about twice the lye. Less water (higher concentration) speeds up trace and unmoulding; more water gives more time to work.

More in Hobbies

All tools in this category: Hobbies ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.