How Tracking Numbers Actually Work
Somewhere between ordering a parcel and it landing on your doorstep, you'll almost certainly type or paste a tracking number into a carrier's website more times than is strictly rational. That string of letters and digits looks arbitrary, but it's usually doing real work: identifying a specific parcel, the service level it's travelling under, and often which depot or hub it started its journey from, all compressed into a code the carrier's own systems can parse instantly.
A tracking number is a structured identifier assigned by a shipping carrier when a label is created, typically encoding the service type, the originating depot and a check digit for error detection. It's different from an order number, which the retailer generates at purchase. Formats vary completely between carriers since there's no single global standard.
What's actually encoded in a tracking number?
Most carrier tracking formats pack in more than just a random sequence. A common structure includes a segment identifying the service type, ground, express, international, a segment tied to the account or depot that generated the label, and a sequential or semi-random body identifying the specific shipment. International postal tracking generally follows the UPU S10 standard, which specifies two leading letters identifying the service category, nine digits including a check digit, and a two-letter country code at the end, like RR123456785GB. Private carriers like UPS, FedEx and DHL each maintain their own internal formats that aren't publicly standardised the same way, though most still include some form of check digit.
Why does a brand-new tracking number show nothing yet?
A tracking number frequently gets generated the moment a shipping label is printed, which can happen hours or even a day or two before the parcel is physically picked up and scanned into the carrier's network. Checking a tracking page in that window will show the number as valid but with no movement history, which understandably makes people worry something's gone wrong when actually nothing has happened yet, in either direction.
How is a tracking number different from an order number?
These get conflated constantly, but they're generated by entirely different systems. An order number is created by the retailer the moment you complete checkout, and it identifies the transaction, what you bought, what you paid, your account. A tracking number is created later, by the shipping carrier, once a physical label exists for a parcel. One order can generate multiple tracking numbers if the retailer ships your items in separate parcels, and a single tracking number only ever corresponds to one physical shipment, regardless of how many items are inside it.
Do tracking numbers ever expire or get reused?
The number itself doesn't have a formal expiry, but most carriers only retain detailed scan history for a limited window, commonly somewhere between 90 and 120 days, after which a lookup may return nothing even though the shipment genuinely happened. True reuse of an identical tracking number is rare within a carrier's active system, since numbers are typically drawn from a large reserved block per account, but it isn't mathematically impossible over a long enough timeframe once old records have aged out.
Why does the check digit in a tracking number matter?
Like a barcode or a serial number, many tracking formats end with a check digit calculated from the preceding characters, letting a scanner or a lookup system instantly reject a mistyped number rather than searching for something that was never valid in the first place. This is the same underlying principle used across barcodes, serial numbers and tracking numbers: catch errors at the point of entry rather than after a failed database lookup.
If you're building or testing a system that needs properly formatted tracking codes, the tracking code generator on this site produces batches in common carrier-style formats, entirely client-side, for documentation, QA or demo purposes.
Frequently Asked Questions
Why do tracking numbers look so different between carriers?
Because each carrier designs its own format, usually encoding which service centre or hub originated the shipment, the service type, and a check digit, with no shared standard across companies. A UPS number, a USPS number and a DHL number all follow completely different internal rules.
Does a tracking number expire?
The number itself doesn't expire, but most carriers only keep detailed scan history available for a limited window, often 90 to 120 days, after which tracking lookups may return no data even though the number was once valid.
Why does my tracking number sometimes show no information right after I get it?
A tracking number is often generated the moment a shipping label is printed, before the parcel has been physically scanned anywhere. There's a gap between "number exists" and "number has scan data" that can last anywhere from a few hours to a day or two.
Can two different packages ever share the same tracking number?
Within one carrier's active system, no, tracking numbers are allocated to be unique, often assigned from a large reserved block per shipping account. Numbers can occasionally be recycled by a carrier long after the original shipment's data has aged out of their system, though this is rare.
Is a tracking number the same as an order number?
No. An order number is generated by the retailer at the moment of purchase and identifies the transaction. A tracking number is generated by the shipping carrier once a label is created, and identifies the physical parcel moving through that carrier's network. One order can also produce several tracking numbers if it ships in multiple parcels.
Why do some tracking numbers include letters and others are all digits?
It depends entirely on the carrier and service type. International postal services following the UPU S10 standard use a format with two letters, nine digits and a country code, while many private carriers use purely numeric formats of varying length.