Description Usage Arguments Value References Examples
Calculates the alcohol by volume (ABV) given starting and finishing gravities using conversion factors set out in the Beer Duty notices. These were taken from Beer Duty Notice #226 on 22/09/2016. Reference values are expressed in gravity * 1000, to 1 decimal place. For example 1045.6. This function expects gravity to be expressed as 1.0456 but can take values in either format.
1 | abv_hmrc(og, pg, f)
|
og |
the starting specific gravity of the wort expressed relative to 1 (eg: 1.034) |
pg |
the present specific gravity of the wort expressed relative to 1 (eg:1.012) |
f |
is the factor |
alcohol by volume exressed in percentage volume of liquid using calculations specified by HMRC department of the UK Government
https://www.gov.uk/government/publications/excise-notice-226-beer-duty/excise-notice-226-beer-duty–2#calculation-of-alcoholic-strength
https://www.gov.uk/government/collections/alcohols-notices Beer Duty notices and other relevant documentation can be found on the HMRC website
1 2 | # calculate alcohol by volume for a wort which ferments from 1034 SG to 1008 SG
abv_hmrc(1.034,1.012)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.