Small Business

How to Print Shelf Price Labels with Unit Prices and Barcodes

Make shelf edge labels with correct unit prices for the EU, UK, US or Australia, valid EAN and UPC barcodes, sale tags and Avery sheets that line up.

Saizul Amin
Saizul Amin2 Nov 2026 · 5 min read
How to Print Shelf Price Labels with Unit Prices and Barcodes

How to Print Shelf Price Labels with Unit Prices and Barcodes

A shelf label looks simple: a name, a price and maybe a barcode. In practice small shops have to get several details right. Unit prices are required in many countries, barcodes must carry a valid check digit, sale prices need a clear "was" figure, and the whole thing has to line up with the label sheets in the printer. This guide covers each part, using the free retail shelf price label printer as the example. Everything runs in your browser, and your product list stays on your device.

Build the product table

Each row is one product: name, brand, size with a unit (g, kg, oz, lb, ml, cl, l, fl oz or each), price, an optional was price for sales, a sale end date, barcode, SKU and the number of copies to print. If your till system or spreadsheet can export a CSV file, import it; columns are matched by their names, so a heading like "price" or "barcode" lands in the right place. You can export the table back to CSV when you are done.

Unit prices by region

A unit price lets shoppers compare a 400 g pack with a 750 g pack. The rules differ by country, so the tool lets you choose a region:

  • EU and UK: the EU Price Indication Directive (98/6/EC) and the UK Price Marking Order generally require the price per kilogram or per litre for goods sold by weight or volume.
  • United States: there is no single federal rule. States that require unit pricing commonly follow NIST Handbook 130, and the per-ounce unit is common for many goods.
  • Australia: the Unit Pricing Code usually uses price per 100 g or per 100 ml for most groceries.

The tool converts the pack size to the right base unit and calculates the figure for you.

Barcodes and check digits

Retail barcodes such as EAN-13, UPC-A and EAN-8 end with a check digit that lets scanners catch misreads. It is calculated with the GS1 modulo-10 method: starting from the right of the digits without the check digit, multiply them alternately by 3 and 1, add the results, and the check digit is whatever brings the total up to the next multiple of 10.

If you type the code without its last digit, the tool adds the check digit. If you type a full code whose check digit is wrong, it flags the problem and prints the value as a Code 128 barcode instead, so you never print a retail symbol that scanners would reject. Barcodes are drawn with the open-source JsBarcode library.

A worked example

Take three items for a UK shop:

  • Rice, 1 kg, £2.40. The unit price is £2.40 ÷ 1 kg = £2.40 per kg.
  • Chocolate bar, 100 g, £1.89. 100 g is 0.1 kg, so £1.89 ÷ 0.1 = £18.90 per kg.
  • Barcode 400638133393. From the right, the digits 3, 9, 3, 3, 3, 1, 8, 3, 6, 0, 0, 4 are multiplied by 3, 1, 3, 1 and so on: 9 + 9 + 9 + 3 + 9 + 1 + 24 + 3 + 18 + 0 + 0 + 4 = 89. The next multiple of 10 is 90, so the check digit is 1 and the full EAN-13 is 4006381333931.

Templates and sale tags

Three templates cover most needs. Standard shows the name, size, price, unit price and barcode. Compact fits small labels and leaves out less important lines. Sale adds a "SAVE x%" badge and shows the was price next to the new price, calculated from the two figures. You can set the currency symbol, use a decimal comma for countries that write 2,40 rather than 2.40, and add your shop name.

For a store-wide event, the "put everything on sale" option applies one percentage to every product and fills in the was prices for you. Remember to set an end date and to take the labels down when the promotion ends; advertising a was price that never applied can mislead customers.

Choosing a label sheet

The tool includes common sheet layouts:

  • Avery L7160: 21 labels per A4 sheet, each 63.5 × 38.1 mm.
  • Avery L7163: 14 per A4.
  • Avery L7651: 65 small labels per A4.
  • Avery L7159: 24 per A4.
  • Avery 5160: 30 per US Letter sheet.
  • Avery 5163: 10 per US Letter sheet.
  • Plain A4 strips for cutting, or a custom layout with your own measurements.

If a sheet is partly used, tell the tool how many labels to skip and it starts on the next free one.

Getting the print to line up

Print at 100 % or "actual size". If the browser print dialog scales to fit the page, the labels will drift. Print a test on plain paper first and hold it against a label sheet in front of a light. If everything is shifted by a millimetre or two, adjust the horizontal and vertical offsets to calibrate for your printer, then print the real sheet.

Limits

Barcodes for products you make yourself and sell through retailers need real GTINs licensed from GS1; do not invent numbers for goods in retail sale, because they may clash with other products. The unit price summaries above are general guidance, not legal advice, and rules have exemptions and local variations, so check the current rules where you trade. The tool does not connect to a till system or update prices automatically.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages