Barium chlorate in some sodium contamination, which is undesirable for pyrotechnic purposes, where the strong yellow of sodium can easily overpower the green of barium. Sodium-free barium chlorate can be produced directly through electrolysis: It can also be produced by the reaction of barium carbonate with boiling ammonium chlorate solution: The reaction initially produces barium chlorate and ammonium carbonate; boiling the solution decomposes the ammonium carbonate and drives off the resulting ammonia and carbon dioxide, leaving only barium chlorate in solution. When exposed to heat, barium chlorate alone will decompose to barium chloride and oxygen: Barium chlorate is used to produce chloric
Barium perchlorate yields the monohydrate. The anhydrous form is obtained by heating to 140 °C in vacuum. Dehydration of barium perchlorate that does not occur in vacuum will also result in hydrolysis of the perchlorate. Other reactions that produce barium perchlorate are as follows: perchloric acid and barium hydroxide or carbonate; potassium perchlorate and hydrofluosilicic acid followed with barium carbonate; boiling solution of potassium chlorate and zinc fluosilicate. For large-scale manufacturing purposes, barium perchlorate is synthesized by evaporating a solution of sodium perchlorate and barium chloride. Another method of preparation involves the digestion of a saturated solution of ammonium perchlorate with hydrated