POSTNET

Last updated
ValueEncoding
1 POSTNET 1.svg
2 POSTNET 2.svg
3 POSTNET 3.svg
4 POSTNET 4.svg
5 POSTNET 5.svg
6 POSTNET 6.svg
7 POSTNET 7.svg
8 POSTNET 8.svg
9 POSTNET 9.svg
0 POSTNET 0.svg

POSTNET (Postal Numeric Encoding Technique) is a barcode symbology used by the United States Postal Service to assist in directing mail. The ZIP Code or ZIP+4 code is encoded in half- and full-height bars. [1] Most often, the delivery point is added, usually being the last two digits of the address or PO box number.

Contents

The barcode starts and ends with a full bar (often called a guard rail or frame bar and represented as the letter "S" in one version of the USPS TrueType Font) and has a check digit after the ZIP, ZIP+4, or delivery point. The encoding table is shown on the right.

Each individual digit is represented by a set of five bars, two of which are full bars (i.e. two-out-of-five code). The full bars represent "on" bits in a pseudo-binary code in which the places represent, from left to right: 7, 4, 2, 1, and 0. (Though in this scheme, zero is encoded as 11 in decimal, or in POSTNET "binary" as 11000.)

Encoding

San Bernardino USPS Processing and Distribution Center with valid and correct barcode on building USPS San Bernardino Center.jpg
San Bernardino USPS Processing and Distribution Center with valid and correct barcode on building

The following table shows the encoding for decimal digits:

Digit7 4 2 1 0Barcode
01 1 0 0 0 POSTNET 0.svg
10 0 0 1 1 POSTNET 1.svg
20 0 1 0 1 POSTNET 2.svg
30 0 1 1 0 POSTNET 3.svg
40 1 0 0 1 POSTNET 4.svg
50 1 0 1 0 POSTNET 5.svg
60 1 1 0 0 POSTNET 6.svg
71 0 0 0 1 POSTNET 7.svg
81 0 0 1 0 POSTNET 8.svg
91 0 1 0 0 POSTNET 9.svg
Start/Stop− − − − 1 POSTNET BAR.svg

Example

The ZIP+4 of 55555-1237 yields a check digit of 2 for encoded data of 5555512372
Together with the initials and terminal frame bars, this would be represented as:

POSTNET BAR.svg POSTNET 5.svg POSTNET 5.svg POSTNET 5.svg POSTNET 5.svg POSTNET 5.svg POSTNET 1.svg POSTNET 2.svg POSTNET 3.svg POSTNET 7.svg POSTNET 2.svg POSTNET BAR.png

Barcode formats

There have been four formats of Postnet barcodes used by the Postal Service:

A 5 digit (plus check digit) barcode, containing the basic ZIP Code only, referred to as the "A" code. 32 bars total.

A 6 digit (plus check digit) barcode, containing the last 2 digits of the ZIP Code and the 4 digits of the ZIP+4 Code, referred to as a "B" code. 37 bars total. In the early stages of Postal automated mail processing the B code was used to "upgrade" mail that had been coded only with a 5-digit "A" code. This barcode was only found on mail that received a 5-digit barcode on the initial coding by an OCR. Now obsolete.

A 9 digit (plus check digit) barcode, containing the ZIP Code and ZIP+4 Code, referred to as the "C" code. 52 bars total. The 9-digit barcode enabled the sorting of mail to the individual delivery carrier, and in some cases into a semblance of delivery sequence.

An 11 digit (plus check digit) barcode, containing the ZIP Code, ZIP+4 Code, and the delivery point code. 62 bars total. This is usually referred to as the DPBC, or Delivery Point Bar Code. By including delivery point information, it enables the Postal Service to sort mail into delivery point (address) sequence. [2]

Discontinuation

The POSTNET 11-digit barcode was the predominant postal addressing barcode in use until the Intelligent Mail barcode (also known in its early usage as OneCode Solution) [3] was introduced and implemented. The POSTNET barcode was replaced by the Intelligent Mail barcode in the fall of 2009, combining all previous Postal Service barcodes and marking into a single barcode. The Intelligent Mail barcode was originally supposed to be required beginning May 2011 however the USPS postponed the requirement date, allowing mailers to continue receiving automation discount rates using the POSTNET barcode until January 28, 2013, at which time Intelligent Mail barcode was required for those reduced rates. [4] [5]

