Slashed zero

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Display of zero in three typefaces, from top to bottom: slashed zero, dotted zero, plain or open zero

The slashed zero is a representation of the number "0" (zero), with a slash through it. The slashed zero glyph is often used to distinguish the digit "zero" ("0") from the Latin script letter "O" anywhere that the distinction needs emphasis, particularly in encoding systems, scientific and engineering applications, computer programming (such as software development), and telecommunications. It thus helps to differentiate characters that would otherwise be homoglyphs. It was commonly used during the punched card era, when programs were typically written out by hand, to avoid ambiguity when the character was later typed on a card punch.

Unlike in the Scandinavian vowel "Ø" and the "empty set" symbol "∅", and the diameter symbol , the slash of a slashed zero usually does not extend past the ellipse in most typographic designs. However, the slashed zero is sometimes approximated by overlaying zero and slash characters, producing .[a]


The slashed zero long predates computers, and is known to have been used in the twelfth and thirteenth centuries.[1] It is used in many Baudot teleprinter applications, specifically the keytop and typepallet that combines "P" and slashed zero.[2] Additionally, the slashed zero is used in many ASCII graphic sets descended from the default typewheel on the Teletype Model 33.[3]


Slashed zeroes on a bus stop sign in Portugal, 2020.

The slashed zero is used in a number of fields in order to avoid confusion with the letter 'O'. It is used by computer programmers, in recording amateur radio call signs and in military radio, as logs of such contacts tend to contain both letters and numerals.

The slashed zero, sometimes called communications zero, was used on teleprinter circuits for weather applications.[4]

The slashed zero can be used in stoichiometry to avoid confusion with the symbol for oxygen (capital O).

The slashed zero is also used in charting and documenting in the medical and healthcare fields to avoid confusion with the letter 'O'. It also denotes an absence of something (similar to the usage of an 'empty set' character), such as a sign or a symptom.

Along with the Westminster, MICR, and OCR-A fonts, the slashed zero became one of the things associated with hacker culture in the 1980s. Some cartoons depicted computer users talking in binary code with 1s and 0s using a slashed zero for the 0.

To generate a slashed zero on typewriters, typists would type a normal "O" or zero, backspace, and then hit the slash key to mark the zero.

The use of the slashed zero by many computer systems of the 1970s and 1980s inspired the 1980s space rock band Underground Zerø to use a heavy metal umlaut Scandinavian vowel ø in the band's name and as the band logo on all their album covers (see link below).

Slashed zeroes have been used in the Flash-based artwork of Young-Hae Chang Heavy Industries, notably in their 2003 work, Operation Nukorea. The reason for their use is unknown, but has been conjectured to be related to themes of 'negation, erasure, and absence'.[5]

Slashed zeroes can also be used on cheques in order to prevent fraud, for example: Changing a 0 to an 8.[citation needed]

Slashed zeros are used on New Zealand number plates.[6]

Representation in Unicode and HTML[edit]

The treatment of slashed zero as a glyph is supported by any font whose designer chose the option. Successful display on any local system depends on having the font available there, either via the system's font files or via font embedding.

Unicode supports explicit slashed zero, but only via a pair of combining characters, not as a distinct single character (or code point, in Unicode parlance). It is treated literally as "a zero that is slashed", and it is coded as two characters: the commonplace zero and then the "combining long solidus overlay" U+0338. These combining characters overlay the preceding character, creating a composite glyph: . This may be written in HTML as 0̸.

Unicode 9.0 introduced another method to create a short diagonal stroked form by adding the Variation Selector 1 U+FE00 after the zero,[7] on this browser it produces 0︀.

Similar symbols[edit]

The slashed zero has the disadvantage that it can be confused with several other symbols:

  • The slashed zero causes problems in all languages because it can be mistaken for 8, especially when lighting is dim, imaging or eyes are out of focus, or printing is small compared to the dot size.
  • It causes problems for some Scandinavian languagesØ is used as a letter in the Danish, Faroese, and Norwegian alphabets, where it represents [ø] or [œ].
  • It also resembles the Greek letters Theta and Phi in some fonts (although usually, the slash is horizontal or vertical, respectively).
  • The symbols Ø and "∅" (U+2205) are used in mathematics to refer to the empty set.
  • "⌀" — the diameter symbol (U+2300 in Unicode).
  • In German-speaking countries, Ø is also used as a symbol for average value: average in German is Durchschnitt, directly translated as cut-through.[8]


Dotted zero[edit]

