The saponification value calculator above covers both meanings of the term. In blend mode it takes the mass and SAP value of each oil in a recipe and returns the lye required, adjusted for the alkali you are actually using, its purity and the superfat you want to leave. In titration mode it computes the saponification value itself from a back titration, which is the analytical measurement the SAP numbers ultimately come from.
Arb Digital publishes free calculators that make the conversions explicit. With saponification, the conversion that catches people is that every published SAP value is quoted in milligrams of potassium hydroxide per gram of oil, regardless of which hydroxide you intend to use. The molar mass ratio between the two hydroxides is 1.403, and forgetting it means using forty percent more alkali than the recipe needs.
What This Saponification Value Calculator Does
The saponification value of a fat is the number of milligrams of potassium hydroxide required to saponify one gram of it. It is inversely related to the average chain length of the fatty acids: short-chain fats need more alkali per gram because there are more ester groups in the same mass. Coconut oil, rich in twelve-carbon lauric acid, has a much higher SAP value than olive oil, which is dominated by eighteen-carbon oleic acid.
Blend mode sums the alkali requirement across every oil, converts to the hydroxide you are using, corrects for purity, reduces it by the superfat percentage, and adds the water. It reports the blended SAP value of the mixture, the water mass, the resulting lye solution strength and the total batch weight, with a bar breakdown showing which oil is driving the alkali demand.
Titration mode implements the analytical definition. The sample is refluxed with a known excess of alcoholic potassium hydroxide, and the alkali left over is back titrated with standard acid against a blank run in parallel. The difference between the two titres is what the sample consumed.
How to Use It
- Enter each oil's mass and its SAP value. Use the value from your own supplier where you have one; SAP values vary between crops and origins.
- Choose the hydroxide. Sodium hydroxide gives hard bars, potassium hydroxide gives soft and liquid products.
- Set the purity. Sodium hydroxide is usually sold near pure, potassium hydroxide commonly at 90 percent, and using a purity you have not checked is a common source of error.
- Set the superfat. This is the fraction of oil deliberately left unreacted, and the lye is reduced by the same percentage.
- Check the lye solution strength in the grid, which follows from the water you specified.
The Formula and How It Is Calculated
For a blend, the potassium hydroxide requirement in grams is the sum over every oil of its mass multiplied by its SAP value, divided by a thousand to convert milligrams to grams. To use sodium hydroxide instead, divide by 1.403, which is the ratio of the molar masses of the two hydroxides — 56.11 g/mol for potassium hydroxide against 40.00 g/mol for sodium hydroxide. Divide again by the purity as a fraction, and multiply by one minus the superfat fraction.
Working the default: 300 g of coconut oil at SAP 255 needs 76.5 g of potassium hydroxide, and 700 g of olive oil at SAP 190 needs 133.0 g, giving 209.5 g in total, or a blended SAP value of 209.5 mg KOH/g across the kilogram of oil. Converting to sodium hydroxide gives 209.5 / 1.403 = 149.32 g, and applying a five percent superfat leaves 141.86 g. Water at 38 percent of the oil weight is 380 g, so the lye solution is 141.86 / (141.86 + 380) = 27.2 percent.
For the titration, SV = 56.1 × (B − S) × N / W, where B and S are the blank and sample titres in millilitres, N is the acid normality and W is the sample mass in grams. A blank of 25.0 mL against a sample titre of 12.0 mL with 0.5 normal acid and a 2.0 g sample gives 56.1 × 13.0 × 0.5 / 2.0 = 182.3 mg KOH/g. The determination is standardised as ISO 3657 and AOCS Cd 3-25, both named in the FAO Codex standards for fats and oils from vegetable sources, which also publishes the accepted saponification value range for each named oil.
Why SAP Values Are Ranges, Not Constants
Every published SAP value is really the midpoint of a range, and the ranges are wider than most recipes acknowledge. The Codex standard gives 248 to 265 mg KOH/g for coconut oil and 184 to 196 for virgin olive oil. That is a spread of about seven percent for coconut and six percent for olive.
The reason is that a natural oil is a mixture of triglycerides whose composition depends on the cultivar, the growing season, the climate and the refining process. A single fixed number cannot describe that. When a soap calculator quotes one value to three digits, it has chosen a point inside a range without saying so.
The practical consequence is that superfat is not only a formulation choice, it is also insurance. If the true SAP value of your batch of oil is at the top of its range and you calculated from the midpoint, you have under-dosed the lye slightly, which is harmless. If it is at the bottom and you calculated from the midpoint, you have over-dosed, and without a superfat allowance the finished product would contain free alkali. That asymmetry is why a superfat of at least a few percent is standard practice rather than an optional flourish.
Superfat, Lye Discount and What They Actually Change
Superfat and lye discount are the same adjustment described from opposite ends. A five percent superfat means five percent of the oil is left unsaponified; a five percent lye discount means five percent less alkali than the stoichiometric requirement is used. Both produce the same number on this page, and the terms are used interchangeably in practice.
What changes is the finished product. Unsaponified oil remains as free fatty material, which affects texture and how the product feels, and it also consumes any small excess of alkali that would otherwise remain. The trade-off is shelf life: free oils oxidise, and a heavily superfatted product goes rancid sooner than a lean one.
There is a subtlety about which oil gets left over. In a cold process the reaction does not select; the unsaponified fraction is a proportional mixture of everything in the pot. Claims that a specific luxury oil can be reserved as the superfat by adding it late are only approximately true, because saponification continues for a long time after the mixture is poured. If you want a specific oil to survive intact, that is a hot process technique, not an arithmetic one.
Water, Concentration and Why the Ratio Matters
Water plays no part in the stoichiometry at all. Saponification consumes hydroxide and produces glycerol; the water is a solvent that carries the alkali and is largely lost afterwards. What it changes is the concentration of the lye solution, and that has real consequences.
A high water fraction gives a dilute, slower-reacting lye and a mixture that stays fluid longer, which is helpful for intricate work but takes much longer to firm up and to lose its water. A low water fraction gives a concentrated lye that reacts faster and sets sooner, which is efficient but leaves less working time. Expressing water as a percentage of oil weight is one convention; expressing it as a lye concentration is another, and this page prints both so a recipe written either way can be checked against the other.
The dissolution is strongly exothermic, and concentrated hydroxide solutions get hot quickly. That is a handling matter rather than a calculation one, and it is one of several reasons this page is a chemistry reference rather than a set of instructions. If you are converting between concentration conventions elsewhere, the mass percent calculator and the solution dilution calculator cover the general cases, and the molarity calculator converts a mass percentage into a molar concentration.
What the Saponification Value Does Not Tell You
SAP value is one number in a panel, and on its own it says nothing about quality. It measures total ester content per gram, so it responds to average chain length and to nothing else. Two oils with identical SAP values can behave completely differently, because the distribution of fatty acids, not just their average length, is what determines hardness, lather and stability.
The companion measurements answer the other questions. Iodine value measures unsaturation and therefore how prone the oil is to oxidation. Acid value measures free fatty acids already present, which is a rancidity indicator and which also consumes alkali in its own right, so a badly degraded oil needs more lye than its SAP value alone implies. Peroxide value measures the early stages of oxidation. A certificate of analysis normally carries all of them, and reading only the SAP figure discards most of the information. The chemistry of the underlying reaction — hydroxide attacking an ester carbonyl to give a carboxylate and an alcohol — is set out in the LibreTexts module on saponification.
Arb Digital publishes hundreds of free calculators across chemistry, maths, finance and marketing — no sign-up, no limits. If something you need is missing, tell us and we will look at building it.
Browse All Free Tools Suggest a ToolCommon Mistakes to Avoid
- Using a SAP value directly as a sodium hydroxide requirement — SAP values are in milligrams of potassium hydroxide, and the conversion factor is 1.403.
- Ignoring the purity of potassium hydroxide — it is commonly sold at 90 percent, so the mass needed is about eleven percent higher than the pure figure.
- Treating a published SAP value as exact — the accepted range for coconut oil alone spans 248 to 265 mg KOH/g.
- Confusing water percentage with lye concentration — 38 percent water on oil weight is not a 38 percent lye solution, and the two conventions give very different numbers.
- Forgetting that free fatty acids consume alkali too — an oil with a high acid value needs more hydroxide than its saponification value alone accounts for.
Related Free Tools From Arb Digital
Use the mass percent calculator and the solution dilution calculator for the concentration conventions, and the molarity calculator to express a lye solution in moles per litre. The titration calculator covers the analytical arithmetic behind a back titration, the molar mass calculator confirms the hydroxide masses behind the 1.403 factor, and the percent error calculator compares a measured value against a published range. The full free online tools hub lists everything else.
Frequently Asked Questions
It is the number of milligrams of potassium hydroxide needed to saponify one gram of a fat or oil. It rises as average fatty acid chain length falls, because shorter chains mean more ester groups per gram of material.
Divide by 1.403, the ratio of the molar mass of potassium hydroxide at 56.11 to that of sodium hydroxide at 40.00. Published SAP values are always in milligrams of potassium hydroxide, whichever alkali you intend to use.
Superfat is the percentage of oil deliberately left unsaponified, achieved by using that much less alkali than the stoichiometric requirement. It is also called a lye discount, and it provides a margin against the natural variation in published SAP values.
By refluxing a weighed sample with a known excess of alcoholic potassium hydroxide and back titrating the unreacted alkali with standard acid, against a blank run without sample. The value is 56.1 times the titre difference times the normality, divided by the sample mass.
Because a natural oil is a mixture whose composition varies with cultivar, season, climate and refining. Standards publish ranges rather than single values; coconut oil is accepted between 248 and 265 milligrams of potassium hydroxide per gram.
No. Water is a solvent and takes no part in the stoichiometry. It changes the concentration of the lye solution, which affects reaction speed and working time, but the mass of hydroxide required is set entirely by the oils.
Sodium hydroxide produces hard salts of the fatty acids; potassium hydroxide produces softer ones used for soft and liquid products. Potassium hydroxide is also usually sold at around 90 percent purity, which must be corrected for.
No. It measures ester content per gram and nothing else. Iodine value, acid value and peroxide value describe unsaturation, existing free fatty acids and oxidation, and a certificate of analysis normally reports all of them alongside the saponification value.
This calculator is provided for education and general reference. It describes how a saponification value and an alkali requirement are computed and is not manufacturing, handling or safety guidance. Concentrated hydroxide solutions are corrosive and generate heat on dissolving; follow the safety data sheets and the regulations that apply to your own work.