Reference electrodes are used to maintain a constant potential against which the potential of an indicator or working electrode can be measured. An ideal reference electrode has a reproducible and stable potential that is not affected by small currents or changes in temperature or solution composition. Common reference electrodes include the standard hydrogen electrode, which defines zero potential, and silver/silver chloride electrodes. Reference electrodes are used along with indicator or working electrodes in electrochemical cells to measure the potential difference between the electrodes, which depends on the analyte concentration.