Barium hydroxide is used in titrations . If sodium hydroxide solution is used , some sodium carbonate may be in there . Its clear aqueous solution is guaranteed to be free of carbonate , unlike those of sodium hydroxide and potassium hydroxide , as barium carbonate is insoluble in water .