Osmotic pressure calculator