Skip to content
barcoder

Standards/postnet

POSTNET

TypePostal Height-Modulated
PrimaryUS
Completeness70%high

Overview

POSTNET (Postal Numeric Encoding Technique) is the two-state barcode that the United States Postal Service (USPS) developed to encode ZIP Code information on mail so that automated machines could sort it 9. A symbol holds a 5-digit ZIP Code (32 bars), a 9-digit ZIP+4 code (52 bars) or an 11-digit delivery point code (62 bars), followed by a correction (check) digit and framed by two full bars 89. Each digit is five bars, of which two are tall and three short 13.

The four-state Intelligent Mail Barcode (IMb) replaced it. POSTNET lost eligibility for automation prices on 28 January 2013, and USPS removed every reference to it from the Domestic Mail Manual (DMM) on 11 October 2018 47. USPS still processes mail that carries a POSTNET barcode, so that customers can use up preprinted stock 7.

History

Origins. No source found in this research names the designers of POSTNET or gives the year its specification was first published. Its introduction belongs to the USPS automation programme of the early 1980s. The Annual Report of the Postmaster General for 1983 records 96 optical character reader/channel sorters installed in 58 major mail processing centres and 156 bar code sorters in place at 62 sites. It expected 252 OCRs and 248 BCRs in the 118 largest facilities by the end of 1984 10. The same report says price incentives for mailers using ZIP+4 took effect on 9 October 1983 10. It does not name the barcode format.

Formats. Wikipedia describes 4 formats used over time: the 5-digit "A" code (32 bars), a 6-digit "B" code (37 bars), the 9-digit "C" code (52 bars) and the 11-digit Delivery Point Bar Code (DPBC, 62 bars) 11. The "B" code held the last 2 digits of the ZIP Code and the 4 digits of the ZIP+4 add-on. It was used to "upgrade" mail that an OCR had first coded only with a 5-digit barcode, and it is now obsolete 11. The 2003 DMM already lists only the 5-, 9- and 11-digit forms 8.

Replacement by the Intelligent Mail barcode (2008–2013).

  • In its final rule of 21 August 2008, USPS offered full-service Intelligent Mail from May 2009. It did not make the IMb compulsory for automation prices in May 2009, and said it would "continue to allow POSTNET barcodes on automation letters and flats until May 2011" 1. The same rule said USPS would keep the PLANET Code barcode for Confirm service as long as POSTNET stayed valid for automation prices 1.
  • On 13 January 2011, USPS announced that automation discounts for mail with POSTNET barcodes would continue "beyond May 2011". POSTNET would also stay valid for Business Reply Mail, Qualified Business Reply Mail (QBRM) and Permit Reply Mail, and PLANET Code for Confirm service 2.
  • A proposed rule of 2 March 2012 set a timetable to end POSTNET for price eligibility on all mail 3. The final rule of 3 May 2012 took effect on 28 January 2013. It required an IMb on all automation letters and flats and on QBRM pieces, and it ended POSTNET as a way to meet the barcode requirement on Standard Mail parcels 4. USPS received 27 comments: 11 criticised the main proposal and 6 supported it 4. Asked to keep POSTNET at a higher price, USPS replied that "the POSTNET barcode is not capable of including information other than the routing code" 4. A correction of 6 June 2012 added Periodicals rules left out of the final rule, with the same effective date 5.

Removal from the DMM (2018). After 2013 the DMM still referred to POSTNET, because it remained valid for some Business Reply Mail prices and in other cases 6. A proposed rule of 23 July 2018 cited "the limited use of the POSTNET barcode" 6. The final rule removed every reference to POSTNET from the DMM with effect from 11 October 2018, after 1 formal response, which agreed 7.

Technical specification

The rules below come from the DMM: section C840 in the 2003 edition and section 204.1.2 in the 2017 edition, which use the same wording 89.

