Apparel Search · Spec Sheet — Labels, Tickets & Barcodes

Check Digit Calculator

What a barcode check digit is, how it guards against scanning and keying errors, and how to calculate one for a UPC or GTIN.

The last digit of a barcode number is not part of the product number at all — it is a check digit, calculated from the other digits so a scanner or a keyed entry can prove the number was read correctly. This page explains how the check digit works and points to the calculator that computes it.

Check digits matter in apparel because GTINs are assigned and printed in volume: one transposed digit in a print run misidentifies every garment in it, and the check digit is the built-in tripwire that catches the error at the first scan.

01 · The TextThe Full Text

UPC Guide Price Tickets Fashion Industry Calculators

The last digit of a barcode number is a computer check digit which makes sure the barcode is correctly composed. The check digit is calculated from all the other numbers in the barcode and helps to confirm the integrity of your barcode number. The last digit of all fixed-length, numeric GS1 Identification Keys is a check digit that ensures the integrity of the key.

Use the GS1 check digit calculator to calculate a check digit.

If you don't wish to use a calculator you can manually calculate a check digit.

02 · BackgroundHow the Calculation Works

For a GTIN/UPC, the check digit is computed by multiplying alternate digits by 3 and 1 from the right, summing the products, and taking the digit that brings the total to a multiple of ten. If a scanned number fails this test, the read is rejected rather than misidentified — the same principle guards most barcode symbologies and many other numbered systems.

Parts Index

Labels, Tickets & Barcodes

QuestionsCommon Questions

What is a check digit?

A single digit added to the end of a number, calculated from the other digits by a fixed formula, used to detect errors in scanning or manual entry.

Can I choose my check digit?

No — it is fully determined by the preceding digits. A GTIN is only valid with its correct calculated check digit.

Where can I calculate one?

GS1 provides a free check digit calculator for GTINs, SSCCs and other GS1 keys; the link is carried in the resources below.

Related Directories

This page belongs to the Labels, Tickets & Barcodes family of the Apparel Search trim and labels directories. Continue into the neighboring directories, or add a company to this one.

Keep Looking

More to Explore

Search Apparel Search