Calculation of reaction quotient (Qc)