Hubbry Logo
Number signNumber signMain
Open search
Number sign
Community hub
Number sign
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Number sign
Number sign
from Wikipedia

The symbol # is known as the number sign,[1] hash,[2] or (in North America) the pound sign.[3] The symbol has historically been used for a wide range of purposes including the designation of an ordinal number and as a ligatured abbreviation for pounds avoirdupois – having been derived from the now-rare .[4]

Since 2007, widespread usage of the symbol to introduce metadata tags on social media platforms has led to such tags being known as "hashtags",[5] and from that, the symbol itself is sometimes called a hashtag.[6]

The symbol is distinguished from similar symbols by its combination of level horizontal strokes and right-tilting vertical strokes.

History

[edit]
A stylized version of the abbreviation for libra pondo ("pound weight")
The abbreviation written by Isaac Newton, showing the evolution from "℔" toward "#"

It is believed that the symbol traces its origins to the symbol ,[a] an abbreviation of the Roman term libra pondo, which translates as "pound weight".[7][8] The abbreviation "lb" was printed as a dedicated ligature including a horizontal line across (which indicated abbreviation).[9][8] Ultimately, the symbol was reduced for clarity as an overlay of two horizontal strokes "=" across two slash-like strokes "//".[8]

The symbol is described as the "number" character in an 1853 treatise on bookkeeping,[10] and its double meaning is described in a bookkeeping text from 1880.[11] The instruction manual of the Blickensderfer model 5 typewriter (c. 1896) appears to refer to the symbol as the "number mark".[12] Some early-20th-century U.S. sources refer to it as the "number sign",[13] although this could also refer to the numero sign (№).[14] A 1917 manual distinguishes between two uses of the sign: "number (written before a figure)" and "pounds (written after a figure)".[15] The use of the phrase "pound sign" to refer to this symbol is found from 1932 in U.S. usage.[16] The term hash sign is found in South African writings from the late 1960s.[17]

For mechanical devices, the symbol appeared on the keyboard of the Remington Standard typewriter (c. 1886).[18] It appeared in many of the early teleprinter codes and from there was copied to ASCII, which made it available on computers and thus caused many more uses to be found for the character. The symbol was introduced on the bottom right button of touch-tone keypads in 1968, but that button was not extensively used until the advent of large-scale voicemail (PBX systems, etc.) in the early 1980s.[4]

One of the uses in computers was to label the following text as having a different interpretation (such as a command or a comment) from the rest of the text. It was adopted for use within internet relay chat (IRC) networks circa 1988 to label groups and topics.[19] This usage inspired Chris Messina to propose a similar system to be used on Twitter to tag topics of interest on the microblogging network;[20][21] this became known as a hashtag. Although used initially and most popularly on Twitter, hashtag use has extended to other social media sites.[22]

Names

[edit]

Number sign

"Number sign" is the name chosen by the Unicode Consortium. Most common in Canada[23] and the northeastern United States.[citation needed] American telephone equipment companies which serve Canadian callers often have an option in their programming to denote Canadian English, which in turn instructs the system to say number sign to callers instead of pound.[24] This name is rarely used elsewhere in the world, where numbers are normally represented by the letters "No.".

Pound sign or pound

In the United States and Canada, the "#" key on a phone is commonly referred to as the pound sign, pound key, or simply pound. Dialing instructions to an extension such as #77, for example, can be read as "pound seven seven".[25] This name is rarely used elsewhere, as the term pound sign is understood to mean the currency symbol £.

Hash, hash mark, hashmark

In the United Kingdom,[26] Australia,[27] and some other countries,[citation needed] it is frequently called a "hash" (probably from "hatch", referring to cross-hatching[28]).
Programmers also use this term; for instance #! is "hash, bang" or "shebang".

Hashtag

Derived from the previous, the word "hashtag" is often used when reading social media messages aloud, indicating the start of a hashtag. For instance, the text "#foo" is often read out loud as "hashtag foo" (as opposed to "hash foo"). This leads to the common belief that the symbol itself is called hashtag.[6] Twitter documentation refers to it as "the hashtag symbol".[29]

Hex

"Hex" is commonly used in Singapore and Malaysia, as spoken by many recorded telephone directory-assistance menus: "Please enter your phone number followed by the 'hex' key". The term "hex" is discouraged in Singapore in favour of "hash". In Singapore, a hash is also called "hex" in apartment addresses, where it precedes the floor number.[30][31]

