Somewhere right now, your package is being flung down a conveyor belt at high speed, photographed from six angles simultaneously, tattooed with an invisible barcode, and sorted into one of a hundred bins — all in about two seconds. Nobody is watching. The machines have it handled.

The USPS operates more than 9,000 pieces of automated equipment across the country, and together they process roughly half the world's mail. That's not a typo. The United States Postal Service, the same one you interact with through a little blue box on the corner, runs the largest postal automation system on earth.

Here's what's actually happening inside.

Step 1: Culling — the machine figures out what it's holding

The first problem any sorting system faces is variety. Mail arrives in every conceivable shape, size, and orientation — envelopes, padded mailers, small boxes, bubble wrap covered in handwritten addresses in three different ink colors. The machine can't assume anything.

The first stage is called culling. Heavy-duty conveyor rollers separate flat letters from packages from flats (oversized envelopes). Letters get oriented face-up, address side forward. The machine physically flips and rotates pieces using a combination of rollers, air jets, and mechanical guides — thousands of times per minute, without stopping.

Anything that can't be automatically oriented gets flagged and diverted for human review. But this is a small fraction. The machines are very good.

Step 2: OCR — reading your handwriting at machine speed

Once a letter is oriented, it passes under an Optical Character Reader. The USPS's OCR technology is the world leader in this space: its machines read handwritten addresses correctly about 98% of the time. For machine-printed mail, accuracy climbs above 99.5%.

The OCR doesn't just recognize letters and numbers. It understands address formats, cross-references against the USPS address database, infers missing ZIP codes from street names, and handles abbreviations ("St" vs "Street", "Ave" vs "Avenue"). When a human would have to squint and guess, the machine queries a database of 160 million addresses and picks the most likely match.

When the OCR fails — about 3 to 7% of the time — the piece doesn't stop moving. Instead, a photo of the address is instantly sent over a network to a human "video coder" sitting at a terminal somewhere in the country. That person reads the address, types it in, and sends it back — all while the physical letter continues traveling down the line. The barcode catches up with the letter before it reaches the sorting stage.

Step 3: The barcode tattoo

Here's the clever bit. After the address is read and verified, the machine sprays a POSTNET or Intelligent Mail barcode directly onto the bottom of the envelope in fluorescent ink. This barcode encodes the exact delivery address down to the individual delivery point — not just the city, not just the ZIP code, but the specific house on the specific street.

Every subsequent machine downstream doesn't need to read the address again. It just scans the barcode, which can be read at any orientation, at full conveyor speed. The barcode is the letter's passport through the system.

Step 4: Sorting — the part that looks like science fiction

The sorting machines are large. The newest generation — called the Matrix Regional Sorter — can sort up to 52,600 packages per hour and occupies roughly the footprint of three football fields. The Avondale, Arizona facility runs one that processes around 500,000 packages per day.

Packages travel down conveyor belts until they reach a divert point. At each divert, sensors read the barcode and a series of rollers, belts, or pneumatic pushers redirect the piece into the correct chute. The whole system branches like a tree — first by region, then by city, then by ZIP code, then by carrier route, and finally into walk sequence order: the exact order the mail carrier will walk their route.

That last part is subtle but significant. Mail carriers used to arrive at work at 5am and spend two hours manually sorting their route's mail before ever leaving the building. Now they arrive and the mail is already sorted in the exact sequence they'll walk. The machine did it overnight.

The numbers that make this real

  • The USPS processes roughly 425 million pieces of mail per day
  • The largest machines sort packages with 99.95% accuracy
  • Tray sorting systems move over 10 million trays per day
  • When the machines fail or slow down, the effects are felt immediately — the 2020 controversy over decommissioning 671 sorting machines caused measurable mail delays within weeks

What's remarkable isn't any single piece of technology. It's the integration: OCR feeding data to video coders feeding data to barcodes feeding data to mechanical sorters, all without the mail ever stopping moving, across thousands of facilities, handling letters addressed in crayon by six-year-olds with as much reliability as laser-printed business envelopes.

The postal worker who delivers your mail is the only human in a system that is otherwise almost entirely automated. The invisible infrastructure between the mailbox you dropped your letter in and the door it gets delivered to runs 24 hours a day, at a scale most people never think about.

They probably shouldn't have to. That's the point.