White stains inside an electric kettle are usually mineral deposits left after hard water is heated. The United States Geological Survey states that hardness mainly comes from calcium and magnesium and classifies water above 180 mg/L as calcium carbonate as very hard.