+90 216 706 97 99TR info@isfchem.com
ISFCHEMMore than chemicals Request a Quote TR

Soap Calculator

Enter your oils and their ratios; the caustic soda (NaOH), caustic potash (KOH) and water needed are calculated instantly with superfat and purity. Results update as you change the ratios.

1Soap type

2Oils and ratios

If the SAP field is left empty, the midpoint of the range in the table is used. Enter the saponification value from your oil's certificate of analysis (COA) for a more precise result.

3Settings

Breakdown by oil

Oil%gSAPNaOH gKOH g
Safety
  • Sodium and potassium hydroxide are corrosive; wear safety goggles, gloves and long sleeves.
  • Always add lye slowly to water, never water to lye. Dissolving releases heat.
  • Work in a well-ventilated area, away from children and pets.
  • Results are for guidance only. Soaps placed on the market are subject to cosmetics regulations; validate your recipe with a test batch.

How is it calculated?

Saponification value (SAP)

The amount of KOH needed to fully saponify 1 g of oil (mg KOH/g). The NaOH requirement is obtained by multiplying by the molar mass ratio (39.997 / 56.106 ≈ 0.7129).

Superfat

The calculated lye is reduced by a set percentage so that part of the oil stays unsaponified — a safety margin that also affects skin feel.

NaOH or KOH?

Sodium hydroxide (NaOH) gives hard bar soap; potassium hydroxide (KOH) gives liquid and soft soap. Both together are used for cream soaps.

Purity

Caustic soda and potash are not 100% pure. The pure amount is divided by the purity to get the weight to use. Rely on the label or COA value.

NaOH (g) = Σ [oil (g) × SAP / 1000] × 0.7129 × (1 − superfat) / purity
KOH (g) = Σ [oil (g) × SAP / 1000] × (1 − superfat) / purity
Water (g) = lye × (100 / concentration − 1)

Saponification value table

Values are in mg KOH / g oil. For oils covered by Codex standards the standard range is given; for others a typical literature range or the SoapCalc oil table value. Actual values vary by origin and batch.

