The exclamation mark (also known as exclamation point in
American English
American English, sometimes called United States English or U.S. English, is the set of variety (linguistics), varieties of the English language native to the United States. English is the Languages of the United States, most widely spoken lang ...
) is a
punctuation
Punctuation marks are marks indicating how a piece of writing, written text should be read (silently or aloud) and, consequently, understood. The oldest known examples of punctuation marks were found in the Mesha Stele from the 9th century BC, c ...
mark usually used after an
interjection
An interjection is a word or expression that occurs as an utterance on its own and expresses a spontaneous feeling, situation or reaction. It is a diverse category, with many different types, such as exclamations ''(ouch!'', ''wow!''), curses (''da ...
or exclamation to indicate strong feelings or to show
emphasis. The exclamation mark often marks the end of a sentence, for example: "Watch out!". Similarly, a bare exclamation mark (with nothing before or after) is frequently used in
warning signs. Additionally, the exclamation mark is commonly used in writing to make a character seem as though they are shouting, excited, or surprised.
Other uses include:
* In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, it denotes the
factorial
In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial:
\begin
n! &= n \times ...
operation.
* Several computer languages use at the beginning of an
expression to denote logical
negation
In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
. For example, means "the logical negation of A", also called "not A". This usage has spread to ordinary language (e.g., "!clue" means no-clue or clueless).
* Some languages use
ǃ, a symbol that looks like an exclamation mark, to denote a
click consonant
Click consonants, or clicks, are speech sounds that occur as consonants in many languages of Southern Africa and in three languages of East Africa. Examples familiar to English-speakers are the '' tut-tut'' (British spelling) or '' tsk! tsk!' ...
.
History
Graphically, the exclamation mark is represented by variations on the theme of a
period with a vertical line above. One theory of its origin posits derivation from a
Latin
Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
exclamation of joy, namely , analogous to "hooray"; copyists wrote the Latin word at the end of a sentence, to indicate expression of joy. Over time, the ''i'' moved above the ''o''; that ''o'' first became smaller, and (with time) a dot.
Its evolution as punctuation can be traced back to the
Middle Ages
In the history of Europe, the Middle Ages or medieval period lasted approximately from the 5th to the late 15th centuries, similarly to the post-classical period of global history. It began with the fall of the Western Roman Empire and ...
, when scribes would often add various marks and symbols to
manuscript
A manuscript (abbreviated MS for singular and MSS for plural) was, traditionally, any document written by hand or typewritten, as opposed to mechanically printed or reproduced in some indirect or automated way. More recently, the term has ...
s to indicate changes in
tone,
pauses, or
emphasis. These symbols included the punctus admirativus, a symbol that was similar in shape to the modern exclamation mark and was used to indicate admiration, surprise, or other strong emotions. The modern use of the exclamation mark was supposedly first described in the 14th century by Italian scholar Alpoleio da Urbisaglia. According to 21st-century literary scholar Florence Hazrat, da Urbisaglia "felt very annoyed" that people were reading script with a flat tone, even when written to elicit emotions. The exclamation mark was introduced into English printing during this time to show
emphasis.
It was later called by many names, including ''point of admiration'' (1611), ''note of exclamation or admiration'' (1657), ''sign of admiration or exclamation'', ''exclamation point'' (1824), and finally, ''exclamation mark'' (1839).
Many older or portable
typewriter
A typewriter is a Machine, mechanical or electromechanical machine for typing characters. Typically, a typewriter has an array of Button (control), keys, and each one causes a different single character to be produced on paper by striking an i ...
s did not have the exclamation mark. Instead, the user typed a
period and then backspaced and overtyped an
apostrophe
The apostrophe (, ) is a punctuation mark, and sometimes a diacritical mark, in languages that use the Latin alphabet and some other alphabets. In English, the apostrophe is used for two basic purposes:
* The marking of the omission of one o ...
.
Slang and other names for the exclamation mark
Now obsolete, the name ''
ecphoneme'' was documented in the early 20th century.
In the 1950s, secretarial dictation and typesetting manuals in America referred to the mark as "bang", perhaps from comic books – where the ! appeared in dialogue bubbles to represent a gun being fired – although the nickname probably emerged from letterpress printing. This "bang" usage is behind the names of the
interrobang, an unconventional typographic character, and the
shebang, a feature of
Unix
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
computer systems.
In the printing world, the exclamation mark can be called a screamer, a gasper, a slammer, a dog's cock, or a startler.
In
hacker culture
The hacker culture is a subculture of individuals who enjoy—often in collective effort—the intellectual challenge of creatively overcoming the limitations of software systems or electronic hardware (mostly digital electronics), ...
, the exclamation mark is called "bang", "shriek", or, in the British slang known as Commonwealth Hackish, "". For example, the password communicated in the spoken phrase "Your password is em-zero-pee-aitch-bang-en-three" ("" in Commonwealth Hackish) is
m0ph!n3
.
Languages
The exclamation mark is mainly used in languages that use the
Latin alphabet
The Latin alphabet, also known as the Roman alphabet, is the collection of letters originally used by the Ancient Rome, ancient Romans to write the Latin language. Largely unaltered except several letters splitting—i.e. from , and from � ...
, although usage slightly varies. It has also been adopted in languages written in other scripts, such as languages written with
Cyrillic
The Cyrillic script ( ) is a writing system used for various languages across Eurasia. It is the designated national script in various Slavic, Turkic, Mongolic, Uralic, Caucasian and Iranic-speaking countries in Southeastern Europe, Ea ...
or
Arabic
Arabic (, , or , ) is a Central Semitic languages, Central Semitic language of the Afroasiatic languages, Afroasiatic language family spoken primarily in the Arab world. The International Organization for Standardization (ISO) assigns lang ...
scripts,
Chinese characters
Chinese characters are logographs used Written Chinese, to write the Chinese languages and others from regions historically influenced by Chinese culture. Of the four independently invented writing systems accepted by scholars, they represe ...
, and
Devanagari
Devanagari ( ; in script: , , ) is an Indic script used in the Indian subcontinent. It is a left-to-right abugida (a type of segmental Writing systems#Segmental systems: alphabets, writing system), based on the ancient ''BrÄhmÄ« script, BrÄ ...
.
English
A sentence ending in an exclamation mark may represent an
exclamation or an
interjection
An interjection is a word or expression that occurs as an utterance on its own and expresses a spontaneous feeling, situation or reaction. It is a diverse category, with many different types, such as exclamations ''(ouch!'', ''wow!''), curses (''da ...
(such as "Wow!", "Boo!"), or an
imperative ("Stop!"), or may indicate astonishment or surprise: "They were the footprints of a gigantic hound!" Exclamation marks are occasionally placed mid-sentence with a function similar to a comma, for dramatic effect, although this usage is obsolete: "On the walk, oh! there was a frightful noise."
Informally, exclamation marks may be repeated for additional emphasis ("That's great!!!"), but this practice is generally considered unacceptable in formal prose.
The exclamation mark is sometimes used in conjunction with the
question mark
The question mark (also known as interrogation point, query, or eroteme in journalism) is a punctuation, punctuation mark that indicates a question or interrogative clause or phrase in many languages.
History
The history of the question mark is ...
. This can be in protest or astonishment ("Out of all places, the squatter-camp?!"); a few writers replace this with a single, nonstandard punctuation mark, the
interrobang, which is the combination of a question mark and an exclamation mark.
Overly frequent use of the exclamation mark is generally considered poor writing, as it distracts the reader and decreases the mark's significance.
Some authors, most notably
Tom Wolfe
Thomas Kennerly Wolfe Jr. (March 2, 1930 – May 14, 2018)Some sources say 1931; ''The New York Times'' and Reuters both initially reported 1931 in their obituaries before changing to 1930. See and was an American author and journalist widely ...
, are known for unashamedly liberal use of the exclamation mark. In
comic book
A comic book, comic-magazine, or simply comic is a publication that consists of comics art in the form of sequential juxtaposed panel (comics), panels that represent individual scenes. Panels are often accompanied by descriptive prose and wri ...
s, the very frequent use of exclamation mark is common—see
Comics
a Media (communication), medium used to express ideas with images, often combined with text or other visual information. It typically the form of a sequence of Panel (comics), panels of images. Textual devices such as speech balloons, Glo ...
, below.
For information on the use of spaces after an exclamation mark, see the discussion of
spacing after a period.
Several studies have shown that women use exclamation marks more than men do. One study suggests that, in addition to other uses, exclamation marks may also function as markers of friendly interaction, for example, by making "Hi!" or "Good luck!" seem friendlier than simply "Hi." or "Good luck." (with periods). However, use of exclamation marks in contexts that are not unambiguously positive can be misinterpreted as indicating hostility.
In English writing and often
subtitles
Subtitles are texts representing the contents of the audio in a film, television show, opera or other audiovisual media. Subtitles might provide a transcription or translation of spoken dialogue. Although naming conventions can vary, caption ...
, a (!) symbol (an exclamation mark within
parentheses) implies that a character has made an obviously
sarcastic comment e.g.: "''Ooh, a sarcasm detector. That's a really useful invention(!)''" It also is used to indicate surprise at one's own experience or statement.
French
In French, as well as marking exclamations or indicating astonishment, the exclamation mark is commonly used to mark orders or requests: (English: 'Come here!'). When available, a
'narrow no-break space' () is used between the last word and the exclamation mark in European French. If not, a regular
non-breaking space
In word processing and digital typesetting, a non-breaking space (), also called NBSP, required space, hard space, or fixed space ...
() is currently used. In Canadian French, either no space is used or a small space () is inserted if available. One can also combine an exclamation mark with a question mark at the end of a sentence where appropriate.
German
German uses the exclamation mark for several things that English conveys with other
punctuation
Punctuation marks are marks indicating how a piece of writing, written text should be read (silently or aloud) and, consequently, understood. The oldest known examples of punctuation marks were found in the Mesha Stele from the 9th century BC, c ...
:
* It is used at the end of
imperative sentences, even when not particularly emphatic: (English: 'Call me tomorrow.') A normal period, as in English, is fairly common but is considered substandard.
* A related use is on signs that express a command or interdiction: (English: 'No trespassing!').
* The exclamation mark may also be used in the salutation line of a letter: (English: 'Dear Hans,'), especially in Austrian German. However, the use of a
comma
The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
is equally correct and is more common.
Cantonese
Cantonese has not historically used dedicated punctuation marks, rather relying on grammatical markers to denote the end of a statement. Usage of exclamation marks is common in written
Mandarin
Mandarin or The Mandarin may refer to:
Language
* Mandarin Chinese, branch of Chinese originally spoken in northern parts of the country
** Standard Chinese or Modern Standard Mandarin, the official language of China
** Taiwanese Mandarin, Stand ...
and in some
Yue speaking regions.
The
Canton and
Hong Kong
Hong Kong)., Legally Hong Kong, China in international treaties and organizations. is a special administrative region of China. With 7.5 million residents in a territory, Hong Kong is the fourth most densely populated region in the wor ...
regions, however, generally refused to accept the exclamation mark as it was seen as carrying with it unnecessary and confusing Western connotations; however, an exclamation mark, including in some written representations of colloquy in
Cantonese
Cantonese is the traditional prestige variety of Yue Chinese, a Sinitic language belonging to the Sino-Tibetan language family. It originated in the city of Guangzhou (formerly known as Canton) and its surrounding Pearl River Delta. While th ...
, can be used informally to indicate strong feeling.
Greek
In
Modern Greek
Modern Greek (, or , ), generally referred to by speakers simply as Greek (, ), refers collectively to the dialects of the Greek language spoken in the modern era, including the official standardized form of the language sometimes referred to ...
, the exclamation mark (, ) has been introduced from
Latin script
The Latin script, also known as the Roman script, is a writing system based on the letters of the classical Latin alphabet, derived from a form of the Greek alphabet which was in use in the ancient Greek city of Cumae in Magna Graecia. The Gree ...
s and is used identically, although without the reluctance seen in
English usage.
[Nicolas, Nick.]
Greek Unicode Issues: Punctuation
. 2005. Accessed 7 Oct 2014. A minor grammatical difference is that, while a series of interjections each employ an exclamation mark (e.g., ,
'Oops! Oh!', an interjection should only be separated from an extended exclamation by a comma (e.g., , , 'Oops! I left the stove on.').
Hungarian
In
Hungarian, an exclamation mark is put at the end of exclamatory, imperative or prohibitive sentences, and sentences expressing a wish (e.g. – 'How beautiful!', – 'Keep off the grass', – 'If only my plan would work out.').
The use of the exclamation mark is also needed when addressing someone and the addressing is a separate sentence. (typically at the beginning of letters, e.g. – 'Dear Peter,').
Greetings are also typically terminated with an exclamation mark (e.g. – 'Good evening.').
Solomon Islands Pidgin
In
Solomon Islands Pidgin, the phrase may be between admiration marks.
Compare ("No.") and ("Certainly not!").
Spanish
In Spanish, a sentence or clause ending in an exclamation mark must also begin with an
inverted exclamation mark (the same also applies to the question mark): , 'Are you crazy? You almost killed her!'
As in British English, a bracketed exclamation mark may be used to indicate irony or surprise at a statement: , 'He said that he's not going to a party tonight(!).' Such use is not matched by an inverted opening exclamation mark.
Turkish
In
Turkish, an exclamation mark is used after a sentence or phrase for
emphasis, and is common following both commands and the addressees of such commands. For example, in the ('Armies! Your first target is the Mediterranean') order by
Atatürk, ('the armies') constitute the addressee. It is further used in parentheses, , after a sentence or phrase to indicate
irony
Irony, in its broadest sense, is the juxtaposition of what, on the surface, appears to be the case with what is actually or expected to be the case. Originally a rhetorical device and literary technique, in modernity, modern times irony has a ...
or
sarcasm: , 'You've done a very good job –
Not!'.
Limbu
In
Limbu, an exclamation mark () is used after a Limbu sentence or phrase for
emphasis, and is common following both commands and the addressees of such commands. For example, in the Limbu sentence (, 'Armies! Your first target is the ''Mediterranean''!').
It is further used in parentheses, (), after a sentence or phrase to indicate
irony
Irony, in its broadest sense, is the juxtaposition of what, on the surface, appears to be the case with what is actually or expected to be the case. Originally a rhetorical device and literary technique, in modernity, modern times irony has a ...
or
sarcasm: (, 'You did a very good job —
Not!').
Phonetics
In
Khoisan languages
The Khoisan languages ( ; also Khoesan or Khoesaan) are a number of Languages of Africa, African languages once classified together, originally by Joseph Greenberg. Khoisan is defined as those languages that have click languages, click consonant ...
, and the
International Phonetic Alphabet
The International Phonetic Alphabet (IPA) is an alphabetic system of phonetic notation based primarily on the Latin script. It was devised by the International Phonetic Association in the late 19th century as a standard written representation ...
, a symbol that looks like the exclamation mark is used as a letter to indicate the
postalveolar click sound (represented as ''q'' in
Zulu orthography). It is actually a vertical bar with underdot. In
Unicode
Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
, this letter is properly coded as and distinguished from the common punctuation symbol to allow software to deal properly with word breaks.
The exclamation mark has sometimes been used as a
phonetic symbol to indicate that a consonant is
ejective. More commonly this is represented by an
apostrophe
The apostrophe (, ) is a punctuation mark, and sometimes a diacritical mark, in languages that use the Latin alphabet and some other alphabets. In English, the apostrophe is used for two basic purposes:
* The marking of the omission of one o ...
, or a
superscript
A subscript or superscript is a character (such as a number or letter) that is set slightly below or above the normal line of type, respectively. It is usually smaller than the rest of the text. Subscripts appear at or below the baseline, wh ...
glottal stop
The glottal stop or glottal plosive is a type of consonantal sound used in many Speech communication, spoken languages, produced by obstructing airflow in the vocal tract or, more precisely, the glottis. The symbol in the International Phonetic ...
symbol ().
Proper names
Although not part of dictionary words, exclamation marks appear in some
brand names and
trade name
A trade name, trading name, or business name is a pseudonym used by companies that do not operate under their registered company name. The term for this type of alternative name is fictitious business name. Registering the fictitious name with ...
s, including
Yum! Brands
Yum! Brands, Inc. (sometimes called simply Yum!) is an American multinational fast food corporation. It is a spin-off of PepsiCo, after they acquired KFC, Pizza Hut, and Taco Bell. PepsiCo divested the brands in 1997, and these consolidated as ...
(parent of fast food chains like
Taco Bell
Taco Bell Corp. is an American multinational chain of fast food restaurants founded in 1962 by Glen Bell (1923–2010) in Downey, California. Taco Bell is a subsidiary of Yum! Brands, Inc. The restaurants serve a variety of Mexican-inspired ...
and
KFC),
Web
Web most often refers to:
* Spider web, a silken structure created by the animal
* World Wide Web or the Web, an Internet-based hypertext system
Web, WEB, or the Web may also refer to:
Computing
* WEB, a literate programming system created by ...
services
Yahoo!
Yahoo (, styled yahoo''!'' in its logo) is an American web portal that provides the search engine Yahoo Search and related services including My Yahoo, Yahoo Mail, Yahoo News, Yahoo Finance, Yahoo Sports, y!entertainment, yahoo!life, and its a ...
and
Joomla!, and the online game
Kahoot!. (Some media
style guide
A style guide is a set of standards for the writing, formatting, and design of documents. A book-length style guide is often called a style manual or a manual of style. A short style guide, typically ranging from several to several dozen page ...
s, including those of
Reuters
Reuters ( ) is a news agency owned by Thomson Reuters. It employs around 2,500 journalists and 600 photojournalists in about 200 locations worldwide writing in 16 languages. Reuters is one of the largest news agencies in the world.
The agency ...
and ''
The Economist
''The Economist'' is a British newspaper published weekly in printed magazine format and daily on Electronic publishing, digital platforms. It publishes stories on topics that include economics, business, geopolitics, technology and culture. M ...
'', omit such marks from trade names.) It appears in the titles of stage and screen works, especially comedies and
musicals
Musical theatre is a form of theatrical performance that combines songs, spoken dialogue, acting and dance. The story and emotional content of a musical – humor, pathos, love, anger – are communicated through words, music, movement ...
; examples include the
game show
A game show (or gameshow) is a genre of broadcast viewing entertainment where contestants compete in a game for rewards. The shows are typically directed by a game show host, host, who explains the rules of the program as well as commentating a ...
''
Jeopardy!
''Jeopardy!'' is an American television game show created by Merv Griffin. The show is a quiz competition that reverses the traditional question-and-answer format of many quiz shows. Rather than being given questions, contestants are instead g ...
''; the '60s musical TV show ''
Shindig!''; musicals ''
Oklahoma!
''Oklahoma!'' is the first musical theater, musical written by the duo of Rodgers and Hammerstein. The musical is based on Lynn Riggs's 1931 play, ''Green Grow the Lilacs (play), Green Grow the Lilacs''. Set in farm country outside the town of ...
'', ''
Mamma Mia!'', ''
Oliver!'' and ''
Oh! Calcutta!''; and movies ''
Airplane!
''Airplane!'' (alternatively titled ''Flying High!'') is a 1980 American disaster film, disaster comedy film written and directed by Jim Abrahams and brothers David Zucker, David and Jerry Zucker in their List of directorial debuts, directoria ...
'' and ''
Moulin Rouge!''. In the 1970s the exclamation mark fell out of favour for major musicals, but has remained common in ironic or parody titles. Writer
Elliot S! Maggin and cartoonist
Scott Shaw! include exclamation marks in their names. In the 2016 United States presidential campaign, Republican candidate
Jeb Bush
John Ellis "Jeb" Bush (born February 11, 1953) is an American politician and businessman who served as the 43rd governor of Florida from 1999 to 2007. A member of the Bush family, Bush political family, he was an unsuccessful candidate for pre ...
used "Jeb!" as his campaign logo.
Place names
The
English town of
Westward Ho!, named after
the novel by
Charles Kingsley, is the only place name in the United Kingdom that officially contains an exclamation mark. There is a town in
Quebec
Quebec is Canada's List of Canadian provinces and territories by area, largest province by area. Located in Central Canada, the province shares borders with the provinces of Ontario to the west, Newfoundland and Labrador to the northeast, ...
called
Saint-Louis-du-Ha! Ha!, which is spelled with two exclamation marks. The city of
Hamilton, Ohio
Hamilton is a city in Butler County, Ohio, United States, and its county seat. Located north of Cincinnati along the Great Miami River, Hamilton is the second-most populous city in the Cincinnati metropolitan area and the List of municipaliti ...
, changed its name to Hamilton! in 1986, but neither the
United States Board on Geographic Names
The United States Board on Geographic Names (BGN) is a Federal government of the United States, federal body operating under the United States Secretary of the Interior. The purpose of the board is to establish and maintain uniform usage of geogr ...
nor mapmakers
Rand McNally
Rand McNally is an American technology and publishing company that provides mapping software and hardware for consumer electronics, commercial transportation, and education markets. The company is headquartered in Rosemont, Illinois with a di ...
recognised the change. The city of
Ostrava
Ostrava (; ; ) is a city in the north-east of the Czech Republic and the capital of the Moravian-Silesian Region. It has about 283,000 inhabitants. It lies from the border with Poland, at the confluences of four rivers: Oder, Opava (river), Opa ...
,
Czech Republic
The Czech Republic, also known as Czechia, and historically known as Bohemia, is a landlocked country in Central Europe. The country is bordered by Austria to the south, Germany to the west, Poland to the northeast, and Slovakia to the south ...
, changed its logotype to Ostrava!!! in 2008.
Warnings

Exclamation marks are used to emphasize a
precautionary statement. On
warning signs, an exclamation mark is often used to draw attention to a warning of danger, hazards, and the unexpected. These signs are common in hazardous environments or on potentially dangerous equipment. A common type of this warning is a yellow
triangle
A triangle is a polygon with three corners and three sides, one of the basic shapes in geometry. The corners, also called ''vertices'', are zero-dimensional points while the sides connecting them, also called ''edges'', are one-dimension ...
with a black exclamation mark, but a white triangle with a red border is common on
Europe
Europe is a continent located entirely in the Northern Hemisphere and mostly in the Eastern Hemisphere. It is bordered by the Arctic Ocean to the north, the Atlantic Ocean to the west, the Mediterranean Sea to the south, and Asia to the east ...
an
road warning signs. (In most cases, a pictogram indicating the nature of the hazard is enclosed in the triangle but an exclamation mark may be used instead as a generic symbol; a plate beneath identifies the hazard.)
Use in various fields

The
''Zirkel'' monogram of a German ''
Studentenverbindung'' includes an exclamation mark if the society is still active.
Mathematics and formal logic
In elementary
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the symbol represents the
factorial
In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial:
\begin
n! &= n \times ...
operation. The expression ! means "the product of the
integers
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
from 1 to ". For example, 4! (read ''four factorial'') is 4 × 3 × 2 × 1 = 24. (0! is defined as 1, which is a
neutral element
In mathematics, an identity element or neutral element of a binary operation is an element that leaves unchanged every element when the operation is applied. For example, 0 is an identity element of the addition of real numbers. This concept is use ...
in
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, not multiplied by anything.) Additionally, it can also represent the
uniqueness quantifier or, if used in front of a number, it can represent a
subfactorial.
In
linear logic
Linear logic is a substructural logic proposed by French logician Jean-Yves Girard as a refinement of classical and intuitionistic logic, joining the dualities of the former with many of the constructive properties of the latter. Although the ...
, the exclamation mark denotes one of the modalities that control weakening and contraction.
Computing
In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
, the exclamation mark is
ASCII
ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
character 33 (21 in
hexadecimal
Hexadecimal (also known as base-16 or simply hex) is a Numeral system#Positional systems in detail, positional numeral system that represents numbers using a radix (base) of sixteen. Unlike the decimal system representing numbers using ten symbo ...
). Due to its availability even on early computers, the character was used for many purposes. The name given to "!" by programmers varies according to their background, though it was very common to give it a short name to make reading code aloud easier. "Bang" is very popular. In the UK the term
pling was popular in the earlier days of computing, whilst in the United States, the term
shriek was used. It is claimed that these word usages were invented in the US and ''shriek'' is from Stanford or MIT; however, ''shriek'' for the ! sign is found in the ''Oxford English Dictionary'' dating from the 1860s.
Many computer languages using
C-style syntax use "!" for
logical negation
In logic, negation, also called the logical not or logical complement, is an operation that takes a proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \overline. It is interpreted intuitively as being true ...
; means "not A", and means "A is
not equal to B". This negation principle has spread to ordinary language; for example, the word "!clue" is used as a synonym for "no-clue" or "clueless". The symbol in formal logic for
negation
In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
is but, as this symbol is not present as standard on most keyboards, the C convention has spread informally to other contexts.
Early
e-mail
Electronic mail (usually shortened to email; alternatively hyphenated e-mail) is a method of transmitting and receiving Digital media, digital messages using electronics, electronic devices over a computer network. It was conceived in the ...
systems also used the exclamation mark as a separator character between hostnames for routing information, usually referred to as "
bang path" notation.
In the
IRC
IRC (Internet Relay Chat) is a text-based chat system for instant messaging. IRC is designed for group communication in discussion forums, called '' channels'', but also allows one-on-one communication via private messages as well as chat ...
protocol, a user's nickname and
ident are separated by an exclamation mark in the
hostmask assigned to him or her by the server.
In
UNIX
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
scripting (typically for
UNIX shell
A Unix shell is a Command-line_interface#Command-line_interpreter, command-line interpreter or shell (computing), shell that provides a command line user interface for Unix-like operating systems. The shell is both an interactive command languag ...
or
Perl
Perl is a high-level, general-purpose, interpreted, dynamic programming language. Though Perl is not officially an acronym, there are various backronyms in use, including "Practical Extraction and Reporting Language".
Perl was developed ...
), "!" is usually used after a "#" in the first line of a script, the
interpreter directive, to tell the OS what program to use to run the script. is usually called a "hash-bang" or
shebang. A similar convention for
PostScript
PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it c ...
files calls for the first line to begin with , called "percent-bang".
An exclamation mark starts
history
History is the systematic study of the past, focusing primarily on the Human history, human past. As an academic discipline, it analyses and interprets evidence to construct narratives about what happened and explain why it happened. Some t ...
expansions in many
Unix shell
A Unix shell is a Command-line_interface#Command-line_interpreter, command-line interpreter or shell (computing), shell that provides a command line user interface for Unix-like operating systems. The shell is both an interactive command languag ...
s such as
bash and
tcsh
tcsh ( “tee-see-shellâ€, “tee-shellâ€, or as “tee see ess aitchâ€, tcsh) is a Unix shell based on and backward compatible with the C shell (csh).
Shell
It is essentially the C shell with programmable command-line completion, command- ...
where executes the previous command and refers to all of the arguments from the previous command.
Acorn
The acorn is the nut (fruit), nut of the oaks and their close relatives (genera ''Quercus'', ''Notholithocarpus'' and ''Lithocarpus'', in the family Fagaceae). It usually contains a seedling surrounded by two cotyledons (seedling leaves), en ...
RISC OS
RISC OS () is an operating system designed to run on ARM architecture, ARM computers. Originally designed in 1987 by Acorn Computers of England, it was made for use in its new line of ARM-based Acorn Archimedes, Archimedes personal computers an ...
uses filenames starting with pling to create an
application directory: for instance a file called
!Run
is executed when the folder containing it is double-clicked (holding down shift prevents this). There is also
!Boot
(executed the first time the application containing it comes into view of the filer),
!Sprites
(icons),
!Help
, and others.
In
APL, is used for
factorial
In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial:
\begin
n! &= n \times ...
of x (backwards from math notation), and also for the
binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
: means
or .
BBC BASIC
BBC BASIC is an interpreted version of the BASIC programming language. It was developed by Acorn Computers Ltd when they were selected by the BBC to supply the computer for their BBC Literacy Project in 1981.
It was originally supplied on ...
used pling as an indirection operator, equivalent to
PEEK and POKE of four
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
s at once.
BCPL
BCPL ("Basic Combined Programming Language") is a procedural, imperative, and structured programming language. Originally intended for writing compilers for other languages, BCPL is no longer in common use. However, its influence is still f ...
, the precursor of
C, used "!" for pointer and array indirection: is equivalent to in C, and is equivalent to in C.
In the
Xbase family of programming languages, which includes
dBase
dBase (also stylized dBASE) was one of the first database management systems for microcomputers and the most successful in its day. The dBase system included the core database engine, a query system, a Form (programming), forms engine, and a pr ...
and
FoxPro, an exclamation mark, when used as part of an expression, indicates negation. For example, != means "not equal to". At the start of a line of code, it is a synonym for RUN (which executes an external program).
In the
Haskell
Haskell () is a general-purpose, statically typed, purely functional programming language with type inference and lazy evaluation. Designed for teaching, research, and industrial applications, Haskell pioneered several programming language ...
programming language, "!" is used to express strictness.
In the
Kotlin programming language, "!!" ("double-bang") is the not-null assertion operator, used to override
null safety so as to allow a
null pointer
In computing, a null pointer (sometimes shortened to nullptr or null) or null reference is a value saved for indicating that the Pointer (computer programming), pointer or reference (computer science), reference does not refer to a valid Object (c ...
exception.
In the
ML programming language (including
Standard ML
Standard ML (SML) is a General-purpose programming language, general-purpose, High-level programming language, high-level, Modular programming, modular, Functional programming, functional programming language with compile-time type checking and t ...
and
OCaml
OCaml ( , formerly Objective Caml) is a General-purpose programming language, general-purpose, High-level programming language, high-level, Comparison of multi-paradigm programming languages, multi-paradigm programming language which extends the ...
), "!" is the operator to get the value out of a "reference" data structure.
In the
Raku programming language, the "!"
twigil is used to access private attributes or methods in a class (like or ).
In the
Scheme,
Julia, and
Ruby
Ruby is a pinkish-red-to-blood-red-colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sapph ...
programming languages, "!" is conventionally the suffix for functions and special forms that mutate their input.
In the
Swift
Swift or SWIFT most commonly refers to:
* SWIFT, an international organization facilitating transactions between banks
** SWIFT code
* Swift (programming language)
* Swift (bird), a family of birds
It may also refer to:
Organizations
* SWIF ...
programming language, a type followed by "!" denotes an "implicitly unwrapped optional", an
option type where the compiler does not enforce safe unwrapping. The "!" operator "force unwraps" an option type, causing an error if it is nil.
In
Geek Code version 3, "!" is used before a letter to denote that the geek refuses to participate in the topic at hand. In some cases, it has an alternate meaning, such as ''G!'' denoting a geek of no qualifications, ''!d'' denoting not wearing any clothes, ''P!'' denoting not being allowed to use Perl, and so on. They all share some negative connotations, however.
is used to denote changed lines in
output in the . In the , changes to a single line are denoted as an addition and deletion.
Video games
The exclamation mark can be used in video games to signify that a character is startled or alarmed. In the ''
Metal Gear
is a Media franchise, franchise of stealth games created by Hideo Kojima. Developed and published by Konami, the first game, ''Metal Gear (video game), Metal Gear'', was released in 1987 for MSX, MSX home computers. The player often takes con ...
'' and ''
Paper Mario
''Paper Mario'' is a video game series and part of the ''Mario'' franchise, developed by Intelligent Systems and published by Nintendo. It combines elements from the role-playing, action-adventure, and puzzle genres. Players control a ...
'' series, an exclamation mark appears over enemies' heads when they notice the player.
In
massively multiplayer online (MMO) games such as ''
World of Warcraft
''World of Warcraft'' (''WoW'') is a 2004 massively multiplayer online role-playing (MMORPG) video game developed and published by Blizzard Entertainment for Windows and Mac OS X. Set in the '' Warcraft'' fantasy universe, ''World of War ...
'', an exclamation mark hovering over a character's head is often used to indicate that they are offering a quest for the player to complete.
In ''
Dota 2
''Dota 2'' is a 2013 multiplayer online battle arena (MOBA) video game by Valve Corporation, Valve. The game is a sequel to ''Defense of the Ancients'' (''DotA''), a community-created Mod (video gaming), mod for Blizzard Entertainment's ''War ...
'', an exclamation mark is shown above the head of a unit if it is killed by means not granting enemies experience or gold (if it is "denied").
In the 2005 arcade dance simulation game ''
In the Groove 2'', there is a song titled "!" (also referred to as "bang") by the artist Onyx.
Internet culture
In
Internet culture
Internet culture refers to culture developed and maintained among frequent and active users of the Internet (also known as netizens) who primarily communicate with one another as members of online communities; that is, a culture whose influence ...
, especially where
leet
Leet (or "1337"), also known as eleet or leetspeak, or simply hacker speech, is a system of modified spellings used primarily on the Internet. It often uses character replacements in ways that play on the similarity of their glyphs via refle ...
is used, multiple exclamation marks may be affixed with the numeral "1" as in ''!!!!!!111''. The notation originates from a common error: when typing multiple exclamation points quickly, the typist may fail to hold the combination that produces the exclamation mark on many
keyboard layout
A keyboard layout is any specific physical, visual, or functional arrangement of the keys, legends, or key-meaning associations (respectively) of a computer keyboard, mobile phone, or other computer-controlled typographic keyboard. Standard keybo ...
s. This error, first used intentionally as a joke in the leet linguistic community, is now an accepted form of exclamation in leet and derivative dialects such as
Lolspeak. Some utterances include further substitutions, for example "!!!111oneeleven".
In
fandom
A fandom is a subculture composed of Fan (person), fans characterized by a feeling of camaraderie with others who share a common interest. Fans typically are interested in even minor details of the objects of their fandom and spend a significan ...
and
fanfiction, ! is used to signify a defining quality in a character, usually signifying an alternative interpretation of a character from a
canonical work. Examples of this would be "Romantic!Draco" or "Vampire!Harry" from
Harry Potter
''Harry Potter'' is a series of seven Fantasy literature, fantasy novels written by British author J. K. Rowling. The novels chronicle the lives of a young Magician (fantasy), wizard, Harry Potter (character), Harry Potter, and his friends ...
fandom. It is also used to clarify the current persona of a character with multiple identities or appearances, such as to distinguish "Armor!
Al" from "Human!Al" in a work based on
Fullmetal Alchemist. The origin of this usage is unknown, although
Comics
Some
comic book
A comic book, comic-magazine, or simply comic is a publication that consists of comics art in the form of sequential juxtaposed panel (comics), panels that represent individual scenes. Panels are often accompanied by descriptive prose and wri ...
s, especially
superhero
A superhero or superheroine is a fictional character who typically possesses ''superpowers'' or abilities beyond those of ordinary people, is frequently costumed concealing their identity, and fits the role of the hero, typically using their ...
comics of the mid-20th century, routinely use the exclamation point instead of the period, which means the character has just realized something; unlike when the question mark appears instead, which means the character is confused, surprised or they do not know what is happening. This tends to lead to exaggerated speech, in line with the other
hyperbole
Hyperbole (; adj. hyperbolic ) is the use of exaggeration as a rhetorical device or figure of speech. In rhetoric, it is also sometimes known as auxesis (literally 'growth'). In poetry and oratory, it emphasizes, evokes strong feelings, and cre ...
s common in comic books. A portion of the motivation, however, was simply that a period might disappear in the printing process used at the time, whereas an exclamation point would likely remain recognizable even if there was a printing glitch. For a short period
Stan Lee
Stan Lee (born Stanley Martin Lieber ; December 28, 1922 – November 12, 2018) was an American comic book author, writer, editor, publisher, and producer. He rose through the ranks of a family-run business called Timely Comics which later bec ...
, as
editor-in-chief
An editor-in-chief (EIC), also known as lead editor or chief editor, is a publication's editorial leader who has final responsibility for its operations and policies. The editor-in-chief heads all departments of the organization and is held accoun ...
of
Marvel Comics
Marvel Comics is a New York City–based comic book publishing, publisher, a property of the Walt Disney Company since December 31, 2009, and a subsidiary of Disney Publishing Worldwide since March 2023. Marvel was founded in 1939 by Martin G ...
, attempted to curb their overuse by a short-lived ban on exclamation points altogether, which led to an inadvertent lack of ending punctuation on many sentences.
Comic book writer
Elliot S! Maggin once accidentally signed his name with an exclamation due to the habit of using them when writing comic scripts; it became his professional name from then on. Similarly, comic artist
Scott Shaw! has used the exclamation point after his name throughout his career.
In comic books and comics in general, a large exclamation point is often used near or over a character's head to indicate surprise. A
question mark
The question mark (also known as interrogation point, query, or eroteme in journalism) is a punctuation, punctuation mark that indicates a question or interrogative clause or phrase in many languages.
History
The history of the question mark is ...
can similarly be used to indicate confusion.
Chess
In
chess notation
Chess notation systems are used to record either the moves made or the position of the pieces in a game of chess. Chess notation is used in chess literature, and by players keeping a record of an ongoing game. The earliest systems of notation used ...
"!" denotes a good move,
"!!" denotes an excellent move, "?!" denotes a dubious move, and "!?" denotes an interesting, risky move. In some chess variants such as large-board
Shogi variant
A shogi variant is a game related to or derived from shogi (Japanese chess). Many shogi variants have been developed over the centuries, ranging from some of the largest chess-type games ever played to some of the smallest. A few of these variant ...
s, "!" is used to record pieces capturing by stationary feeding or burning.
''Scrabble''
In ''
Scrabble
''Scrabble'' is a word game in which two to four players score points by placing tiles, each bearing a single letter, onto a Board game, game board divided into a 15×15 grid of squares. The tiles must form words that, in crossword fashion, re ...
'', an exclamation mark written after a word is used to indicate its presence in the
Official Tournament and Club Word List but its absence from the ''
Official Scrabble Players Dictionary'', usually because the word has been judged offensive.
Baseball
Exclamation points or
asterisk
The asterisk ( ), from Late Latin , from Ancient Greek , , "little star", is a Typography, typographical symbol. It is so called because it resembles a conventional image of a star (heraldry), heraldic star.
Computer scientists and Mathematici ...
s can be used on scorecards to denote a "great defensive play".
Popular music
The band
!!! (pronounced "Chk Chk Chk") uses exclamation points as its name.
[Seabrook, Andrea (May 17, 2007)]
"The Musicians of !!!: Making Their Own 'Myths' "
(Audio: Flash or MP3). ''All Things Considered
''All Things Considered'' (''ATC'') is the flagship news program on the American network National Public Radio (NPR). It was the first news program on NPR, premiering on May 3, 1971. It is broadcast live on NPR affiliated stations in the United ...
''. NPR. Retrieved 2010-08-26.
In 2008, the pop-punk band
Panic! at the Disco dropped the exclamation point in its name; this became the "most-discussed topic on
anmessage boards around the world". In 2009, the exclamation mark was re-inserted following the band's split.
The band
Bomb the Music Industry! utilizes an exclamation mark in its name, as well as several album and song titles and promotional material. Examples include their songs "(Shut) Up The Punx!!!" and the album ''
Adults!!!: Smart!!! Shithammered!!! And Excited by Nothing!!!!!!!''.
American musician
Pink
Pink is a pale tint of red, the color of the Dianthus plumarius, pink flower. It was first used as a color name in the late 17th century. According to surveys in Europe and the United States, pink is the color most often associated with charm, p ...
stylizes her stage name "P!NK", and uses three exclamation points in the subtitle of her 2010 release, ''
Greatest Hits... So Far!!!''.
Television
The exclamation mark was included in the title of
Dinah Shore
Dinah Shore (born Frances Rose Shore; February 29, 1916 – February 24, 1994) was an American singer, actress, television personality, and the chart-topping female vocalist of the 1940s. She rose to prominence as a recording artist during the ...
's TV series, ''
Dinah!'' The exclamation mark was later the subject of a bitter argument between
Elaine Benes
Elaine Marie Benes () is a fictional character on the American television sitcom ''Seinfeld'', played by former SNL cast member Julia Louis-Dreyfus. Elaine's best friend in the sitcom is her ex-boyfriend Jerry Seinfeld, and she is also good fri ...
and her boyfriend, Jake Jarmel, in the ''
Seinfeld
''Seinfeld'' ( ) is an American television sitcom created by Larry David and Jerry Seinfeld that originally aired on NBC from July 5, 1989, to May 14, 1998, with a total of nine seasons consisting of List of Seinfeld episodes, 180 episodes. It ...
'' episode, "
The Sniffing Accountant". Elaine got upset with Jake for not putting an exclamation mark at the end of a message about her friend having a baby. Jake took extreme exception to the trivial criticism and broke up with Elaine, putting an exclamation mark after his parting words: "I'm leaving!"
Unicode code-points (with HTML)
* (HTML
!
,
!
)
Related forms have these
code point
A code point, codepoint or code position is a particular position in a Table (database), table, where the position has been assigned a meaning. The table may be one dimensional (a column), two dimensional (like cells in a spreadsheet), three dime ...
s:
*
* (In IPA:
alveolar click)
* (for use in vertical text)
** with
emoji variation selector
*
*
* (for use in vertical text)
* (for use in vertical text)
** with emoji variation selector
* (exclamation mark in triangle)
* (in Unicode lingo, "white" means hollow)
*
*
*
** with emoji variation selector
*
*
*
*
*
* (for special applications within
CJK text)
* (for special applications within
CJK text)
*
Some
emoji
An emoji ( ; plural emoji or emojis; , ) is a pictogram, logogram, ideogram, or smiley embedded in text and used in electronic messages and web pages. The primary function of modern emoji is to fill in emotional cues otherwise missing from type ...
s include an exclamation mark:
*
*
Some scripts have their own exclamation mark:
*
*
*
*
*
*
See also
*
Period
*
Inverted question and exclamation marks
*
Punctuation
Punctuation marks are marks indicating how a piece of writing, written text should be read (silently or aloud) and, consequently, understood. The oldest known examples of punctuation marks were found in the Mesha Stele from the 9th century BC, c ...
*
Terminal punctuation
Notes
References
Further reading
*
External links
U+0021 exclamation point— Decode Unicode
{{navbox punctuation, state=collapsed
Punctuation