SensorsGuide

How to Use Your Phone as a Metal Detector

5 min readUpdated 2026-03-06

Short answer: your phone's magnetometer — the compass sensor — detects the field distortion caused by iron and steel at a range of a few centimetres. That makes it useful for finding nails, screws, studs and pipework just beneath a surface. It cannot detect aluminium, copper, gold or silver, so it is not a treasure-hunting tool.

You can test your magnetometer right now with our free browser compass tool, or use the Metal Detector app which is built around exactly this sensor.

How Does a Phone Metal Detector Work?

Your smartphone has a built-in magnetometer (the sensor that powers the compass app). This sensor detects changes in magnetic fields caused by ferrous (iron-containing) metals. When you move your phone near a metal object, the magnetic field changes and the app alerts you.

🧭 Try it free in your browser

Magnetic heading from your phone's magnetometer, in the browser.

Open Online Compass →

What Can You Detect?

MaterialDetects?Why
Iron, steel, nickelYesFerromagnetic — distorts the magnetometer's field strongly
Studs in walls, rebar, steel conduitYesFerromagnetic fasteners and reinforcement inside them
Keys, tools, screws (steel)YesFerromagnetic, at close range (a few centimetres)
GoldNoNon-ferromagnetic — produces no meaningful reading
SilverNoNon-ferromagnetic — produces no meaningful reading
AluminiumNoNon-ferromagnetic — produces no meaningful reading
CopperNoNon-ferromagnetic — not reliably detected

Try it on your own object with the Metal Detector app, which is built around this same magnetometer sensor.

How to Use the Metal Detector App

Step 1: Download the App

Get Metal Detector by Yalintech.

Step 2: Calibrate

  1. Move away from all metal objects and electronics
  2. Open the app
  3. Wave your phone in a figure-8 pattern
  4. Wait for the reading to stabilize

Step 3: Start Scanning

  1. Hold your phone flat (screen facing up)
  2. Move slowly over the area you want to scan
  3. Watch the gauge and listen for audio alerts
  4. When readings spike, you've found metal

Practical Uses

Finding Studs in Walls

  1. Calibrate the app away from the wall
  2. Slowly move your phone across the wall surface
  3. When you detect a spike, mark the spot
  4. Studs are typically spaced 16 inches apart — check for a pattern

Finding Lost Metal Objects

  1. Search systematically in a grid pattern
  2. Move slowly — about 1 inch per second
  3. Keep the phone close to the surface (1-2 inches)
  4. Mark detected spots and investigate

Checking for Metal in Packages

  1. Move your phone around the item
  2. Look for any magnetic field changes
  3. Useful for finding hidden components

Tips for Best Results

  • Remove phone case if it contains metal or magnets
  • Move slowly for better detection
  • Stay low — detection works best within a few inches
  • Avoid electronics — TVs, speakers, and computers create interference
  • Use outdoors when possible — fewer metal sources to create false readings
  • Multiple passes — scan the same area from different angles

Limitations

  • Range: A few inches for small objects, slightly more for larger ones
  • Non-ferrous metals: Gold, silver, aluminum and copper are not magnetic and will not produce a meaningful reading
  • Interference: Electronic devices and building materials can cause false readings
  • Not a replacement for professional metal detectors or stud finders for critical applications

Download Metal Detector on Android or App Store on iPhone.

Metal Detector app icon

Metal Detector

Find metals with vibration alerts & history tracking

Frequently asked questions