Water softening is achieved either by adding chemicals that form insoluble precipitates or by ion exchange. On a small scale, chemicals used for softening include ammonia, borax, calcium hydroxide (slaked lime), or trisodium phosphate, usually in conjunction with sodium carbonate (soda ash).