Lye Calculator






Lye Calculator: Professional Soap Making Saponification Tool


Professional Lye Calculator

Calculate precise sodium hydroxide (NaOH) or potassium hydroxide (KOH) measurements for consistent, safe soap making.


Select the type of lye based on the soap consistency you want.


Please enter a valid weight.


Please enter a valid weight.


Please enter a valid weight.


Extra oil left unsaponified for moisturizing (Standard: 5%).


Amount of water per 1 part of lye (Standard: 2:1).

Required Lye Amount

0.00 g

Sodium Hydroxide Needed

Water Required
0.00 g
Total Oil Weight
0.00 g
Total Batch Weight
0.00 g


Batch Composition Breakdown

Visual representation of Oils vs. Lye Solution

What is a Lye Calculator?

A lye calculator is an essential mathematical tool used by soap makers to determine the exact amount of alkali (Sodium Hydroxide or Potassium Hydroxide) needed to turn fats and oils into soap through a process called saponification. Without an accurate lye calculator, creating soap is not only difficult but potentially dangerous, as excess lye can cause skin burns, while too little lye results in greasy, soft bars that don’t clean effectively.

Professional soap makers and hobbyists alike use a lye calculator to ensure every batch is balanced. Whether you are formulating a luxury facial bar or a heavy-duty laundry soap, the lye calculator accounts for the specific “Saponification Value” (SAP value) of each individual fat. For instance, coconut oil requires significantly more lye to turn into soap than olive oil does.

Lye Calculator Formula and Mathematical Explanation

The core logic behind any lye calculator involves multiplying the weight of each oil by its specific SAP value. The formula for a single oil looks like this:

Lye Weight = (Oil Weight × SAP Value) × (1 – Superfat Percentage)

Variables used in Lye Calculations
Variable Meaning Unit Typical Range
Oil Weight Mass of the specific fat used Grams or Ounces 100g – 5000g+
SAP Value Milligrams of KOH/NaOH to saponify 1g oil Ratio 0.120 – 0.250
Superfat Percentage of “free” oils left in soap Percentage 3% – 10%
Water Ratio Amount of water relative to lye weight Ratio 1.5:1 – 3:1

Practical Examples (Real-World Use Cases)

Example 1: Pure Olive Oil Soap (Castile)
If you are making a 1000g batch of pure olive oil soap with a 5% superfat using NaOH:
The SAP value for Olive Oil is 0.135. Using the lye calculator: 1000g × 0.135 = 135g of lye. Applying a 5% superfat reduction: 135 × 0.95 = 128.25g of NaOH. If using a 2:1 water ratio, you would add 256.5g of water.

Example 2: Deep Cleaning Coconut Soap
Coconut oil has a high SAP value of 0.191. For 500g of coconut oil: 500g × 0.191 = 95.5g. With a 20% superfat (common for pure coconut soap to prevent drying), the lye calculator would output: 95.5 × 0.80 = 76.4g of NaOH.

How to Use This Lye Calculator

Follow these steps to generate a safe and effective soap recipe:

  1. Select Lye Type: Choose NaOH for solid bars or KOH for liquid soap.
  2. Input Oil Weights: Enter the weight of Olive Oil, Coconut Oil, and Shea Butter in grams. Our lye calculator uses standard SAP values for these common ingredients.
  3. Set Superfat: Adjust the superfat percentage. A 5% superfat is the gold standard for most body soaps, ensuring a moisturizing finish.
  4. Define Water Ratio: Input your preferred water amount. Beginners should stick to a 2:1 or 2.5:1 ratio for easier handling.
  5. Review Results: The lye calculator instantly updates the required lye, water, and total batch weight.

Key Factors That Affect Lye Calculator Results

  • Saponification (SAP) Values: Every oil has a unique chemistry. Using the wrong SAP value in a lye calculator can result in “lye-heavy” soap.
  • Lye Purity: Most calculations assume 100% purity. If your NaOH is 98% pure, you may need a slight adjustment.
  • Superfatting Logic: Increasing superfat reduces the lye amount, providing a safety buffer and moisturizing properties.
  • Water Discounting: Reducing water makes soap cure faster but makes the batter thick and difficult to pour.
  • Temperature: While not changing the lye weight, temperature affects how the lye reacts with oils during the “trace” phase.
  • Botanical Additives: Essential oils or herbs don’t usually require more lye, but sugars (like honey) can accelerate the reaction.

Frequently Asked Questions (FAQ)

1. Why does my lye calculator show different results for NaOH and KOH?

Sodium Hydroxide (NaOH) creates hard bars, while Potassium Hydroxide (KOH) creates liquid soap. KOH molecules are heavier, so you need roughly 1.4 times more KOH to saponify the same amount of oil.

2. Is a 5% superfat always necessary?

It’s not strictly necessary, but it provides a safety margin. If your measurements are slightly off, the 5% buffer prevents the soap from being caustic.

3. Can I swap Olive Oil for Almond Oil in the lye calculator?

No, not without re-calculating. Almond oil has a different SAP value (0.139) compared to Olive oil (0.135). Always re-run the lye calculator when changing oils.

4. What is a “Water Discount”?

This is when you use less water than the standard 2:1 ratio. It speeds up drying time but requires more skill to handle the fast-setting soap.

5. Does the lye calculator account for fragrance?

Fragrance oils usually do not require lye for saponification, so they are added after the lye calculation as a percentage of the total oil weight.

6. My soap is soft and oily. Did I use too much lye?

Actually, soft and oily soap usually means you used too little lye or too much superfat. Too much lye makes soap crumbly and harsh.

7. How accurate do my scales need to be?

You should use a digital scale accurate to 0.1 grams. A lye calculator is only as good as the precision of your measurements.

8. Is lye dangerous to work with?

Yes, lye is a strong base. Always wear gloves and goggles. Always add lye to water, never water to lye (to avoid “volcano” reactions).

Related Tools and Internal Resources


Leave a Reply

Your email address will not be published. Required fields are marked *