Octothorp, octothorpe, octathorp, octatherp

Most scholars believe the word was invented by workers at the Bell Telephone Laboratories by 1968,[32] who needed a word for the symbol on the telephone keypad. Don MacPherson is said to have created the word by combining octo and the last name of Jim Thorpe, an Olympic medalist.[33] Howard Eby and Lauren Asplund claim to have invented the word as a joke in 1964, combining octo with the syllable therp which, because of the "th" digraph, was hard to pronounce in different languages.[34] The Merriam-Webster New Book of Word Histories, 1991, has a long article that is consistent with Doug Kerr's essay,[34] which says "octotherp" was the original spelling, and that the word arose in the 1960s among telephone engineers as a joke. Other hypotheses for the origin of the word include the last name of James Oglethorpe[35] or using the Old English word for village, thorp, because the symbol looks like a village surrounded by eight fields.[36][37] The word was popularized within and outside Bell Labs.[38] The first appearance of "octothorp" in a US patent is in a 1973 filing. This patent also refers to the six-pointed asterisk (✻) used on telephone buttons as a "sextile".[39]

Sharp

Use of the name "sharp" is due to the symbol's resemblance to U+266F MUSIC SHARP SIGN. The same derivation is seen in the name of the Microsoft programming languages C#, J# and F#. Microsoft says that the name C# is pronounced 'see sharp'."[40] According to the ECMA-334 C# Language Specification, the name of the language is written "C#" ("LATIN CAPITAL LETTER C (U+0043) followed by the NUMBER SIGN # (U+0023)") and pronounced "C Sharp".[41]

Square

Detail of a telephone keypad displaying the Viewdata square
On telephones, the International Telecommunication Union specification ITU-T E.161 3.2.2 states: "The symbol may be referred to as the square or the most commonly used equivalent term in other languages."[42] Formally, this is not a number sign but rather another character, U+2317 VIEWDATA SQUARE. The real or virtual keypads on almost all modern telephones use the simple # instead, as does most documentation.[citation needed]

Usage

[edit]

When ⟨#⟩ prefixes a number, it is read as "number". "A #2 pencil", for example, indicates "a number-two pencil". This usage is rare in print,[43] or outside North America. Instead the abbreviation 'No.' or the symbol '№' or just "number" is used.[citation needed]

When ⟨#⟩ is after a number, it is read as "pound" or "pounds", meaning the unit of weight.[44][45] The text "5# bag of flour" would mean "five-pound bag of flour". This is rare outside North America.

Mathematics

[edit]

Computing

