Calculation of rate constant