Sodium hypochlorite, commonly known in a dilute solution as bleach, is an inorganic chemical compound with the formula NaOCl, consisting of a sodium cation and a hypochlorite anion. It may also be viewed as the sodium salt of hypochlorous acid. The anhydrous compound is unstable and may decompose explosively.