Soap Recipe Calculator

Calculate lye and water amounts for cold process soap from your oil recipe. Supports NaOH (bar) and KOH (liquid) with superfat percentage and SAP values.

Lye Type

Recipe Settings

Typical: 3-7%

Default: 2.0

Oils & Butters

Lye Required

NaOH

80.2g

Water

160.4ml

Batch Summary

Total Oils & Butters800.0g
NaOH80.2g
Water160.4ml
Total Batch Weight1040.6g
Superfat5%

Oil Breakdown

Coconut Oil200g (25.0%)
Olive Oil300g (37.5%)
Palm Oil200g (25.0%)
Shea Butter100g (12.5%)

Lye Safety

Lye is caustic and dangerous. Always wear gloves, eye protection, and work in a well-ventilated area. Never add water to lye; always add lye to water. Keep away from children and pets. For detailed instructions and safety protocols, consult experienced soaping resources.

How a Lye Calculator Works (and Why You Can't Skip It)

Cold-process soap is a chemical reaction: oils plus a strong alkali (NaOH for bar soap, KOH for liquid soap) become soap and glycerine. Each oil has its own SAP (saponification) value that tells you exactly how much lye is needed to fully react with 1g of that oil. Coconut oil's SAP is 0.186 (NaOH); olive oil is 0.134; shea butter is 0.128; castor is 0.129. The calculator multiplies each oil's weight by its SAP value, sums the totals, then applies your superfat and lye-to-water ratio.

Skipping the calculator and using someone else's recipe with different oils is how soap-makers end up with bars that are either harsh and lye-heavy (causing skin burns) or soft and oil-heavy (causing rancidity). The numbers matter to within 1g for a 500g batch. Even the same oil from a different supplier can shift the SAP by 1-2% depending on origin and processing, but for hobby and small-batch commercial work, the standard SAP table the calculator uses is accurate enough. Always weigh, never measure by volume.

Superfat - The 5% That Makes Soap Skin-Safe

Superfat is the percentage of oils left unreacted in the finished bar. A 0% superfat means every gram of oil is converted to soap; a 5% superfat (the calculator's default) means 5% of the oils survive unreacted and remain in the bar as moisturising free oils. This is the buffer that makes the bar gentle on skin and accounts for the small variations in real-world SAP values. Below 3% superfat, the bar can feel drying or even slightly caustic on sensitive skin.

Standard ranges: 5% superfat for bar soap, 1-3% for liquid soap (KOH) because higher superfat in liquid soap leaves cloudy unreacted oil, 8-10% for facial bars where extra mildness matters, up to 15% for shaving soaps. The calculator applies the superfat as a discount on the total lye amount: at 5% superfat, you use 95% of the calculated lye, leaving 5% of the oils unreacted. Don't go above 8% for general body bars or the bar gets soft and rancid quickly.

Lye-to-Water Ratio and Why It Affects Trace Time

Water dissolves the lye so it can react with the oils. Less water means a thicker, faster-reacting lye solution and faster trace; more water means a slower, gentler reaction. The calculator's default 2:1 water-to-lye ratio (e.g. 100g lye in 200g water) is the textbook standard. Master soapers use 1.5:1 for water discount (faster trace, less unmoulding wait), or 2.5:1 to 3:1 for cold-pour designs where you want extended workability.

The trade-off: less water makes a bar that unmoulds in 12-24 hours and cures in 4 weeks. More water makes a bar that needs 48-72 hours to unmould safely and cures in 6-8 weeks because the extra water has to evaporate. Beginners should stick with 2:1 until they've made 10+ batches. Advanced techniques like swirls, embeds and intricate designs benefit from a 2.5:1 ratio for the extra workable time. The calculator shows you the water amount in grams once you set the ratio.

NaOH vs KOH - Bar vs Liquid Soap

NaOH (sodium hydroxide) makes solid bar soap; KOH (potassium hydroxide) makes liquid soap (or pastes that dilute into liquid soap). The chemistry is the same - oils react with the alkali to form soap - but the molecular weights are different (NaOH is 40.0, KOH is 56.1), so the SAP values are different and you'd never use the same recipe for both. The calculator switches all the maths automatically when you change the lye type dropdown.

Practical implications: solid bar work is more forgiving for beginners because the soap is easy to mould, unmould, slice and cure. Liquid soap requires a heated cook (60-80Β°C for 2-4 hours), pastes that look alarming during cooking, and a dilution stage where you add water to the cooled paste over hours or days. Liquid soap also needs a different storage approach - it ferments and cloudies if water content is too high. If you're starting out, do 5-10 NaOH bar batches before attempting your first KOH liquid batch. For pricing your finished bars to sell, see the [candle cost calculator](/candle-cost-calculator) - the costing approach transfers.

Frequently Asked Questions

Is this calculator safe enough to trust for my recipes?

Yes for hobby and small-batch commercial work. The SAP values used (coconut 0.186 NaOH, olive 0.134 NaOH, palm 0.141 NaOH, shea 0.128 NaOH, cocoa 0.137 NaOH, castor 0.129 NaOH, sweet almond 0.136 NaOH) match the standard SAP tables published by every major soap-making textbook. For commercial regulatory submissions in the UK (cosmetic safety assessment, CPSR), use a SAP table from a verified source and consult your safety assessor; the calculator is a working tool, not a regulatory document.

What's the safety equipment I need?

Goggles or a full-face shield, lye-rated nitrile or rubber gloves, long sleeves, closed-toe shoes, and an apron you don't mind ruining. Work in a ventilated area or outside; lye dust and fumes are caustic. Have white vinegar nearby to neutralise spills on surfaces (don't put vinegar on skin - rinse with water, lots of it). Always add lye to water, never water to lye - the reverse causes a violent eruption. Keep children, pets and distractions away during the lye-mixing stage.

Can I substitute oils mid-recipe?

Only with the calculator. Each oil has a different SAP value, so swapping 100g of olive (SAP 0.134) for 100g of coconut (SAP 0.186) changes the lye requirement by 28%. Substitution without recalculation gives you a lye-heavy bar (skin-burning) or oil-heavy (rancid). The calculator lets you change oil weights live and updates the lye and water amounts; that's the safe way to iterate.

Why is my finished soap dripping fluid weeks after curing?

Usually one of three things: too much soft oil (olive, sweet almond) in the recipe so the bar never hardens; too high a superfat (above 8%) leaving free oils to seep; or insufficient cure time (cold-process bars need 4-6 weeks minimum). Drop the soft-oil percentage to 50% or less, hold superfat at 5%, and cure for 6 weeks before you decide whether the recipe failed.

Can I use this calculator for melt-and-pour soap?

No. Melt-and-pour soap is pre-saponified - the lye chemistry has already happened in the manufacturing of the base. You melt it, add fragrance and colour, and pour. There's no lye calculation needed. This calculator is only for cold-process and hot-process soap-making where you handle raw lye yourself.

More tools β†’