Back to blogs
Lab Inventory

Sample ID Naming Convention: How to Label Lab Tubes and Plates

December 2, 2026
4 min
Sample ID Naming Convention: How to Label Lab Tubes and Plates

TL;DR

  • A good sample ID naming convention gives every sample a unique, permanent and short ID that is never reused.
  • Print the ID as text next to the barcode, and keep all other details in your records.
  • Use Data Matrix for tube bottoms and racks, QR for phone scans and Code 128 for handheld side scans.
  • Label a 96 well plate on two sides and the lid, and mark the A1 corner.

Make your sample labels now with Scispot's free lab label maker.

Many labs still name samples by hand. A paper in PLOS Computational Biology gives a typical example: "JP PCR 8/23 4." The authors state that manual sample names "are time-consuming to generate, difficult to interpret, and often contain insufficient information." Hand-made names also sort in the wrong order, change in spreadsheets and come off in the freezer. This guide shows how to set up a sample ID naming convention for lab tubes and plates: rules, formats, label content, barcode choice and plate labels.

What makes a good sample ID naming convention?

A good sample ID naming convention is a written rule that gives every sample a short, unique and permanent ID. Follow these six rules.

  1. Make each ID unique, and never reuse it. Do not give an ID to a new sample, even after you discard the old one. Sandorian, a lab software vendor, states: "An ID assigned to a disposed sample must never be reused."
  2. Let the ID point to the record. The PLOS authors write that a sample ID "provides a link between a physical sample and a database entry." Keep the date, owner, contents and location in that record.
  3. Use a fixed-width, zero-padded number. Without padding, "S-100 files between S-10 and S-11" (tinysamples). The ETH Zurich Genetic Diversity Centre shows the same problem: WS-SG10 sorts before WS-SG2. Pad the number, for example 0142.
  4. Add a short prefix, and start with a letter. A prefix "may help interpret the ID" (PLOS). LabKey Sample Manager uses "S-" as its default prefix. LabKey also warns against numbers-only sample IDs, and ETH notes that R identifiers cannot start with a digit.
  5. Use one separator, preferably a hyphen. Sequencer file names already use underscores, for example SampleID_S1_L001_R1_001.fastq.gz. A hyphen inside the ID keeps these file names easy to split (ETH Zurich). Note: LabKey search needs quotes around a hyphenated ID.
  6. Keep personal data off the label, and avoid look-alike characters. Do not print patient names or other personal details on the tube. Sandorian advises to exclude 0, O, 1, I and l from any part of the ID that people copy by hand. Some labs add a check digit, which lets a system detect a misread ID (Sandorian).

3 sample ID formats you can copy

Choose one format, and use it for every sample.

FormatExampleUse whenBreaks when
Plain counterS-0142One lab shares one list and one counterTwo people assign numbers from memory
Project prefixPRJ-0142Several projects each own a counterA project gets a new name, or a sample moves to another project
Project + date + counterPRJ-261202-001People must read the project and the day from the IDA counter reset repeats an earlier ID, or the ID date differs from the record date

The first two formats follow tinysamples' examples.

Should the ID include a date? A date is optional. It helps people read the ID, but guides do not agree. Sandorian warns that date-embedded IDs "create collision risk when intake volume grows and counter resets are mismanaged." tinysamples advises to keep dates in a separate date column. Spreadsheets also change values that look like dates: tinysamples reports that in 2020 the HUGO Gene Nomenclature Committee renamed 27 human genes to stop Excel from turning them into dates. If you use a date, never let a counter reset repeat an ID. Keep the true date in the record.

In Scispot's free label tool, you set the Prefix, Date (YYMMDD, YYYYMMDD or None), Separator, Start at and Digits fields.

What to print on a lab tube label

Print the sample ID as text and as a barcode. People read the text, and scanners read the code. The PLOS authors state that the sample ID "is the only piece of information that needs to be printed on the sample label." Keep all other details in your records.

Regulated work can need more. For regulated bioanalysis, the Global Bioanalysis Consortium states: "All samples must be labeled clearly with a unique identity. Handwritten labels should not be used." It advises this minimum label content: protocol number, subject or animal number, visit or time, matrix and a unique identifier. In clinical studies, labels must not show the subject's name or other identifying personal information.

SWOG's specimen labeling guide notes that "cold storage can make the labels come off easily." Follow these steps:

  • Choose a labeling system that is "suitable for (permanent) cryogenic storage" (ATCC).
  • Label the tubes before you freeze them (SWOG).
  • Apply the labels to dry tubes at room temperature.
  • Wrap the label around the tube, so the overlap sits on top of the label (SWOG).
  • Test a few labels before you print a full batch.

