An alum (/ˈæləm/) is a type of chemical compound, usually a hydrated double sulfate salt of aluminium with the general formula XAl(SO. 4) 2·12H. 2O, where X is a monovalent cation such as potassium or ammonium.