Let us consider a reaction,
aA+bB→cC+dDTherefore, Nernst equation is as follows :-
Ecell=E0cell−2.303RTnFlog[C]c[D]d[A]a[B]b
where, Ecell= potential of cell at given conditions
E0cell= potential of cell at standard conditions
n→ number of electrons involved in the reaction
F= Faraday's constant =96500C
The correction factor for non-standard state conditions is represented by −2.303RTnFlog[C]c[D]d[A]a[B]b
where, R is universal gas constant.
T is temperature in kelvin.