Calgon is a trade name of a complex salt, sodium hexametaphosphate (NaPO3)6. Calgon ionises to give a complex anion. The addition of calgon to hard water causes the calcium ions of hard water to displace sodium ions from the anion of calgon and form a complex with calgon. (NaPO3)6 or Na2(Na4P6O18)⟶2Na++ (Complex anion)Na4P6O182− From hard water Ca2++Anion of calgonNa4P6O182−⟶2Na++Goes into solutionCaNa2P6O182−