Neuronal action potential 
This animated gif illustrates action potential propagation in an axon. Three types of ion channel are shown: potassium "leak" channels (blue), voltage-gate sodium channels (red) and voltage-gated potassium channels (green). The movement of positively-charged sodium and potassium ions through these ion channels controls the membrane potential of the axon. The negative-inside resting potential is mostly determined by potassium ions leaving the cell through leak channels. Action potentials are initiated in the axon initial segment after neurotransmitter activates excitatory receptors in the neuron's dendrites and cell body. This depolarizes the axon initial segment to the threshold voltage for opening of voltage-gated sodium channels. Sodium ions entering through the sodium channels shift the membrane potential to positive-inside, approaching the sodium equilibrium potential. The positive-inside voltage during the action potential in the initial segment causes the adjacent part of the axon membrane to reach threshold. When positive-inside membrane potentials are reached, voltage-gated potassium channels open and voltage-gate sodium channels close. Potassium ions leaving the axon through voltage-gated potassium channels return the membrane potential to negative-inside values near the potassium equilibrium potential. When the voltage-gated potassium channels gate shut, the membrane potential returns to the resting potential.
- smaller version
- larger version
Cardiac action potential 
Estimations of the number of ions involved in generating the upstroke of the action potential 
A question concerning a number of ions traversing the membrane during action potential and whether or not they can significantly alter the ionic gradients is addressed in this section.
If K+ is leaving the cell, won't this deplete the cell of intracellular K+, thus decreasing the concentration gradient? The answer to the latter question is "not much", the concentration gradient is not dissipated very much. So how can this be? To answer this question, one must understand is that the number of potassium ions that must cross the membrane is actually quite small. This is because the membrane potential occurs only right next to the membrane. The membrane potential is stored in the membrane capacitance, which physically is only the charges in direct contact with the membrane surfaces. The voltage across the capacitor is the membrane potential (see action potential for an example of a membrane RC circuit). Knowing that, one needs only to calculate how much current needs to flow to discharge the membrane capacitance to calculate the number of charges that must flow across the membrane to change the capacitor voltage (membrane potential) by, say 100 mV.
The capacitative current that flows into or out of a capacitor to effect a change in membrane potential of amplitude dV, is given by the equation:
- dV: 100 mV
- dt: 2 ms
- cm: 0.01 to 0.02 farads·m-2, the latter for cardiomyocytes due to the membrane invaginations of the T tubules.
- A: cell membrane surface area
- Length L: 100 μm
- radius r: 5 μm
- Thus, since the cell is a cylinder,
- Area, A: 3.3×10−9 m2
- Volume, V: 7.85×10−12 liters
- Intracellular sodium concentration, [Na+]i: 15 mM
This equals 3.3 nanoamps. Now, we wanted to know the number of ions, n, this corresponds to. dt is 2 ms, every ion has 1 elementary charge, e, each, and one coulomb is 6.24×1018 e.
Therefore, it would take the movement of 41 million charges (i.e. sodium ions) across the membrane to change the voltage of the cardiomyocyte by 100 mV in 2 ms. We want to know what that will do to the intracellular sodium concentration, which in cardiomyocytes is about 15 millimoles per liter. Avogadro's number, which relates numbers to moles, is 6.022·1023 mol-1:
The bottom line for those who don’t want to sift through the calculation is that only about 40,000,000 sodium ions must cross the membrane to move the membrane potential by 100 mV in 2 ms, and that this constitutes only some 0.06% of the sodium already present in the cell. This is at the action potential's most extreme and in a very large cell. In other cells, calculations may look different, depending on surface-to-volume ratio, max dV/dt etc.