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.