Cartix Prime

Weighing scale barcode: how barcodes for loose items carry weight and price

For supermarkets, kirana stores, bakeries and vegetable counters that pack loose items by weight. A weighing scale barcode carries the item and its weight or price inside 13 digits, so one scan bills a 1.250 kg bag correctly. This guide decodes one digit by digit, compares label scales and counter scales, and shows how to set the format.

Updated 1 November 2026

How a weighing scale barcode works

A weighing scale barcode is an EAN-13 that starts with 2, followed by an item code, then the weight or the price, then a check digit. The billing software reads the first part to find the item and the second part to know how much, so a pre-weighed bag of dal bills in one scan.

These are also called price embedded or weight embedded barcodes. They are the standard way to put barcodes on loose items that are sold in different weights every time.

Why the barcode starts with 2

GS1, the body that runs retail barcode numbers worldwide, keeps numbers beginning with 20 to 29 for restricted, in-store use. A brand's product never starts with these, so the software knows a code starting with 2 is a shop's own code, not a maker's barcode. Within that range, the shop decides which prefix means what. A common choice in India:

  • 21: the label carries the weight.
  • 22: the label carries the price.
  • 20: fixed-price in-store items with no weight inside (ordinary in-store codes).

There is no single national format in India that every scale follows. What matters is that your scale and your billing software agree.

Common layouts of the 13 digits

LayoutPrefixItem codeExtraWeight or priceCheck
A (most common)2 digits5 digitsnone5 digits1
B (with price check)2 digits4 digits1 price check digit5 digits1
C (long item code)2 digits6 digitsnone4 digits1

Layout A allows item codes up to 99999 and weights up to 99.999 kg (in grams) or prices up to ₹999.99 (in paise). Layout C allows more item codes but only four digits for the value, so a price label stops at ₹99.99. Many label scales let you pick from a list of layouts in their settings. Choose one and never change it while old labels are still on the shelf.

Worked example: decoding a weight barcode

Take this example label from a provision store's pre-packed section: 2100123012503, on a bag of toor dal. The shop uses layout A with 21 for weight.

DigitsPartMeaning
21PrefixThis is a weight label
00123Item codeItem 123 in the billing software: toor dal
01250Weight in grams1,250 g = 1.250 kg
3Check digitConfirms the scan is correct

At the counter, the software finds item 123, takes its current rate, say ₹160 a kilo in this example, and works out 1.250 × ₹160 = ₹200.00, adding GST at the item's rate. Stock of toor dal goes down by 1.250 kg.

The check digit works like any EAN-13: odd-position digits 2 + 0 + 1 + 3 + 1 + 5 = 12; even-position digits 1 + 0 + 2 + 0 + 2 + 0 = 5, times 3 = 15; total 27; the next multiple of 10 is 30, so the check digit is 3. Check your own scale's labels with the free EAN-13 check digit calculator. The method is explained step by step in EAN-13 vs Code 128.

The same bag as a price barcode

If the shop used 22 for price labels, the same bag would read 2200123200006: prefix 22, item 00123, price 20000 paise = ₹200.00, check digit 6. The counter bills ₹200.00 for toor dal straight from the label.

Weight label or price label?

Weight label (21)Price label (22)
Price at the counterUsually worked out from the software's current rateFixed when the label was printed
After a rate changeOld bags bill at the new rateOld bags still bill at the old price until relabelled
StockExact weight leaves stockWeight has to be worked back from the price
Expensive itemsNo problemFive price digits stop at ₹999.99; a 1 kg bag of cashew may not fit

For most kirana and supermarket loose items, weight labels are the cleaner choice. Price labels suit a shop where the scale and the counter are run by different people and the price must not change after packing.

Label scales vs counter scales

Label-printing scale

A label scale weighs the item, works out the price from rates stored inside the scale, and prints a sticker with the barcode. It is fast for a busy fruit and vegetable section. The catch is that each item's code and rate live in the scale as well as in the billing software. When you change a rate in one, change it in the other, or bags packed in the morning bill at a different price from the shelf tag.

Counter scale with no printer

A plain digital scale shows the weight. Some can send it to the computer by a USB or RS-232 (serial) cable, so the weight drops into the bill line without typing. Others are read by eye and the cashier types the weight.

Pre-pack labels without a label scale

