What anions are in solution? Calcium sulfate is sparingly soluble while magnesium sulfate is quite soluble, so if the solutions are concentrated enough, add a soluble sulfate salt. If a precipitate forms, it's calcium or calcium and magnesium. If a precipitate does not form, it's magnesium.