How to Test for Stainless Steel: From Magnets to XRF

You can test for stainless steel using a few reliable methods, ranging from a simple magnet to chemical spot tests that distinguish between specific grades. The right method depends on whether you just need to confirm the metal is stainless steel or you need to know the exact grade, like 304 versus 316.

The Magnet Test: Quick but Limited

Holding a magnet to your metal is the fastest first step, but the results require some interpretation. Ferritic stainless steels (like 430, commonly used in kitchen appliances) are strongly magnetic. Martensitic stainless steels, often found in knives and tools, are also magnetic. So a strong magnetic pull doesn’t rule out stainless steel.

The most common grades, 304 and 316 (the austenitic family), are nonmagnetic in their standard condition. If your magnet slides right off with zero attraction, there’s a good chance you’re holding austenitic stainless steel. However, there’s a catch: cold working, such as bending, rolling, or machining, can make 304 and 302 weakly magnetic. The deformation changes part of the steel’s internal structure into a form that responds to magnets. The more the steel has been worked, the stronger the effect. So a faint magnetic tug on a piece of 304 doesn’t mean it’s a different metal. It means it’s been mechanically stressed.

Bottom line: a magnet can help you sort metals into categories, but it can’t confirm a grade on its own.

The Rust Test With Household Items

If you want to confirm that an unknown piece of metal is genuinely stainless steel rather than carbon steel or plated metal, a simple corrosion test works well. Mix white vinegar and table salt into a solution, apply it to a clean spot on the metal, and let it sit. Carbon steel and regular iron will develop visible rust within hours. Stainless steel resists this.

For a more aggressive version, wet the metal with the vinegar-salt solution, let it air dry, then repeat the cycle several times. You can also pack salt onto the wet surface and leave it overnight. Double-strength cleaning vinegar speeds things up. Genuine stainless steel will show little to no rust even after repeated exposure, while carbon steel or iron will develop orange-brown corrosion quickly. This won’t tell you which grade of stainless you have, but it reliably separates stainless from non-stainless metals.

Chemical Spot Tests for Grade Identification

When you need to distinguish between grades, particularly 304 and 316, chemical spot testing is the practical middle ground between a magnet and professional lab analysis. The key difference between these two popular grades is that 316 contains 2 to 3 percent molybdenum, while 304 has essentially none. Spot tests exploit this difference.

Commercial testing solutions (sold under names like “Decapoli 304/316”) contain chemicals such as potassium thiocyanate and ferric chloride in acid. You apply a drop to a freshly ground spot on the metal and watch for a color change. The presence of molybdenum triggers a distinct reaction that separates 316 from 304. These kits are available online and from welding supply stores, typically for under $30. They’re widely used by scrap yards, fabricators, and anyone who needs a field-ready answer without expensive equipment.

To get a reliable result, always grind or sand a small area first. Surface contamination, paint, or coatings can interfere with the reaction.

Testing for Surface Contamination

Sometimes the question isn’t “is this stainless steel?” but “is this stainless steel still performing like it should?” After welding, grinding, or contact with carbon steel tools, free iron can embed in the surface and create rust spots on otherwise corrosion-resistant metal.

The ferroxyl test detects this contamination. A solution of potassium ferricyanide is applied to the surface. If free iron is present, the solution turns blue at those spots. The test is extremely sensitive and picks up even trace amounts of surface iron that would eventually cause staining or pitting. This is commonly used after fabrication or passivation to verify that the stainless steel surface is clean and ready for service.

Handheld XRF Analyzers for Exact Results

If you need a definitive grade identification, handheld X-ray fluorescence (XRF) analyzers are the gold standard. These devices shoot X-rays at the metal surface and read the elemental composition that bounces back, giving you precise percentages of chromium, nickel, molybdenum, and other elements within seconds. The analyzer then matches the composition to a specific grade.

XRF guns are expensive, typically $20,000 or more to purchase, but many metal supply companies and testing labs rent them or offer per-sample testing for a modest fee. Scrap yards often have one on hand. If you’re dealing with a large batch of unknown material or a critical application where the grade truly matters, the cost of a professional XRF test is well worth the certainty.

Which Test to Use

  • Magnet: Good for a quick first sort. Identifies ferritic and martensitic grades as magnetic, austenitic grades (304, 316) as nonmagnetic or very weakly magnetic.
  • Vinegar-salt rust test: Confirms stainless steel versus carbon steel or plated metal. No grade-level detail.
  • Chemical spot test: Separates 304 from 316 and identifies molybdenum-containing grades. Affordable and field-ready.
  • Ferroxyl test: Checks whether the stainless surface is contaminated with free iron after fabrication.
  • XRF analysis: Gives exact elemental composition and definitive grade matching. Best for high-stakes identification.

For most people sorting scrap, verifying a purchase, or checking what’s already installed, the magnet test combined with a chemical spot test covers nearly every practical scenario. The density difference between common grades (304 at 7.87 g/cm³ versus 316 at 8.00 g/cm³) is too small to be useful without precision instruments, so skip that approach unless you have lab equipment handy.