← Back to Blog
Science10 min read

Soap Making Math: How to Calculate Lye by Hand

Soap making math is one formula: oil weight times SAP value, summed, minus superfat. Here it is worked by hand with a real recipe, plus the water math.

By Soaply Teamβ€’
Soap Making Math: How to Calculate Lye by Hand

Soap Making Math: How to Calculate Lye by Hand

Soap making math comes down to a single formula: multiply each oil's weight by its SAP value, add the results together, then trim that total for superfat. The answer is how much lye your batch needs. Water is a second, more forgiving calculation layered on top. This guide works the whole thing by hand with a real recipe, so you can see exactly what happens when you press the button on a lye calculator. You'll also see why getting one number wrong is the difference between a gentle bar and one that burns your skin, which is why most makers let the Soaply soap calculator do the arithmetic even after they understand every step.

The One Formula Behind Every Recipe

Every soap calculator, no matter how fancy the interface looks, runs the same short equation:

Lye = (weight of each oil x that oil's SAP value), added up, then reduced for superfat.

That's it. There's no hidden step. When oils meet lye they go through saponification, the reaction that turns fat and lye into soap and glycerin. The catch is that every oil reacts at its own rate, so a recipe made of coconut and olive oil needs a different amount of lye than the same weight of shea butter and lard. The SAP value is the number that captures that difference for each oil.

So the math has two parts. First you work out the lye, which has to be right to the gram because it's a safety number. Then you work out the water, which has a comfortable range because it mostly affects how the batch behaves, not whether the bar is safe.

What a SAP Value Actually Is

SAP is short for saponification value. In a soap making table, it's the number of grams of sodium hydroxide (NaOH) it takes to fully saponify one gram of a given oil. Coconut oil sits around 0.190, olive oil around 0.135, castor oil around 0.129. Those small numbers are the whole reason the math works.

Coconut oil's higher figure tells you it's a hungry oil: it needs more lye per gram than most soft oils because it's highly saturated. Olive oil needs less. When you swap one oil for another, the SAP value changes and so does the lye, which is the single most common way a recipe goes wrong. If you want to see how different oils compare, our guide to the best oils for soap making lists their properties side by side.

One honest caveat before you trust any hand calculation: published SAP values vary a little by source and even by the batch of oil you buy. Coconut oil, for example, gets listed anywhere from 0.178 to 0.190 depending on the table. That spread is small, but it's real, and it's one reason a hand-calculated lye figure deserves a second check.

How to Calculate Lye by Hand, Step by Step

Let's use a simple 500-gram batch of three oils. Here's the recipe:

  • Coconut oil: 200 g
  • Olive oil: 250 g
  • Castor oil: 50 g

Step 1: Multiply each oil by its SAP value.

OilWeightNaOH SAPLye needed
------------
Coconut oil200 g0.19038.00 g
Olive oil250 g0.13533.75 g
Castor oil50 g0.1296.45 g
Total500 g78.20 g

Step 2: Add up the lye column. 38.00 + 33.75 + 6.45 = 78.20 g of sodium hydroxide. That's the amount that would turn every last drop of oil into soap, with nothing left over. Soap makers call that a zero-percent superfat, and almost nobody uses it, for the reason in the next section.

That's the entire lye calculation. Weigh, multiply, add. The only thing left is to decide how much of the oil you want to leave unsaponified, which is where superfat comes in.

Superfat: The Lye Discount That Keeps Soap Gentle

If you used the full 78.20 g of lye, you'd be betting that your SAP values are perfect and your scale never drifts. Since neither is guaranteed, makers hold back a little lye on purpose. That leftover oil is called superfat, and it does two jobs: it gives you a safety margin against a lye-heavy bar, and it leaves free oil in the soap that makes it feel more conditioning on skin.

To apply a superfat, you reduce the lye by that percentage. A 5 percent superfat, the standard for a bar, means you use 95 percent of the calculated lye:

78.20 g x 0.95 = 74.29 g, which rounds to 74.3 g of lye.

Most bar recipes land between 5 and 8 percent. Push it much higher and the bar turns soft and goes rancid faster, since all that free oil can oxidize. Our complete guide to superfat covers how to pick the right number for the oils you're using. The point for the math is simple: superfat is a lye discount, and you apply it by multiplying, not by adding oil.

How to Calculate the Water

Water is the forgiving half of soap making math. It doesn't change whether your soap is safe, only how it behaves in the pot and the mold. Too little and the batch moves fast and can crack. Too much and it takes longer to unmold and cure. There are three common ways to figure it, and they give different answers on purpose.

By lye concentration (the modern way). You decide what percentage of your lye solution should be lye. A 33 percent concentration is a reliable starting point. The water is then:

water = (lye / concentration) - lye

For our 74.3 g of lye at 33 percent: (74.3 / 0.33) - 74.3 = 225.2 - 74.3 = 150.9 g of water. That gives a total lye solution of 225.2 g, of which 74.3 g, or 33 percent, is lye.

By water as a percent of oils (the older way). Take 38 percent of your oil weight: 0.38 x 500 = 190 g of water. Notice that's a lot more water than the concentration method gave. At 190 g, your solution would only be about 28 percent lye, which is wetter and slower to set. This older method still works, but it's why two calculators can hand you different water amounts from the same recipe.

By water-to-lye ratio. A 2:1 ratio means twice as much water as lye: 74.3 x 2 = 148.6 g.

If those options feel confusing, they're really the same idea expressed three ways, and our breakdown of water discount versus lye concentration explains when to reach for each. When you're starting out, set a lye concentration around 33 percent and leave it there. For the reasoning behind that number, see understanding lye concentration.

The Math for Liquid Soap (KOH)

Everything above uses sodium hydroxide, which makes hard bar soap. Liquid soap uses potassium hydroxide (KOH) instead, and the math shifts in two ways.

First, KOH is a heavier molecule than NaOH, so it takes roughly 1.4 times as much of it to saponify the same oils. Some tables publish separate KOH SAP values; others expect you to take the NaOH figure and multiply by about 1.4.

Second, and this trips people up, KOH usually comes at around 90 percent purity, with the rest being water and carbonate. So after you calculate the pure KOH, you divide by 0.9 to account for the flakes not being pure. Skip that step and your soap comes out lye-light and cloudy. Liquid soap also tends to use a small superfat or none at all, plus far more water than a bar, because it has to stay pourable.

A Full Recipe, Worked Start to Finish

Here's the whole 500-gram batch as a finished recipe card, using a 5 percent superfat and a 33 percent lye concentration:

  • Coconut oil: 200 g
  • Olive oil: 250 g
  • Castor oil: 50 g
  • Sodium hydroxide: 74.3 g
  • Water: 150.9 g

If you want to scent it, fragrance is its own small calculation on top of the oils, usually a percentage of the oil weight. At a common 4 percent, that's 0.04 x 500 = 20 g of fragrance or essential oil. Our guide to calculating fragrance load covers safe limits for skin.

A notebook and scale used to work through a soap recipe by hand
A notebook and scale used to work through a soap recipe by hand

Run those same oils through the Soaply calculator and you'll get the identical lye figure to the second decimal, along with hardness and cleansing scores the hand math can't give you. That's the payoff of understanding the formula: the calculator stops being a black box, and you can tell at a glance when a number looks wrong.

Why Most Soap Makers Still Use a Calculator

Knowing the math by hand is worth it. It means you can sanity-check any recipe you find online, understand why a swap changed your lye, and troubleshoot a batch that didn't behave. But almost every experienced maker still runs the final numbers through a calculator, and that's not laziness.

The lye figure has to be exact because it's a chemical burn risk. Hand math introduces three failure points a calculator removes: a SAP value copied wrong from a table, a multiplication slip, and a transcription error when you write the total on your recipe sheet. A calculator also stores vetted SAP values for dozens of oils, so you're not hunting them down one at a time. Do the math by hand to learn it, then let the calculator confirm it before you ever measure out lye. Pair that habit with the basics in our soap making safety guide and you've closed the gap between understanding a recipe and making it safely.

Common Soap Math Mistakes

  • Reusing an old lye figure after swapping an oil. A different oil has a different SAP value, so the lye changes. Recalculate every time, and see how to substitute oils in soap recipes for the safe way to trade one for another.
  • Mixing up NaOH and KOH values. They're different numbers for different soap. Using a bar-soap lye figure for liquid soap, or the reverse, wrecks the batch.
  • Forgetting the superfat step. Skipping it leaves you at zero percent, which is a lye-heavy gamble.
  • Measuring oils by volume instead of weight. Soap math is all by weight, in grams or ounces. A cup of coconut oil and a cup of olive oil weigh different amounts, so volume can't work.
  • Forgetting to divide KOH by its purity. Around 90 percent purity means dividing by 0.9, or your liquid soap comes out weak.

πŸ’¬ Frequently Asked Questions

Can you calculate soap lye by hand?


Yes. Multiply each oil's weight by its SAP value, add those results together, then multiply by one minus your superfat percentage. That gives your lye. It's straightforward arithmetic, but because the number is a safety figure, verify it with a lye calculator before you measure anything.

What is the formula for lye in soap?


Lye equals the sum of each oil's weight times its SAP value, reduced by the superfat. Written out: lye = (oil weight x SAP), added across all your oils, then x (1 - superfat). A 5 percent superfat means multiplying the total by 0.95.

How much water do I use in soap?


The common starting point is a 33 percent lye concentration, where water equals your lye divided by 0.33, minus the lye. An older method uses 38 percent of the oil weight, which gives a wetter batch. Water has a safe range, so small changes won't ruin a bar.

Do you have to be exact with the lye in soap?


Yes, the lye has to be accurate to the gram, because too much makes a harsh bar that can burn skin. Water is far more forgiving and has a workable range. That difference is why the lye math is worth double-checking every single time.

Soap making math is really one formula wrapped in a few decisions about superfat and water. Learn to work it by hand and no recipe will ever be a mystery again. When you're ready to turn your own oil blend into exact lye and water amounts, run it through the free Soaply soap calculator, then read how to use a soap calculator to get the most out of every field.

Ready to Try It?

Use our free soap calculator to create your perfect recipe with real-time property predictions.

Open Calculator
πŸ“¬

Soap Making Tips in Your Inbox

Get practical tips, new recipes, and guides. No spam, unsubscribe anytime.

Related Articles