SA Barcodes
  • Home
  • Buy Barcodes
  • Other Services
    • Printed Labels
      • Retail Barcode Labels
      • ITF-14 Barcode Labels
      • Barcoded Asset Tags
    • Barcode Design
      • Barcode Image Design
      • QR Code Image Design
    • ISBN and ISSN
      • ISBN Number for Books
      • ISSN Number for Serial Publications
  • FAQ
    • Frequently Asked Questions
    • Why buy from us?
    • Further Information
      • Free Barcode Generators in South Africa
      • Barcode Types
        • Barcode Design
        • Case Barcodes
        • Do I need a UPC Barcode?
        • What kind of barcode do I need?
      • Barcodes in Your Country
        • Barcodes Africa
        • Barcodes South Africa
        • Barcodes Botswana
        • Barcodes Zambia
        • Barcodes Mozambique
        • Barcodes Mauritius
      • Barcodes in Your Province
        • Barcodes Gauteng
      • Barcodes in Your City
        • Barcodes Cape Town
        • Barcodes Durban
        • Barcodes Johannesburg
      • Barcodes For Your Product
        • Barcode for new products
        • Barcode for CDs
        • How to get a barcode for a music CD
        • Barcode for Music Album
        • Barcode for Book
        • Magazine Barcode
      • ISSN and ISBN
        • ISSN Number South Africa
        • ISBN South Africa
        • ISBN Barcode Allocations 2014
  • Testimonials
  • Contact us

Breaking down the barcode – how do barcodes actually work?

December 3, 2012

3 Comments

 
The barcodes you come across in daily life – and likely don’t even notice – are what are called UPC – or Universal Product Code – barcodes. They’ve been around since 1973 and are generally taken for granted. But how do they work? It may look a bit complex to the average human, but a computerised barcode scanning system will manage easily. Let’s try and take a look from a scanner’s perception!

As you can see a single barcode number can actually be broken down into seven separate units – the starting digit or number system character – which tells the scanner where to begin reading the code from, the manufacturer and product code, the check digit, and three guard bars located between these. They let the scanner ‘know’ where the breaks between the codes begin.Keep in mind that the numbers displayed beneath the barcode are not read by the scanner – these are simply for human reference and as a back-up in case the barcode is damaged in some way and the code needs to be entered manually. What the inventory software reads is a binary code related to the width of the black bars and the space in between them. There are 4 different set proportional widths which a barcode can be composed of – a unit which is white displays as space – and registers a 0, a unit which is black registers a 1. This is why barcodes are most commonly black and white as the scanner registers the amount of light which is being reflected by the barcode with a built-in photosensor.

The initial guard bar allows the scanner to calculate the width of one unit, depending on the scale at which the barcode has been printed. The numeral 1 for example is comprised of the code space-space-bar-bar-space-space-bar; or 0011001. The beginning and end guard bars are represented by 101 (bar-space-bar); and the middle guard bar is space-bar-space-bar-space – or 01010.

Additionally, the left and right sides (the manufacturer and product codes) are inverted versions of each other. Basically this means that what was a ‘space’ on one side appears as a ‘bar’ on the other side. Sounds needlessly complicated? Well there’s a nifty trick built in here – this system allows the barcode to be scanned both from right-to-left and left-to-right; which means the code can be scanned in quickly at the till even if the barcode is upside down.

Manufacturer and Product Codes:

The manufacturer code will of course be the same for every barcode assigned to a specific company – the product code will differ for each unique product which they make. In simple terms a company producing a 250ml cooldrink and a 1l version of the same beverage will carry the same manufacturer code but a different product code. If you do the maths the allotted amount of digits means that an individual manufacturer can produce varying barcodes for up to 99 999 unique products!

Check Digit:
The check digit included in a barcode is the final safety test to make sure the barcode has been scanned correctly and is valid. Basically it builds in a mathematical sum which includes all the units of the barcode and comes out at a final answer based on this calculation. The equation is a bit complex but reads as follows – remember not to include the check digit itself!:

a.    Add together all odd digits read
b.    Multiply the final sum of this equation by three
c.    Add all the even digits together
d.    Add together the totals from step b and c
e.    Take this number, and calculate the difference needed to reach the next multiple of ten – this is the check digit. So if your total came to 34, the next multiple of ten would be 40 – making your check digit 6.

The process with an EAN (European Article Number) – which is the 13-digit barcode you may come across in South Africa is slightly different. Starting at the right side of the barcode each digit is assigned with an odd or even position regardless of the number itself. The sum of all the ‘odd’ numbers is then multiplied by three, added to the sum of the ‘even’ numbers and divided by ten. The fraction which is produced – for example 66/10 = 6.6 creates the check digit 4 because 0.4 must be added for there to be no remainder. Makes for a nice party trick if you’re really keen!

Here’s a great video to watch if you want to know more:

In addition to the traditional numerical barcodes you may come across what is called a Code 39 barcode which can also contain alphabetical characters. This system allows for 43 separate characters (Uppercase letters A – Z, numeric digits 0 – 9 and certain punctuation symbols such as $ and %); to be included in the barcode – and rather than the guard bars you find in a UPC or EAN barcode the stops between codes are denoted with an asterisk symbol. Code 128 barcodes even allow for the inclusion of ASCII characters.You may have noticed that no-where in the barcode symbologies we have discussed is the purchase price included in the make-up of the barcode. The cost of a product is designated by the retailer’s database – allowing you to change the price directly with them when need be rather than having to purchase a new barcode each time. For fundamentalist Christians who claim that the ‘New Money System 666’ is discreetly hidden in every barcode; this is where their theory falls flat. However! There has been discussion of personalised barcodes being tattooed onto consumers – allowing their identities to be verified when making a purchase at a retail outlet. This has been claimed to echo the so-called ‘Mark of the Beast’ as mentioned in Revelations in the Bible. Of course, with the exponential increase in consumers purchasing via the internet this system will most likely never come into practice at all. But we’d be interested to hear if our readers would consider getting their own unique identification barcode tattooed? If you’re brave enough to speak up do let us know in the comments!

As always – feel free to get in touch with SA Barcodes about any barcoding questions you may have – we love hearing from you.

Click to rate this post!
[Total: 0 Average: 0]
Tweet
3 Comments

    Author

    Our blog researchers include local barcode experts from the SA Barcodes team: Cat Robinson and Andreas van Wyk

    SA Barcodes Team

    The aim of this page is to educate you, our customer, with all the information you may require about the different facets of barcodes and how they work.

    Categories

    • 2d Barcodes
    • 3d Barcodes
    • Asset Barcodes
    • Barcode Labels
    • Barcode Printers
    • Barcode Sizing And Printing
    • Barcode Symbologies
    • Box Barcodes
    • Case Barcodes
    • Cd Album Barcodes
    • Colour Barcodes
    • Customer Offers
    • Dna Barcoding
    • Do I Need Barcodes?
    • Electronic Article Surveillance
    • Fraud In Barcoding
    • Functions Of Barcodes
    • Health Industry Barcodes
    • History Of Barcodes
    • How Do Barcodes Work?
    • Id Barcodes
    • ISBN Barcodes ForBooks
    • Issn Barcodes Formagazines And Newspapers
    • Just For Fun!
    • Legalities Of Barcoding
    • Price Embedded Barcodes Qr Codes
    • Random Weight Barcodes
    • Retail Barcodes EAN And UPC
    • Rfid
    • Security Issues
    • Uncategorized
    • What Are Barcodes?

    Sitemap

    RSS Feed