You can test metal using methods as simple as a magnet or a spark from a grinder, or as advanced as handheld X-ray analyzers that identify exact alloy grades in seconds. The right approach depends on what you’re trying to learn: whether a piece is steel or aluminum, how strong it is, whether it has hidden cracks, or what specific alloy you’re working with.
Simple Tests You Can Do Right Now
The fastest way to start narrowing down an unknown metal is with tools you probably already have. None of these will give you a precise alloy grade, but they can quickly sort metals into broad categories.
A magnet is the most obvious starting point. If it sticks strongly, you’re likely dealing with carbon steel or iron. If there’s no magnetic pull at all, the metal could be aluminum, copper, brass, titanium, or an austenitic stainless steel like grade 316. Grade 304 stainless, one of the most common types, is technically non-magnetic when new but can develop noticeable magnetism after cold working like heavy polishing, rolling, or grinding. So a weak magnetic response doesn’t rule out stainless steel.
Weight is another useful clue. Pick up the piece and compare it mentally to steel of similar size. Aluminum feels surprisingly light (about one-third the density of steel). Lead feels disproportionately heavy. Titanium sits between aluminum and steel. Copper and brass are noticeably heavier than steel.
Color and surface appearance help too. Copper is distinctly reddish. Brass is yellow-gold. Aluminum is light silvery-gray and often has a slightly dull surface. Fresh steel is dark gray, while stainless steel tends to be brighter and more reflective.
The Spark Test
If you have a bench grinder, the spark test is a surprisingly effective way to identify ferrous metals (iron-based metals). Touch the metal lightly to the grinding wheel and observe the sparks. You’re looking at three things: the color of the spark stream, how long the sparks travel, and what happens at the ends of the streams.
Wrought iron produces a straw-colored stream about 65 inches long with forked ends. Mild steel (like 1020 steel) throws white sparks that travel slightly farther, around 70 inches, also with forked ends. Gray cast iron is dramatically different: short red sparks, only about 25 inches long, that break into fine, repeating bursts near the tips. High-carbon steel produces more explosive bursts and brighter white sparks than mild steel. Stainless steel sparks are shorter and more orange-red than carbon steel sparks.
This test won’t work on non-ferrous metals like aluminum, copper, or brass, which produce few or no sparks on a grinder.
Density Testing With Water Displacement
If you need to identify a metal more precisely at home, measuring its density is one of the most reliable DIY methods. Every metal has a characteristic density, so calculating yours and comparing it to known values can confirm what you’re working with.
You need a kitchen scale (accurate to at least 1 gram) and a graduated container or measuring cup. First, weigh the metal piece and record the mass. Then partially fill the container with water and note the level. Submerge the metal completely and record the new water level. The difference between the two levels is the volume of the metal.
Divide the mass by the volume to get density. Pure aluminum has a density of about 2.7 grams per cubic centimeter. Titanium is around 4.5. Steel runs about 7.8 to 8.0. Copper is 8.9. Lead is 11.3. Gold is 19.3. If your result lands close to one of these values, you have a strong identification. This same principle, originally described by Archimedes, is still used to verify the purity of precious metals.
Handheld XRF Analyzers
For precise alloy identification in the field, handheld X-ray fluorescence (XRF) analyzers are the standard tool. You point the device at the metal surface, pull the trigger, and within a few seconds it displays the exact elemental composition and often the specific alloy grade. XRF can detect all elemental metals, both individually and as components of an alloy, including heavy metals like lead, zinc, mercury, and magnesium.
These devices work by firing X-rays at the metal surface. Each element in the sample absorbs that energy and re-emits it at a wavelength unique to that element. The analyzer reads those returning signals and calculates the percentages of each element present.
XRF guns are widely used in scrap yards, manufacturing facilities, and quality control labs. They’re expensive to buy (typically $20,000 to $50,000), but many equipment suppliers rent them. If you’re sorting a large batch of scrap metal or verifying material for a critical project, renting an XRF analyzer for a day can save significant time and money compared to sending samples to a lab.
Hardness Testing
Hardness testing measures how well a metal resists being dented or deformed. It’s one of the most common quality control tests in manufacturing and can help verify that a metal has been properly heat-treated or that it matches the expected grade.
Three scales dominate industrial hardness testing. The Rockwell test presses an indenter into the surface under a known load and measures the depth of penetration. It’s fast and widely used on production floors for routine checks on hardened metals and alloys. The Brinell test uses a hard steel or carbide ball and measures the diameter of the impression it leaves. It works best on softer metals, castings, large forgings, and materials with coarse grain structures. The Vickers test uses a tiny diamond pyramid and measures the diagonals of the resulting indent. It’s the most versatile of the three, suitable for everything from hardened steels to thin coatings, ceramics, and delicate components like welds or gear teeth where precision matters.
Portable hardness testers exist for field use, though they’re less precise than lab-based equipment. If you’re buying metal stock and need to confirm it meets a specification, hardness is often the first property checked.
Tensile and Mechanical Testing
When you need to know how strong a metal actually is, tensile testing provides the definitive answer. A sample is clamped into a machine and pulled apart at a controlled rate until it breaks. The test produces several critical numbers.
Yield strength is the point where the metal stops springing back to its original shape and starts deforming permanently. Engineers typically define this as the stress that causes 0.2% permanent deformation. Ultimate tensile strength is the maximum load the metal can handle before it starts to neck down and weaken. Percent elongation measures how much the sample stretched before breaking, which tells you how ductile the metal is. A metal with high elongation will bend and deform before failing, giving warning signs. A metal with low elongation is brittle and can fracture suddenly.
Tensile testing is destructive, meaning the sample is ruined in the process. For that reason, it’s performed on representative samples rather than finished parts. It’s essential in aerospace, construction, automotive, and any field where structural failure could be catastrophic.
Ultrasonic Testing for Internal Flaws
Ultrasonic testing uses high-frequency sound waves to find cracks, voids, and other defects hidden inside a metal part without damaging it. A small probe sends sound pulses into the material. When those pulses hit an internal discontinuity like a crack, some of the energy bounces back to the probe. The returning signal appears on a display screen, showing both the location and approximate size of the flaw.
This technique also measures wall thickness, which is critical for pipes, pressure vessels, and tanks that corrode from the inside over time. Inspectors can check remaining wall thickness from the outside surface without cutting into the part or taking it out of service.
Ultrasonic testing is one of several non-destructive testing (NDT) methods. Unlike destructive approaches such as tensile or impact testing, NDT leaves the part completely intact, allowing the same component to be inspected repeatedly over its service life. The tradeoff is that NDT results can be influenced by surface condition and operator skill, and very small flaws may go undetected.
Choosing the Right Test
Your choice depends on the question you’re asking. If you just need to figure out what kind of metal you have, start with a magnet, a visual inspection, and a density check. If that’s not enough, a spark test can differentiate between types of steel and iron. For exact alloy identification, an XRF analyzer gives fast, precise results.
If you need to verify mechanical properties for a specific application, hardness testing is quick and non-destructive for surface checks, while tensile testing gives complete strength data at the cost of destroying the sample. For inspecting parts already in service, ultrasonic testing lets you look for hidden damage without removing or damaging the component.
- Identify an unknown metal at home: magnet, weight, color, density test, spark test
- Identify a specific alloy grade: handheld XRF analyzer
- Check hardness or heat treatment: Rockwell, Brinell, or Vickers hardness test
- Measure strength and ductility: tensile testing (destructive)
- Find internal cracks or measure wall thickness: ultrasonic testing

