Updated on May 9th, 2026

Soap Calculator

Created By Jehan Wadia

Step 1: Recipe Basics
Step 2: Select Your Oils
Quick Templates:
Total: 0 oz
Step 3: Your Recipe

Introduction

Making soap from scratch requires precise measurements. If you use too much lye, your soap will be harsh and irritating. If you use too little, it may turn out soft and oily. Our soap calculator takes the guesswork out of cold process and hot process soap making by computing the exact amount of lye (NaOH or KOH) and water you need for any combination of oils and fats.

Simply choose your oils, set your percentages, and the calculator does the rest. It supports NaOH for bar soap, KOH for liquid soap, and dual-lye blends for cream soap. You can adjust the superfat level to control how moisturizing your final bar will be, pick from three different water calculation methods, and even add fragrance oil to your recipe. The tool includes a searchable database of over 60 common soap-making oils and butters, from olive oil and coconut oil to specialty options like tamanu and baobab.

Beyond basic lye and water amounts, this soap calculator also shows you predicted soap properties like hardness, cleansing power, conditioning, and lather quality. A detailed fatty acid profile, visual charts, and an INS value help you fine-tune your recipe before you ever pick up a stick blender. You can export your finished recipe as a text file to keep in your soap-making notebook or share with fellow crafters.

How to Use Our Soap Calculator

Enter your oils, lye preferences, and batch size below, and this calculator will tell you exactly how much lye, water, and fragrance you need. It also shows your soap's predicted quality properties, fatty acid profile, and INS value.

Recipe Name: Type in a name for your soap recipe. This is optional but helps you keep track of different batches when you export your recipe.

Unit System: Choose whether you want to work in ounces, grams, or pounds. All weights in the recipe will update to match the unit you pick.

Total Oil Weight: Enter the total weight of oils and fats you want to use in your batch. This is the base amount the calculator uses to figure out everything else.

Lye Type: Pick NaOH (sodium hydroxide) for bar soap, KOH (potassium hydroxide) for liquid soap, or Dual-Lye for cream soap. If you choose Dual-Lye, use the slider to set the ratio of NaOH to KOH.

Superfat / Lye Discount: Set the percentage of oils you want left unsaponified in your finished soap. A 5% superfat is standard for most bar soaps and adds extra moisture to your skin. Use the slider or type in a number between 0% and 20%. If you need help figuring out specific percentages, our dedicated tool can help.

Water Calculation Method: Choose how you want to calculate the water in your recipe. "% of Oils" sets water as a percentage of your total oil weight. "Lye Concentration" lets you set how strong your lye solution is. "Water:Lye Ratio" lets you set a direct ratio of water to lye. You can use our ratio calculator to double-check your water-to-lye ratios.

Fragrance: Enter the percentage of fragrance or essential oil you want to add, based on your total oil weight. A typical range is 3% to 6% for essential oils. Leave this at 0 if you don't want to add any scent.

Oil & Fat Selection: Use the search bar to find and add oils, butters, and fats to your recipe. Type a name like "Olive," "Coconut," or "Shea" and click on the oil to add it. Then set the percentage for each oil so they all add up to 100%.

Calculate Recipe: Click the "Calculate Recipe" button to generate your full recipe summary, including lye amount, water amount, total batch weight, fragrance weight, soap quality properties, fatty acid profile, and a detailed oil breakdown table. You can also click "Export Recipe" to download your recipe as a text file or "Reset" to go back to the default recipe.

What Is a Soap Calculator?

A soap calculator is a tool that tells you exactly how much lye (sodium hydroxide or potassium hydroxide) and water you need to safely turn oils and fats into soap. This chemical reaction is called saponification. Every oil has a unique SAP value — a number that tells you how much lye is needed to convert that specific oil into soap. Getting these amounts wrong can result in soap that is either harsh and dangerous (too much lye) or soft and greasy (too little lye). A soap calculator removes the guesswork and keeps your recipes safe.

How Saponification Works

When you mix lye with oils and water, a chemical reaction breaks the oil molecules apart and rearranges them into soap and glycerin. Each oil requires a different amount of lye to fully convert. For example, coconut oil has a high SAP value (0.178 for NaOH), meaning it needs more lye per ounce than olive oil (0.1345). The calculator multiplies each oil's weight by its SAP value, adds them up, and then adjusts for your chosen superfat percentage. Understanding the chemistry behind saponification is similar to working with our stoichiometry calculator, where precise ratios of reactants determine the outcome. If you're curious about the acid-base chemistry involved when lye dissolves in water, our pH calculator can help you understand lye solution strength.

