It is made of potassium and carbonate ions . Today potassium carbonate is prepared commercially by the electrolysis of potassium chloride . The resulting potassium hydroxide is then carbonated using carbon dioxide to form potassium carbonate , which is often used to produce other .