Cold Process
How to Use a Lye Calculator for Soap
Learn how to use a lye calculator for soap making step by step. Get accurate NaOH amounts, set superfat, and avoid caustic bars every time.

A lye calculator tells you exactly how much sodium hydroxide (NaOH) and water a specific set of oils needs to become soap. You type in your oils and their weights, set a superfat percentage, and the calculator outputs the lye and water amounts. That's the whole job. No guesswork, no math shortcuts.
This guide walks you through using one, explains what the settings mean, and shows you a real worked example so you leave knowing how to build any recipe safely.
Why You Must Use a Lye Calculator Every Single Time
Each oil saponifies with a different amount of lye. Olive oil needs roughly 0.134 grams of NaOH per gram of oil. Coconut oil needs about 0.190 grams. Castor oil takes about 0.128 grams. These numbers are called SAP values (saponification values), and they vary enough that swapping one oil for another in a recipe changes the lye requirement significantly.
Use too little lye and you end up with a greasy, soft bar that never cures properly. Use too much and the excess lye stays in the bar, making it caustic enough to irritate or burn skin. There is no reliable way to eyeball either problem.
This is why even experienced soapmakers recalculate every recipe, every time. Copying a recipe from a blog without running it through a calculator is genuinely risky, because you cannot verify that the original author used accurate SAP values or correct math.
The two most widely used free calculators are SoapCalc and Brambleberry's Lye Calculator. Both are reliable. SoapCalc gives you more detail (fatty acid profiles, hardness/lather predictions); Brambleberry's is slightly simpler to read. Either works fine for beginners.
What You Need Before You Open the Calculator
Before you type a single number, have these things decided:
Your oil blend and total batch weight. Know which oils you're using and how much of each, or at least the percentages and your target total. A common beginner batch is 500–700 grams of oils total.
Bar or liquid soap. Bar soap uses sodium hydroxide (NaOH). Liquid soap uses potassium hydroxide (KOH). This guide covers bar soap, so NaOH throughout.
Your superfat percentage. Superfat (also called lye discount) is the percentage of oils you leave unsaponified on purpose. Those free oils condition the skin and act as a buffer against any slight lye excess. For cold process bar soap, 5% is a standard starting point. You can go slightly lower (3–4%) for a harder bar or slightly higher (7–8%) for a more conditioning bar, but 5% is a safe default for most beginner recipes.
Your water amount method. Calculators let you specify water two ways: as a percentage of oil weight (called "water as % of oils") or as a lye concentration percentage (also called "lye:water ratio"). Both are valid. Water as % of oils at 38% is a common beginner setting. Lye concentration of 33% is another popular choice. Start with whichever your preferred calculator defaults to.
Step-by-Step: How to Fill In the Calculator
The steps below follow SoapCalc's layout, but the fields are nearly identical in every calculator.
Step 1: Select NaOH
At the top of SoapCalc you'll see a selector for NaOH or KOH. Choose NaOH for bar soap. This is the most important setting because the entire SAP value table differs between the two.
Step 2: Set Your Water Amount
SoapCalc defaults to "water as % of oils." Leave it there for now. Set the percentage to 38%. This gives you a workable batter consistency and a reasonable cure time. You can lower it (to 33%) for a harder bar that unmolds faster, but 38% is forgiving for beginners.
Step 3: Set Your Superfat
Find the "Super Fat %" field and type 5. Some calculators call this "lye discount" instead. Both mean the same thing: the calculator reduces the lye amount by 5% so that 5% of your oils stay free.
Step 4: Enter Your Oils
This is where you list every oil in your recipe. SoapCalc has a dropdown of common oils. Select an oil, enter the weight in grams (or ounces, if you prefer), and click Add or press Enter. Repeat for each oil.
Some calculators also let you enter oils as percentages of a total batch weight, which is useful if you know you want "30% coconut oil" but haven't fixed your batch size yet.
Step 5: Calculate
Click the Calculate button. The calculator immediately outputs:
- Lye (NaOH) amount in grams (or ounces)
- Water amount in grams (or ounces)
- Optionally: fatty acid breakdown, estimated bar hardness, lather quality
Those first two numbers are what you're after. Write them down on paper or in a recipe file before you close the browser.
Step 6: Record Everything
Copy the full recipe output, including oil amounts, lye amount, water amount, superfat %, and water %, into a notebook or document. Date it. This lets you reproduce a successful batch and troubleshoot a failed one.
A Worked Example: Simple 3-Oil Beginner Recipe
Here's a basic recipe often recommended for first-time soapmakers. Run these numbers through any reliable calculator and you'll get results close to what's shown below.
Oils:
| Oil | Weight (grams) | % of batch |
|---|---|---|
| Coconut oil | 175 g | 35% |
| Olive oil (pomace) | 250 g | 50% |
| Castor oil | 75 g | 15% |
| Total oils | 500 g | 100% |
Calculator settings:
- Soap type: NaOH (bar soap)
- Superfat: 5%
- Water as % of oils: 38%
Output (approximate):
| NaOH (lye) | 70.8 g |
| Water | 190 g |
So for this recipe you would weigh out 70.8 grams of sodium hydroxide and 190 grams of distilled water, dissolve the lye into the water carefully, and proceed with your batch. The 5% superfat means roughly 25 grams of oils will remain free, giving a conditioning bar with a comfortable safety margin.
Note: your calculator may show slightly different numbers depending on which SAP values it uses. Differences of 0.5–1 gram are normal across calculators. Aim for 0.1-gram precision on your scale when weighing lye.
How to Double-Check Your Numbers
One quick verification: after you get your lye amount, divide it by your total oil weight. For this recipe: 70.8 ÷ 500 = 0.1416. That should sit somewhere between roughly 0.12 and 0.20 for most typical oil blends. A number outside that range suggests something was entered incorrectly.
A second check is to recalculate in a different calculator. Run the same recipe through both SoapCalc and Brambleberry's calculator. If both return lye amounts within 1 gram of each other, you have good confidence in the result.
If you ever change an oil or adjust a weight, recalculate. A recipe that called for 70% olive oil and 30% coconut oil is a meaningfully different chemistry than one that's 50/50. The calculator catches that; your memory won't.
Never Trust a Recipe Without Recalculating
This point deserves its own section because it's the most common beginner mistake.
You find a beautiful recipe in a forum post or on Pinterest. The author seems experienced. The photos look professional. It's tempting to just make it exactly as written.
Don't. Run it through the calculator first.
Recipes get copied and altered across the internet over years. Someone might have changed an oil weight but not recalculated the lye. A blogger might have originally used KOH values for a batch they later called NaOH. The original recipe might have a typo. None of these errors are obvious from reading the ingredient list.
The five minutes it takes to enter a recipe into a calculator is the most important safety check in soap making. A lye-heavy bar won't always look different. It will feel fine as batter, set up normally, and look cured. The problem only shows up when someone uses it on their skin.
Recalculate every recipe you make, including your own previous batches if you adjust anything. Make it a habit before you ever get near a scale.
Once you're comfortable with cold process basics, take a look at how to make cold process soap: a beginner's step-by-step guide for the full process from start to finish. When your batch is poured and you're watching it set, what is trace in soap making and how to reach it explains what you're looking for. And once it's in the mold, curing cold process soap: why and how long covers why patience matters.
Frequently Asked Questions
Can I use a lye calculator for melt-and-pour soap?
No. Melt-and-pour bases come pre-made and pre-saponified. You melt them, add color and fragrance, and pour into molds. There is no lye handling involved, so no lye calculation needed. Lye calculators are only relevant for recipes that start with raw oils and sodium or potassium hydroxide.
What superfat percentage should a beginner use?
Start at 5%. It's a widely tested default that gives a good balance of cleansing and skin feel, with enough buffer to be forgiving if your scale is off by a gram or two. Once you've made several batches and understand how your oils behave, you can experiment with 3% (harder, longer-lasting bar) or 7% (softer, more moisturizing feel).
My calculator gave me a lye amount with a decimal, like 70.8 grams. Do I need to be that precise?
Yes. Use a scale accurate to 0.1 grams for lye. Kitchen scales that only read to the nearest gram introduce enough error to shift your superfat by a full percentage point or more on a small batch. A 0.01-gram jeweler's scale is ideal, but 0.1-gram precision is the minimum for reliable results.
Do I always add lye to water, never water to lye?
Always add lye to water. Pouring water onto a concentrated pile of lye can cause a violent, spattering reaction. Adding lye slowly to a full container of water distributes the heat across more liquid and is much safer. Stir slowly as you add, use a heat-safe container (stainless steel or high-density polyethylene), and work in a ventilated space away from children and pets.
Does it matter what kind of water I use in the calculation?
The calculator assumes pure water. Use distilled water for your actual batch. Tap water contains minerals and chlorine that can interfere with saponification or cause unexpected color changes in your soap. Distilled water is inexpensive and eliminates that variable entirely.