Soap Making Lye Calculator
Precision is non-negotiable in soapmaking. Too much lye creates a caustic bar that burns skin. Too little produces soft, oily soap that goes rancid. This calculator uses exact saponification values to give you the precise lye and water amounts for any oil, with adjustable superfat for safe, luxurious handmade soap.
Lye Calculator
Gentle, moisturizing bar
Understanding the Saponification Formula
Saponification is the chemical reaction between a fat (oil/butter) and an alkali (lye) that produces soap and glycerin. The core formula:
Lye (g) = Oil Weight (g) × SAP Value × (1 − Superfat%/100)
Each oil has a unique SAP value representing how many grams of lye react with one gram of that oil. Coconut oil's high SAP value (0.191 for NaOH) means it requires more lye per gram than olive oil (0.134). The superfat factor reduces lye by your chosen percentage, leaving free oils in the finished bar for skin conditioning.
Step-by-Step Lye Calculation
- Weigh your oil precisely using a kitchen scale accurate to 1 gram. Never measure oils by volume — density varies.
- Look up the SAP value for your oil and lye type. NaOH values are lower than KOH values because NaOH has a lower molecular weight.
- Multiply oil weight × SAP value. Example: 500g olive oil × 0.134 = 67.0g NaOH before superfat.
- Apply superfat discount. At 5% superfat: 67.0 × 0.95 = 63.65g NaOH.
- Calculate water. At 2:1 water-to-lye: 63.65 × 2 = 127.3g water.
- Always add lye to water, never water to lye. Stir until fully dissolved.
Real-World Example: Classic Castile Soap
A pure olive oil (Castile) soap with 500g oil and 5% superfat:
- SAP value (NaOH): 0.134
- Lye before superfat: 500 × 0.134 = 67.0g
- With 5% superfat: 67.0 × 0.95 = 63.65g NaOH
- Water (2:1): 63.65 × 2 = 127.3g water
- Total batch: 500 + 63.65 + 127.3 = ~691g → ~5-6 bars
Castile soap is extremely gentle but takes 6-12 months to fully cure for the best lather. For faster results, blend in 20-30% coconut oil.
SAP Values Reference Table
| Oil / Fat | Weight | NaOH | KOH | Water (2:1) |
|---|---|---|---|---|
| Olive Oil | 500g | 67.0g | 94.0g | 134g |
| Coconut Oil | 500g | 95.5g | 134.0g | 191g |
| Palm Oil | 500g | 70.5g | 99.5g | 141g |
| Shea Butter | 500g | 64.0g | 89.5g | 128g |
| Lard | 500g | 69.0g | 97.0g | 138g |
Common Soapmaking Mistakes
- Using wrong SAP values. NaOH and KOH SAP values are different. Mixing them up produces dangerous soap.
- Measuring by volume. Oils have different densities. 1 cup of coconut oil weighs differently than 1 cup of olive oil. Always weigh.
- Adding water to lye. This causes an exothermic reaction that can boil over violently. Always add lye crystals to water, slowly.
- Skipping the cure. Freshly poured soap still contains unreacted lye. The 4-6 week cure allows saponification to complete.
- Zero superfat. A 0% superfat leaves no safety margin — even small weighing errors can produce a lye-heavy bar.
Explore other crafting calculators: our candle making calculator helps with wax and fragrance ratios, and the epoxy resin calculator handles precise resin-to-hardener mixing. For kitchen chemistry, try the sourdough hydration calculator.
Frequently Asked Questions
What is the saponification value?
The saponification (SAP) value tells you how much lye is needed to convert one gram of a specific oil into soap. Each oil has a unique SAP value because their fatty acid profiles differ. Coconut oil has a high SAP value (0.191 for NaOH) meaning it requires more lye per gram, while shea butter has a lower value (0.128). Using incorrect SAP values produces lye-heavy (caustic) or oil-heavy (soft, rancid) soap.
What is superfat and why does it matter?
Superfat is the percentage of oils left unsaponified (unreacted with lye) in the finished soap. A 5% superfat means 5% of oils remain as free oils, providing moisture and skin conditioning. Most cold-process recipes use 3-8% superfat. Below 3% risks a harsh, lye-heavy bar. Above 8% can make soap soft, prone to rancidity, and may cause "dreaded orange spots" (DOS).
Can I use potassium hydroxide (KOH) instead of sodium hydroxide?
KOH produces liquid soap, while NaOH produces bar soap. KOH requires about 40% more by weight because of its higher molecular weight (56.1 vs 40.0 g/mol). Our calculator supports both. You cannot substitute one for the other without recalculating — using KOH amounts of NaOH would produce extremely lye-heavy, dangerous soap.
How much water do I need for lye solution?
The standard water-to-lye ratio is 2:1 to 2.5:1 by weight. More water (higher ratio) gives a thinner batter with more working time but longer cure. Less water (water discount) produces a thicker batter that sets faster and cures quicker. Beginners should start with 2:1 — advanced soapmakers may go as low as 1.5:1 for fast-setting designs.
Is soapmaking with lye dangerous?
Lye (NaOH or KOH) is highly caustic and can cause severe chemical burns. Always wear safety goggles, chemical-resistant gloves, and long sleeves. Mix lye into water (never water into lye — it can volcano). Work in a ventilated area. Keep vinegar nearby for surface spills (not skin — flush skin burns with water). Once saponification is complete, the finished soap contains no free lye and is safe to use.
How long does cold process soap need to cure?
Cold process soap needs 4-6 weeks to cure. During curing, excess water evaporates, the bar hardens, the pH drops to skin-safe levels (9-10), and the crystal structure of the soap develops for a milder, longer-lasting bar. Soap is technically safe to use earlier, but cured soap lathers better, lasts longer, and is gentler on skin.
Can I mix multiple oils in one batch?
Absolutely — most soap recipes use 3-5 oils for a balanced bar. A classic beginner recipe: 40% olive oil (conditioning), 30% coconut oil (lather/hardness), 20% palm oil (hardness), 10% castor oil (bubbles). Calculate lye for each oil separately, then sum the totals. Our calculator handles single-oil batches; for multi-oil, add each oil's lye requirement together.
Related Tools
Candle Making Calculator
Calculate wax, fragrance oil, and wick sizes for candles.
Yarn Yardage Calculator
Calculate how much yarn you need for knitting or crochet projects by weight and type.
Epoxy Resin Calculator
Calculate exact resin and hardener amounts for your project.