The zero with a dot in the center seems to have originated as an option on IBM 3270 display controllers. The dotted zero may appear similar to the Greek letter theta (particularly capital theta, Θ), but the two have different glyphs. In raster fonts, the theta usually has a horizontal line connecting, or nearly touching, the sides of an O; while the dotted zero simply has a dot in the middle. However, on a low-definition display, such a form can be confused with a numeral 8. In some fonts the IPA letter for a bilabial click (ʘ) looks similar to the dotted zero.

Alternatively, the dot can become a vertical trace, for example by adding a "combining short vertical line overlay" (U+20D3). It may be coded as 0⃓ giving 0⃓.

Slashed 'O'[edit]

Apollo 11 video display terminal with a slashed O

IBM (and a few other early mainframe makers) used a convention in which the letter O had a slash and the digit 0 did not.[9] This is even more problematic for Danes, Faroese, and Norwegians because it means two of their letters—the O and slashed O (Ø)—are visually similar.

This was later flipped and most mainframe chain or band printers used the opposite convention (letter O printed as is, and digit zero printed with a slash Ø). This was the de facto standard from 1970s to 1990s. However current use of network laser printers that use PC style fonts caused the demise of the slashed zero in most companies - only a few configured laser printers to use Ø.

Short slash[edit]

Use of the "combining short solidus overlay" (U+0337) produces a result where the slash is contained within the zero. This may be coded as 0̷ to yield 0̷.

Reversed slash[edit]

Some Burroughs/Unisys equipment displays a zero with a reversed slash, similar to the no symbol,  ⃠.


German license plate depicting diagonal gap

Yet another convention common on early line printers left zero unornamented but added a tail or hook to the letter-O so that it resembled an inverted Q (like U+213A ) or cursive capital letter-O ().[10]

In the Fixedsys typeface, the numeral 0 has two internal barbs along the lines of the slash. This appears much like a white "S" within the black borders of the zero.

In the FE-Schrift typeface, used on German car license plates, the zero is rectangular and has an "insinuated" slash: a diagonal crack just beneath the top right curve.


Typefaces commonly found on personal computers that use the slashed zero include:

Dotted zero typefaces:

See also[edit]


  1. ^ Note that Unicode combining characters typically fail, due to defective implementation in almost all Unicode fonts issued to date (August 2021). Expect = 0x0030 + 0x0337 = (ASCII) “Digit Zero” + “Combining Short Solidus Overlay” to look bad on your screen, rather than being a variation of the character "∅".


  1. ^ Cajori 1928.
  2. ^ "Teletype Printing Telegraph Systems, Keytops, and Typepallets". Bulletin 1164 B. April 1958. pp. 1–6. Teletype part number 99564 (keytop). Cite magazine requires |magazine= (help)
  3. ^ "Teletype Parts Bulletin". Bulletin 1184 B. pp. 27–29. figure 29-31. Cite magazine requires |magazine= (help)
  4. ^ Reference Data for Radio Engineers (Fifth ed.). Howard W. Sams & Co. Inc. 1970. pp. 30–38. Table 23.
  5. ^ adamgreenfield [user name] (13 April 2013). "That gentle piano is the peace of the grave". post 476182. Archived from the original on 13 April 2013.
  6. ^ "PA NZEA". World License Plates (
  7. ^ "Standardized Variants". Unicode, Inc. Archived from the original on 21 December 2016. Retrieved 1 March 2017.
  8. ^ Beeton, Barbara; Freytag, Asmus; Iancu, Laurențiu; Sargent, Murray, III (30 October 2015). "Proposal to Represent the Slashed Zero Variant of Empty Set" (PDF). The Unicode Consortium. p. 6. Archived (PDF) from the original on 21 October 2016.
  9. ^ An “archaic” software document from October 1964 showing many examples of the then-prevalent slashed-zero notation in the coding examples. "BASIC [computer programming language]" (PDF). Computation Center. Dartmouth College. 1 October 1964. Archived (PDF) from the original on 18 January 2016. Retrieved 17 August 2021.
  10. ^ Bemer, Robert William (August 1967). "Towards standards for handwritten zero and oh: Much ado about nothing (and a letter), or a partial dossier on distinguishing between handwritten zero and oh". Communications of the ACM. 10 (8): 513–518. doi:10.1145/363534.363563. S2CID 294510.
  11. ^ "Fonts". Apple Developer ( Apple Inc. Archived from the original on 8 May 2017. Retrieved 14 May 2017.
  12. ^ Nowell, Peter. "Apple Reveals San Francisco Monospaced Font". Designer News ( story 67681. Archived from the original on 19 October 2016. Retrieved 14 May 2017.
  13. ^ Tuck, Michael (3 August 2010). "A Web Designer's Guide to Linux Fonts". Six Revisions. Archived from the original on 16 June 2012.

Further reading[edit]

External links[edit]