The basic steps to scan a barcode
To scan a barcode, position the scanner's light beam directly over the barcode stripes at a slight angle — usually between 30 and 45 degrees — and press the trigger. The scanner reads the pattern of black and white bars, converts it to numbers or letters, and sends that data to your computer or device. Most scanners beep or flash when they read successfully.
The distance between the scanner and barcode matters. Handheld scanners typically work best when held 2 to 8 inches away, though this varies by model. If the barcode is too small, too damaged, or printed at an angle that's too steep, the scanner may not read it. Trying again from a different angle usually solves the problem.
The barcode data appears wherever your cursor is active — in a search box, a spreadsheet cell, a document, or an inventory system. You do not need to type anything yourself. Once the scan is complete, the scanner usually sends an automatic carriage return, moving to the next line or field.
Key Takeaways
- Hold the scanner 2 to 8 inches from the barcode at a 30 to 45 degree angle and press the trigger to read it.
- The scanner converts the barcode pattern into text or numbers and sends the data directly to whatever program or field is active on your screen.
- A beep or light flash indicates a successful read; if nothing happens, try adjusting the angle or distance and scanning again.
- Damaged, faded, or very small barcodes may not scan; cleaning the scanner lens or the barcode itself can improve results.
- Different scanner models have different optimal distances and angles, so check your scanner's manual if you are having trouble.
Positioning the scanner correctly
The angle at which you hold the scanner matters more than most people realize. Pointing the scanner straight down at the barcode (90 degrees) often fails because the light bounces directly back into the sensor. A 30 to 45 degree angle lets the light reflect off the bars and return to the scanner at the right angle to be read.
If your first attempt does not work, tilt the scanner slightly and try again. Many people find that moving the scanner in a small arc — sweeping across the barcode rather than holding it still — helps the sensor catch the pattern. This is especially useful for curved surfaces or barcodes printed on rounded packages.
Distance also affects readability. Holding the scanner too close may cause the light to spread too wide; too far away and the bars blur together. The 2 to 8 inch range works for most standard handheld scanners, but larger format scanners and fixed-mount scanners have different ranges. Your scanner's manual will specify the optimal working distance.
What to do when a barcode won't scan
A barcode that will not scan is usually either dirty, damaged, or being read at the wrong angle. Start by checking the barcode itself. If it is dusty, smudged, or has a sticker over it, clean it gently with a dry cloth or remove the obstruction. Faded or worn barcodes — common on older products or items stored in sunlight — may not have enough contrast for the scanner to read.
Next, check your scanner. The lens at the tip of the scanner can accumulate dust or fingerprints over time. Wipe it gently with a clean, dry cloth. A dirty lens is one of the most common reasons scans fail, and cleaning it often solves the problem when ready.
If the barcode and lens are both clean, try scanning from a different angle. Rotate the scanner 45 degrees and try again. Some barcodes are printed at slight angles or on curved surfaces, and a different approach angle will often work. If the barcode is on a curved package, try scanning along the length of the curve rather than across it.
If nothing works, the barcode may be too damaged to read. Some scanners have a manual entry mode that lets you type the barcode number by hand, or you can look up the product number another way. Check your scanner's manual for instructions on manual entry.
Understanding what the scanner is reading
Barcodes are not product names or descriptions — they are identification numbers. A barcode for a box of cereal does not contain the words "cereal" or the brand name. It contains a 12 or 13 digit number that a database uses to look up the product, its price, and its stock level.
Different barcode formats exist. The most common in retail is UPC-A, which has 12 digits and appears on most products in North America. EAN-13, with 13 digits, is standard in Europe and many other countries. Warehouses and libraries often use Code 128, which can encode letters and numbers and is longer and narrower than UPC codes.
The scanner itself does not know what the barcode means. It straightforward reads the pattern and sends the number to your computer. Your computer's software — a point-of-sale system, inventory program, or library database — looks up that number and retrieves the associated information. If the barcode is not in the database, the system will not recognize it, even though the scanner read it correctly.
Choosing the right scanner for your needs
Handheld scanners are the most common type and work well for retail, warehousing, and small inventory tasks. They are portable, affordable, and work with most computers via USB or wireless connection. A basic handheld scanner costs between $50 and $200 and will read standard retail barcodes reliably.
Fixed-mount scanners sit on a counter or are built into a checkout stand. They are faster for high-volume scanning because you do not have to pick up and aim the scanner each time — you just pass the item in front of it. These are common in grocery stores and libraries but are more expensive and less flexible than handheld models.
Mobile scanners are built into smartphones or tablets and use the device's camera to read barcodes. They are convenient for small businesses or personal use but are generally slower and less reliable than dedicated scanners, especially in poor lighting or with damaged barcodes.
Setting up your scanner with your computer
Most handheld scanners connect via USB and require no software installation — your computer recognizes them as a keyboard and the data appears wherever your cursor is active. Plug the scanner into a USB port, and it should work when ready with any program that accepts text input.
Wireless scanners use Bluetooth or a USB receiver. Follow the pairing instructions in your scanner's manual to connect it to your computer. Once paired, they work the same way as wired scanners — the data appears in whatever field or program is active.
Some scanners come with software that lets you customize settings like the beep volume, the automatic carriage return, or the prefix and suffix characters added to each scan. Check your manual to see whether your model has these options. For most basic scanning tasks, the default settings work fine.
Common mistakes that prevent successful scanning
Holding the scanner at 90 degrees (straight down) is the most common mistake. The light bounces straight back and the sensor cannot read the pattern. Tilt the scanner to 30 to 45 degrees and try again.
Scanning too quickly is another frequent problem. Pressing the trigger and when ready moving the scanner away does not give the sensor time to read the barcode. Hold the scanner steady for a half-second after pressing the trigger, then release.
Forgetting to make sure the cursor is in the right place causes data to appear in the wrong field or program. Before scanning, click on the field where you want the data to go. If you scan while the cursor is in a search box, the barcode number will go into the search box instead of your inventory system.
Using a scanner with a dirty lens or trying to scan a barcode that is covered, faded, or bent will fail repeatedly. Clean the lens and the barcode first, and straighten any bent barcodes before trying again.
Frequently Asked Questions
Can I scan a barcode from a phone screen?
Yes, but it is less reliable than scanning a printed barcode. The light from the phone screen can interfere with the scanner's sensor, and the barcode may be too small or at the wrong angle. If you need to scan a digital barcode, try adjusting the phone's brightness or the scanner's angle. A printed barcode always works better.
What if the barcode is partially torn or faded?
A scanner can often read a partially damaged barcode if enough of the pattern is visible. Try scanning from different angles — sometimes one direction will capture enough of the readable portion. If the barcode is too damaged, you may need to look up the product number manually or use the scanner's manual entry mode.
Why does my scanner beep but nothing appears on my screen?
The scanner read the barcode successfully, but the data did not go to the right place. Check that your cursor is active in the correct field or program. Click on the field where you want the data to appear, then scan again. If the cursor was in a different window or program, the data went there instead.
Do I need special software to use a barcode scanner?
No. Most USB scanners work as plug-and-play devices and require no software installation. They work with any program that accepts text input — spreadsheets, databases, search boxes, and documents. Some scanners come with optional software for customizing settings, but it is not necessary for basic scanning.
Can a scanner read barcodes on curved or rounded surfaces?
Yes, but it is trickier. Try scanning along the length of the curve rather than across it, and adjust your angle until the scanner can read the full barcode pattern. Some curved surfaces or very shiny finishes may reflect light in a way that prevents reading — in those cases, try a different angle or clean the surface first.