Sugar Wash Calculator

Sugar, and all about sugar washes. Where the primary ingredient is sugar, and other things are just used as nutrients.

Moderator: Site Moderator

Post Reply
the bottle
Novice
Posts: 5
Joined: Sun Nov 19, 2017 4:12 pm

Sugar Wash Calculator

Post by the bottle »

Hi there, I've been distilling since about 2015 and I create my own spreadsheets for tracking my cuts and %ABV from gravity etc.

I was looking around different sites for ideas on formatting and came across this sugar wash calculator (see attach pic).

Basically it takes the amount of sugar and water mixed and calculates an estimate for the SG and potential ABV.

It also gives and estimate for the amount of water you will need for the total mix.

I've been racking my brains :crazy: trying to figure out these calculations are done.

If anyone knows please share.

Thanks in advanced and happy distilling.
example of calculator
example of calculator
User avatar
Demy
Master of Distillation
Posts: 3184
Joined: Fri Sep 04, 2020 1:45 pm

Re: Sugar Wash Calculator

Post by Demy »

I believe it works like all homebrewing software, i.e. it starts from the potential S.G. to calculate the values. In this case, it starts from the potential of sugar and its dilution in water to give you your O.G.
Mr Sippy
Bootlegger
Posts: 117
Joined: Wed Dec 28, 2016 3:54 pm

Re: Sugar Wash Calculator

Post by Mr Sippy »

The Compleat Distiller gives the potential alcohol as 17 grams sugar per liter of solution per 1% alcohol. There are 198 grams sugar in a cup and sugar in solution reduces to about 5/8 cup. So 198 * 16 * 0.62 is is volume of sugar that the proposed wash volume is reduced by to find water volume.
Be Kind, Tell the Truth, Sip Good Whiskey
Hügelwilli
Swill Maker
Posts: 331
Joined: Fri Feb 15, 2019 5:52 am

Re: Sugar Wash Calculator

Post by Hügelwilli »

Those calculators are written in javascript often. And javascript codes are open for the user. For example with firefox browser you can read the code by typing "view-source:" before the link. "view-source:https://homedistiller.org..." for example.

The estimated abv is normally calculated very simple: You need 17g/lt sugar for 1%abv.

To calculate the SG is done either by a formula or by datasets. Normally by a formula. This is the formula one of the hd claculators uses:
SG=Math.round(((258.6+(87.96*x/y))+Math.sqrt(66874+(7736.96*x*x/(y*y))+(57947*x/y)))/517.2 *1000)/1000;
x = kg sugar and y = lt total volume
Math.round means that it gives out a rounded value and Math.sqrt is the root function.
For computers of today more complicated formulas wouldn't be a problem. So it is a bit odd that such simple formulas still are used. But anyway, the success of fermentation can vary. So all in all it's all right this way.
User avatar
still_stirrin
Master of Distillation
Posts: 10372
Joined: Tue Mar 18, 2014 7:01 am
Location: where the buffalo roam, and the deer & antelope play

Re: Sugar Wash Calculator

Post by still_stirrin »

the bottle,

I sent you a PM with the HTML source code. As Hugelwilli (huge Willy) said, it uses the SG equation above to calculate the approximate OG and assumes the final gravity (FG) is 1.000 to give you a "potential %ABV".

Good luck.
ss
My LM/VM & Potstill: My build thread
My Cadco hotplate modification thread: Hotplate Build
My stock pot gin still: stock pot potstill
My 5-grain Bourbon recipe: Special K
the bottle
Novice
Posts: 5
Joined: Sun Nov 19, 2017 4:12 pm

Re: Sugar Wash Calculator

Post by the bottle »

Thanks for all the advice & help, I was able to view the source code and reverse engineer it from there.It's not as pretty but it will do nicely.

I attached a pic if anyone else wants to create their own spreadsheet for this.
Screenshot 2021-02-07 at 1.37.07 PM.png
User avatar
Bushman
Admin
Posts: 18331
Joined: Tue Mar 30, 2010 5:29 am
Location: Pacific Northwest

Re: Sugar Wash Calculator

Post by Bushman »

the bottle wrote: Sun Feb 07, 2021 10:41 am Thanks for all the advice & help, I was able to view the source code and reverse engineer it from there.It's not as pretty but it will do nicely.

I attached a pic if anyone else wants to create their own spreadsheet for this.

Screenshot 2021-02-07 at 1.37.07 PM.png
Having taught web design some 15+ years ago I did this a lot by reading others html code and then copy and tweeting it to fit my needs.
Hügelwilli
Swill Maker
Posts: 331
Joined: Fri Feb 15, 2019 5:52 am

Re: Sugar Wash Calculator

Post by Hügelwilli »

hey the bottle,
you can shorten the formula a bit.
Delete the first ( and the ending *1000)/1000. It belongs to the Math.round function you removed.
the bottle
Novice
Posts: 5
Joined: Sun Nov 19, 2017 4:12 pm

Re: Sugar Wash Calculator

Post by the bottle »

Thanks for catching that, I was wondering why that was there
Post Reply