The basic steps to scan a barcode

To scan a barcode, point your scanner's light beam or camera at the barcode from 2 to 8 inches away, hold it steady for a moment, and wait for a beep or light confirmation. The scanner reads the black and white bars, converts them into numbers or text, and sends that information to your device — usually a computer, register, or phone. Most barcodes scan in under a second once the scanner has a clear view.

The exact distance and angle depend on your scanner type. A laser scanner (the red-dot kind) works best when held perpendicular to the barcode, while a camera-based scanner, including smartphone apps, is more forgiving about angle. If the barcode is damaged, faded, or printed at an unusual size, scanning may fail — in which case you can usually enter the numbers by hand.

Key Takeaways

  • Hold the scanner 2 to 8 inches from the barcode and keep it steady until you hear a beep or see a light flash.
  • Laser scanners work best when aimed straight at the barcode; camera-based scanners are more flexible about angle.
  • A successful scan sends the barcode data directly to your computer, register, or phone without manual typing.
  • Damaged, faded, or unusually sized barcodes may not scan, but you can always enter the numbers manually if needed.

Laser scanners versus camera-based scanners

A laser scanner projects a red dot onto the barcode and reads the reflection. These are common in retail checkouts and warehouses. To use one, aim the red dot at the center of the barcode, keep the scanner perpendicular (at a 90-degree angle) to the surface, and hold it steady. The scanner will beep when it reads the code successfully. Laser scanners work well on printed barcodes but cannot read barcodes on screens.

A camera-based scanner uses a small camera and software to photograph and decode the barcode. These include dedicated handheld devices and smartphone barcode-scanning apps. Camera scanners are more forgiving — you can hold them at an angle, move them slightly, and even scan barcodes displayed on phone screens. They tend to be slower than laser scanners but work on a wider range of barcode types and surfaces.

Positioning and distance for a successful scan

The distance between your scanner and the barcode matters. Most scanners work best between 2 and 8 inches away, though some industrial models can read from farther. If you hold the scanner too close, the scanner may not focus properly. If you hold it too far, the image becomes too small or blurry to read.

For a laser scanner, keep the red dot centered on the barcode and hold the scanner straight on. Tilting it at a sharp angle can cause the light to bounce away instead of reflecting back to the sensor. For a camera scanner, you have more flexibility — a 30 to 45-degree angle usually works fine. If the first scan does not register, move slightly closer or adjust your angle and try again.

What happens after a successful scan

When a barcode scans successfully, the scanner sends the encoded data to the device it is connected to — a computer, cash register, inventory system, or phone. That data appears when ready in whatever software is running. In a store, the barcode number triggers a product lookup that pulls up the price and description. In a warehouse, it updates inventory records. On a phone, a barcode app may open a website, add a contact, or log the item into a list.

The scanner does not store the data itself — it straightforward reads and transmits. If you need a record of what you scanned, that record comes from the software receiving the data, not from the scanner.

Troubleshooting a barcode that will not scan

If a barcode will not scan after two or three attempts, the problem is usually one of these: the barcode is damaged, faded, or printed too small; the scanner is out of focus or the battery is low; or the barcode is on a curved or reflective surface that confuses the scanner. Try moving closer, adjusting your angle, or cleaning the scanner lens with a soft cloth.

If the barcode is badly faded or torn, scanning may be impossible. Most systems allow you to enter the barcode number manually using the keyboard. The number is printed below the barcode itself — usually 12 to 14 digits for a standard retail barcode. Entering it by hand takes longer but produces the same result as a scan.

Smartphone barcode scanning apps

If you do not have a dedicated scanner, you can use a barcode app on your smartphone. Popular options include Google Lens, Barcode Scanner, and QR Code Reader — most are free and available on both iPhone and Android. Open the app, point your phone's camera at the barcode, and hold it steady for a moment. The app will read the barcode and usually display the product information or open a relevant link.

Phone-based scanning is slower than a dedicated laser scanner and works best in good lighting. The camera needs a clear, unobstructed view of the barcode. If you plan to scan many items quickly, a handheld laser scanner is faster and more reliable. But for occasional scanning or checking a product while shopping, a phone app is convenient and costs nothing.

Barcode types and what they mean

The most common barcode in retail is the UPC (Universal Product Code), which is 12 digits and encodes the manufacturer and product number. You will also encounter EAN barcodes (13 digits, used outside North America), Code 128 (used for shipping labels and inventory), and QR codes (square barcodes that store more data and link to websites). All of these scan the same way — point and hold steady — but they encode different amounts and types of information.

You do not need to know the barcode type to scan it. The scanner reads whatever format is in front of it. The only practical difference you will notice is that QR codes often link to a website or action, while traditional barcodes usually just return a product number.

Frequently Asked Questions

Can you scan a barcode from a phone screen?

Yes, but only with a camera-based scanner, not a laser scanner. Laser light reflects off the screen in unpredictable ways. A smartphone app or camera scanner can photograph the barcode on the screen and read it, though it may take a moment longer than scanning a printed barcode.

What if the barcode is bent or wrinkled?

A slightly bent barcode usually scans fine. If it is severely creased or torn, the scanner may not be able to read all the bars. Try scanning from a different angle or distance. If it still fails, you can enter the number printed below the barcode by hand.

Do I need to remove the barcode sticker for the scanner to read it?

No. The scanner reads through the sticker. You only need to remove it if it is so dirty or damaged that the barcode underneath is no longer visible or readable.

Why does my laser scanner beep even when I do not think it scanned anything?

The beep usually means the scanner read something, even if it was not the barcode you intended. It may have picked up a reflection, another barcode nearby, or a partial read. Check the software to see what data was actually recorded.

Can a barcode scanner read upside down?

Yes. Barcodes are designed to be readable in any orientation. You can scan them upside down, sideways, or at an angle, and the result will be the same. The scanner does not care which way the barcode is oriented.