Sodium hydroxide, also known as leachate and caustic soda or caustic soda, is an inorganic compound with the chemical formula NaOH. This compound is an ionic compound in the form of a white solid composed of sodium cation Na⁺ and hydroxide anion OH⁻ .