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 computes the exact amount of lye (NaOH or KOH) and water you need for any combination of oils and fats in cold process and hot process soap making.
Simply add your oils by weight, 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 list of 20 common soap-making oils and butters, from olive oil and coconut oil to jojoba oil and babassu oil.
Beyond basic lye and water amounts, this soap calculator also shows you predicted soap properties like hardness, cleansing power, conditioning, and lather quality, plus iodine and INS values. Each one gets a color bar next to a guide range, so you can fine-tune your recipe before you ever pick up a stick blender.
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, iodine value, 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 or grams. All weights in the recipe will update to match the unit you pick.
Total Oil Weight: The calculator adds up the weights of the oils you enter. That total is the base amount it 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, type the NaOH percentage and the calculator shows the KOH share.
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. Pick it from the list or type in a number.
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.
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: Pick an oil, butter, or fat from the list, enter its weight, and click Add. Repeat for each oil. The calculator shows each oil's share of the total, so the percentages always add up to 100%. The Beginner Bar, Luxury Bar, and Castile buttons load a ready-made recipe.
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, and a detailed oil breakdown table. Click "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's saponification value is 248 to 265 mg of KOH per gram, while olive oil's is 184 to 196, so coconut oil needs more lye per ounce.1 In NaOH terms, the calculator uses 0.178 for coconut oil and 0.1345 for olive oil. The calculator multiplies each oil's weight by its SAP value, adds them up, and then adjusts for your chosen superfat percentage.
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.
- 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.
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, our cross stitch calculator helps with planning needlework projects, and our fabric calculator estimates material needs for sewing and quilting.