2.5 Potential due to a System of Charges
By the superposition principle, the potential V at P due to the total charge configuration is the algebraic sum of the potentials due to the individual charges.
For a continuous charge distribution, we divide it into small volume elements, determine the potential due to each, and sum (strictly speaking, integrate) over all such contributions.
For a uniformly charged spherical shell, the potential outside the shell is as if the entire charge is concentrated at the centre: V equals q over 4 pi epsilon nought r.
The electric field inside the shell is zero, so potential is constant inside the shell, as no work is done in moving a charge inside, and equals its value at the surface, q over 4 pi epsilon nought R.
The formula for potential used in such calculations requires choosing potential to be zero at infinity.