Advanced Lye Calculator for Soap Making


Professional Lye Calculator for Soap Making

Use this advanced lye calculator to create safe and accurate soap recipes. Select your lye type, oils, and settings to get the precise measurements needed for saponification.




Add each oil or butter in your recipe and its weight.


Enter water as a percentage of total oil weight (e.g., 33% is a common value).
Please enter a valid percentage.


The percentage of free oils left in your soap for extra moisturizing (e.g., 5-8%).
Please enter a valid percentage.


Calculation Results

Lye Amount Required
0.00 g

Total Oil Weight
0.00 g

Water Amount
0.00 g

Total Recipe Weight
0.00 g

Formula: Lye = (Σ(Oil Weight * SAP Value)) * (1 – Superfat %)

Recipe Composition Chart

Visual breakdown of your soap recipe’s components by weight.

Oil Breakdown Table


Oil/Butter Weight Percentage

Detailed breakdown of the oils used in your calculation.

What is a Lye Calculator?

A lye calculator is an essential tool for any soap maker, from hobbyist to professional. It performs the critical task of calculating the precise amount of lye—either Sodium Hydroxide (NaOH) for solid bar soap or Potassium Hydroxide (KOH) for liquid soap—needed to convert a specific blend of fats and oils into soap. This chemical reaction is called saponification. Using an accurate lye calculator is a matter of safety and quality; too much lye results in a harsh, caustic soap that is unsafe for skin, while too little lye leaves you with a soft, oily bar that may become rancid. This tool accounts for the unique saponification (SAP) value of each oil, your desired superfat level, and water content to ensure a perfectly balanced, safe-to-use final product.

Anyone who makes soap from scratch (i.e., not from a melt-and-pour base) must use a lye calculator. A common misconception is that all oils are the same. In reality, every oil, like olive oil or coconut oil, requires a different amount of lye to saponify. A reliable saponification calculator like this one removes the guesswork and complex manual math, empowering you to create custom recipes with confidence.

Lye Calculator Formula and Mathematical Explanation

The core function of a lye calculator is based on the saponification value (SAP value) of each oil. The SAP value represents the milligrams of Potassium Hydroxide (KOH) required to saponify one gram of a specific oil. The calculator adjusts this value for Sodium Hydroxide (NaOH) when making bar soap.

The calculation process is as follows:

  1. Calculate Lye for Each Oil: For each oil in the recipe, the calculator multiplies the weight of the oil by its specific SAP value for the chosen lye type (NaOH or KOH).
    Lye for Oil 1 = Weight of Oil 1 * SAP Value of Oil 1
  2. Sum Total Lye: It then sums the lye amounts for all oils to find the total amount of lye needed for 100% saponification.
    Total Lye (100%) = Σ (Lye for each oil)
  3. Apply Superfat Discount: To make the soap more moisturizing and ensure no free lye remains, a “superfat” percentage is applied. This is a discount on the total lye amount.
    Final Lye Amount = Total Lye (100%) * (1 – (Superfat % / 100))
  4. Calculate Water Amount: The amount of water (the lye solvent) is typically calculated as a percentage of the total oil weight.
    Water Amount = Total Oil Weight * (Water % / 100)

Variables Table

Variable Meaning Unit Typical Range
Oil Weight The mass of a specific oil or butter in the recipe. grams, ounces 1 – 10,000
SAP Value Saponification value; the amount of lye to convert 1g of oil into soap. Ratio (e.g., 0.134 for NaOH/Olive Oil) 0.060 – 0.200 (NaOH)
Superfat Percentage of oil left unsaponified for a more gentle bar. % 3% – 15%
Water Content Amount of liquid used to dissolve the lye, as a percent of oil weight. % 25% – 40%

Practical Examples (Real-World Use Cases)

Example 1: Classic “Castile-Style” Soap Bar

A user wants to make a simple, gentle bar using mostly Olive Oil, with a bit of Coconut Oil for lather. They are using grams.

  • Inputs:
    • Lye Type: NaOH
    • Olive Oil: 800g
    • Coconut Oil: 200g
    • Water as % of Oils: 35%
    • Superfat: 6%
  • Outputs:
    • Total Oil Weight: 1000g
    • Lye (NaOH) Amount: 130.65g
    • Water Amount: 350g
    • Total Recipe Weight: 1480.65g
  • Interpretation: The user needs to carefully dissolve 130.65g of NaOH into 350g of distilled water, then combine it with their 1000g of melted oils to start the saponification process. The 6% superfat ensures the bar will be gentle and conditioning. Check out our soap recipe calculator for more ideas.

Example 2: Liquid Soap for Handwashing

