HistoryThe development of is much more recent than the alphabet. In the 3rd century BC, Aristophanes of Byzantium invented a system of single Interpunct, dots () at varying levels, which separated verses and indicated the amount of breath needed to complete each fragment of the text when Reading (process), reading aloud. The different lengths were signified by a dot at the bottom, middle, or top of the line. For a short passage, a in the form of a dot was placed mid-level. This is the origin of the concept of a comma, although the name came to be used for the mark itself instead of the clause it separated. The mark used today is descended from a , a diagonal slash (punctuation), slash known as , used from the 13th to 17th centuries to represent a pause. The modern comma was first used by Aldus Manutius. Moreover, the mark is used to separate the words, the phrases, and the clauses in a sentence, to help it to be understood: to divide a sentence into easily assimilated bite-sized pieces. However, there are many other functions of the comma, such as 'setting of questions', 'emphasizing point of view', etc.
Uses in EnglishIn general, the comma shows that the words immediately before the comma are less closely or exclusively linked grammar, grammatically to those immediately after the comma than they might be otherwise. The comma performs a number of functions in English language, English writing. It is used in generally similar ways in other languages, particularly European ones, although the rules on comma usage – and their rigidity – vary from language to language.
The serial commaCommas are placed between items in lists, as in ''They own a cat, a dog, two rabbits, and seven mice.'' Whether the final conjunction, most frequently ''and'', should be preceded by a comma, called the ''serial comma'', is one of the most disputed linguistic or stylistic questions in English. *They served apples, peaches, and bananas. (serial comma used) *We cleaned up cores, pits and skins. (serial comma omitted) The serial comma is used much more often, usually routinely, in the United States. A majority of American style guides mandate its use, including ''The Chicago Manual of Style'', William Strunk Jr., Strunk and E. B. White, White's classic ''The Elements of Style'', and the ''U.S. Government Printing Office Style Manual''. Conversely, the ''AP Stylebook'' for journalistic writing advises against it. The serial comma is also known as the Oxford comma, Harvard comma, or series comma. Although less common in British English, its usage occurs within both American and British English. It is called the Oxford comma because of its long history of use by Oxford University Press. According to ''New Hart's Rules'', "house style will dictate" whether to use the serial comma. "The general rule is that one style or the other should be used consistently." No association with region or dialect is suggested, other than that its use has been strongly advocated by Oxford University Press. Its use is preferred by Henry Watson Fowler, Fowler's ''Modern English Usage''. It is recommended by the United States Government Printing Office, Harvard University Press, and the classic ''Elements of Style'' of Strunk and White. Use of a comma may prevent ambiguity: * The sentence ''I spoke to the boys, Sam and Tom'' could mean either ''I spoke to the boys and Sam and Tom'' (I spoke to more than three people) or ''I spoke to the boys, who are Sam and Tom'' (I spoke to two people); * ''I spoke to the boys, Sam, and Tom'' – must be ''the boys and Sam and Tom'' (I spoke to more than three people). The serial comma does not eliminate all confusion. Consider the following sentence: *''I thank my mother, Anne Smith, and Thomas.'' This could mean either ''my mother and Anne Smith and Thomas'' (three people) or ''my mother, who is Anne Smith; and Thomas'' (two people). This sentence might be recast as "my mother (Anne Smith) and Thomas" for clarity. * ''I thank my mother, Anne Smith and Thomas.'' Because the comma after "mother" is conventionally used to prepare the reader for an apposition, apposite phrase – that is, a renaming of or further information about a noun – this construction suggests that my mother's name is "Anne Smith and Thomas". Compare "I thank my friend, Smith and Wesson", in which the ambiguity is obvious to those who recognise Smith & Wesson, Smith and Wesson as a business name. As a rule of thumb, ''The Guardian Style Guide'' suggests that straightforward lists (''he ate ham, eggs and chips'') do not need a comma before the final "and", but sometimes it can help the reader (''he ate cereal, kippers, bacon, eggs, toast and marmalade, and tea''). ''The Chicago Manual of Style'', and other academic writing guides, require the serial comma: all lists must have a comma before the "and" prefacing the last item in a series . If the individual items of a list are long, complex, affixed with description, or themselves contain commas, semicolons may be preferred as separators, and the list may be introduced with a Colon (punctuation), colon. In News style#Headline, news headlines, a comma might replace the word "and", even if there are only two items, in order to save space, as in this headline from Reuters: * ''Trump, Macron engage in a little handshake diplomacy.''
Separation of clausesCommas are often used to separate s. In English, a comma is used to separate a dependent clause from the independent clause if the dependent clause comes first: ''After I fed the cat, I brushed my clothes.'' (Compare this with ''I brushed my clothes after I fed the cat.'') A relative clause takes commas if it is non-restrictiveness, restrictive, as in ''I cut down all the trees, which were over six feet tall.'' (Without the comma, this would mean that only the trees more than six feet tall were cut down.) Some style guides prescribe that two independent clauses joined by a coordinating Grammatical conjunction, conjunction (''for'', ''and'', ''nor'', ''but'', ''or'', ''yet'', ''so'') must be separated by a comma placed before the conjunction. In the following sentences, where the second clause is independent (because it can stand alone as a sentence), the comma is considered by those guides to be necessary: * ''Mary walked to the party, but she was unable to walk home.'' * ''Designer clothes are silly, and I can't afford them anyway.'' * ''Don't push that button, or twelve tons of high explosives will go off right under our feet!'' In the following sentences, where the second half of the sentence is not an independent clause (because it does not contain an explicit subject (grammar), subject), those guides prescribe that the comma be omitted: * ''Mary walked to the party but was unable to walk home.'' * ''I think designer clothes are silly and can't afford them anyway.'' However, such guides permit the comma to be omitted if the second independent clause is very short, typically when the second independent clause is an imperative mood, imperative, as in: * ''Sit down and shut up.'' The above guidance is not universally accepted or applied. Long coordinate clauses are nonetheless usually separated by commas: * ''She had very little to live on, but she would never have dreamed of taking what was not hers.'' In some languages, such as German language, German and Polish language, Polish, stricter rules apply on comma usage between clauses, with dependent clauses always being set off with commas, and commas being generally proscribed before certain coordinating conjunctions. The joining of two independent sentences with a comma and no conjunction (as in "It is nearly half past five, we cannot reach town before dark.") is known as a comma splice and is sometimes considered an error in English; in most cases a semicolon should be used instead. A comma splice should not be confused, though, with asyndeton, a literary device used for a specific effect in which coordinating conjunctions are purposely omitted.
Certain adverbsCommas are always used to set off certain adverbs at the beginning of a sentence, including ''however'', ''in fact'', ''therefore'', ''nevertheless'', ''moreover'', ''furthermore'', and ''still''. * ''Therefore, a comma would be appropriate in this sentence.'' * ''Nevertheless, I will not use one.'' If these adverbs appear in the middle of a sentence, they are followed and preceded by a comma. As in the second of the two examples below, if a semicolon separates the two sentences and the second sentence starts with an adverb, this adverb is preceded by a semicolon and followed by a comma. * ''In this sentence, furthermore, commas would also be called for.'' * ''This sentence is similar; however, a semicolon is necessary as well.'' Using commas to offset certain adverbs is optional, including ''then'', ''so'', ''yet'', ''instead'', and ''too'' (meaning ''also''). * ''So, that's it for this rule.'' or * ''So that's it for this rule.'' * ''A comma would be appropriate in this sentence, too.'' or * ''A comma would be appropriate in this sentence too.''
Parenthetical phrasesCommas are often used to enclose parenthesis (rhetoric), parenthetical words and phrases within a sentence (i.e., information that is not essential to the meaning of the sentence). Such phrases are both preceded and followed by a comma, unless that would result in a doubling of punctuation marks or the parenthetical is at the start or end of the sentence. The following are examples of types of parenthetical phrases: *Introductory phrase: ''Once upon a time, my father ate a muffin.'' *Interjection: ''My father ate the muffin, gosh darn it!'' *Aside: ''My father, if you don't mind me telling you this, ate the muffin.'' *Apposition, Appositive: ''My father, a jaded and bitter man, ate the muffin.'' *Absolute phrase: ''My father, his eyes flashing with rage, ate the muffin.'' *Free modifier: ''My father, chewing with unbridled fury, ate the muffin.'' *Resumptive modifier: ''My father ate the muffin, a muffin which no man had yet chewed.'' *Summative modifier: ''My father ate the muffin, a feat which no man had attempted.''
Between adjectivesA comma is used to separate ''coordinate adjectives'' (i.e., adjective#Adjective order, adjectives that directly and equally modify the following noun). Adjectives are considered coordinate if the meaning would be the same if their order were reversed or if ''and'' were placed between them. For example: *''The dull, incessant droning'' but ''the cute little cottage.'' *''The devious lazy red frog'' suggests there are lazy red frogs (one of which is devious), while ''the devious, lazy red frog'' does not carry this connotation.
Before quotationsSome writers precede quoted material that is the grammatical object of an active verb of speaking or writing with a comma, as in ''Mr. Kershner says, "You should know how to use a comma."'' Quotations that follow and support an assertion are often preceded by a Colon (punctuation), colon rather than a comma. Other writers do not put a comma before quotations unless one would occur anyway. Thus they would write ''Mr. Kershner says "You should know how to use a comma."''
Month day, yearWhen a date is written as a month followed by a day followed by a year, a comma separates the day from the year: December 19, 1941. This style is common in American English. The comma is used to avoid confusing consecutive numbers: December 19 1941. Most style manuals, including ''The Chicago Manual of Style'' and the ''AP Stylebook'', also recommend that the year be treated as a parenthetical, requiring a second comma after it: ''"Feb. 14, 1987, was the target date."'' If just month and year are given, no commas are used: "Her daughter April may return in June 2009 for the reunion."
Day month yearWhen the day precedes the month, the month name separates the numeric day and year, so commas are not necessary to separate them: "The Raid on Alexandria (1941), Raid on Alexandria was carried out on 19 December 1941."
In geographical namesCommas are used to separate parts of geographical references, such as city and state (''Dallas, Texas'') or city and country (''Kampala, Uganda''). Additionally, most style manuals, including ''The Chicago Manual of Style'' and the ''AP Stylebook'', recommend that the second element be treated as a parenthetical, requiring a second comma after: ''"The plane landed in Kampala, Uganda, that evening."'' The United States Postal Service and Royal Mail recommend leaving out punctuation when writing addresses on actual letters and packages, as the marks hinder optical character recognition.
In mathematicsSimilar to the case in natural languages, commas are often used to delineate the boundary between multiple mathematical objects in a list (e.g., ). Commas are also used to indicate the comma derivative of a tensor.
In numbersIn representing large numbers, from the right side to the left, English texts usually use commas to separate each group of three digits in front of the decimal. This is almost always done for numbers of six or more digits, and often for four or five digits but not in front of the number itself. However, in much of Europe, Southern Africa and Latin America, full stop, periods or spaces are used instead; the comma is used as a decimal separator, equivalent to the use in English of the decimal separator, decimal point. In India, the groups are two digits, except for the rightmost group. In some styles, the comma may not be used for this purpose at all (e.g. in the International System of Units#Writing unit symbols and the values of quantities, SI writing style); a space may be used to separate groups of three digits instead.
In namesCommas are used when rewriting names to present the surname first, generally in instances of alphabetization by surname: ''Smith, John.'' They are also used before many titles that follow a name: ''John Smith, Ph.D.'' Similarly in lists that are presented with an inversion: ''...; socks, green: 3 pairs; socks, red: 2 pairs; tie, regimental: 1''.
EllipsisCommas may be used to indicate that a word, or a group of words, has been omitted, as in ''The cat was white; the dog, brown.'' (Here the comma replaces ''was''.)
VocativeCommas are placed before, after, or around a noun or pronoun used independently in speaking to some person, place, or thing: *''I hope, John, that you will read this.''
Between the subject and predicateIn his 1785 essay ''An Essay on Punctuation'', Joseph Robertson (clergyman), Joseph Robertson advocated a comma between the subject and predicate of long sentences for clarity; however, this usage is regarded as an error in modern times. *''The good taste of the present age, has not allowed us to neglect the cultivation of the English language.'' *''Whoever is capable of forgetting a benefit, is an enemy to society.''
Differences between American and British usage in placement of commas and quotation marksThe comma and the can be paired in several ways. In Great Britain and many other parts of the world, punctuation is usually placed within quotation marks only if it is part of what is being quoted or referred to: *My mother gave me the nickname "Bobby Bobby Bob Bob Boy", which really made me angry. In American English, the comma is commonly included inside a quotation mark: *My mother gave me the nickname "Bobby Bobby Bob Bob Boy," which really made me angry. During the Second World War, the British carried the comma over into abbreviations. Specifically, "Special Operations, Executive" was written "S.O.,E.". Nowadays, even the full stops are frequently discarded.
Languages other than English
Western European languagesWestern European languages like German, French, Italian, Spanish, and Portuguese use the same comma as English with similar spacing, though usage may be somewhat different. For instance, in Standard German, subordinate clauses are always preceded by commas.
Comma variantsThe basic comma is defined in Unicode as , and many variants by typography or language are also defined. Some languages use a completely different sort of character for the purpose of the comma. There are also a number of comma-like s with "COMMA" in their Unicode names. These do not serve a function. A comma-like low quotation mark is also available (shown below; raised single quotation marks are not shown). Various other Unicode characters combine commas or comma-like figures with other characters, and are not shown here..
Languages other than Western EuropeanKorean punctuation uses both commas and interpuncts for lists. In Unicode 5.2.0 "numbers with commas" ( through ) were added to the Enclosed Alphanumeric Supplement block for compatibility with the ARIB STD B24 character set. Hebrew script is also written from right to left. However, Hebrew punctuation includes only a regular comma (). Dravidian languages such as Tamil language, Tamil, Telugu language, Telugu, Kannada, and Malayalam also use the punctuation mark in similar usage to that of European languages with similar spacing.:ta:கால்புள்ளி (தமிழ் நடை)
ComputingIn the common character (computing), character encoding systems Unicode and ASCII, character 44 (hexadecimal, 0x2C) corresponds to the comma symbol. The HTML numeric character reference is
,. In many computer languages commas are used as a field delimiter to separate arguments to a Subroutine, function, to separate elements in a Array data type, list, and to perform data designation on multiple variables at once. In the C (programming language), C programming language the comma symbol is an Comma operator, operator which evaluates its first Parameter (computer programming), argument (which may have side-effects) and then returns the value of its evaluated second argument. This is useful in ''for'' statement (programming), statements and Macro (computer science), macros. In Smalltalk and APL (programming language), APL, the comma operator is used to Concatenation, concatenate collections, including strings. In APL, it is also used Monad (functional programming), monadically to rearrange the items of an array into a list. In Prolog, the comma is used to denote Logical Conjunction ("and"). The comma-separated values (CSV) format is very commonly used in exchanging text data between database and spreadsheet formats.
Diacritical usageIn French language, French, a (not a comma) is used beneath a , producing , to indicate that the is pronounced like (a 'soft c') and not like (a 'hard c'): , , . Depending on the knowledge and resources of the typist or typesetter, the is irregularly conserved on French words used in English, like façade. The comma is used as a mark in Romanian language, Romanian under (, ), and under (, ). A cedilla is occasionally used instead of it, but this is technically incorrect. The symbol ('D-comma, d with comma below') was used as part of the Romanian alphabet, Romanian transitional alphabet (19th century) to indicate the sounds denoted by the Latin letter or letters , where derived from a Dze, Cyrillic ѕ (, ). The comma and the cedilla are both derivative of (a small cursive ) placed below the letter. From this standpoint alone, , , and could potentially be regarded as stand-ins for /sz/, /tz/, and /dz/ respectively. In Latvian language, Latvian, the comma is used on the letters , , , , and historically also , to indicate Palatalization (phonetics), palatalization. Because the lowercase letter has a descender, the comma is rotated 180° and placed over the letter. Although their Adobe Systems, Adobe glyph names are 'letter with comma', their names in the Unicode Standard are 'letter with a cedilla'. They were introduced to the Unicode standard before 1992 and, per Unicode Consortium policy, their names cannot be altered. In Livonian language, Livonian, whose alphabet is based on a mixture of Latvian and Estonian language, Estonian alphabets, the comma is used on the letters , , , , to indicate palatalization in the same fashion as Latvian, except that Livonian uses and represent the same palatal consonant, palatal plosive consonant, plosive phonemes which Latvian writes as and respectively. In Czech language, Czech and Slovak language, Slovak, the diacritic in the characters , , and resembles a superscript comma, but it is used instead of a caron because the letter has an ascender (typography), ascender. Other ascender letters with carons, such as letters (used in Finnish Kalo language, Finnish Romani and Lakota language, Lakota) and (used in Skolt Sami language, Skolt Sami), did not modify their carons to superscript commas. In 16th-century Guatemala, the archaic letter cuatrillo with a comma ( and ) was used to write Mayan languages.
See also* Hebrew cantillation
General*Comma splice *Copy editing *Decimal separator *English punctuation *Latin-script alphabet *List of typographical symbols and punctuation marks *Ogonek *Part of speech *Sentence clause structure *Traditional grammar
Related history*Global spread of the printing press *History of printing in East Asia *History of sentence spacing *History of Western typography