Soap Making Lye & Oil Calculator

Calculate the exact lye and water amounts for your homemade soap recipe. Enter your oil blend, batch size, and superfat percentage to get a precise, safe soap formula.

Oil blend (percentages must total 100%)

16.00 oz
9.60 oz
6.40 oz
0.00 oz
0.00 oz
0.00 oz
0.00 oz
0.00 oz
0.00 oz
0.00 oz
Total: 100% ✓

Quick Facts

Saponification
Lye + oils → soap + glycerin
Each oil has a unique SAP value — the oz of NaOH (or KOH) needed per oz of oil.
Superfat
5% is the standard starting point
Leaves some oils unsaponified for skin conditioning. Higher = softer, shorter shelf life.
Water ratio
38% of oil weight is typical
Less water (33%) speeds unmolding; more water (40%+) makes a more fluid batter.

Your Results

Calculated
NaOH amount
-
Lye needed (with superfat applied)
Water amount
-
Distilled water recommended
Total oil weight
-
Confirmed batch oil weight
Estimated batch yield
-
After water evaporation

Ready

Enter your recipe details and press Calculate to get your soap formula.

About the Soap Making Lye & Oil Calculator

This calculator takes the guesswork out of formulating a homemade soap recipe. Enter your oil blend, batch size, superfat percentage, and water ratio and it returns the exact lye and water amounts you need — whether you are making cold process bar soap with sodium hydroxide (NaOH) or liquid soap with potassium hydroxide (KOH). Like a yarn yardage calculator for fiber crafters, it removes the precision guesswork from planning your raw materials.

What is saponification?

Saponification is the chemical reaction that turns fats and oils into soap. When lye dissolves in water and is combined with oils, a strongly exothermic reaction occurs: the triglycerides in the oils break apart, the fatty acid chains bond with sodium (or potassium) ions from the lye, and glycerin is released as a valuable byproduct. The resulting salt of a fatty acid is what we call soap. The reaction consumes all of the lye and most of the oils — none of the caustic lye remains in a properly formulated finished bar.

Each type of fat or oil reacts with a slightly different amount of lye because of differences in its fatty acid profile — the length of the carbon chains and the degree of saturation. This ratio is called the saponification value (SAP value), expressed as ounces of lye needed per ounce of oil. Olive oil, for example, has a NaOH SAP value of approximately 0.134, while coconut oil requires more lye — about 0.190 — because it contains a higher proportion of shorter-chain, more easily saponified lauric acid.

Why lye is necessary — the "lye-free soap" myth

There is no such thing as soap made without lye. The chemistry is absolute: saponification requires an alkali, and sodium hydroxide or potassium hydroxide is that alkali. Products marketed as "lye-free" were made with lye by a manufacturer; you are simply working with an already-saponified base (melt-and-pour soap) or a detergent product that was never soap in the chemical sense. When you make soap from scratch — whether cold process, hot process, or a traditional kettle process — you will handle lye. The good news is that the finished, cured soap contains no free lye: it was fully consumed in the reaction.

Cold process vs. hot process soap making

Cold process (CP) is the most popular method among home soap makers. Lye water and melted oils are combined at a controlled temperature (often around 90–110°F / 32–43°C) and blended until they reach "trace" — the point at which the mixture has emulsified and will no longer separate. The raw soap batter is poured into molds and left to saponify over 24–48 hours. It is then unmolded and cured for 4–6 weeks while water evaporates and saponification fully completes. CP soap retains more of the natural glycerin produced during saponification and allows a wide range of additives to be incorporated at trace.

Hot process (HP) accelerates saponification by applying external heat — typically in a slow cooker or oven. The soap is "cooked" until saponification completes, producing a soap that can technically be used immediately after molding, though it still benefits from 2–4 weeks of curing for water evaporation and hardening. HP soap has a more rustic appearance and a shorter window for swirling or intricate designs, but it is a useful method when you need a ready-to-use soap quickly. Liquid soap is almost exclusively made by the hot process method using potassium hydroxide instead of sodium hydroxide.

The key difference between bar and liquid soap lies in the alkali: NaOH produces a hard bar soap; KOH produces a soft paste or liquid soap because the potassium salt of a fatty acid is more water-soluble than the sodium salt. Potassium hydroxide is typically sold at about 90% purity rather than the near-100% of sodium hydroxide, so the calculator adjusts the KOH amount upward to account for this — dividing by 0.90 to ensure you have enough active alkali.