[edit]
  • In Unicode and ASCII, the symbol has a code point as U+0023 # NUMBER SIGN and entity code # in HTML5.[46]
  • In many scripting languages and data file formats, especially ones that originated on Unix, # introduces a comment that goes to the end of the line.[47] The combination #! at the start of an executable file is a "shebang", "hash-bang" or "pound-bang", used to tell the operating system which program to use to run the script (see magic number). This combination was chosen so it would be a comment in the scripting languages.
  • In the C preprocessor (used by C and many other languages), # at the start of a line starts a preprocessor directive. Inside macros (after #define) it is used for various purposes; for example ## is used for token concatenation.
  • In Unix shells, # is placed by convention at the end of a command prompt to denote that the user is working as root.
  • # is used in a URL of a web page or other resource to introduce a "fragment identifier" – an id which defines a position within that resource. In HTML, this is known as an anchor link. For example, in the URL https://en.wikipedia.org/wiki/Number_sign#Computing the portion after the # (Computing) is the fragment identifier, in this case denoting that the display should be moved to show the tag marked by <span id="Computing">...</span> in the HTML.[48]
  • Internet Relay Chat: on (IRC) servers, # precedes the name of every channel that is available across an entire IRC network.
  • In blogs, # is sometimes used to denote a permalink for that particular weblog entry.
  • In lightweight markup languages, such as wikitext, # is often used to introduce numbered list items.
  • In the Perl programming language, # is used as a modifier to array syntax to return the index number of the last element in the array, e.g., an array's last element is at $array[$#array]. The number of elements in the array is $#array + 1, since Perl arrays default to using zero-based indices. If the array has not been defined, the return is also undefined. If the array is defined but has not had any elements assigned to it, e.g., @array = (), then $#array returns −1. See the section on Array functions in the Perl language structure article.
  • # is used in the Modula-2 and Oberon programming languages designed by Niklaus Wirth and in the Component Pascal language derived from Oberon to denote the not equal symbol, as a stand-in for the mathematical unequal sign , being more intuitive than <> or !=. For example: IF i # 0 THEN ...
  • In Rust, # is used for attributes such as in #[test].
  • In OCaml, # is the operator used to call a method.
  • In Common Lisp,[49] # is a dispatching read macro character used to extend the S-expression syntax with short cuts and support for various data types (complex numbers, vectors and more).
  • In Scheme, # is the prefix for certain syntax with special meaning.
  • In Standard ML, #, when prefixed to a field name, becomes a projection function (function to access the field of a record or tuple); also, # prefixes a string literal to turn it into a character literal.
  • In Mathematica syntax, #, when used as a variable, becomes a pure function (a placeholder that is mapped to any variable meeting the conditions).
  • In LaTeX, #, when prefixing a number, references an arguments for a user defined command. For instance \newcommand{\code}[1]{\texttt{#1}}.
  • In Javadoc,[50] # is used with the @see tag to introduce or separate a field, constructor, or method member from its containing class.
  • In Redcode and some other dialects of assembly language, # is used to denote immediate mode addressing, e.g., LDA #10, which means "load accumulator A with the value 10" in MOS 6502 assembly language.
  • in HTML, CSS, SVG, and other computing applications # is used to identify a color specified in hexadecimal format, e.g., #FFAA00. This usage comes from X11 color specifications, which inherited it from early assembler dialects that used # to prefix hexadecimal constants, e.g.: ZX Spectrum Z80 assembly.[51]
  • In Be-Music Script, every command line starts with #. Lines starting with characters other than "#" are treated as comments.
  • The use of the hash symbol in a hashtag is a phenomenon conceived by Chris Messina, and popularized by social media network Twitter, as a way to direct conversations and topics amongst users. This has led to an increasingly common tendency to refer to the symbol itself as "hashtag".[52]
  • In programming languages like PL/1 and Assembler used on IBM mainframe systems, as well as JCL (Job Control Language), the # (along with $ and @) are used as additional letters in identifiers, labels and data set names.
  • In J, # is the Tally or Count function,[53] and similarly in Lua, # can be used as a shortcut to get the length of a table, or get the length of a string. Due to the ease of writing "#" over longer function names, this practice has become standard in the Lua community.
  • In Dyalog APL, # is a reference to the root namespace while ## is a reference to the current space's parent namespace.
  • In Ada, the # character is used in based integer literals, which take the form base#digits#, where base is an integer from 2 to 16 specifying the radix, and digits are the digits valid in that base (0-9, optionally A-F for bases above 10).

Other uses

[edit]
  • Algebraic notation for chess: A hash after a move denotes checkmate.
  • American Sign Language transcription: The hash prefixing an all-caps word identifies a lexicalized fingerspelled sign, having some sort of blends or letter drops. All-caps words without the prefix are used for standard English words that are fingerspelled in their entirety.[54]
  • Copy writing and copy editing: Technical writers in press releases often use three number signs, ### directly above the boilerplate or underneath the body copy, indicating to media that there is no further copy to come.[55]
  • Footnote symbols (or endnote symbols): Due to ready availability in many fonts and directly on computer keyboards, "#" and other symbols (such as the caret) have in recent years begun to be occasionally used in catalogues and reports in place of more traditional symbols (esp. dagger, double-dagger, pilcrow).
  • Linguistic phonology: # denotes a word boundary. For instance, /d/ → [t] / _# means that /d/ becomes [t] when it is the last segment in a word (i.e. when it appears before a word boundary).
  • Linguistic syntax: A hash before an example sentence denotes that the sentence is semantically ill-formed, though grammatically well-formed. For instance, "#The toothbrush is pregnant" is a grammatically correct sentence, but the meaning is odd.[56][57]
  • Medical prescription drug delimiter: In some countries, such as Norway or Poland, # is used as a delimiter between different drugs on medical prescriptions.
  • Medical shorthand: The hash is often used to indicate a bone fracture.[58] For example, "#NOF" is often used for "fractured neck of femur". In radiotherapy, a full dose of radiation is divided into smaller doses or 'fractions'. These are given the shorthand # to denote either the number of treatments in a prescription (e.g. 60Gy in 30#), or the fraction number (#9 of 25).
  • As a proofreading mark, to indicate that a space should be inserted.[59]
  • Publishing: When submitting a science fiction manuscript for publication, a number sign on a line by itself (indented or centered) indicates a section break in the text.[60]
  • Scrabble: Putting a number sign after a word indicates that the word is found in the British word lists, but not the North American lists.[61]
  • Teletext and DVB subtitles (in the UK and Ireland): The hash symbol, resembling music notation's sharp sign, is used to mark text that is either sung by a character or heard in background music, e.g. # For he's a jolly good fellow #

