Crafts calculators

Soap Calculator

Updated Sep 29, 2026 By Infinity Calculator
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 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.


Formulas used

NaOH Required per Oil
\text{NaOH}_{\text{oil}} = W_{\text{oil}} \times \text{SAP}_{\text{NaOH}}
Superfat-Adjusted Total Lye
\text{NaOH}_{\text{adj}} = \sum \text{NaOH}_{\text{oil}} \times \left(1 - \frac{\text{superfat\%}}{100}\right)
NaOH Accounting for Purity
\text{NaOH}_{\text{actual}} = \frac{\text{NaOH}_{\text{adj}}}{\text{purity}_{\text{NaOH}} / 100}
KOH from NaOH Equivalent
\text{KOH}_{\text{actual}} = \frac{\text{NaOH}_{\text{adj}} \times 1.40272}{\text{purity}_{\text{KOH}} / 100}
Water by Lye Ratio
W_{\text{water}} = W_{\text{lye}} \times R_{\text{water:lye}}
Water by Lye Concentration
W_{\text{water}} = W_{\text{lye}} \times \frac{100 - C_{\text{lye}}}{C_{\text{lye}}}
Fragrance Oil Weight
W_{\text{frag}} = W_{\text{oils}} \times \frac{\text{frag\%}}{100}
Soap Quality Property (Weighted Average)
Q = \sum_{i} \left( q_i \times \frac{W_i}{W_{\text{oils}}} \right)

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.

How does the calculator work out each oil's percentage?

They always will. You enter each oil by weight, and the calculator works out each oil's share of the total for you, so the percentages add up to 100% on their own. To change the mix, change an oil's weight.

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.

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 box appears where you set the NaOH percentage, and the KOH share is shown next to it. 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's saponification value is 248 to 265 mg of KOH per gram, much higher than olive oil's 184 to 196.1 In NaOH terms, the calculator uses 0.178 for coconut oil and 0.1345 for olive oil. 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 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.

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.


Sources

  1. Codex Alimentarius: Fats, Oils and Related Products, Section 2: Codex Standards for Fats and Oils from Vegetable Sources (CODEX STAN 210-1999; CODEX STAN 33-1981). Food and Agriculture Organization of the United Nations / World Health Organization. CODEX STAN 210-1999, Table 2 (saponification value); CODEX STAN 33-1981, 3.1.2.3. Accessed September 29, 2026.