Parameter Value
Symbology Linear, height-modulated, 2 states (full bar, half bar) 9
Character set Digits 0–9 13
Bars per digit 5, of which 2 are full bars ("two-out-of-five") 1113
Frame bars First and last bar, always full 9
Check digit 1 "correction digit", modulo 10 9
Full bar height 0.125 ± 0.010 in 9
Half bar height 0.050 ± 0.010 in 9
Bar width 0.020 ± 0.005 in 9
Density 22 ± 2 bars per inch, measured over any ½ in 9
Pitch (bar + space) Average 0.0416–0.05 in 9
Space between bars 0.012–0.04 in 9

Lengths. The DMM defines 3 fields 9:

Field Data digits Bars Make-up
5-digit barcode 5 (ZIP Code) 32 frame + 25 + 5 (correction digit) + frame
ZIP+4 barcode 9 (ZIP+4) 52 frame + 45 + 5 (correction digit) + frame
Delivery point barcode (DPBC) 11 (ZIP+4 + 2) 62 the ZIP+4 barcode plus 10 bars for 2 more digits

The 2 extra digits of the delivery point code are added directly after the ZIP+4 code 4. The DMM requires the DPBC to come from a CASS-certified delivery point address matching process. For a unique ZIP Code or ZIP+4 assigned to one business, it gives the last 2 digits of the primary street number or box number as the delivery point digits 9.

Digit encoding. A tall bar stands for "1" and a short bar for "0" 9. The 5 positions carry the weights 7, 4, 2, 1 and 0, and the two "1" positions add up to the digit. Zero is the exception: it is coded 11000 (7 + 4 = 11) 11. BWIPP's encoder carries the same table, writing a full bar as 5 and a half bar as 2 16:

Digit Weights 7 4 2 1 0 Digit Weights 7 4 2 1 0
0 1 1 0 0 0 5 0 1 0 1 0
1 0 0 0 1 1 6 0 1 1 0 0
2 0 0 1 0 1 7 1 0 0 0 1
3 0 0 1 1 0 8 1 0 0 1 0
4 0 1 0 0 1 9 1 0 1 0 0

Correction digit. It is the single digit that, added to the sum of the ZIP Code (or ZIP+4, or delivery point code) digits, makes the total a multiple of 10 9. Wikipedia's example: ZIP+4 55555-1237 has a digit sum of 38, so the check digit is 2 and the encoded data is 5555512372 11. The digit only detects errors; there is no error correction.

Placement. On letters, the 2003 DMM let the barcode go in the address block or in a barcode clear zone in the lower right corner. That zone runs 4¾ in from the right edge and ⅝ in up from the bottom edge 8. A barcode printed in the lower right corner had to start 3½–4¼ in from the right edge, with the bottom of its bars ¼ ± 1/16 in above the bottom edge 8. Combined skew was limited to ±5° 8.

Vendor figures that differ. Seagull Scientific's barcode guide gives 21 ± 1 bars per inch, bar widths of 0.015–0.025 in and bar-plus-space pairs of 0.045–0.050 in. It also asks for quiet zones of 0.04 in above and below and 0.125 in left and right 13. The DMM's own values in the table above are the authority.

Use cases

  • Automation-price letters and flats. Until 28 January 2013, a POSTNET barcode carrying a delivery point routing code was one of the two ways to qualify letters and flats for automation prices; the other was an IMb 14.
  • Reply mail. Business Reply Mail, QBRM and Permit Reply Mail could carry POSTNET until 2013 24. Some Business Reply Mail prices still accepted it after 2013 6. The FIM pattern "A" marks courtesy reply mail and metered reply mail that carry a preprinted POSTNET symbol 19.
  • Standard Mail parcels. Until 2013, POSTNET could meet the barcode requirement for Standard Mail parcels. The 2012 rule then allowed it on parcels only in the address block, earning no barcode price, and banned it from eVS parcels 4.
  • Confirm tracking with PLANET. USPS kept PLANET Code for its Confirm tracking service only as long as POSTNET stayed valid for automation prices 1. The two were typically used together for Confirm 14.
  • Brazil (CEPNet). The Brazilian postal service Correios uses CEPNet, which has POSTNET's bars and carries the 8-digit CEP postal code 1519.
  • Scanning in logistics hardware. Honeywell and Zebra scanners can still be set to read it. Honeywell's A730 registry settings switch POSTNET off by default and transmit the check digit by default 24. Zebra's RS6100 guide has a "US Postnet" parameter, #89 (SSI #59h) 25.