Unicode

[edit]

The number sign was assigned code 35 (hex 0x23) in ASCII where it was inherited by many character sets. In EBCDIC it is often at 0x7B or 0xEC.

Unicode characters with "number sign" in their names:

Additionally, a Unicode named sequence KEYCAP NUMBER SIGN is defined for the grapheme cluster U+0023+FE0F+20E3 (#️⃣).[63][b]

On keyboards

[edit]

On the standard US keyboard layout, the # symbol is ⇧ Shift+3. On standard UK and some other European keyboards, the same keystrokes produce the pound (sterling) sign, £ symbol, and # may be moved to a separate key above the right shift key.

See also

[edit]

Explanatory notes

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The number sign ( # ), also known as the hash symbol, pound sign, or octothorpe, is a typographical mark consisting of two horizontal lines crossed by two vertical lines, used across diverse domains to abbreviate "number," indicate weights, and serve specialized functions in writing, technology, and communication. Its and early history are tied to commercial and practices, likely evolving in the from a ligature form of the Latin abbreviation libra pondo (lb), denoting a pound by weight (avoirdupois), with a documented use for "pound" as early as 1903 in texts and cited in the from 1923. The term "octothorpe" was coined in the by engineers to describe the symbol on keypads, referencing its eight points and possibly the Thorp family name, while "number sign" appears in an 1853 for ordinal numbering. By the mid-20th century, it gained prominence in U.S. and grocery notations for quantities, and standardized it as the "pound key" in 1963 touch-tone telephones to signal the end of digit entry. In modern usage, the number sign most commonly precedes numerals or terms to signify "number" in informal American and Canadian English, as in #1 fan or Apt. #3B, without spaces. In computing and programming, it marks line comments (e.g., in Python or C++ code), preprocessors (e.g., in C), and URL fragments, while in social media since the early 2000s, it prefixes keywords to create hashtags for topic categorization, a practice added to the Oxford English Dictionary in 2014. In mathematics and number theory, it denotes the primorial—the product of the first n primes, written as pn# (e.g., 5# = 2 × 3 × 5 = 30)—and is occasionally used for set cardinality in some traditions, though vertical bars (|) are more standard. Although visually similar to the musical sharp (♯), which raises a note by a semitone and derives from medieval square b forms, the number sign # is a distinct ASCII character not used in formal music notation but sometimes substituted in plain-text representations. Other applications include proofreading marks for inserted spaces and ending press releases (as ###).

Names and Etymology

Common Names

The number sign is the formal name for the symbol # in and standards such as , where it is officially designated U+0023 NUMBER SIGN (pronounced /ˈnʌmbər saɪn/) and used to abbreviate "number," as in #1 meaning "number one." This usage dates to its role in denoting ordinal or cardinal numbers in written English, distinguishing it from the separate (№). The symbol has several names in English with different pronunciations. The most common are "hash" or "pound" depending on region. In , the symbol is commonly referred to as the "hash" or "hash sign" (pronounced /hæʃ/ or /hæʃ saɪn/), a term derived from "cross-hatching," the drafting technique of shading with intersecting lines that visually resembles the symbol's grid-like structure. The name gained prevalence in the UK during the mid-20th century, particularly in contexts like and mapping, where it denoted grid-like patterns, such as in references for dividing maps into hashed coordinate squares. In , it is widely known as the "" (pronounced /paʊnd saɪn/), a designation popularized by its placement on keypads introduced by in 1963 for touch-tone dialing, where the symbol served as a non-numeric terminator key. This name also reflects its historical evolution from the Latin abbreviation "lb" (libra pondo, meaning "pound by weight"), which scribes ligatured into a form resembling # to indicate pounds in weights and measures. The term "octothorpe" (pronounced /ˈɑːktoʊθɔːrp/ (US) or /ˈɒktəʊθɔːp/ (RP)) originated as an internal joke among Bell Labs engineers in the early 1960s while designing the touch-tone telephone keypad; it combines "octo-" (Latin for eight, referring to the symbol's eight terminations) with "thorpe" (a nod to Olympic athlete Jim Thorpe). Though rarely used outside technical circles, it persists in some standards documentation. Style guides like the Stylebook recommend "number sign" for clarity in text to avoid confusion with the British symbol (£), while permitting # as an abbreviation for "number" on subsequent references after spelling out "No." initially.

Historical and Regional Variations

Regional variations in include the colloquial term "," derived from the grid pattern of the popular children's game also known as noughts and crosses, which mirrors the symbol's crossed lines; this name emerged in the early amid widespread play of the game on or slates. Colloquial English names include "criss-cross" and "scratch mark." In non-English languages, variations highlight geometric interpretations: German employs "Rautenzeichen" (rhombus sign), reflecting the diamond-like enclosure formed by its lines, a term documented in 19th-century typographic references for its lattice resemblance. Japanese traditionally calls it "igeta" (井桁), transliterated from the kanji for a well's wooden curb frame, which features a crisscross support structure akin to the symbol; this name, predating modern "hashtag" borrowings, appears in Edo-period (1603–1868) printing glossaries. The spread of the "pound" name for # in former British colonies, such as the and parts of the , stems from colonial linguistic inheritance, where the symbol abbreviated "lb" (from Latin libra pondo, a unit of weight equivalent to a pound); this usage persisted post-independence through trade and standards influenced by British practices.

History

Early Origins

The number sign (#) evolved in the from a ligature form of the abbreviation for the Latin libra pondo (lb), denoting a pound by weight. The term "number sign" first appears in an 1853 bookkeeping for ordinal numbering. Its use for "pound" is documented as early as 1903 in texts, with the citing it from 1923.

Development in Printing and Telegraphy

The symbol's role in communication grew in the 20th century with the introduction of typewriters in . By the early 20th century, it was featured on standard keyboard layouts, positioned above the 3 key, enabling its use in documents like invoices and ledgers. The Bell System's telephony innovations contributed to the number sign's modern role. The 1963 introduction of Touch-Tone dialing by placed the # on the bottom-right key of the 4x3 grid for signaling non-digit functions in automated switching systems.

Symbol Characteristics

Visual Design

The number sign, denoted as #, consists of two horizontal lines crossed by two vertical lines at right angles, forming a symmetrical grid that produces eight distinct endpoints. This structural characteristic inspired the term "octothorpe," coined in the 1960s by engineers to describe the symbol's eight terminations, distinguishing it from other potential names like "hash" or "pound." In typographic practice, the symbol's visual form exhibits variations in stroke weight, spacing, and overall proportions depending on the font family. Serif typefaces, such as those modeled after traditional book printing, often feature horizontal strokes with subtle thickness modulation and terminal flourishes, while designs maintain uniform stroke weights for a cleaner, more geometric appearance. These differences ensure the integrates harmoniously within the typeface's aesthetic, with horizontal lines typically spanning the full em-width to align with adjacent characters in digital typesetting standards. The symbol's Unicode representation is U+0023, where it is defined as the basic Latin for the , also known as or hash. Rendering in bold variants thickens the strokes proportionally without altering the core , while italic styles introduce a slight slant to the vertical lines, adapting the form to the typeface's oblique emphasis; these stylistic adjustments are font-specific and follow general typographic conventions for scaling. Historically, the visual design shifted from irregular medieval scribal forms—derived from ligatured abbreviations like the barred "lb" for libra pondo (pound)—to more uniform cross-hatched representations in 19th- and 20th-century . Early handwritten versions were often asymmetrical and due to speed, but metal type and later digital fonts standardized the intersecting lines for consistency and readability across media.

Distinction from Similar Symbols

The number sign (#, Unicode U+0023) is visually and functionally distinct from the musical sharp symbol (♯, Unicode U+266F), despite superficial similarities in their crossed-line designs. The number sign features straight horizontal and vertical lines forming a grid-like structure, while the sharp symbol incorporates slanted, parallel vertical lines and curved or angled horizontals to evoke a tonal alteration in music notation; standards prefer the dedicated sharp glyph for musical contexts to avoid ambiguity. Although the number sign shares a motif of intersecting lines with symbols like the (÷, used for mathematical division) and the (†, a reference mark for footnotes), these differ in form and purpose. The typically includes a horizontal bar with dots above and below, emphasizing separation for quotients, whereas the consists of a vertical stem crossed by a single horizontal line, often superscripted to denote editorial notes or deceased individuals; none serve as numeric indicators. In modern digital contexts, the number sign functions identically to the on platforms, where it prefixes terms for categorization (e.g., #topic), representing an from its traditional numbering role without altering the glyph itself. This usage emerged in the early on sites like , transforming the symbol into a metadata tool while retaining its core form for non-digital numbering. The number sign bears no relation to the symbol (£), which derives from the Latin "libra" for scales and features a stylized L with a crossbar; naming confusion arises regionally, as "#" is termed "pound sign" in for weight or , prompting "number sign" in the UK to distinguish from the mark. Style manuals like advise against the number sign in formal writing, recommending "No." (with period) for abbreviations (e.g., No. 45) or spelled-out "number" to ensure clarity; for numeric ranges, an en dash (–) is preferred over "#" (e.g., pages 45–50) to indicate spans without implying enumeration.

Traditional Uses

Numbering and Abbreviations

The number sign (#) serves primarily as a prefix to denote numbers in everyday contexts, such as addresses and lists, where it indicates a specific identifier like "#42" for room 42 or item 42. This usage was described as the "number" character in an treatise on and became standardized in 19th-century American catalogs and directories to streamline referencing and organization. Historically, # also denoted "pound" by weight, as in "5# bag," originating from the ligature for Latin libra pondo, a use prevalent in American English until the mid-20th century. In legal and technical documents, the number sign abbreviates "number" to identify cases, documents, or references, as in "#12345" for a case number. This application ensures concise notation in formal records while maintaining clarity. The symbol finds widespread use in sports scoring to denote rankings or positions, such as "#1 seed" for the highest-ranked team in a bracket, a convention adopted by major leagues like the NCAA to highlight seeding hierarchies. Similarly, in inventory management, it prefixes part identifiers, for example "part #ABC-123," enabling efficient tracking and cataloging in and systems. From its roots in 19th-century practices, the number sign transitioned to widespread use, but modern style guides like New recommend avoiding it in formal prose, favoring spelled-out "number" or the abbreviation "No." to enhance readability and professionalism. In practical applications, such as and forms, it appears prominently in U.S. postal addresses for secondary units, like "123 Main St #4" for apartment 4, though the USPS advises using specific designators like "APT" when possible for automated processing.

Music Notation

In textual and informal music representations, such as chord names and lead sheets, the number sign (#) denotes a sharp, raising the pitch of the note it follows by one . For example, the notation C# represents C-sharp, the pitch immediately above C on the , typically played on the black key to the right of C on a . In formal music notation, however, the dedicated ♯ is used as an accidental. This application differs from key signatures, where sharps are grouped at the start of a staff to apply consistently to all instances of a given note letter within the piece, unless overridden by another accidental. The adoption of the sharp in music notation traces back to 17th-century tablature systems, where it became standardized for indicating pitch alterations in instrumental music like and keyboard works, building on earlier practices. This evolved from theoretical marks, including the "diesis," a and term denoting a small interval—originally a but later adapted for the in Western music. The term "sharp" itself derives from the French dièse, rooted in the Greek diesis meaning "higher in pitch" or "half-tone above." While the dedicated sharp ♯ emerged from medieval square forms of the letter b (used to distinguish B natural from B flat), the number sign #—a distinct typographical character originating in 19th-century —serves as its textual proxy in modern informal or digital representations. Per guidelines from the Associated Board of the Royal Schools of Music (ABRSM), the sharp is positioned directly before the affected note, aligned vertically on the same line or space as the notehead, without a space between them. For a double sharp, which raises the pitch by two semitones (a whole tone), the notation uses two adjacent sharps (##) or the dedicated double-sharp symbol (𝄪); this applies to notes like C##, equivalent to D. A sharp accidental persists through the bar in which it appears and applies to all subsequent notes of the same pitch in that bar, unless canceled by a natural sign (♮), which restores the unaltered diatonic pitch. These conventions promote unambiguous interpretation in performance and composition. Composers have employed sharps to dramatic effect in orchestral works, as seen in Ludwig van Beethoven's Symphony No. 3 in ("Eroica"), Op. 55, where a C-sharp in the cellos during the first movement's development section introduces a jarring dissonance against the prevailing harmony, amplifying emotional intensity and structural surprise. In software and sequencing, sharps are encoded numerically rather than symbolically; for instance, C-sharp in the fourth (C#4) corresponds to note number 61, enabling precise playback and rendering of the elevated pitch in digital scores. Stylistic preferences vary by genre and medium: classical scores favor the precise ♯ symbol for engraved notation, ensuring visual distinction from other marks, while jazz charts and lead sheets commonly substitute the number sign # for efficiency in handwritten, typed, or quick-copy formats.

Modern and Technical Uses

Computing and Programming

In computing, the number sign (#) was included in the original American Standard Code for Information Interchange (ASCII) as character code 35 (decimal), defined in the 1963 standard published by the American Standards Association. This 7-bit encoding assigned the symbol to binary 00100011, positioning it among printable punctuation characters for use in data interchange and early digital systems. The inclusion ensured compatibility across teletypewriters, computers, and communication protocols, facilitating its adoption in subsequent software environments. The number sign serves as a for single-line comments in various scripting and programming languages, a convention tracing back to early Unix shells developed in the 1970s at . In the , introduced in 1977 with Unix Version 7, lines beginning with # are ignored by the interpreter, allowing developers to annotate without affecting execution; this feature was formalized in later revisions like System III (1981). Modern shells such as Bash inherit this syntax, where # must appear at the start of a line or after executable , with the remainder treated as commentary until the end of the line. Python, released in 1991, adopted the same mechanism for comments, as specified in its language reference: any text following # on a line is disregarded during interpretation, promoting readable . In web markup and styling languages, the number sign prefixes identifiers for element targeting. In , the id attribute assigns unique labels to elements (e.g., <div id="main">), and # precedes these ids in URI fragments for internal linking (e.g., href="#main" rel="nofollow"), enabling navigation within documents as defined in the HTML Living Standard. Similarly, in CSS, # initiates ID selectors to apply styles specifically to elements with matching ids (e.g., #main { color: blue; }), a syntax introduced in the CSS Level 1 specification for precise document styling.

Telecommunications and Hashtags

In , the number sign serves as a key component in telephone keypads, integrated into the Dual-Tone Multi-Frequency (DTMF) signaling system developed by the during the . This system, commercially introduced in under the Touch-Tone trademark, assigned the # symbol to a dedicated button that generates a unique audio tone (941 Hz and 1477 Hz) for signaling purposes beyond numeric dialing. On modern keypads, the # key facilitates menu navigation in automated systems, such as pressing it to select options or access extensions, and appears in international dialing sequences to signal pauses or operator assistance, as in formats like +1-XXX-XXXX followed by # for further routing. Within (IVR) systems and early mobile technologies, the number sign functions as an end-of-input marker, confirming user entries like PINs or selections during voice-guided interactions. This convention emerged in the alongside the expansion of DTMF-compatible hardware, enabling efficient handling of caller inputs in automated before widespread adoption in the . In and precursor paging systems from the late and early , # occasionally delimited numeric messages or commands, though alphanumeric texting later reduced its prominence. In protocols, the number sign identifies components, marking the start of an intra-document as specified in RFC 3986. For instance, a such as example.com/document#summary directs to the "summary" anchor within the resource, supporting web navigation without server requests for the fragment. The , employing the number sign as a prefix (e.g., #topic), originated from a 2007 proposal by product designer for to enable topic-based grouping of posts. In his August 23, 2007 tweet, Messina advocated using # to create "groups" for events and trends, a mechanic that clusters related content for discoverability across social platforms. By 2025, hashtags permeate major networks like , where over two billion posts feature popular tags such as #love, contributing to billions of annual uses. Hashtags have profoundly influenced cultural and social movements, exemplified by #MeToo, founded in 2006 by activist to empower survivors of . The movement went viral in 2017 with actress Alyssa Milano's tweet encouraging shares, generating over 12 million responses in the first 24 hours and amplifying survivor voices against , which prompted accountability for hundreds of high-profile perpetrators worldwide. This activism fostered global policy changes and awareness.

Encoding and Input

Unicode Representation

The number sign is encoded in the Unicode Standard as U+0023 NUMBER SIGN, positioned within the Basic Latin block (U+0000 to U+007F), which encompasses the core ASCII repertoire. This code point corresponds to decimal value 35 and hexadecimal value 23, with a UTF-8 encoding consisting of the single byte 0x23. As a member of the Other Punctuation (Po) category, it serves as a versatile symbol without inherent directional properties. This encoding maintains full compatibility with earlier standards, including the American Standard Code for Information Interchange (ASCII), where it occupies position 35 (hex 23), as defined in the initial ASA X3.4-1963 specification developed by the American Standards Association committee in 1963. Similarly, it appears at the identical position in ISO/IEC 8859-1 (Latin-1), an 8-bit extension of ASCII for Western European languages, ensuring seamless interchange in legacy systems supporting these encodings. The number sign lacks official decomposed or compatibility variants in , though certain fonts may apply discretionary ligatures for stylistic rendering in specific typographic contexts, such as combining with adjacent characters. In processing, it is classified as Other Neutral (ON) under the Unicode Bidirectional Algorithm, meaning its visual orientation in right-to-left (RTL) languages like or Hebrew is determined by surrounding directional characters rather than initiating its own run. Standards organizations such as the (IETF) and (W3C) outline guidelines for consistent web rendering of characters like the number sign, particularly through CSS properties such as unicode-bidi for handling bidirectional layouts and fragment identifiers in URIs (where # denotes anchors). The keycap number sign emoji #️⃣ (composed as U+0023 followed by U+FE0F VARIATION SELECTOR-16 and U+20E3 ENCLOSING KEYCAP) uses components from 3.0 (1999) and was added to the emoji standard in Emoji 1.0 (2015) to represent telephone keypads or hashtags in digital interfaces. In legacy systems, encoding mismatches—such as interpreting ASCII bytes in multi-byte schemes like Shift-JIS—can lead to , where the number sign's byte 0x23 appears as unintended glyphs, though its ASCII status minimizes such issues compared to non-Latin characters. 15.0 (2022) reinforces encoding stability for basic Latin characters, including improved and data files that enhance support for consistent rendering across platforms without altering U+0023 itself.

Keyboard Layouts and Typing Methods

On standard U.S. keyboards, the number sign (#) is produced by pressing Shift + 3, a convention originating from the layout commercialized by Remington, which arranged symbols above numerals for efficiency in mechanical typewriting. In international variants like the ISO layout, the number sign is accessed via AltGr + 3, allowing the 3 key to primarily serve the symbol (£) under Shift while accommodating additional characters through the AltGr modifier for multilingual input. Similarly, on French keyboards, AltGr + 3 generates the number sign, with the layout prioritizing accented characters via dead keys on the number row for French diacritics, though the number sign requires the modifier for direct entry. For mobile devices, both and Android numeric keyboards allow access to the number sign by long-pressing the 3 key on virtual pads, revealing secondary symbols without switching screens, a feature standardized in touch interfaces since the early to streamline entry. In October 2025, advanced virtual keyboards like introduced swipe or "flick" gestures—such as downward swipes on letter keys—to insert symbols including the number sign directly during gesture typing, reducing taps for faster input on larger screens. Accessibility features map the number sign for screen readers like JAWS, where it is announced as "number sign" when encountered in text via the Say Character command (Num Pad 5), ensuring clear phonetic feedback during navigation without altering standard keyboard input. In , the number sign is represented by dots 3-4-5-6, preceding letters a-j to denote numerals 1-0 and maintaining consistency in tactile input across literary and mathematical contexts. Historically, input evolved from teletype machines like the ASR-33, where the number sign was entered via Shift + 3 on its ASCII-compatible keyboard for early computer terminals, to modern USB standards under the (HID) protocol, which assigns a fixed usage code (0x35) to the key, ensuring interoperable transmission across USB-connected devices without layout changes.

References

  1. https://en.wiktionary.org/wiki/hash_sign
  2. https://en.wiktionary.org/wiki/octothorpe
  3. https://en.wiktionary.org/wiki/Rautenzeichen
Add your contribution
Related Hubs
User Avatar
No comments yet.