The Nernst equation
This equation defines the relation between the concentrations of an ion on either side of a membrane that it perfectly selective for that ion and the potential difference (voltage) that will be measured across that membrane under equilibrium conditions.