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?
How much lye do I need for soap making?
What is superfat in soap making?
How long does homemade soap need to cure?
Reference Tables
Oil saponification values and properties
| Oil | NaOH SAP (oz/oz) | KOH SAP (oz/oz) | Properties added to soap |
|---|---|---|---|
| Olive oil | 0.134 | 0.188 | Conditioning, creamy lather, hardness over time |
| Coconut oil | 0.190 | 0.266 | Fluffy lather, hardness, cleansing |
| Palm oil | 0.141 | 0.199 | Hardness, stable creamy lather |
| Castor oil | 0.128 | 0.180 | Lather boost, conditioning, slip |
| Avocado oil | 0.133 | 0.187 | Skin conditioning, creamy lather |
| Sweet almond oil | 0.136 | 0.190 | Conditioning, mild, emollient |
| Shea butter | 0.128 | 0.180 | Creamy lather, rich conditioning |
| Lard / tallow | 0.138 | 0.193 | Hard bar, stable creamy lather |
| Sunflower oil | 0.134 | 0.188 | Skin softening, light feel |
| Hemp seed oil | 0.135 | 0.189 | Skin conditioning, anti-inflammatory |
Superfat percentage guide
| Superfat % | Effect on bar | Recommended use |
|---|---|---|
| 0–2% | Very hard, maximum cleansing, potentially drying | Laundry soap, shampoo bars, specialty cleansers |
| 3–5% | Hard, good lather, mild cleansing | General-purpose bar soap, daily use |
| 5–7% | Balanced conditioning, firm bar | Most common range, all skin types |
| 8–10% | Soft, rich conditioning, may be slightly soft on unmolding | Facial soap, sensitive skin, luxury bars |
| 11–15% | Very conditioning, softer bar, shorter shelf life | High-coconut formulas, specialty face bars |
| 16–20% | Highly superfatted, soft bar, rancidity risk rises | Specialty use only; not recommended for beginners |
Common soap recipes for a 32 oz oil batch
| Recipe name | Oil blend | NaOH (5% SF) | Bar characteristics |
|---|---|---|---|
| Classic castile | 100% olive | 4.06 oz | Very mild, gentle lather; needs 6–12 months cure |
| Bastille | 72% olive, 28% coconut | 4.45 oz | Mild, good lather, reasonable hardness |
| Standard beginner | 50% olive, 30% coconut, 20% palm | 4.63 oz | Balanced: good lather, hardness, conditioning |
| Luxury conditioning | 40% olive, 25% coconut, 15% palm, 10% shea, 10% castor | 4.47 oz | Rich lather, skin conditioning, soft feel |
| Palm-free | 50% olive, 30% coconut, 10% shea, 10% castor | 4.48 oz | Sustainable, good lather, mild conditioning |