Tool to measure salinity