Quick answer: To find how much lye (sodium hydroxide, NaOH) you need for cold process soap, multiply the weight of each oil by its saponification value (SAP value), add the results together, then reduce that number by your chosen superfat percentage (usually 5%). Water is typically 33-38% of your total oil weight. Use the calculator below to get exact lye and water amounts for a simple recipe, or use it to sanity-check a recipe you already have.
Lye calculation is the one part of cold process soap making where there’s genuinely no room for guesswork. Unlike a candle recipe or a knitting pattern, where getting a measurement slightly wrong just changes the final look, getting lye wrong changes whether your soap is safe to put on skin at all. Too little lye and you’re left with a greasy bar full of unreacted oil that turns rancid quickly. Too much lye and you’ve made a caustic bar that can irritate or burn skin. This is exactly why experienced soap makers never “eyeball” a recipe, and why even people who’ve made hundreds of batches still run every new recipe through a calculator before mixing anything.
The good news is that the math itself is straightforward once you understand what’s happening chemically. Each oil or fat reacts with lye in a fixed ratio determined by its saponification value, so the calculator is really just doing careful multiplication and addition across every oil in your recipe, then applying your chosen superfat discount. Below you’ll find the formula explained step by step, two full worked examples at different batch sizes, SAP value and superfat reference tables, a rundown of the mistakes that trip up new soap makers, and a set of practical safety tips for anyone just getting started with cold process soap.
Soap Making Lye Calculator
Enter oil weights in grams. SAP values used: Olive oil 0.135, Coconut oil 0.183, Palm oil 0.141, Sunflower oil 0.134, Castor oil 0.128, Shea butter 0.128.
How Lye Calculation Works
Every oil or fat has a saponification value (SAP value) – the amount of lye needed to fully convert one gram of that oil into soap. The basic formula is:
Lye needed = (Oil weight x SAP value) x (1 – Superfat %)
The “superfat” is the percentage of oils left unreacted in the finished bar on purpose, which makes soap gentler and more moisturizing. Most cold process recipes use a 5% superfat.
Worked Example
A 1000 g oil recipe with 400g olive, 250g coconut, 250g palm, 50g castor, and 50g shea works out to roughly 141g of pure NaOH before any superfat discount. At a 5% superfat, that drops to about 134g of lye, with around 350g of water at a 35% water-to-oil ratio.
Common SAP Values (NaOH, per gram of oil)
| Oil / Fat | SAP Value | Soap Quality |
|---|---|---|
| Coconut oil | 0.183 | Big bubbly lather, hard bar |
| Palm oil | 0.141 | Hardness, stable lather |
| Olive oil | 0.135 | Gentle, conditioning, soft bar |
| Sunflower oil | 0.134 | Conditioning |
| Shea butter | 0.128 | Creamy, moisturizing |
| Castor oil | 0.128 | Boosts lather stability |
Superfat Level Guide
| Superfat % | Result |
|---|---|
| 0% | Fully saponified, best for laundry/utility soap |
| 5% | Standard, balanced bar for most skin types |
| 8% | Extra moisturizing, good for dry/sensitive skin |
| 10%+ | Very rich, shorter shelf life, softer bar |
A Second Worked Example: A Larger, Coconut-Heavy Recipe
Let’s calculate a bigger, 1500g oil batch with a different oil blend: 600g olive oil, 450g coconut oil, 300g palm oil, and 150g castor oil, using an 8% superfat and 33% water ratio (a common combination for a more moisturizing, faster-setting bar). The raw lye contribution is: olive (600 x 0.135 = 81.0g), coconut (450 x 0.183 = 82.4g), palm (300 x 0.141 = 42.3g), castor (150 x 0.128 = 19.2g), for a raw total of 224.9g. Applying an 8% superfat discount: 224.9 x 0.92 = 206.9g of NaOH needed. Water at 33% of the 1500g oil weight comes to 495g. This recipe, with its higher coconut oil percentage, will produce a harder bar with noticeably bigger, bubblier lather than the standard example above, but it will also be slightly more drying on skin, which the higher 8% superfat helps offset.
Understanding the Chemistry Behind the Formula
Saponification is the chemical reaction where lye (a strong base) breaks apart the fatty acid chains in oils and fats, converting them into soap molecules and glycerin. Each type of oil is made of different fatty acids in different proportions, and each fatty acid needs a specific amount of lye to fully convert. That’s what a SAP value actually represents: grams of NaOH required to fully saponify one gram of that particular oil. Coconut oil has a high SAP value (0.183) because it’s rich in lauric and myristic acid, both of which react readily with lye and produce a hard, cleansing bar with big lather. Olive oil has a lower SAP value (0.135) because it’s mostly oleic acid, which produces a softer, more conditioning bar that lathers less dramatically. This is exactly why soap recipes blend multiple oils – each one contributes different qualities to hardness, lather, and skin feel, and the lye calculator’s job is simply to make sure every oil in the blend gets exactly the right amount of lye, no more and no less.
Common Mistakes to Avoid
- Eyeballing measurements instead of weighing. Volume measurements (cups, tablespoons) are never accurate enough for lye calculations. Always weigh oils and lye in grams on a digital kitchen scale.
- Using old or unverified SAP values. SAP values can vary slightly between suppliers and oil batches. If you’re making a recipe you’ll sell or give as gifts, cross-check your numbers against a dedicated soap calculator like SoapCalc or Brambleberry’s calculator.
- Skipping the superfat entirely. A 0% superfat recipe is fully saponified with no excess oil, which is fine for utility or laundry soap but often feels harsh and drying as a body bar. Most facial and body soap recipes use 5-8%.
- Forgetting that lye water gets extremely hot. Mixing NaOH into water is an exothermic reaction that can push the solution above 180°F. Always mix lye into water outdoors or in a well-ventilated space, and let it cool before combining with oils if your recipe calls for it.
- Reversing the mixing order. Always add lye to water, never water to lye. Adding water to concentrated lye can cause a volcanic, splashing reaction that is a genuine safety hazard.
- Ignoring cure time. Even with the lye amount perfectly calculated, cutting the 4-6 week cure short leaves a softer, higher-pH bar that won’t perform or last as well as fully cured soap.
Safety Tips for Beginners
- Always wear gloves, goggles, and long sleeves when handling dry lye or lye water, even for a “quick” small batch.
- Work in a well-ventilated area. Mixing lye into water releases fumes that can irritate your lungs and eyes; many soap makers mix outdoors or near an open window with a fan running.
- Label everything clearly and keep dry lye and lye-water solutions well out of reach of children and pets – lye water looks just like plain water.
- Keep a bottle of vinegar nearby. Vinegar neutralizes lye splashes on skin or surfaces (though you should still rinse thoroughly with water first for any skin contact).
- Double-check your recipe in two different calculators before your first few batches, until you’re confident reading and verifying SAP-based calculations yourself.
Frequently Asked Questions
Q: What happens if I use too little lye?
A: Excess unreacted oil is left in the bar, which can make it soft, greasy, and prone to going rancid (called “DOS” or dreaded orange spots) faster.
Q: What happens if I use too much lye?
A: The bar becomes caustic and harsh on skin, which is a safety issue. Always run your recipe through a lye calculator before pouring; never eyeball it.
Q: Is this calculator safe to use for my actual soap batch?
A: This tool uses standard published SAP values for common oils and is a good starting point, but always double-check figures against a dedicated soap calculator and your specific oil supplier’s SAP data before making a batch, since natural oils vary slightly by source.
Q: Why does water percentage matter?
A: Water dissolves the lye and controls how fast your soap traces and hardens. Less water speeds up trace (good for swirls needing thin batter, but riskier for beginners); more water slows things down.
Q: Can I substitute one oil for another in a recipe?
A: You can, but you must recalculate lye since each oil has a different SAP value. Never substitute without re-running the numbers.
Q: What safety gear do I need for lye?
A: Gloves, safety goggles, long sleeves, and good ventilation. Always add lye to water, never water to lye, since the reaction is exothermic and can splash if reversed.
Q: How long does cold process soap need to cure?
A: Typically 4-6 weeks. Curing lets excess water evaporate, producing a harder, longer-lasting, milder bar.
Q: What’s the difference between NaOH and KOH?
A: Sodium hydroxide (NaOH) makes solid bar soap. Potassium hydroxide (KOH) makes liquid or soft soap. This calculator is for solid bar soap using NaOH.
Conclusion
Getting your lye amount right is the single most important safety and quality step in cold process soap making. Use the calculator above to get a fast estimate for common oils, always weigh ingredients by grams on a digital scale, and double-check any new recipe before you pour. There’s no shortcut around careful math here – it’s the one part of the craft where precision genuinely matters more than creativity.
Once you’re comfortable with how the formula works, this calculator becomes a fast tool for experimenting with new oil blends, adjusting superfat for different skin types, and scaling recipes up or down without redoing the math by hand every time. Bookmark this page and come back to it any time you’re formulating a new batch.