Safety protocols — working with lye

Sodium and potassium hydroxide are among the most dangerous household chemicals in common use. They cause deep, slow-healing chemical burns that may not be immediately painful. Before working with lye:

  • Wear safety goggles or a face shield — not just safety glasses. A splash of lye water at eye height can cause permanent vision damage.
  • Wear rubber or nitrile gloves — not disposable latex, which can degrade. Long sleeves and close-toed shoes are advisable.
  • Work in a well-ventilated area — dissolving lye in water releases heat and fumes that are strongly alkaline and irritating to the respiratory tract.
  • Always add lye to water, never water to lye. Adding water to a pile of dry lye causes a violent exothermic reaction that can splatter caustic liquid. Add the lye crystals slowly to cold or room-temperature water while stirring.
  • Use heat-resistant containers — lye solution can reach 200°F / 93°C. Never use aluminum, tin, or cast iron; use stainless steel, HDPE plastic, or borosilicate glass.
  • Keep vinegar nearby for neutralizing skin splashes — rinse immediately and thoroughly with cold water for 20 minutes, then apply vinegar. Seek medical attention for any significant contact.
  • Keep children and pets away from the workspace during all stages of lye mixing and saponification.

Water discount: why soapers use less water

The "full water" amount for soap is traditionally defined as about 38% of the weight of oils (sometimes expressed as a 2:1 oils-to-water ratio). Many experienced soapers use a "water discount" of 10–20%, bringing water down to 30–33% of oil weight. Less water produces a firmer trace faster, makes bars that unmold sooner, reduces the risk of "soda ash" (a harmless white powdery deposit from sodium carbonate formed when unsaponified lye reacts with air), and ultimately produces a harder, longer-lasting finished bar. The trade-off is that a stiffer batter has less time to work in fragrance, colorants, and intricate swirls before it sets. Beginners often start with full water and reduce it as they gain experience.

Superfat explained

Superfat — also called the lye discount — is the deliberate decision to use slightly less lye than would be needed to saponify every last molecule of oil. At a 5% superfat, 5% of the oil weight remains unsaponified as free oils in the finished bar. These free oils contribute directly to the skin-conditioning properties and the "feel" of the soap. The specific oils that remain unsaponified are largely random in cold process soap (the reaction cannot be directed to spare a preferred oil), but a blend rich in conditioning oils throughout will tend to produce a more moisturizing soap at any superfat level.

Common superfat guidelines: 0–3% for shampoo bars and laundry soap where maximum cleansing is the goal; 5–7% for general-use bar soap; 8–12% for facial bars, shaving soaps, or extra-conditioning formulas. Above 12%, the risk of rancidity (the "dreaded orange spots" that soapers call DOS — dreaded orange spots) rises significantly because excess free oils can oxidize. Below 2%, bars can strip the skin.

The role of different oils in soap

Every oil brings a different combination of properties to a soap recipe, driven by its fatty acid profile:

  • Coconut oil is the dominant lathering oil in most bar soap. Its high lauric and myristic acid content produces abundant, fluffy bubbles and a very hard bar. However, high coconut percentages (above 30%) can be drying at standard superfatts; many soapers use higher superfats (10–20%) in high-coconut formulas or limit coconut to 20–30%.
  • Olive oil (castile soap when used at 100%) contributes excellent skin conditioning and a stable, creamy lather. It takes longer to trace and longer to cure, but produces mild, long-lasting bars. High-olive bars benefit from 6–12 months of curing.
  • Palm oil adds hardness and a stable, creamy lather. It is chemically similar to lard and often used as a vegan substitute. Palm oil is controversial due to deforestation concerns; responsibly sourced or certified sustainable palm is available.
  • Castor oil is used in small amounts (3–10%) as a lather booster. It helps other oils lather more generously and adds a slight slip to the bar.
  • Shea butter adds rich skin conditioning and creamy lather. It is most effective at 5–15% of the recipe.
  • Lard and tallow (rendered animal fats) produce excellent hard bars with stable, creamy lather and are inexpensive. They were the traditional base of commercial soap before vegetable oils became dominant.
  • Sunflower oil is high in linoleic acid, which contributes a skin-softening quality, but it also accelerates rancidity at high usage rates. Staying under 15–20% is advisable.
  • Hemp seed oil is high in both linoleic and alpha-linolenic acid, giving it a skin-softening, anti-inflammatory profile. Like sunflower, it should be used at moderate rates (10–20%) to limit rancidity.

