Tinyforge
Soap Lye Calculator

Soap lye calculator

Choose your oils, enter the batch size, and get the sodium hydroxide (lye) and water for a cold process bar of soap. Your recipe stays on your device.

Lye burns skin and eyes. Wear gloves and goggles. Add the lye to the water, never the water to the lye. The numbers below are a guide: check them against your own recipe before you mix.

Work out your lye and water

Weights in
Enter the oils by
Oils

Superfat is the share of oil left as oil in the finished soap. The Sage uses 5% to 8% most often, and at 4% or less the tool shows a warning. Lye as a share of the lye solution. 33% is the same as 2 parts water to 1 part lye.

How much lye does a soap recipe need?

Every oil has a saponification (SAP) value: the grams of sodium hydroxide that turn 1 gram of that oil into soap. Olive oil is about 0.1355. To find the lye for a recipe, multiply the weight of each oil by its SAP value and add the results. That total is the lye for a superfat of 0%.

Then take off the superfat. At 5% you multiply by 0.95. The tool lists each step under “The arithmetic”, so you can follow it with a pocket calculator or compare it with your own recipe.

Superfat

Superfat is the share of oil left as oil in the finished soap, so the recipe uses less lye than the oils could use up. The Sage (Majestic Mountain Sage), whose calculator is one of the two checked here, calls 5% to 8% the range it uses most often. It says 9% to 10% makes a softer soap, and it does not recommend 0% to 4% unless you know the actual saponification values of your oils. This tool shows a warning at 4% or less.

How much water?

You can set the water three ways: as a percentage of the oil weight, as a lye concentration (the lye as a share of the lye solution), or as parts of water to 1 part of lye. They describe the same quantity, and none of them changes the lye amount. A 33% lye concentration is 2.03 parts water to 1 part lye. For 1000 g of olive oil at 5% superfat that is 261.3 g of water, which is 26.1% of the oil weight.

The Sage recommends liquid of 25% to 37.5% of the oil weight for a batch, and the tool says so when your water falls outside that range.

Saponification values used here

The SAP values come from SoapCalc’s oil list at soapcalc.net/oil-list. SoapCalc gives them as potassium hydroxide values. Like SoapCalc, this tool multiplies them by 40 ÷ 56.1 to get sodium hydroxide.

Lye for 1000 g of a single oil
OilNaOH SAP0% superfat5% superfat
Argan oil0.1362136.2 g129.4 g
Avocado oil0.1326132.6 g126.0 g
Castor oil0.1283128.3 g121.9 g
Corn oil0.1369136.9 g130.1 g
Evening primrose oil0.1355135.5 g128.7 g
Hazelnut oil0.1390139.0 g132.1 g
Hemp seed oil0.1376137.6 g130.7 g
Macadamia nut oil0.1390139.0 g132.1 g
Meadowfoam seed oil0.1205120.5 g114.5 g
Olive oil0.1355135.5 g128.7 g
Peanut oil0.1369136.9 g130.1 g
Rice bran oil0.1333133.3 g126.7 g
Rosehip oil0.1333133.3 g126.7 g
Safflower oil0.1369136.9 g130.1 g
Soybean oil0.1362136.2 g129.4 g
Sunflower oil0.1348134.8 g128.0 g
Sweet almond oil0.1390139.0 g132.1 g
Walnut oil0.1348134.8 g128.0 g
Babassu oil0.1747174.7 g166.0 g
Cocoa butter0.1383138.3 g131.4 g
Coconut oil (76 degree)0.1832183.2 g174.1 g
Kokum butter0.1355135.5 g128.7 g
Mango butter0.1362136.2 g129.4 g
Palm oil0.1419141.9 g134.8 g
Shea butter0.1276127.6 g121.2 g
Beef tallow0.1426142.6 g135.5 g
Lard0.1412141.2 g134.1 g
Beeswax0.067067.0 g63.7 g
Jojoba oil0.065665.6 g62.3 g

Left out: apricot kernel oil, avocado butter, canola oil, grapeseed oil, palm kernel oil, sesame oil, stearic acid and wheat germ oil. SoapCalc and The Sage give lye amounts for these oils that differ by more than 2%, and the tool leaves them out instead of choosing one. This version makes sodium hydroxide (bar soap) only. Potassium hydroxide for liquid soap is not in it.

How the numbers were checked

A lye amount that is too high can burn, so the maths was compared with two well-known soap calculators: SoapCalc and The Sage. On 28 November 2026 seven recipes were entered into both. SoapCalc gives lye and water. The Sage gives lye and a recommended range for the liquid. The table lists what each one printed.

Lye (NaOH) and water, this tool and the two calculators
RecipeLye, this toolLye, SoapCalcLye, The SageWater, this toolWater, SoapCalc
Olive only
olive oil 1000 g; 5% superfat; water by lye concentration 33%
128.70 g128.70 g128.68 g261.30 g261.30 g
Coconut heavy, 8% superfat
coconut oil (76 degree) 600 g, olive oil 300 g, castor oil 100 g; 8% superfat; water by 35% of the oils
150.35 g150.35 g150.74 g350.00 g350.00 g
Palm-free five-oil mix
olive oil 400 g, coconut oil (76 degree) 250 g, shea butter 200 g, sunflower oil 100 g, castor oil 50 g; 5% superfat; water by lye concentration 33%
138.15 g138.15 g138.61 g280.48 g280.48 g
Lard, olive and coconut
lard 500 g, olive oil 300 g, coconut oil (76 degree) 200 g; 5% superfat; water by 2 parts water to 1 part lye
140.48 g140.48 g139.45 g280.97 g280.97 g
Olive-rich with castor, 3% superfat
olive oil 850 g, coconut oil (76 degree) 100 g, castor oil 50 g; 3% superfat; water by 35% of the oils
135.70 g135.70 g135.75 g350.00 g350.00 g
Classic olive, coconut and palm, in ounces
olive oil 16 oz, coconut oil (76 degree) 12 oz, palm oil 12 oz; 5% superfat; water by lye concentration 33%
5.77 oz5.77 oz5.77 oz11.71 oz11.71 oz
Tallow, olive, coconut and cocoa butter
beef tallow 500 g, olive oil 300 g, coconut oil (76 degree) 150 g, cocoa butter 50 g; 5% superfat; water by 35% of the oils
139.03 g139.03 g138.01 g350.00 g350.00 g

The tests fail if this tool differs from SoapCalc by more than 0.05 g, or from The Sage by more than 1%. SoapCalc and The Sage carry slightly different SAP values for some oils, so they do not agree to the gram on every recipe. On these seven the two differ by less than 1%.

Lye safety

What stays on your device

The sums are done in your browser. Recipes you save are kept in this browser only and are never sent anywhere. The site counts visits, and which weight unit and water setting were used. It never records an oil, an amount or a superfat. There are no ads and no affiliate links.

More