Why Lye Math Is Non-Negotiable in Soap Making
Every bar of real soap โ cold process, hot process, even the liquid soap in your pump bottle โ is born from one chemical reaction: saponification. Oils and fats meet a strong alkali (sodium hydroxide for bar soap, potassium hydroxide for liquid soap), and the reaction converts them into soap plus glycerin. The reaction is beautifully predictable, which is why a lye calculator works at all: each oil needs a fixed, known amount of lye per gram to fully saponify. Get that number right and you get a mild, long-lasting bar. Get it wrong and you get one of two failures โ a lye-heavy bar that can irritate or burn skin, or a lye-light bar that stays soft, greasy, and turns rancid on the shelf.
This is why experienced soap makers repeat one rule to every beginner: never eyeball lye. A kitchen scale and a calculator are as essential as the oils themselves. The margin between a safe bar and a caustic one is a few grams โ invisible to the eye, trivial to a scale. This guide explains exactly what the calculator is doing under the hood, so you understand every number on your recipe card.
SAP Values: The Number Behind Every Recipe
Every oil and fat has a SAP value (saponification value): the grams of sodium hydroxide needed to fully saponify one gram of that oil. Coconut oil's NaOH SAP is 0.190, olive oil's is 0.135, shea butter's is 0.128. The differences reflect each oil's fatty-acid profile โ shorter fatty-acid chains (like the lauric acid abundant in coconut oil) need more lye per gram than longer chains.
The fundamental formula for a single oil is simple:
Lye needed = oil weight ร SAP value ร (1 โ superfat)
For a multi-oil recipe, you calculate each oil separately and add them up:
Total lye = [(oilโ ร SAPโ) + (oilโ ร SAPโ) + โฆ] ร (1 โ superfat)
A worked example: a 1,000 g batch of 500 g olive oil (SAP 0.135), 300 g coconut oil (SAP 0.190), and 200 g shea butter (SAP 0.128) at 5% superfat. Olive: 500 ร 0.135 = 67.5 g. Coconut: 300 ร 0.190 = 57.0 g. Shea: 200 ร 0.128 = 25.6 g. Raw total: 150.1 g. With the 5% lye discount: 150.1 ร 0.95 = 142.6 g NaOH. That is precisely what this calculator computes for you, oil by oil.
Two cautions about SAP values. First, published SAP values are averages โ natural oils vary 1โ3% by crop, origin, and processing. Reputable calculators all draw from the same compiled saponification charts, and the small natural variance is exactly what your superfat absorbs. Second, always use the NaOH column for bar soap and the KOH column for liquid soap; potassium hydroxide's SAP values are roughly 1.4ร higher because KOH is a heavier molecule.
Superfat: Your Built-In Safety Margin
Superfat (also called lye discount) is the percentage of oils deliberately left unsaponified. At 5% superfat, you use 5% less lye than the SAP math demands, so about 5% of the oils remain free in the finished bar. Those free oils do two jobs: they guarantee that no unreacted lye survives even if your scale or SAP values are slightly off, and they make the bar milder and more conditioning on skin.
Choosing a superfat is a formulating decision, not a guess:
- 0โ3%: laundry soap, shaving soap, and mechanic's soap where maximum cleansing matters and skin mildness doesn't.
- 5%: the all-round standard for cold process body bars โ safe, balanced, good shelf life.
- 8โ10%: facial bars and sensitive-skin recipes; richer feel, slightly softer bar, shorter shelf life.
- Above 10%: specialty territory (salt bars, some castiles). Expect softness and watch for rancidity โ high free-oil content oxidizes faster.
One beginner mistake is treating superfat as optional because "my last batch was fine without it." That luck runs on the natural variance of SAP values. A 0% superfat batch made with oils whose true SAP runs high can finish lye-heavy โ and a lye-heavy bar doesn't announce itself until it meets skin. Keep at least 3โ5% unless you know exactly why you're going lower.
Water: Lye Concentration, Not "How Much Water"
Old recipes say "use X grams of water," but modern soap makers think in lye concentration: the percentage of the lye solution that is actually lye. A 33% lye concentration means 33 g NaOH dissolved in every 100 g of solution (33 g lye + 67 g water). The conversion is:
Water = lye ร (100 โ concentration) รท concentration
So 142.6 g NaOH at 33% concentration needs 142.6 ร 67 รท 33 = 289.6 g of distilled water.
Why does concentration matter? Less water (higher concentration, e.g. 38%) means the batter reaches trace faster, unmolds sooner, and cures quicker โ but gives you less working time for swirls. More water (lower concentration, e.g. 28%) gives luxurious working time for intricate designs but a longer cure and slightly more shrinkage. 33% is the reliable middle ground most recipes assume, and it's this calculator's default. Always use distilled water: tap water's minerals can cause unpredictable trace, discoloration, and reduced lather.
Reading Your Results: Lye, Water, Batch, Bars
The calculator returns four numbers. NaOH is weighed first into your lye-safe container โ and weighed separately from everything else, double-checked before it touches water. Distilled water is measured into a heat-safe pitcher (stainless steel, heavy-duty polypropylene #5, or tempered glass โ never aluminium, which reacts violently with lye). Total batch weight (oils + lye + water) tells you whether your mold is big enough: a standard 1 kg-oil batch fills roughly a 1.2-litre loaf mold. Bar yield divides the batch by ~110 g per finished bar, a typical cured bar weight, so you know how many bars a batch produces and can plan packaging and costing.
The batch scaler resizes a tested recipe to any oil weight while keeping every oil's proportion identical โ essential when a 500 g test batch graduates to a 3 kg production run. Scale only proven recipes: a formula that misbehaves at 500 g misbehaves identically at 3 kg, just more expensively.
Step-by-Step: Mixing Lye Water Safely
- Gear up: chemical-splash goggles (not reading glasses), nitrile gloves, long sleeves, closed-toe shoes. Work near running water.
- Ventilate: open windows or work under a range hood. The first 30 seconds after lye hits water release sharp fumes โ don't lean over the pitcher.
- Water first, lye second: measure distilled water into the pitcher, then slowly sprinkle in the weighed NaOH while stirring gently. Never pour water onto dry lye โ it can erupt.
- Expect heat: the solution will spike to 80โ95ยฐC within a minute. This is normal chemistry, not a mistake.
- Cool to working temperature: most cold process soaping happens with lye solution and oils both around 38โ43ยฐC (100โ110ยฐF). A 10-degree difference between the two is fine; a 40-degree difference causes false trace.
- Combine and blend: pour the lye solution into the melted oils (never the reverse), then stick-blend in short pulses to light trace โ the texture of thin custard.
If lye solution contacts skin, rinse under cool running water for 15โ20 minutes; that's the medically correct response (vinegar is for work surfaces, not skin). Keep the lye container labelled and out of reach while it cools โ clear liquid in an unmarked jug is a classic household accident.
Troubleshooting: What the Numbers Warn You About
Zap test fails (tingly tongue)
A faint tingle on the tongue means free lye remains โ the batch is lye-heavy. Causes: misweighed lye, a data-entry slip in the calculator, or 0% superfat meeting high-SAP oils. Rebatching with extra oil can rescue it; otherwise the batch is for laundry, not skin.
Soft, weepy bars after a week
Usually lye-light: too little lye or far too much superfat, or a very high percentage of soft oils (olive, sunflower) with no hard-oil backbone. Reformulate toward 40โ60% hard oils (coconut, palm, cocoa butter, tallow) and keep superfat at 5โ8%.
Crumbly, cracking bars
Often too much hard oil/butter, lye concentration too high, or cutting too late. High-butter recipes need 3โ5 days before unmolding but shouldn't wait weeks before cutting.
Orange spots (DOS)
Dreaded orange spots are rancidity โ oxidation of free oils. High superfat, high-linoleic oils (grapeseed, hemp), and warm humid curing areas invite it. Keep superfat reasonable, cure in cool ventilated space, and consider rosemary oleoresin at 0.5% for high-risk recipes.
Curing: The Step You Can't Rush
Freshly cut soap is technically soap, but it's not finished soap. During the 4โ6 week cure, water evaporates, the crystalline structure of the bar firms up, lather improves dramatically, and the bar lasts longer in the shower. Castile (100% olive oil) soap famously needs 8โ12 weeks to become its best self โ early castile is slimy; aged castile is superb. Cure bars on ventilated racks with air space between them, turning weekly, away from direct sun. The bar you test at week 2 is a preview, not the verdict.
Hot Process Uses the Same Math
A common question: does hot process soap need a different calculation? No โ the lye math is identical. Hot process simply cooks the batter to force saponification to completion before molding, so the soap is usable within days instead of weeks. Enter your oils and superfat here exactly as you would for cold process. (Liquid soap is the exception: it uses KOH, whose SAP values are ~1.4ร the NaOH values, with much higher water content.)
From Test Batch to Production
The professional workflow is: formulate โ run the numbers โ pour a small 300โ500 g test batch โ evaluate at full cure โ tweak โ recalculate โ scale up. Small batches teach you trace behavior, scent acceleration, and unmolding quirks cheaply. Keep a notebook (paper or digital) of every batch: exact weights, temperatures, observations, and cure notes. Six months later, when a customer asks for "that oatmeal bar from spring," the notebook โ and the recipe card this calculator copies for you โ is the difference between a business and a hobby.