Permanent hardness of water is due to dissolved salts of chlorides and sulphates of calcium and magnesium which can be removed by adding sodium carbonate (Na2CO3) (washing soda or soda ash) which reacts with these dissolved salts to form insoluble carbonates that can be removed by filtration and then water becomes soft.