OilSAP range (mg KOH/g)Used in calculationNaOH (g/g)Source
Apricot kernel oil185–199192.00.1369Typical literature range
Argan oil189–199194.00.1383Typical literature range
Avocado oil177–198187.50.1337Typical literature range
Babassu oil245–256250.50.1786Codex CXS 210-1999
Baobab oil200200.00.1426SoapCalc oil table
Beeswax9494.00.0670SoapCalc oil table
Black cumin (nigella) seed oil195195.00.1390SoapCalc oil table
Borage oil190190.00.1354SoapCalc oil table
Camelina seed oil188188.00.1340SoapCalc oil table
Camellia (tsubaki) oil188–196192.00.1369Typical literature range
Canola oil (low erucic)182–193187.50.1337Codex CXS 210-1999
Castor oil176–187181.50.1294Typical literature range
Cocoa butter188–198193.00.1376Codex CXS 86-1981
Coconut oil248–265256.50.1829Codex CXS 210-1999
Corn (maize) oil187–195191.00.1362Codex CXS 210-1999
Cottonseed oil189–198193.50.1379Codex CXS 210-1999
Evening primrose oil190190.00.1354SoapCalc oil table
Ghee / milk fat227227.00.1618SoapCalc oil table
Grapeseed oil188–194191.00.1362Codex CXS 210-1999
Hazelnut oil188–197192.50.1372Typical literature range
Hemp seed oil190–195192.50.1372Typical literature range
Jojoba oil (liquid wax)88–9893.00.0663Typical literature range
Kokum butter190190.00.1354SoapCalc oil table
Kukui nut oil189189.00.1347SoapCalc oil table
Lanolin106106.00.0756SoapCalc oil table
Lard192–203197.50.1408Codex CXS 211-1999
Laurel fruit oil198198.00.1412SoapCalc oil table
Lauric acid280280.00.1996SoapCalc oil table
Linseed (flax) oil190190.00.1354SoapCalc oil table
MCT / fractionated coconut oil325325.00.2317SoapCalc oil table
Macadamia oil190–200195.00.1390Typical literature range
Mango seed butter191191.00.1362SoapCalc oil table
Marula oil192192.00.1369SoapCalc oil table
Meadowfoam oil169169.00.1205SoapCalc oil table
Moringa oil192192.00.1369SoapCalc oil table
Murumuru butter275275.00.1960SoapCalc oil table
Mustard seed oil168–184176.00.1255Codex CXS 210-1999
Myristic acid247247.00.1761SoapCalc oil table
Neem seed oil193193.00.1376SoapCalc oil table
Oleic acid202202.00.1440SoapCalc oil table
Olive oil184–196190.00.1354Codex CXS 33-1981
Olive pomace oil188188.00.1340SoapCalc oil table
Palm kernel oil230–254242.00.1725Codex CXS 210-1999
Palm oil190–209199.50.1422Codex CXS 210-1999
Palm olein194–202198.00.1412Codex CXS 210-1999
Palm stearin193–205199.00.1419Codex CXS 210-1999
Palmitic acid215215.00.1533SoapCalc oil table
Peach kernel oil191191.00.1362SoapCalc oil table
Peanut oil187–196191.50.1365Codex CXS 210-1999
Pistachio oil186186.00.1326SoapCalc oil table
Pomegranate seed oil190190.00.1354SoapCalc oil table
Poppy seed oil194194.00.1383SoapCalc oil table
Pumpkin seed oil195195.00.1390SoapCalc oil table
Rapeseed oil168–181174.50.1244Codex CXS 210-1999
Rice bran oil180–199189.50.1351Codex CXS 210-1999
Rosehip oil187187.00.1333SoapCalc oil table
Safflower oil186–198192.00.1369Codex CXS 210-1999
Safflower oil (high oleic)186–194190.00.1354Codex CXS 210-1999
Sea buckthorn seed oil195195.00.1390SoapCalc oil table
Sesame oil186–195190.50.1358Codex CXS 210-1999
Shea butter170–190180.00.1283Typical literature range
Soybean oil189–195192.00.1369Codex CXS 210-1999
Stearic acid (commercial)196–212204.00.1454Typical literature range
Sunflower oil188–194191.00.1362Codex CXS 210-1999
Sunflower oil (high oleic)182–194188.00.1340Codex CXS 210-1999
Sunflower oil (mid oleic)190–191190.50.1358Codex CXS 210-1999
Sweet almond oil185–195190.00.1354Typical literature range
Tallow190–202196.00.1397Codex CXS 211-1999
Tamanu oil208208.00.1483SoapCalc oil table
Walnut oil189189.00.1347SoapCalc oil table
Wheat germ oil183183.00.1305SoapCalc oil table

Frequently asked questions

How do you calculate lye for soap?

Multiply the grams of each oil by its saponification value (mg KOH/g), divide by 1000 and add them up — this is the KOH required. For NaOH multiply by 0.7129. Then reduce by the superfat percentage and divide by the lye purity.

What superfat should I use?

Bar soaps commonly use 3–8%. Liquid soaps are usually made with a lower superfat, since unsaponified oil can cause cloudiness.

Why is KOH used for liquid soap?

Potassium soaps dissolve more readily in water and stay soft, so KOH is used for liquid and paste soaps. Sodium soaps form hard bars.

Why does the result change when I change the oil ratios?

Each oil has a different saponification value. Coconut oil (248–265), for example, is higher than olive oil (184–196), so increasing it raises the lye required.

Are the results exact?

Results use the midpoint of each saponification range. For a more precise result, enter the saponification value from your oil's certificate of analysis in the SAP field.

Soap raw materials

Request a quotation for vegetable oils and raw materials used in soap formulation.