Metabolic Free Energy Change

$$\Delta G = \Delta G^{\circ'} + \left(\ R * T * ln(Q) \ \right)$$
WARNING: This equation uses hardcoded gas constant value set in KILO joules/mol.
Meaning this will give the wrong answer if you change the input base10 to something other than KILO

$$\Delta G = \Delta G^{\circ'} + \left(\ \frac{0.00831446261815324\ kilo\ Joules}{mol \cdot K } * ( 25^{\circ} C + 273.15 ) * ln\left(\ \frac{[products]}{[reactants]} \ \right) \ \right)$$