SAP Lye Calculator
Calculate exact lye and water weights to the decimal gram. Saponification values for 50+ oils, with superfat and water discount control.
| Oil / Fat | Weight | SAP Value | Lye Used |
|---|
Saponification (SAP) Lye & Superfat Optimizer
Every batch of natural soap starts with one non-negotiable calculation: how much lye do you need to convert your specific blend of oils into soap without burning your skin or leaving harsh residue behind? The number depends on what fats you're using, because the molecular structure of each fat determines exactly how much alkali it takes to break it apart and rebuild it as soap. This calculator does that math — precisely — so you never have to guess.
What saponification actually is
Saponification is the reaction between a triglyceride (fat or oil) and a strong alkali — sodium hydroxide for bar soap, potassium hydroxide for liquid soap — that breaks the ester bonds in the fat molecule and recombines the fatty acid chains with the alkali to form soap molecules, releasing glycerin as a byproduct. The reaction is exothermic: the mixture heats up, which is normal and expected.
Each oil has a published saponification value — its SAP number — that tells you how many grams of NaOH are needed to fully saponify one gram of that oil. Olive oil is 0.134 g/g. Coconut oil is 0.190 g/g. The difference exists because coconut oil contains a higher proportion of shorter-chain lauric and myristic fatty acids, which have a lower molecular weight relative to their ester content, requiring more alkali per gram to convert.
The superfat: your built-in safety margin
A superfat percentage — also called a lye discount — intentionally reduces the amount of lye you use so that a portion of your oils remain un-saponified in the finished bar. A 5% superfat on a 500g batch means roughly 25g of oil was never converted. Those free fatty acids sit in the finished soap and contribute to its skin-feel, conditioning quality, and perceived mildness.
The tradeoff is shelf life: unsaponified oils can go rancid, particularly oils high in polyunsaturated fatty acids like sunflower or hemp. High-oleic oils (olive, avocado, high-oleic sunflower) superfat more gracefully because oleic acid oxidizes slowly. Most soap makers work in the 4–8% range. Going above 10–12% risks a soft bar that sweats; going below 2% risks a lye-heavy bar that can irritate skin if any lye remains uncombined.
NaOH vs. KOH: bar soap vs. liquid soap
Sodium hydroxide (NaOH) produces a hard bar because sodium soaps form tightly packed crystal structures. Potassium hydroxide (KOH) produces soft paste or liquid soap because potassium soaps are more soluble and hygroscopic. The lye calculation differs because KOH has a higher molecular weight (56.1 g/mol vs. NaOH's 40.0 g/mol), meaning you need more of it per gram of oil. The conversion factor is approximately 1.4025 for pure KOH.
Commercial KOH is typically sold at 90% purity. This calculator accounts for that: if your KOH is 90% pure, the required weight is divided by 0.90, so you're measuring out more material to deliver the correct amount of active KOH. Always confirm purity with your supplier and adjust accordingly.
Water: concentration and working time
Water is the medium that carries lye into contact with your oils. The standard approach in this calculator is water as a percentage of total oil weight — 38% is a reliable default that gives adequate working time and produces a firm bar. You can also think of it in terms of lye concentration: 38% water on oil weight is roughly equivalent to a 27–30% lye-to-water concentration depending on batch size.
Less water (32–35% of oil weight) accelerates trace — the point at which the soap batter thickens enough to hold a drizzle on its surface — and produces a denser, quicker-hardening bar. More water (40–45%) slows things down and gives you more time to work with additives, swirls, or complex molds. Water has no effect on the finished soap's quality, only on the process.
Reading this calculator's output
The results show lye weight and water weight in the same unit you entered your oils — grams or ounces — to the nearest 0.1. Use a scale that reads to 0.1g precision; a 1g error in a small batch is meaningful. The oil breakdown table shows how much lye each individual oil consumes, which is useful for understanding why coconut-heavy recipes require so much more lye than pure olive oil batches.
Total batch weight is the theoretical weight before any water evaporates during curing. A standard 4–6 week cold-process cure will reduce the bar's weight by 15–25% as water leaves the soap.
SAP values used in this calculator
The SAP values here are drawn from published fatty acid composition data and peer-reviewed soap-making references, including the standard tables in Kevin Dunn's Scientific Soapmaking (2010) and the Brambleberry Lye Calculator reference dataset. Values represent NaOH per gram of oil at standard purity (100% NaOH).
Can I use this calculator for hot-process soap?
Yes. The saponification math is identical for hot-process (HP) and cold-process (CP) soap — the lye and water amounts are the same. The difference is in technique: HP soap is cooked after mixing, which completes saponification before molding. Because HP soap is fully saponified in the pot, some makers reduce or eliminate superfat, since the bar won't develop additional rancidity risk from free oils sitting in an unfinished matrix.
Why does my lye amount change when I add a small amount of castor oil?
Castor oil has a SAP value of 0.128 — lower than coconut oil but higher than most soft oils — and it's almost always used at 5–10% of a formula for its lather-boosting ricinoleic acid content. The lye change you see is proportional and correct: even a small amount of any oil adds to the total lye requirement.
What happens if I use too much lye?
Excess uncombined lye in a finished bar produces what soap makers call "zap" — a sharp, caustic sensation when the soap touches your tongue (the traditional soap-maker's test). More seriously, a lye-heavy bar can chemically burn skin. This is why superfat exists: it guarantees a buffer of un-reacted oil. At 0% superfat you are relying on perfect measurement; any overage goes directly into the bar as free alkali.
What is "lye discount" and is it the same as superfat?
They produce the same result through slightly different framing. A superfat of 5% means 5% of your oil weight goes un-saponified. A lye discount of 5% means you used 5% less lye than the full saponification amount requires. Because lye and oil interact stoichiometrically, both approaches land in the same place: the formula uses less lye than a 0% superfat batch, leaving some free oil in the finished soap.
Is it safe to add fragrance or essential oils before lye?
No. Fragrance and essential oils go into the soap batter after the lye-water and oils have been combined and have begun to emulsify — never into raw lye-water alone. Some fragrance oils accelerate trace rapidly ("ricing" or "seizing"), so it's worth researching your specific fragrance before committing to a detailed swirl. Essential oils like clove and cinnamon leaf are known accelerators.
How do I scale this recipe up or down?
Simply change the oil weights proportionally. If your test batch uses 200g of a 60/40 olive and coconut blend, scaling to 1,000g means multiplying each oil weight by 5. The lye and water scale linearly with the oils — that is the purpose of the per-gram SAP values. The superfat percentage stays the same regardless of batch size.
Published: June 2026 · Formula source: Kevin Dunn, Scientific Soapmaking (2010); Brambleberry SAP reference tables