Soap Lye Calculator – NaOH & KOH for Any Recipe

Soap Lye Calculator – NaOH & KOH for Any Recipe

Safety First: Lye (Sodium Hydroxide) is caustic. Always wear gloves and eye protection. Measurements are by weight, not volume.
Standard is 5%
Standard is 38% (Ratio 2:1 to 3:1)
Usage rate per kg/lb of oil
Oil Weight (g) % Action

Recipe Totals

Total Oil Weight: 0 g
Lye Needed (NaOH): 0 g
Water Amount: 0 g
Fragrance: 0 g
Total Batch Weight: 0 g

Soap Properties

Saturated:Unsaturated 0:0

Run Into a Bug? Report it New

Improve our tools by sending us bug reports and suggestions.

Tools to Also Try

Candle Wax Volume Calculator

Hydroponic Nutrient PPM Calculator

Knitting Yarn Length Calculator

The Soap Making Lye Calculator: Precision for Perfect Soap

Soap making sits at the intersection of chemistry and craft. Too much lye and you end up with a bar harsh enough to strip paint. Too little and you get a greasy, never setting disaster that goes rancid in weeks. Getting the math right is not optional it is the whole game.

This calculator was built to take that burden off your hands completely, going well beyond the basics to give you a full picture of how your recipe will perform before a single drop of oil hits the pot.

Why You Need a Specialized Lye Calculator

Every oil in your recipe has a unique chemical makeup. Because of that, each one demands a different quantity of lye to complete the saponification reaction the process that actually turns oils into soap. That required quantity is captured in something called the SAP value (Saponification Value) and getting it wrong has real consequences.

Push the lye too high and your finished bar will be caustic and brittle, unsafe to put anywhere near skin. Pull it too low without accounting for superfat and the bar stays soft, slimy and short lived.

This tool calculates exact lye and water quantities using verified SAP values for more than 25 oils everything from everyday Olive and Coconut Oil to specialty butters like Mango and Shea so neither of those outcomes is on the table.

Key Features of This Tool

1. Hybrid Lye Calculation (NaOH & KOH)

Most online tools only handle Sodium Hydroxide for solid bars and leave you on your own for anything else. This calculator covers three lye configurations:

100% NaOH — the standard choice for cold process and hot process bar soaps.

100% KOH — used for liquid soap pastes made with Potassium Hydroxide.

90/10 Hybrid Ratio a split lye method that combines both types to produce cream soaps and shaving soaps with the right texture and structural stability.

2. Real Time Soap Qualities Analysis

Knowing your lye amount is only half the picture. The qualities panel breaks down how your finished soap will actually feel and perform based on the fatty acid profiles of the oils you selected:

Hardness — physical firmness of the cured bar. Aim for 29–54.

Cleansing — how aggressively the soap removes oils from skin. Above 22 and it starts to feel stripping. Target range: 12–22.

Conditioning — how well the bar softens and replenishes skin. Target range: 44–69.

Bubbly — raw lather volume. Target range: 14–46.

Creamy — lather density and richness. Target range: 16–48.

3. Advanced Water and Fragrance Control

Water ratio is something beginners rarely think about and experienced makers obsess over. A higher water content increases the risk of soda ash that powdery white layer that sometimes forms on top of a cured bar and slows down the hardening process.

This tool lets you toggle between Water as % of Oils (the more accessible approach) and a direct Lye:Water Ratio (the format most professionals prefer). A built-in fragrance calculator is also included so you can dial in your scent load without accidentally overwhelming the batch.

How to Use the Soap Calculator (Step by Step)

Step 1: Choose Your Lye and Units

Start by selecting the lye type that matches what you are making. NaOH for bar soap, KOH for liquid soap or the 90/10 hybrid if you are going the cream soap route. Then pick your unit of measurement — grams or ounces based on whatever scale you work with.

Step 2: Set Your Parameters

Superfatting is the first number to lock in. It controls how much oil intentionally goes un-saponified leaving free oils in the bar that condition the skin. The standard starting point is 5%. Drop it to 0–1% for a hard-working laundry bar.

Push it up to 8–10% for a gentle facial bar or a recipe heavy on Coconut Oil. Water amount defaults to 38% of total oil weight. In humid climates, or when working with high proportions of liquid oils, reducing this figure helps the bar firm up in the mold faster.

