To compare the hardness of different water samples  you can take a fixed volume says 25cm3 of hard water  and run soap solution in from a burette bit by bit till the soap lathers on shaking  (bubbles remain on the surface). 