A user wants to create a liquid soap recipe using a blend of oils and Potassium Hydroxide (KOH).

  • Inputs:
    • Lye Type: KOH
    • Coconut Oil: 400g
    • Olive Oil: 300g
    • Castor Oil: 100g
    • Water as % of Oils: 30% (Note: This is for the paste; more water is added later)
    • Superfat: 3%
  • Outputs:
    • Total Oil Weight: 800g
    • Lye (KOH) Amount: 164.88g
    • Water Amount: 240g
    • Total Recipe Weight (Paste): 1204.88g
  • Interpretation: The user will create a thick soap paste by combining 164.88g of KOH with 240g of water and the 800g of oils. After this paste has cooked and neutralized, it will be diluted with additional distilled water to reach the desired liquid consistency. A 3% superfat is common for liquid soap to ensure clarity. Learning how to make soap is a rewarding process.

How to Use This Lye Calculator

Using our lye calculator is a straightforward process. Follow these steps to ensure you get accurate results for your soap making project.

  1. Select Lye Type: Choose between NaOH for bar soap or KOH for liquid soap.
  2. Choose Units: Select whether you are measuring your oils in grams or ounces. Be consistent.
  3. Add Your Oils: Click the “+ Add Oil” button for each fat or butter in your recipe. Select the oil from the dropdown and enter its weight. The lye calculator will automatically use the correct SAP value.
  4. Set Water Content: Enter the amount of water you wish to use as a percentage of the total oil weight. A value between 30-35% is a good starting point.
  5. Set Superfat Level: Input your desired superfat percentage. 5% is a great starting point for bar soap.
  6. Review the Results: The lye calculator instantly updates. The primary result is the precise weight of lye you need. Also note the total oil weight and water amount for your recipe.
  7. Analyze Charts: Use the dynamic chart and table to see a breakdown of your recipe’s composition, ensuring your oil blend meets your goals.

Decision-Making Guidance: If your soap properties chart (available in a full superfat calculator) shows a bar that is too cleansing (can be drying) or not hard enough, adjust your oil blend. For instance, reduce coconut oil to decrease cleansing properties or increase hard butters like cocoa or shea butter to create a harder bar. Then, re-run the numbers through this lye calculator.

Key Factors That Affect Lye Calculator Results

Several critical factors influence the output of a lye calculator. Understanding them is key to formulating the perfect soap.

  • Oil Types: This is the most significant factor. Each oil has a unique fatty acid profile and thus a unique SAP value. Coconut oil requires much more lye to saponify than olive oil.
  • Lye Type (NaOH vs. KOH): Potassium Hydroxide has a larger molecule than Sodium Hydroxide, so you will always need more KOH than NaOH to saponify the same amount of oil.
  • Superfat Percentage: A higher superfat percentage directly reduces the final lye amount, resulting in a more moisturizing but potentially softer bar with a less robust lather.
  • Weight of Oils: The total amount of oils is the basis for the entire calculation. Doubling your oil weight will double the amount of lye needed (before the superfat discount).
  • Lye Purity: Most lye calculators, including this one, assume a standard purity (e.g., 97-99% for NaOH). If you use a lye with lower purity, you would technically need more of it, but it’s best to always use high-purity lye for safety and consistency.
  • Accuracy of Measurement: The results from the lye calculator are precise, but your soap will only be as good as your measurements. Always use a reliable digital scale.

Frequently Asked Questions (FAQ)

1. Why can’t I just use a generic recipe without a lye calculator?

You can, but you should always run it through a lye calculator first to double-check for typos or errors. Furthermore, if you ever want to substitute an oil (e.g., use almond oil instead of sunflower oil), you MUST recalculate the lye, as their SAP values are different.

2. What happens if I use the wrong lye (NaOH for liquid soap)?

If you use NaOH (for bars) when the recipe calls for KOH (for liquid), you will end up with a hard, crumbly soap instead of a liquid one. If you use KOH for a bar soap recipe, it will likely be very soft or may not solidify at all.

3. What is “water discount”?

This term refers to using less water than the standard amount (often cited as 38% of oil weight on older calculators). Using less water can help the soap harden faster and reduce cure time. Our lye calculator lets you control this via the “Water Content” input.

4. How accurate does my oil measurement need to be?

Very accurate. Always use a digital scale that can measure to at least one gram (or 0.1 ounces). The accuracy of your soap depends directly on the accuracy of your measurements.

5. Can I add things like clay, milk, or honey? How does that affect the lye calculation?

These additives generally do not affect the lye calculation itself, as they have negligible SAP values. However, sugars (like in milk and honey) can accelerate the process and increase the temperature, requiring careful management.

6. My lye calculator result seems different from another one online. Why?

Minor differences can occur if the calculators use slightly different SAP values for the oils. SAP values can have small variations depending on the source. As long as the difference is small, it’s usually not a concern, as the superfat provides a safety buffer. For more advanced formulating, consider using a saponification calculator that lets you see the source of its values.

7. What’s a safe superfat percentage for a beginner?

A 5% superfat is a widely recommended, safe, and effective starting point for cold process bar soap. It provides a good safety buffer and results in a quality bar of soap. Our lye calculator defaults to this value.

8. Does this lye calculator work for hot process soap?

Yes, the ingredients and amounts calculated are the same for both cold process and hot process soap making. The difference is in the procedure of how and when you apply heat to complete saponification.

© 2026 Your Company. All rights reserved.



Leave a Reply

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