Fragrance and essential oils

Fragrance oils and essential oils are added at trace, after the lye water and oil mixture has emulsified. Typical usage rates are 1–3% of the total batch weight (oils + lye water). Some fragrance oils "accelerate" trace dramatically — causing the soap batter to seize and thicken within seconds of adding the fragrance, making it impossible to swirl or do anything but quickly plop the batter into the mold. Testing fragrance oils in a small sample (the "water test" or a one-pound test batch) before committing to a full batch is strongly recommended. Certain essential oils, notably many citrus oils, accelerate quickly or morph in color. Vanilla-containing fragrance oils turn soap brown due to vanillin oxidation.

Colorants and additives

Soap colorants include micas (metalite pigments that produce vibrant, reliable color), oxides and ultramarines (inorganic pigments used at low usage rates, typically 0.5–1 tsp per pound of oils), and natural options like clays, activated charcoal, turmeric, paprika, and spirulina. Natural colorants often fade over time or morph through the gel phase. Clays (kaolin, French green, rose) additionally add slip and contribute to lather creaminess.

Popular additives include colloidal oatmeal for soothing sensitive skin, honey (which dramatically accelerates gel phase and can overheat without monitoring), sodium lactate (a humectant that speeds unmolding), and activated charcoal (for detoxifying claims and a dramatic black appearance). Additives are typically added at trace alongside fragrance.

Curing time

Cold process soap is unmolded after 24–48 hours (when it is firm enough to handle without distorting) and then cut and placed on curing racks for at least 4–6 weeks. During this time, two things happen: water continues to evaporate (which hardens and extends the life of the bar), and any remaining saponification completes (which ensures no residual free lye and brings the pH to an acceptable range for skin contact). A lye-heavy bar will have a high pH and can cause skin irritation; a properly cured bar will typically test at pH 9–10 on a pH strip, which is acceptable for skin use. Many soapers cure for 8–12 weeks for the hardest, longest-lasting bars.

pH testing and common mistakes

You can test a cured bar with pH strips (look for a reading of 9–11) or perform a "zap test" — briefly touching the cut surface of the bar to the tip of your tongue. A lye-heavy bar causes an immediate, sharp "zap" sensation like touching a battery to your tongue. This test should be used cautiously and never tried on a fresh (uncured) bar of soap. Common soap making mistakes include:

  • Seizing — the batter thickens suddenly to a clay-like consistency, usually caused by a fragrance oil or essential oil that reacts poorly with the lye. Seized soap can often be salvaged by spooning it into the mold ("rustic" or "plop-and-drop") and pushing through the mold.
  • Separation — oils and lye water separate after mixing, leaving a curdled or oily mess. Usually caused by temperatures that are too different between the lye water and oils, or by fragrance oils. Can sometimes be rescued by stick-blending aggressively or by heat-processing as a hot process soap.
  • Soda ash — a white, powdery, or filmy coating on the surface of the bar, caused by unsaponified soap reacting with carbon dioxide in the air during the gel phase. Harmless but cosmetically unappealing. Can be reduced by covering the mold with cardboard and a towel (insulating to encourage full gel phase), spraying the top with 91% isopropyl alcohol immediately after pouring, or using a water discount.
  • Rancidity (DOS) — orange or brown spots that appear during or after curing, caused by unsaponified oils oxidizing. More likely with high polyunsaturated oils (sunflower, hemp, canola) at high superfatts, or with water-containing additives (milk, honey, purees) that can introduce bacteria.

Storing and packaging your soap

Cured soap should be stored in a cool, dry, well-ventilated location. Avoid sealed bags or containers — soap continues to release water vapor after curing and needs air circulation to prevent sweating. Bars stored in humid environments may "sweat" (weep glycerin droplets on the surface); this is harmless and often reverses in drier conditions. Natural soap typically has a shelf life of 1–2 years when stored properly, though high-polyunsaturated-oil formulas may go rancid faster. For gifting or selling, soap is most commonly wrapped in kraft paper, tissue paper, or custom paper bands, leaving the bar ends exposed for airflow.

