Differences in the concentration of ions inside and outside the cell. Potassium, sodium, chloride, and calcium ions have the biggest impact on the generation of membrane potential because they are present in the highest concentrations.
Variable permeability of the plasma membrane for different ion species.