Implementations

Encoders.

  • BWIPP (PostScript, postnet) accepts 5, 9 or 11 digits without dashes and adds the check digit itself 1516. The validatecheck option takes the last digit as the check digit and rejects a wrong one; includetext and includecheckintext control the human-readable text 15. The default full-bar height is 0.125 in, and a half bar is 2/5 of that 16. BWIPP added POSTNET on 3 December 2004 and input validation on 1 June 2013 17.
  • bwip-js (JavaScript), the playground's renderer, is a translation of BWIPP into JavaScript 18. Version 4.11.0, which bundles BWIPP 2026-05-28 and is the version this site uses, encodes postnet with the options includetext, validatecheck and includecheckintext. Like BWIPP, it rejects any length other than 5, 9 or 11 digits (checked locally, 9 Nov 2026).
  • Zint (C) encodes POSTNET as BARCODE_POSTNET (40). It accepts up to 38 digits but warns unless the input is 5, 9 or 11 digits (PostNet6, PostNet10, PostNet12) 19. Zint lists "USPS DMM 300 2006 (2011)" as its reference for POSTNET, PLANET and FIM 19.
  • OkapiBarcode (Java) has one Postnet class with a POSTNET and a PLANET mode, and rejects input longer than 38 digits 20.

Decoders. ZXing and zxing-cpp do not list POSTNET or any other postal code among their supported formats 2122. No maintained open-source image decoder was found. Douglas B. Quine's web page decodes POSTNET and PLANET from text typed as 1 for a tall bar and . for a short bar. It reports bad checksums and bad digits, but does not read images 23. Hardware scanners from Honeywell and Zebra decode it once the symbology is enabled 2425.

Comparison

POSTNET PLANET Intelligent Mail Barcode
Bar states 2 (full, half) 9 2, bars inverted from POSTNET 1214 4 (full, ascender, tracker, descender) 9
Bars 32, 52 or 62 9 — 65 9
Content Routing code only 4 Tracking for Confirm 112 20-digit tracking code + up to 11-digit routing code 9
Check Modulo-10 correction digit 9 Modulo-10 check digit 19 No correction digit 9
Status Out of the DMM since 11 Oct 2018 7 Superseded by Jan 2013 12 Current 9

vs. PLANET. PLANET reuses POSTNET's bar geometry with the two bar heights swapped, so each digit has 3 tall bars and 2 short ones 1214. It carried tracking data for Confirm rather than ZIP routing data 112. Zint and OkapiBarcode build both from one routine 1920.

vs. the Intelligent Mail barcode. The IMb carries both the routing code and tracking data, with a Mailer ID, service indicators and per-piece visibility 19. POSTNET carries only the routing code, which is the reason USPS gave for refusing to keep it at any automation price 4.

When to use it. Not for new US mail: since 2013, POSTNET earns no automation price 4. It matters only for reading or reproducing old mailpieces and preprinted stock, which USPS still processes 7.

Fun facts

  • Zero is coded as 11. In the 7-4-2-1-0 scheme, every digit except zero is the sum of its two tall bars. Zero takes the 7 and 4 positions, a value of 11 11.
  • Two dates for one deadline. The 2012 final rule gives its effective date as 28 January 2013, but its text says the IMb is required "as of January 27, 2013" 4. The 2018 proposed rule also says the change took effect on 27 January 2013 6.

Status

Withdrawn. POSTNET has earned no automation price since 28 January 2013 4. USPS removed it from the DMM on 11 October 2018, citing its limited use 7. USPS "will continue to process mailpieces with a POSTNET barcode to accommodate customers who may have preprinted stock bearing a POSTNET barcode" 7. The Intelligent Mail Barcode replaced it. Open-source encoders still support POSTNET 151920, and Honeywell and Zebra scanners can still read it 2425.

Sources

Deployments

No country reports mention this standard by name.

source · content/standards/postnet/index.md