How to Calculate a GTIN-14 (DUN-14) from an EAN-13
By Simon Guty · Published November 18, 2026
What a GTIN-14 is
The EAN-13 on a product identifies the single unit sold at the checkout. A case or box of those units needs its own number: a 14-digit GTIN-14. It's also known as DUN-14 (a common name in Latin America), SCC-14 or EAN-14, and on cartons it's usually printed as an ITF-14 barcode.
You can build it from the product's EAN-13 in four steps, as long as that EAN-13 belongs to your company (it comes from the GS1 company prefix licensed to the brand owner).
What the 14 digits mean
- Digit 1, the indicator: 1 to 8 for cases or packs with a fixed quantity, and 9 for variable-measure items, such as a case sold by weight.
- Digits 2 to 13: the first 12 digits of the product's EAN-13, without its check digit.
- Digit 14: a new check digit, calculated from the 13 digits before it.
The brand owner chooses the indicator. According to GS1 there's no worldwide rule for which number means which packaging level: one company might use 1 for a case of 12 and 2 for a case of 24. What matters is that each different packaging configuration gets its own GTIN-14.
Step by step, with an example
This example uses the EAN-13 7541234999997, the sample number GS1 Canada uses in its GTIN-14 guide, and indicator 1.
- Remove the EAN-13's check digit: 7541234999997 → 754123499999.
- Put the indicator in front: 1 + 754123499999 → 1754123499999.
- Calculate the new check digit from those 13 digits (see below). Here it's 4.
- Add it at the end: the GTIN-14 is 17541234999994.
How to calculate the check digit
GS1 check digits use weights of 3 and 1. Starting from the digit right before where the check digit will go and moving left, multiply the digits alternately by 3 and by 1, then add up the results. For a 13-digit number this means the first digit is multiplied by 3:
1×3 + 7×1 + 5×3 + 4×1 + 1×3 + 2×1 + 3×3 + 4×1 + 9×3 + 9×1 + 9×3 + 9×1 + 9×3 = 146
The check digit is the number you add to that total to reach the next multiple of 10: 150 − 146 = 4. If the total is already a multiple of 10, the check digit is 0.
Same product, different cases
Each indicator gives a different check digit, so it always has to be recalculated. These are the GTIN-14s for the example EAN-13 with indicators 1 to 8:
| Indicator | GTIN-14 |
|---|---|
| 1 | 17541234999994 |
| 2 | 27541234999991 |
| 3 | 37541234999998 |
| 4 | 47541234999995 |
| 5 | 57541234999992 |
| 6 | 67541234999999 |
| 7 | 77541234999996 |
| 8 | 87541234999993 |
Before you print, confirm the number with GS1's check digit calculator or with your local GS1 organisation.
Printing it as an ITF-14 barcode
On corrugated cartons the GTIN-14 is usually printed as an ITF-14 barcode. According to GS1 UK, the narrowest bar (the X-dimension) can be between 0.495 mm and 1.016 mm. The bars are 31.75 mm high at every size and only the width changes:
| Magnification | X-dimension | Width | Height |
|---|---|---|---|
| 50% | 0.51 mm | 61.21 mm | 31.75 mm |
| 62.5% | 0.635 mm | 76.52 mm | 31.75 mm |
| 100% (nominal) | 1.016 mm | 122.43 mm | 31.75 mm |
When the code is printed directly on corrugated board, GS1 UK asks for a full frame of bearer bars around it. With other printing methods, such as on-demand label printers, bars at the top and bottom are enough. Your customer or distributor may require a particular size, so check their requirements too. The GTIN-14 can also go in a GS1-128 barcode on logistics labels.
For the EAN-13 or UPC-A on the product itself, the Barcode Size Calculator gives the size at each magnification.
Common mistakes
- Keeping the EAN-13's check digit. 17541234999997 is not valid; the correct number is 17541234999994.
- Using the GTIN-14 at the checkout. GTIN-14s identify cases and are not meant for point-of-sale scanning; the product keeps its EAN-13.
- Putting a 0 in front as the indicator. 07541234999997 is just the EAN-13 written with 14 digits, not a case number.
- Using the same GTIN-14 for different cases. A case of 12 and a case of 24 need different indicators.