Non-aqueous titrations allow for the titration of weakly acidic or basic substances using non-aqueous solvents. This provides sharper endpoints compared to aqueous titrations. Common non-aqueous solvents include acetic acid, acetonitrile, alcohols, and dimethylformamide. Indicators are also used that change color at the titration endpoint. Examples given are the titration of ephedrine hydrochloride and sodium benzoate using perchloric acid in acetic acid with crystal violet indicator.