Ammonia, a chemical compound whose chemical formula is given by NH3, is considered to be a weak electrolyte by many sources. This compound is classified as a weak electrolyte because it forms ions when dissolved in solution. Ammonia accomplishes this by reacting with the water molecules in order to form the ammonium ion (usually denoted by NH4+) and the hydroxide ion (usually denoted by OH-).