A small, traceable NaOH worksheet

Soap Recipe Calculator

Calculate a reference worksheet for three supported oils and solid NaOH. See the source assumptions, scale oil weights, and keep a local JSON backup and PDF.

Reference worksheet, not a safety certificate. NaOH is corrosive and releases heat with water. Verify materials, supplier specifications and measurements independently. Follow the supplier’s SDS and established training. Wear chemical safety goggles, chemical-resistant gloves and protective clothing; use ventilation specified by your supplier's SDS and avoid breathing dust or mist. No KOH, premixed lye, additives or other liquids are calculated.

Exclude olive-pomace, blends and modified oils.

Exclude fractionated, hydrogenated and blended oils.

Exclude palm kernel, olein, stearin and blends.

Discount range: 5–15%; the input is not measured superfat. The default 100% example is an unverified reference assumption. Replace it with the actual supplier specification; do not guess a lower purity to add more lye.

25–50%; this is not lye concentration or a water-to-lye ratio. Only ordinary added water is modeled.

Reference SAP data & formula

Historical FAO Codex ranges: olive184–196, coconut248–265, palm190–209 mg KOH/g oil. Arithmetic midpoints190/256.5/199.5 are modeling references. Conversion: midpoint/1000 ×40.0/56.1 = g NaOH/g oil.

These values are not your batch’s measurements or a current standard certification. Source: FAO historical text. NIOSH NaOH safety information. CCOHS protection guidance.

External comparison tools: SoapCalc and TheSage. Their data and settings can differ.

L0 = sum(oil mass × reference SAP); active NaOH = L0 × (1 − discount/100); solid NaOH = active/(purity/100); water = total oil mass × water%/100.

Preserves oil proportions, discount, purity and water basis. Target oil range: 250–3000g.

JSON keeps the inputs, source parameter version and result snapshot. Download before clearing browser data. No cloud saving or version history.

Illustrative only — not a tested recipe
Oil inputs1000 g total: virgin/refined olive 700 g (70%), unfractionated coconut 200 g (20%), whole palm 100 g (10%).
Reference settings5% lye discount; 100% solid NaOH purity (unverified reference input); water 38% of oil mass, not lye concentration or a water-to-lye ratio.
Reference outputsPure NaOH before discount: 145.63 g; active NaOH after 5% discount: 138.35 g; solid NaOH: 138.35 g; water: 380.00 g.

This browser edition is free to use. No account or payment is required.

Know which assumptions went into the numbers

The SAP references come from three ranges in a historical FAO Codex text. The worksheet uses each range’s arithmetic midpoint as an explicit model assumption and converts its mg KOH per gram basis into grams of NaOH per gram of oil. This is not a statement that a real batch of oil has the midpoint value, a current-standard certification or a supplier analysis. Recorded software comparison on November 27, 2026 used 1000g of one oil and a 5% lye discount. For olive, coconut and whole palm respectively, this worksheet gave 128.70g, 173.74g and 135.13g NaOH; SoapCalc summaries gave 128.70g, 174.08g and 134.80g, and TheSage gave 128.68g, 174.73g and 134.84g. These are limited reference checks, not tested recipes. Different SAP references and conversion precision remain visible; agreement or small differences do not establish actual material SAP or finished-product safety. Compare material identity, SAP basis, discount, solid purity and water basis before comparing amounts. The expandable source panel and PDF show the ranges, conversion, data version and calculation formula.

This edition supports virgin or refined olive oil, unfractionated coconut oil and whole palm oil. Enter their masses in grams, including zero for an unused supported oil. It does not accept olive-pomace, fractionated coconut, palm kernel, palm fractions, unknown blends or modified oils. Those identities can require different data. There is no custom-oil field that silently substitutes an unrelated reference value, and no skin, hardness or quality score is inferred.

The pure NaOH requirement at zero discount is the sum of each oil mass multiplied by its reference SAP. The selected lye discount reduces that value. Dividing by the stated solid NaOH purity then gives a reference mass of solid material, including its non-NaOH fraction. Only known supplier purity from 95–100% is accepted. Do not guess a low purity to increase the lye amount. The default 100% is a reference assumption, and the discount is not a measured percentage of free oil in finished soap.

Water has one declared basis: a percentage of total oil mass. A setting of 38% means 380g water for 1000g oil; it does not mean 38% lye concentration. The tool does not handle premixed lye solutions, KOH, dual lye, milk, acids, sugar, salt, fragrance or other additives. Notes do not introduce ingredients into the calculation. Total raw input mass includes oils, solid NaOH and added water; evaporation and curing losses are not modeled.

NaOH is corrosive and can release substantial heat on contact with water. This calculator is a reference worksheet for people who already have appropriate training. Verify actual materials, specifications, measurements and the calculation independently before making soap, and follow the supplier’s SDS. Neither a lye discount nor agreement between calculators guarantees a safe finished product. This release has not performed chemical batch testing.

  1. Enter supported materials and known settings. Use grams by mass, not cups or other volume measures. The total oil range is 250–3000g, discount 5–15% and water 25–50% of oil mass. These are application boundaries, not safety recommendations. A blank or invalid input stops calculation; editing hides the previous numerical result until recalculated.
  2. Trace or scale the result. Review the oil masses, reference SAP values, pure NaOH before discount, active NaOH after discount, stated purity, solid mass and water separately. Scaling uses a target total oil mass and preserves the oil proportions and three settings, then recalculates all quantities.
  3. Keep a source snapshot. Download JSON to keep the inputs, parameter version and calculated result. Restore checks those together and rejects an unknown or changed parameter set. The PDF includes the inputs, quantities, source assumptions, notes and warning. Keep old backups yourself; there is no cloud account or version history.

Before using a worksheet

Is the example a tested soap recipe?

No. The initial three-oil worksheet is synthetic calculation input. It has not been made or chemically tested and is not a recommendation about oil proportions, process, suitability or finished-product safety.

Why can another calculator give a different lye amount?

Tools may use different SAP references, conversion precision, purity assumptions or water settings. Compare those inputs rather than treating a nearby result as proof of safety. This worksheet explicitly uses midpoints of historical ranges; real materials can differ.

Can I include fragrance or other additives in Notes?

Notes are text only and do not affect any quantity. This edition does not calculate additives, neutralization, other liquids, KOH or premixed lye. A worksheet with extra real ingredients needs a tool and validated model that support them.

Where are my recipe and files stored?

The current worksheet and unfinished input draft use this browser’s localStorage. Calculation, JSON import and PDF generation happen locally, without uploading recipe contents to a project server. Browser cleanup can erase the project; keep downloaded JSON backups. Website technical requests are described in Privacy.

Read the oil-weight scaling guide