What is the Nernst equation?
The Nernst Equation is the relationship between the cell potential and the concentrations of the solutions at the cathode and the anode. It is given by:
Here is a video that explains in details the origin and use of the Nernst equation:
Electrochemistry | The Concentration Cell.