To make tube labels now, use the free lab tube label generator. When many samples arrive, labeling is one step of sample accessioning.

Data Matrix vs QR code vs Code 128 for lab tubes

Use Data Matrix for small tubes and rack scanning, QR when people scan with a phone, and Code 128 for side labels read by handheld scanners.

FeatureData MatrixQR codeCode 128
Type2D2D1D (linear)
ISO/IEC standard160221800415417
Smallest symbol10 × 10 modules21 × 21 modulesGets wider with each character
Quiet zone1 module4 modules10 × the bar width on each side (Scispot tool setting)
Scanner2D imager or phone camera2D imager or phone cameraAlmost any handheld scanner
Typical lab useTube bottoms and rack scanningLarger labels and phone scansSide labels on tubes and boxes

Choose Data Matrix for rack scanning and small tube bottoms. Eppendorf states that its RackScan reads "2D barcodes on up to 96 cryogenic sample vials within a rack." Micronic laser-etches Data Matrix codes on tube bottoms, and its hybrid tubes add a 1D code on the side.

Choose QR when people scan with a phone. In Scispot's free tool, the QR code holds a short link to a Scispot sample card. If the code must hold the ID alone, choose Code 128 or Data Matrix.

Choose Code 128 for handheld 1D scanners and long, narrow side labels. Keep the ID short.

Both 2D codes are royalty-free. In 2023, the ICH M2 expert working group recommended Data Matrix and/or QR codes per ISO/IEC 16022 and ISO/IEC 18004. For hardware, see our guide to lab label printers. For scanning at scale, read about barcode sample tracking.

How to label a 96 well plate or a 96-tube rack

A 96 well plate has rows A to H and columns 1 to 12, with A1 at the top left. The ANSI/SLAS standards (1-2004 and 4-2004) set a footprint of 127.76 mm × 85.48 mm, with a 9 mm well pitch.

PakGent Bio, a plate maker, writes: "Most lost samples are not lost in the assay — they are lost between the rack and the plate." It gives these rules:

  • Label the plate on two sides plus the lid, with the plate ID, date and experiment code.
  • Mark the A1 corner.
  • Use sample IDs on the plate map that match the tube labels exactly.
  • On shared plates, ask a second person to check the map against the tube rack before the first pipetting step.

A 96-tube rack uses the same A1 to H12 grid, so one ID rule can name both. If you use a 96 well plate label template, check it against these rules. To see one ID rule fill a full rack, open the 96-tube rack preview. The tool also exports a CSV file that you can import into your LIMS. When labels alone are not enough, move to sample traceability.

From labels to tracked samples. Bring your sample IDs, labels and records together with Scispot. Scispot "supports barcode scanning and label printing, and scans can update sample status and location in real time," according to its sample traceability page. Label formats, ID schemas and printers are set up during implementation. Book a Demo →

On this page
Ready to scale?

Run your lab without adding manual work.

See how Scispot connects your workflows, data, and quality processes.

Claim workflow audit

ArrowRight

FAQs

What is a sample ID naming convention?

Should a sample ID include the date?

A date is optional. It helps people read the ID at a glance. But a counter that resets each day can create duplicate IDs if it is managed badly. Spreadsheets can also change values that look like dates. If you add a date, keep each ID unique, and record the true date in a separate field.

Is Data Matrix or QR code better for lab tubes?

Data Matrix is usually better for tube bottoms and rack scanning. It needs fewer modules and a smaller quiet zone than QR, so it fits small tubes. QR is better for larger labels and phone scans. Both are 2D codes, so they need a 2D imager or a phone camera. For handheld 1D scanners, use Code 128.

What should go on a 96 well plate label?

Put the plate ID, the date and the experiment code on the label. PakGent Bio advises to label two sides of the plate plus the lid, because lids get swapped. Mark the A1 corner so that the orientation stays clear. Use sample IDs on the plate map that match the tube labels exactly.

Can I make lab tube labels for free?

Yes. Scispot offers a free lab tube label generator. Set one ID rule, preview it on a 96-tube rack, and choose QR code, Code 128 or Data Matrix. Then print the labels, or download a PDF, ZPL or CSV file. The IDs, codes, PDF and CSV are generated in your browser. To save a scheme, the page asks for a work email.

Check Out Our Other Blog Posts

View all