Key Terms You Should Know

  • NaOH (Sodium Hydroxide): The lye used to make solid bar soap. It comes in small beads or flakes and is mixed with water before being added to oils.
  • KOH (Potassium Hydroxide): The lye used to make liquid soap. It creates a softer soap paste instead of a hard bar.
  • Dual Lye: A mix of both NaOH and KOH, sometimes used to make cream soaps or bars with a specific texture.
  • Superfat: The percentage of oil left unsaponified (not turned into soap) on purpose. A 5% superfat means 5% of your oils remain as free oils in the finished bar. This makes the soap more gentle and moisturizing. Most soap makers use between 3% and 8%.
  • SAP Value: The saponification value of an oil. It tells you exactly how many grams or ounces of lye are needed to convert one gram or ounce of that oil into soap.
  • Lye Purity: NaOH is typically sold at 97%–99.8% purity, and KOH at about 90%. Lower purity means you need slightly more lye to get the same result. You can use our percent change calculator to see how adjusting purity affects the amount of lye you need.
  • Masterbatch: A pre-mixed lye solution that soap makers prepare in advance to save time. You mix a known ratio of water to lye and store it, then measure out what you need for each batch.

Water Calculation Methods

There are three common ways to figure out how much water your recipe needs:

  • Water-to-Lye Ratio: The most popular method. A 2:1 ratio means you use 2 parts water for every 1 part lye. Most recipes use between 1.7:1 and 2.7:1.
  • Percentage of Oils: Water is set as a percentage of the total oil weight, usually between 22% and 38%.
  • Lye Concentration: You choose how strong the lye solution should be. A 33% lye concentration means the solution is 33% lye and 67% water. This method is popular with experienced soap makers. For help understanding solution concentrations, you may also find our molarity calculator or dilution calculator useful.

Less water means the soap hardens faster and cures more quickly. More water gives you more time to work with the batter before it thickens.

Understanding Soap Quality Properties

Different oils give your soap different qualities. The calculator predicts these properties based on the fatty acid profile of each oil in your recipe:

  • Hardness (ideal 29–54): How firm and long-lasting the bar will be. Palm oil, tallow, and cocoa butter increase hardness.
  • Cleansing (ideal 12–22): How well the soap strips away dirt and oil. Coconut oil and babassu oil are the main cleansing oils. Too much cleansing can dry out skin.
  • Conditioning (ideal 44–69): How moisturizing and gentle the soap feels. Olive oil, sweet almond oil, and avocado oil are highly conditioning.
  • Bubbly Lather (ideal 14–46): The amount of big, fluffy bubbles. Coconut oil and castor oil both boost bubbly lather.
  • Creamy Lather (ideal 16–48): The thick, lotion-like lather. Hard fats like tallow, palm, and shea butter create creamy lather.
  • Iodine Value (ideal 41–70): Measures how soft or hard the soap will be based on unsaturated fats. A very high iodine value means softer soap that may go rancid faster.
  • INS Value (ideal 136–170): An overall balance score. Recipes in the ideal range tend to produce well-rounded bars.

Tips for Building a Good Recipe

A balanced soap recipe usually includes a mix of hard fats (for bar firmness and creamy lather), cleansing oils (for bubbly lather and cleaning power), and soft oils (for conditioning and skin feel). A common beginner formula is roughly 30%–40% hard fats like palm or tallow, 20%–30% coconut oil, and 30%–40% soft oils like olive or sweet almond. Adding 5%–10% castor oil boosts lather without changing the bar much. Always run your final recipe through the calculator before making soap, even if you only change one oil.

If you enjoy crafting, you might also be interested in our cross stitch calculator for planning needlework projects, or our fabric calculator for estimating material needs for sewing and quilting. When it comes time to sell your handmade soap, our markup calculator and margin calculator can help you price your products profitably, while an Etsy fee calculator lets you factor in marketplace costs if you sell online.


Frequently Asked Questions

What is a SAP value and why does it matter?

SAP value stands for saponification value. It tells you how much lye is needed to turn a specific oil into soap. Every oil has its own SAP value. Coconut oil needs more lye than olive oil, for example. The soap calculator uses these values to give you the right amount of lye for your recipe. Using the wrong amount of lye can make soap that is unsafe or too soft.

What happens if my oil percentages don't add up to 100%?

Your oil percentages must add up to exactly 100% for the calculator to work correctly. If they are over or under 100%, the lye amount will be wrong. The calculator shows your total in green when it equals 100% and in red when it does not. Adjust your oil percentages until the total shows 100% before calculating.

What is the difference between NaOH and KOH?