Step 3: Select Your Oils

Use the dropdown to build your oil blend. Here is a quick rundown of how the most common options behave:

Coconut Oil (76°): Produces a hard bar with generous, fluffy lather. Keep it under 30% or the cleansing effect becomes too aggressive.

Olive Oil: The go to conditioning oil. When used as the sole oil, it produces Castile soap — mild, long-curing and skin friendly.

Palm Oil (Sustainable): Adds hardness and longevity without animal-derived ingredients, similar in function to tallow.

Castor Oil: Primarily a lather booster. It works best as a supporting player at 5–10% of your total oil weight.

Shea and Cocoa Butter: Both contribute to a firm, creamy bar. Use them to push your conditioning and hardness numbers up simultaneously.

Step 4: Analyze and Print

Once your oil blend is complete, review the Soap Properties panel. If Hardness is reading low, bring in more Cocoa Butter or Coconut Oil.

If Cleansing is too high, scale back the Coconut Oil and add more Olive Oil or Sweet Almond Oil. When everything sits in range, hit Print Recipe for a hard copy to keep at your workstation.

Understanding the Science: SAP Values and Saponification

The calculator's engine runs on SAP values. Technically the SAP value is the number of milligrams of potassium hydroxide needed to fully saponify one gram of a given fat. Since every oil has a different molecular weight and fatty acid composition, these numbers vary significantly across the board.

Coconut Oil for example, requires considerably more lye per gram than Olive Oil does. Swap one for the other in a fixed recipe and the lye balance breaks entirely which is exactly why recalculating whenever you change oils is non-negotiable.

The Iodine and INS Values

Two additional metrics appear in the results panel that go deeper than the standard quality scores:

Iodine Value — reflects how unsaturated your fat blend is. Below 70 generally points to a hard, fast-curing bar. Above 70 signals a softer bar that will need a longer cure time on the shelf.

INS Value — a combined marker derived from the SAP and Iodine values that gives a broad sense of overall bar quality. A theoretical ideal sits around 160 but well performing recipes commonly land anywhere between 136 and 170.

Troubleshooting Common Soap Recipe Issues

My soap is too soft. A low Hardness score almost always means the recipe leans too heavily on liquid oils — Sunflower, Canola or Sweet Almond Oil being the usual suspects. Shift the balance toward harder fats: Coconut Oil, Palm Oil, Tallow or Lard. You can also apply a water discount to speed up hardening in the mold.

My soap has soda ash. Soda ash is purely cosmetic it does not affect how the soap cleans or how safe it is. It forms when free lye reaches the surface and reacts with airborne carbon dioxide.

Tightening your water ratio (try 1.5:1 or 2:1 water to lye) keeps the lye from migrating before the bar sets which cuts soda ash formation significantly.

My soap is drying out my skin. Pull up the Cleansing value. If it is sitting above 22, the recipe is over-cleansing usually because Coconut Oil is too dominant. Bring Coconut Oil down to around 20% and replace the difference with Olive Oil or Shea Butter.

Bumping your Superfat from 5% to 7% or 8% will also leave more free oils in the finished bar and noticeably improve the feel on skin.

Frequently Asked Questions (FAQ)

What is the best superfat percentage?

For a general bath bar, 5% is the standard. It ensures no active lye remains in the finished soap while still providing a degree of skin conditioning. The exception is 100% Coconut Oil soap because Coconut Oil is an exceptionally aggressive cleanser, a 20% superfat is recommended to compensate.

Can I use cups or tablespoons instead of weight?

No and this is not a matter of preference it is a safety issue. Different oils have different densities which means the same volume of two different oils will not weigh the same. Volume measurements introduce error into lye calculations and lye errors have real consequences. Always measure by weight, in grams or ounces.

What is the difference between NaOH and KOH?

Sodium Hydroxide (NaOH) produces a firm crystalline structure which is why bar soaps are hard. Potassium Hydroxide (KOH) produces a looser molecular structure resulting in a soft paste that can be diluted with water to make liquid soap. They are not interchangeable using one where the other is called for will throw off your entire lye calculation.

Does this calculator work for Hot Process soap?

Yes. The saponification chemistry is identical whether you apply external heat or not. Cold Process and Hot Process soap require the same amount of lye for the same oil blend.

The difference between the two methods is entirely about how and when heat is introduced, not about the underlying recipe math.