The Nernst equation is used to calculate the potential for an electrochemical cell reaction under non-standard conditions.