NaOH (sodium hydroxide) is used to make solid bar soap. KOH (potassium hydroxide) is used to make liquid soap. They are both types of lye, but they produce different kinds of soap. KOH requires more lye by weight than NaOH for the same amount of oil. Choose the one that matches the type of soap you want to make.

What superfat percentage should I use?

A superfat of 5% is the most common choice for bar soap. It leaves enough extra oil in the soap to make it gentle and moisturizing without making the bar too soft. You can go lower (like 2-3%) for a harder, more cleansing bar, or higher (like 7-8%) for extra conditioning. Going above 10% can make bars soft and prone to going rancid.

Can I use this calculator for liquid soap?

Yes. Select KOH as your lye type to calculate a liquid soap recipe. KOH (potassium hydroxide) is the lye used for liquid soap. The calculator will adjust all the lye amounts based on the KOH SAP values for your oils. You may also want a higher superfat (like 3%) and more water for liquid soap recipes.

What is dual-lye soap?

Dual-lye soap uses a mix of both NaOH and KOH together. This creates cream soaps that are thicker than liquid soap but softer than bar soap. When you select Dual-Lye in the calculator, a slider appears so you can set the ratio of NaOH to KOH. A 50/50 split is a common starting point.

What is a good INS value for soap?

An INS value between 136 and 170 is considered ideal. This range usually produces a bar that is hard enough to last, lathers well, and feels good on skin. If your INS value is too low, the bar may be soft and oily. If it is too high, the bar may be brittle. Adjust your oil blend to get closer to the ideal range.

Which water calculation method should a beginner use?

Beginners should start with the "% of Oils" method set to 38%. This is the simplest option and gives you plenty of water to work with. It makes the soap batter easier to pour and gives you more time before it thickens. As you gain experience, you can try lye concentration or water-to-lye ratio methods for more control.

Why does coconut oil need so much more lye than olive oil?

Coconut oil has a much higher SAP value (0.1910) compared to olive oil (0.1353). This is because coconut oil contains shorter-chain fatty acids like lauric acid, which require more lye molecules per gram of oil to turn into soap. The calculator accounts for this difference automatically when you add each oil to your recipe.

How do I export or save my soap recipe?

Click the green "Export Recipe" button after calculating your recipe. This downloads a text file to your computer with all the details, including oil weights, lye amount, water amount, superfat percentage, and INS value. You can save this file, print it, or share it with other soap makers.

What does the radar chart show?

The radar chart shows five key soap properties: hardness, cleansing, conditioning, bubbly lather, and creamy lather. Your recipe values are shown in purple, and the ideal midpoint values are shown in green. This makes it easy to see at a glance where your recipe is strong and where it might need adjustment.

How much fragrance oil should I add to soap?

Most soap makers use between 3% and 6% fragrance oil based on the total weight of oils. Essential oils are typically used at the lower end (3-4%) because they are stronger. Fragrance oils designed for soap making can go up to 6%. Enter your desired percentage in the fragrance field and the calculator will tell you the exact weight to use.

Can I substitute one oil for another in a recipe?

Yes, but you must recalculate every time you change an oil. Each oil has a different SAP value and fatty acid profile, so swapping oils changes how much lye you need and how the soap will perform. Remove the old oil, add the new one, set the percentage, and click Calculate to get updated results.

What do the colored bars in soap properties mean?

Green bars mean your value falls within the ideal range for that property. Yellow or orange bars mean you are slightly outside the ideal range. Red bars mean your value is far from ideal and you should consider adjusting your oil blend. The ideal range is shown below each bar for reference.

Is this calculator accurate enough for safe soap making?

This calculator uses standard SAP values from widely accepted soap making references. It is accurate enough for home soap making. However, natural oils can vary slightly between batches and suppliers. That is one reason we use superfat — it provides a safety margin. Always use a superfat of at least 2-3% to account for natural variation in oil composition.

What does lye concentration mean?

Lye concentration tells you what percentage of your lye-water solution is actual lye. At 33% lye concentration, 33% of the solution is lye and 67% is water. Higher concentrations mean less water, which can help soap harden faster and reduce time in the mold. Lower concentrations give you more working time but longer cure times.

Why is castor oil limited to a small percentage in recipes?

Castor oil is a powerful lather booster because of its ricinoleic acid content. But using too much (over 10%) can make soap sticky and soft. Most soap makers use 5-8% castor oil in their recipes. Even a small amount makes a big difference in lather quality, so a little goes a long way.

How do I switch between ounces and grams?

Use the Unit System toggle at the top of the calculator. Click Ounces, Grams, or Pounds to switch. When you change units, make sure to update your total oil weight to match. The calculator will display all results in whatever unit you select.