There is a third way. Weigh the bag on any scale, enter the weight in your billing software, and print the weight label on your ordinary barcode label printer. No label scale is needed, and the rate only lives in one place. This suits shops that pack a few dozen bags in the quiet hours. Label sizes for this, such as 50x30 or 100x50 mm, are in the barcode label size guide.

How a shop sets the format, step by step

  1. Find the scale's barcode setting. In the label scale's manual or menu, look for the barcode format or label format. Note the prefix, the item code length, whether it prints weight or price, and the decimals.
  2. Match the item codes. The item code in the scale (often called the PLU number) must be the same as the item code in your billing software. Toor dal is 123 in both.
  3. Enter the same format in the billing software: prefix 21, item code 5 digits, value 5 digits, value is weight in grams.
  4. Print five test labels: one under 100 g, one at exactly 1 kg, one heavy bag, one cheap item and one expensive item.
  5. Scan each at the counter and check item, weight and amount against the label.
  6. Write the format down and stick it inside the scale cabinet, so the next technician does not change it.

When scale barcodes go wrong

What happensCauseFix
1.250 kg bills as 12.500 kgDecimals set differently in scale and softwareSet grams (3 decimals for kg) in both
"Item not found" for every scale labelSoftware does not know prefix 21 is a scale prefixAdd the prefix to the scale barcode setting
Bag of dal bills as sugarPLU in the scale differs from the item code in softwareMake the codes match, then reprint
Costly items print a wrong pricePrice is too big for the digitsUse weight labels, or a layout with more value digits
Morning bags bill at yesterday's ratePrice labels printed before a rate changeUse weight labels, or relabel after rate changes

Two other checks. Pre-packed and labelled food can carry a different GST rate from the same item sold loose, depending on how it is packed and labelled, so set the GST on each item as your CA advises. Pre-packed goods may also need other declarations on the label under legal metrology rules; check with your CA or the local legal metrology office.

Scale barcodes in Cartix Prime

On Silver and up, Cartix Prime prints weighed-pack labels with the item name, weight, price, rate, packing date and a scale barcode with the prefix 21, on the same label printers used for barcode stickers. At the counter, it reads those barcodes into the bill, and it reads a label scale's own barcodes too, using the format the shop sets. A counter scale wired by USB or RS-232 is read live into the bill in Chrome, Edge or the Windows app, or the weight is typed. Loose items can also be billed by amount, such as "₹50 of sugar".

Silver is ₹4,999 a year for one computer and one phone, or ₹1,099 phone only, with 7 days free for every new shop. The full feature list is on the weighing scale billing page, and the rest of the barcode workflow on the barcode software page. If loose items are the reason your counter cannot scan everything, see what to do about items without barcodes.

Questions

What is a price embedded barcode?
It is an EAN-13 barcode, usually starting with 2, that carries an item code and the price of that particular pack. A weighing scale prints it on a pre-weighed bag, and the billing software reads both parts, so one scan bills the right item at the right amount.
How do I read the weight from a scale barcode?
In the common layout, digits 1 and 2 are the prefix, 3 to 7 the item code, 8 to 12 the weight in grams, and 13 the check digit. So 2100123012503 is item 123, 1.250 kg. Your scale's settings show its exact layout.
Why do weighing scale barcodes start with 2?
GS1 keeps numbers starting with 20 to 29 for in-store use, so they never clash with a brand's product barcode. Shops choose what each prefix means, for example 21 for weight labels and 22 for price labels.
Do I need a label printing scale for loose items?
Not always. You can weigh on any scale, enter the weight in billing software that prints weight labels, and print on a normal barcode label printer. A label scale is faster for very busy fruit and vegetable sections.
Should my scale print weight or price in the barcode?
Weight is usually better. The counter then applies the current rate and stock reduces by the exact weight. Price labels freeze the price at packing time and run out of digits for costly items.
Why does my scale label bill the wrong weight?
The scale and billing software are using different layouts or decimals. Check the prefix, the item code length, whether the value is weight or price, and the number of decimals, and set them the same in both.

Try it at your counter tonight.

2 days with everything, free. Bring your items from Excel, connect the printer and scanner you already have, and start billing the same day.

Cartix Prime Offline is ₹8,999 once, with the first year of updates. Online plans from ₹599 a year. See prices