Non-magnetic austenitic stainless steel cookware generally contains higher nickel content, which can leach out depending on the pH of the food being cooked. In contrast, magnetic ferritic and martensitic stainless steels have lower nickel levels and are more stable in acidic environments. The leaching of metals from stainless steel cookware is influenced by the cookware's grade and the acidity of the food. Corrosion and pitting can occur in both types when cooking highly acidic foods. Ultimately, the choice of stainless steel cookware should consider both its magnetic properties and the types of food being prepared.