The Nernst equation relates the cell potential (Ecell) to the concentrations of reactants and products
Nernst equation for a galvanic cell: Ecell = E°cell - (0.0592 V/n) log(Q)
where E°cell is the standard cell potential, n is the number of electrons transferred in the balanced redox reaction, Q is the reaction quotient (concentrations of species involved)
The Nernst equation helps determine the cell potential under non-standard conditions