An electrochemical gradient is a spatial variation of both electrical potential and chemical concentration across a membrane. Both components are often due to ion gradients, particularly proton gradients, and the result can be a type of potential energy available for work in a cell. This can be calculated as a thermodynamic measure, termed electrochemical potential, that combines the concepts of energy stored in the form of chemical potential, which accounts for an ion's concentration gradient across a cellular membrane, and electrostatics, which accounts for an ion's tendency to move relative to the membrane potential