Checkdigit algorithm

The check digit is chosen so that the sum of all digits in the bar code is a multiple of 10. Equivalently, the modulo-10 sum is 0.

To calculate the check digit:

  1. Add up the digits. For example, if a letter is sent to Young America, Minnesota, it might be sent to 55555-1237, which would have the sum of 38.
  2. Find the remainder of this number when it is divided by 10, in this case 8. This is also known as the sum modulo 10. A simple way to combine the two steps is to sum the digits without a tens column at all, but discard all carries.
  3. Subtract the sum modulo 10 from 10. Continuing with the example, 10 − 8 = 2. The check digit is therefore 2.

If calculated correctly, the sum of the ZIP, ZIP+4, or ZIP+4+delivery point digits and the check digit will always be a multiple of 10. Continuing with the example above, (5+5+5+5+5+1+2+3+7+2) = 40, and 40 mod 10 = 0.

Note that the Delivery Point is often added after the ZIP+4 and before the check digit, in which case the computation of the check digit includes the ZIP+4 and the Delivery Point.

See also

Related Research Articles

<span class="mw-page-title-main">Two-out-of-five code</span> Error-detection code for decimal digits

A two-out-of-five code is a constant-weight code that provides exactly ten possible combinations of two bits, and is thus used for representing the decimal digits using five bits. Each bit is assigned a weight, such that the set bits sum to the desired value, with an exception for zero.

<span class="mw-page-title-main">ZIP Code</span> Numeric postal code used in the United States and its territories

A ZIP Code is a system of postal codes used by the United States Postal Service (USPS). Introduced on July 1, 1963, the basic format consisted of five digits. In 1983, an extended ZIP+4 code was introduced; it included the five digits of the ZIP Code, followed by a hyphen and four digits that designated a more specific location.

<span class="mw-page-title-main">Universal Product Code</span> Barcode symbology used for tracking trade items in stores

The Universal Product Code is a barcode symbology that is widely used worldwide for tracking trade items in stores.

<span class="mw-page-title-main">Code 39</span> Variable length, discrete barcode symbology

Code 39 is a variable length, discrete barcode symbology defined in ISO/IEC 16388:2007.

A check digit is a form of redundancy check used for error detection on identification numbers, such as bank account numbers, which are used in an application where they will at least sometimes be input manually. It is analogous to a binary parity bit used to check for errors in computer-generated data. It consists of one or more digits computed by an algorithm from the other digits in the sequence input.

<span class="mw-page-title-main">PDF417</span> Type of barcode

PDF417 is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. "PDF" stands for Portable Data File. The "417" signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. The PDF417 symbology was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991. It is defined in ISO 15438.

<span class="mw-page-title-main">Code 128</span> Barcode format

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1.. It generally results in more compact barcodes compared to other methods like Code 39, especially when the texts contain mostly digits. Code 128 was developed by the Computer Identics Corporation in 1981.

In a postal system, a delivery point is a single mailbox or other place at which mail is delivered. It differs from a street address, in that each address may have several delivery points, such as an apartment, office department, or other room. Such buildings are often called multiple-dwelling units (MDUs) by the USPS.

<span class="mw-page-title-main">Code 93</span>

Code 93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada Post to encode supplementary delivery information. Every symbol includes two check characters.

<span class="mw-page-title-main">PostBar</span>

PostBar, also known as CPC 4-State, is the black-ink barcode system used by Canada Post in its automated mail sorting and delivery operations. It is similar to other 4 State barcode systems used by Australia Post and the United Kingdom's Royal Mail, but uses an obscured structure and encoding system unique to Canada Post. This particular bar code system is used on "flats" and parcels.

<span class="mw-page-title-main">International Article Number</span> Standard barcode system used in global trade