Frequently Asked Questions

Can you make soap without lye?
No. All true soap is made through saponification — a chemical reaction between fats or oils and an alkali (lye). Products marketed as "lye-free soap" were made with lye; the finished soap simply contains no residual lye because it was consumed in the reaction. You cannot make soap without lye at some point in the process. Melt-and-pour soap bases were made with lye by the manufacturer, and you are just re-melting an already-saponified product.
How much lye do I need for soap making?
The amount of lye depends on which oils you use and how much. Each oil has a saponification (SAP) value — the grams or ounces of lye needed to fully saponify one unit of that oil. You multiply each oil's weight by its SAP value, sum the results, then apply a superfat discount (typically 5–8%) to leave a small percentage of oils unsaponified for skin-conditioning benefits. This calculator does all of that automatically once you enter your oil blend and batch weight.
What is superfat in soap making?
Superfat (also called lye discount) is the percentage of oils you intentionally leave unsaponified by using slightly less lye than needed to react with all the oil. A 5% superfat means 5% of your oils remain as free oils in the finished bar, which improves skin feel and conditioning. Higher superfatts (8–12%) produce softer, more moisturizing bars but can cause rancidity faster. Lower superfatts (2–4%) produce harder, longer-lasting bars but can be drying. A 5–7% superfat is the most common choice for general-purpose bar soap.
How long does homemade soap need to cure?
Cold process soap needs to cure for 4–6 weeks after unmolding. During this time, excess water evaporates, the bar hardens, and the saponification reaction fully completes. Freshly made soap may test alkaline on a pH strip (above 10–11) and be harsh on skin; a properly cured bar should test around 9–10 pH. Longer cure times (8–12 weeks) produce a harder, milder, longer-lasting bar. Hot process soap can technically be used sooner but still benefits from 2–4 weeks of curing for water evaporation.

Reference Tables

Oil saponification values and properties

OilNaOH SAP (oz/oz)KOH SAP (oz/oz)Properties added to soap
Olive oil0.1340.188Conditioning, creamy lather, hardness over time
Coconut oil0.1900.266Fluffy lather, hardness, cleansing
Palm oil0.1410.199Hardness, stable creamy lather
Castor oil0.1280.180Lather boost, conditioning, slip
Avocado oil0.1330.187Skin conditioning, creamy lather
Sweet almond oil0.1360.190Conditioning, mild, emollient
Shea butter0.1280.180Creamy lather, rich conditioning
Lard / tallow0.1380.193Hard bar, stable creamy lather
Sunflower oil0.1340.188Skin softening, light feel
Hemp seed oil0.1350.189Skin conditioning, anti-inflammatory

Superfat percentage guide

Superfat %Effect on barRecommended use
0–2%Very hard, maximum cleansing, potentially dryingLaundry soap, shampoo bars, specialty cleansers
3–5%Hard, good lather, mild cleansingGeneral-purpose bar soap, daily use
5–7%Balanced conditioning, firm barMost common range, all skin types
8–10%Soft, rich conditioning, may be slightly soft on unmoldingFacial soap, sensitive skin, luxury bars
11–15%Very conditioning, softer bar, shorter shelf lifeHigh-coconut formulas, specialty face bars
16–20%Highly superfatted, soft bar, rancidity risk risesSpecialty use only; not recommended for beginners

Common soap recipes for a 32 oz oil batch

Recipe nameOil blendNaOH (5% SF)Bar characteristics
Classic castile100% olive4.06 ozVery mild, gentle lather; needs 6–12 months cure
Bastille72% olive, 28% coconut4.45 ozMild, good lather, reasonable hardness
Standard beginner50% olive, 30% coconut, 20% palm4.63 ozBalanced: good lather, hardness, conditioning
Luxury conditioning40% olive, 25% coconut, 15% palm, 10% shea, 10% castor4.47 ozRich lather, skin conditioning, soft feel
Palm-free50% olive, 30% coconut, 10% shea, 10% castor4.48 ozSustainable, good lather, mild conditioning