Last updated: May 18, 2026

Soap Making Lye Calculator

Calculate exact NaOH or KOH amounts for cold process soap recipes based on your oils, superfat, and water discount.

Crafts 6 0
Alpha Calculators Team

Created by Alpha Calculators Team

Editorial Team

Soap Making Lye Calculator

Enter your values and the result updates automatically.

Results

Lye needed
Water needed
Total batch weight
Calculation breakdown
link copied

Overview

Calculator overview

A soap making lye calculator tells you exactly how much NaOH or KOH and water to use for a cold process soap recipe. Enter each oil and its weight, set your superfat and water discount, and the calculator multiplies every oil by its own saponification value to find the correct lye amount. Do not guess or estimate lye — the margin for error is small and the stakes are high.
Handmade soap bars for cold process soap making
Cold process soap recipes depend on accurate oil and lye measurements.

How to Use This Calculator

  1. 1

    Select your weight unit — grams or ounces. Use whatever unit your scale measures.

  2. 2

    Enter each oil weight. The default recipe is 500 g olive oil, 200 g coconut oil, and 300 g palm oil. Adjust to match your recipe and set unused oils to 0.

  3. 3

    Choose NaOH for solid bar soap or KOH for liquid soap.

  4. 4

    Set your superfat percentage. Five percent is a safe starting point for most recipes.

  5. 5

    Set water discount to 0% if you are new to soap making. Experienced makers may use 10–20%.

  6. 6

    Select your lye purity. Most NaOH pellets sold for soap making are 98% pure.

  7. 7

    Read the results — weigh out lye and water separately on a digital scale before mixing.

Why Each Oil Needs Its Own Lye Amount

Every oil is made of fatty acids, and different oils have different fatty acid profiles. Coconut oil is high in lauric and myristic acids. Olive oil is high in oleic acid. Palm oil is high in palmitic acid. Because these fatty acids have different molecular weights, each oil reacts with a different amount of sodium hydroxide. This ratio is called the saponification value, or SAP value.

Using too little lye leaves unreacted oil that makes the bar greasy and soft. Using too much leaves unreacted alkali — a caustic, unsafe bar. A soap calculator eliminates both risks by multiplying each oil weight by its own SAP value and summing the results.

SAP Values for Common Oils

Standard SAP values used by this calculator. KOH values are calculated at 100% purity — adjust for your actual purity using the lye purity field above.
Oil NaOH SAP value KOH SAP value (100%)
Olive oil 0.134 0.190
Coconut oil 0.190 0.267
Palm oil 0.141 0.198
Castor oil 0.128 0.180
Shea butter 0.128 0.180
Sweet almond oil 0.136 0.192
Sunflower oil 0.134 0.189
Canola oil 0.124 0.175

Example Calculation

Recipe total oils = 500 g olive oil + 200 g coconut oil + 300 g palm oil = 1,000 g

Olive oil NaOH = 500 × 0.134 = 67.0 g

Coconut oil NaOH = 200 × 0.190 = 38.0 g

Palm oil NaOH = 300 × 0.141 = 42.3 g

Total NaOH at 0% superfat = 67.0 + 38.0 + 42.3 = 147.3 g

Final NaOH at 5% superfat = 147.3 × 0.95 = 139.9 g

Adjusted for 98% purity = 139.9 ÷ 0.98 = 142.8 g NaOH to weigh

Water (38% of 1,000 g oils) = 380 g

Total batch = 1,000 + 142.8 + 380 = 1,522.8 g

What Is Superfat?

Superfat is the percentage of oils you leave unreacted by reducing the lye amount. A 5% superfat cuts the calculated lye by 5%, so a small portion of your oils passes through the soap unchanged. This makes the bar more forgiving — it is less likely to be lye-heavy — and can improve the feel on skin.

Most beginners use 5%. Higher superfat (above 8%) makes bars softer, reduces lather quality, and increases the risk of rancidity, especially with unsaturated oils like olive or sunflower. Recipes heavy in saturated fats (coconut, palm) tolerate higher superfat better.

Natural handmade soap bars after cold process curing
Superfat and oil choice both affect how finished soap bars feel and cure.

What Is Water Discount?

The default water amount is 38% of total oil weight. A 20% water discount on a 1,000 g batch reduces water from 380 g to 304 g, raising the lye concentration. This helps bars unmold faster and slightly reduces cure time, but it also shortens working time — the batter reaches trace more quickly, which limits how much you can swirl or layer.

Start with 0% water discount for your first batches. Once you know how your recipe behaves, a 10–20% discount is a reasonable experiment.

Related crafts calculators

Sources

References

FAQ

Frequently asked questions

How much lye do I need for soap?
It depends on which oils you are using and their weights. Each oil has its own SAP value, so you cannot use one lye amount for all recipes. Enter your oils and weights into this calculator to get the correct NaOH or KOH amount.
What is superfat in soap making?
Superfat is the percentage of oils left unsaponified. A 5% superfat reduces the lye by 5%, leaving a small amount of oil unreacted. This creates a safety buffer against excess lye and can make the bar feel more conditioning.
Is 5% superfat good for beginners?
Yes. Most beginner recipes use 3–8% superfat. Five percent is the standard starting point — it reduces the risk of a lye-heavy bar without making the soap too soft.
Can I use the same lye amount for every oil?
No. Olive oil, coconut oil, and palm oil all have different fatty acid profiles and require different amounts of NaOH per gram. Using the wrong amount produces either a caustic bar or an oily one.
What does water discount mean in soap making?
Water discount reduces the water below the standard amount (38% of oil weight). A 20% discount makes the bar firmer faster but speeds up trace. Beginners should start with 0%.
What is the difference between NaOH and KOH?
NaOH (sodium hydroxide) makes solid bar soap. KOH (potassium hydroxide) makes liquid soap or cream soap. KOH SAP values are approximately 1.4 times higher than NaOH values for the same oil.
What does lye purity mean?
Lye purity is the percentage of active alkali in your product. Most commercial NaOH pellets for soap making are 98–99% pure. Lower purity means you need slightly more lye to get the same active content.
What is the SAP value of olive oil?
The NaOH SAP value of olive oil is 0.134, meaning 1 gram of olive oil requires 0.134 grams of NaOH for full saponification.