The International Article Number is a standard describing a barcode symbology and numbering system used in global trade to identify a specific retail product type, in a specific packaging configuration, from a specific manufacturer. The standard has been subsumed in the Global Trade Item Number standard from the GS1 organization; the same numbers can be referred to as GTINs and can be encoded in other barcode symbologies defined by GS1. EAN barcodes are used worldwide for lookup at retail point of sale, but can also be used as numbers for other purposes such as wholesale ordering or accounting. These barcodes only represent the digits 0–9, unlike some other barcode symbologies which can represent additional characters.

The Postal Alpha Numeric Encoding Technique (PLANET) barcode was used by the United States Postal Service to identify and track pieces of mail during delivery - the Post Office's "CONFIRM" services. It was fully superseded by Intelligent Mail Barcode by January 28, 2013.

Codabar is a linear barcode symbology developed in 1972 by Pitney Bowes Corp. It and its variants are also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4. Although Codabar has not been registered for US federal trademark status, its hyphenated variant Code-a-bar is a registered trademark.

<span class="mw-page-title-main">MSI Barcode</span> Barcode symbology

MSI is a barcode symbology developed by the MSI Data Corporation, based on the original Plessey Code symbology. It is a continuous symbology that is not self-checking. MSI is used primarily for inventory control, marking storage containers and shelves in warehouse environments.

<span class="mw-page-title-main">RM4SCC</span>

RM4SCC is the name of the barcode character set based on the Royal Mail 4-State Bar Code symbology created by Royal Mail. The RM4SCC is used for the Royal Mail Cleanmail service. It enables UK postcodes as well as Delivery Point Suffixes (DPSs) to be easily read by a machine at high speed.

<span class="mw-page-title-main">Intelligent Mail barcode</span>

The Intelligent Mail Barcode (IMb) is a 65-bar barcode for use on mail in the United States. The term "Intelligent Mail" refers to services offered by the United States Postal Service for domestic mail delivery. The IM barcode is intended to provide greater information and functionality than its predecessors POSTNET and PLANET. An Intelligent Mail barcode has also been referred to as a One Code Solution and a 4-State Customer Barcode, abbreviated 4CB, 4-CB or USPS4CB. The complete specification can be found in USPS Document USPS-B-3200. It effectively incorporates the routing ZIP Code and tracking information included in previously used postal barcode standards.

<span class="mw-page-title-main">Code 11</span> Barcode symbology

Code 11 is a barcode symbology developed by Intermec in 1977, and it is used primarily in telecommunications. The symbol can encode any length string consisting of the digits 0–9 and the dash character (-). A twelfth code represents the start/stop character, commonly printed as "*". One or two modulo-11 check digit(s) can be included.

Machine-readable postal marking may refer to:

Industrial 2 of 5. is a variable length, discrete, two width symbology. Industrial 2 of 5 is a subset of two-out-of-five codes.

<span class="mw-page-title-main">Matrix 2 of 5</span>

Matrix 2 of 5 is a variable length, discrete, two width symbology. Matrix 2 of 5 is a subset of two-out-of-five codes. Unlike Industrial 2 of 5 code, Matrix 2 of 5 can encode data not only with black bars but with white spaces.

References

  1. Publication 25, Designing Letter and Reply Mail (PDF). United States: United States Postal Service. July 2003. pp. 37–56. Archived from the original (PDF) on 2005-01-18.
  2. United States Postal Service, Domestic Mail Manual 708.4 - Special Standards, Technical Specifications, Barcoding Standards for Letters and Flats. "Archived copy" (PDF). Archived from the original (PDF) on 2010-08-05. Retrieved 2010-01-02.{{cite web}}: CS1 maint: archived copy as title (link)
  3. "POSTNET Barcode Discontinuation" (PDF).
  4. "Postal Service Relaxes Upcoming Requirements for Automation Prices". Archived from the original on 2011-03-08.
  5. "Intelligent Mail Services Latest News" (PDF). United States Postal Service. September 21, 2012. Retrieved 2012-09-27. The Intelligent Mail barcode, formerly referred to as the 4-State Customer barcode, is a new Postal Service barcode used to sort and track letters and flats. The Postal Service is promoting use of the Intelligent Mail barcode because it expands the ability to track individual mailpieces and provides customers with greater visibility into the mailstream.