Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a42e85b28873f43c

Jump to content

Chemical formula

Page semi-protected
From Wikipedia, the free encyclopedia
(Redirected from General formula)

Chemical formula for aluminium sulfate
Structural formula for butane

A chemical formula is any of several kinds of notation for expressing the composition and structure of a chemical compound.[1] Chemical formulas use element symbols for the atoms of each chemical element in a compound. There are several conventional types of chemical formula that present different levels of detail.[2][3]

An empirical formula is a type of chemical formula that shows the proportions of each chemical element by writing a subscripted whole number for each element symbol, such as C2H5 for butane, which indicates that butane contains carbon and hydrogen atoms in a 2:5 ratio. Different compounds can share the same empirical formula, such as CH2O for most carbohydrates.

A molecular formula is a type of chemical formula that shows the number of atoms of each element contained in a molecule of a compound by writing the number as a subscript for each element symbol, such as C4H10 for butane. There are conventions for the order of the elements, such as the Hill system, to assist readability and to make sorted lists that are readily searched. Molecular formulas for classes of compounds and for polymers of variable length make use of variables, such as in CnH2n+2 for the linear alkanes.

A structural formula is a type of chemical formula that shows the pattern of chemical bonds between the atoms, either as explicit lines between the element symbols, or as implied bonds in a notation that makes the bonding pattern clear. Full structural formulas (or "displayed formulas") show all atoms and bonds explicitly, as in the formula for butane pictured. A skeletal formula is a compact graphical notation in which element symbols for carbon (C) and hydrogen (H) are not shown and are implied by the pattern of bond lines.

A condensed formula is a type of structural formula that is written as a text string, such as CH3CH2CH2CH3 for butane. Double (and higher-order) bonds are usually shown explicitly, and single bonds are sometimes shown for clarity, as in CH3−CH=CH2 for propylene. Parentheses are used to enclose groups as needed to show the structure, as in CH3CH2(OH)CH2OH for propylene glycol. Complex branched structures can be depicted by using nested parentheses, but cyclic structures, except for small pre-defined groups like phenyl (C6H5), cannot be represented as condensed formulas. Ionic compounds are depicted by sequentially writing the condensed formula for each strongly-bonded group of atoms, as in (NH4)2SO4 for ammonium sulfate, or as [NH4]+2[SO4]2+ to show the electric charges of groups. Condensed formulas distinguish structural isomers, which are compounds having the same molecular formula but different connectivity. To distinguish stereoisomers, and to depict compounds that are too complex to represent as condensed formulas, graphical structural formulas such as skeletal formulas or perspective drawings are used.

The term line formula is ambiguous. Depending on context, it is used to mean a condensed formula, because it is written as a line of text,[2]: IR-4.2.3 [3]: P-83.3.2 and P-69.2.2 [4] or to mean a displayed formula that shows all bonds as lines.[5]

A crystal-chemical formula expresses the composition and some structural information for crystalline solids.

In addition to describing compounds, chemical formulas are used to describe chemical groups (such as the methyl group, −CH3) classes of compounds (such as amines, R−NH2), and polymers (such as polyethylene, (CH2CH2)n). Formula types are sometimes intermixed, as in the use of a condensed formula to compactly denote a substituent in a skeletal formula.

Chemical formulas use element symbols and graphic symbols, in contrast to a chemical names, which use words. Chemical formulas are intended to be read by people, in contrast to text-string notations such as the SMILES and InChI, which specify chemical structures and can be manipulated by text editors but are intended to be generated and read mainly by computers.

Empirical formula

In chemistry, the empirical formula of a chemical is a simple expression of the relative number of each type of atom or ratio of the elements in the compound. Empirical formulas are the standard for ionic compounds, such as CaCl2, and for macromolecules, such as SiO2. An empirical formula makes no reference to isomerism, structure, or absolute number of atoms. The term empirical refers to the process of elemental analysis, a technique of analytical chemistry used to determine the relative percent composition of a pure chemical substance by element.

For example, hexane has a molecular formula of C6H14, and (for one of its isomers, n-hexane) a structural formula CH3CH2CH2CH2CH2CH3, implying that it has a chain structure of 6 carbon atoms, and 14 hydrogen atoms. However, the empirical formula for hexane is C3H7. Likewise the empirical formula for hydrogen peroxide, H2O2, is simply HO, expressing the 1:1 ratio of component elements. Formaldehyde and acetic acid have the same empirical formula, CH2O. This is also the molecular formula for formaldehyde, but acetic acid has double the number of atoms.

Like the other formula types detailed below, an empirical formula shows the number of elements in a molecule, and determines whether it is a binary compound, ternary compound, quaternary compound, or has even more elements.

Non-stoichiometric compounds

Chemical formulas most often use integers for each element. However, there is a class of compounds, called non-stoichiometric compounds, that cannot be represented by small integers. Such a formula might be written using decimal fractions, as in Fe0.95O, or it might include a variable part represented by a letter, as in Fe1−xO, where x is normally much less than 1.

Molecular formula

Molecular formulas indicate the numbers of atoms of each element in a molecule of a molecular substance. They are the same as the empirical formula for many molecules, and an integer multiple of the empirical formula for others. For water, the empirical and molecular formulas are both H2O. An example in which they differ is glucose for which the empirical formula is CH2O (ratio 1:2:1), and the molecular formula is C6H12O6 (number of atoms 6:12:6). A molecular formula provides more information about a molecule than its empirical formula, but is more difficult to establish.

Structural formula

Isobutane structural formula
Molecular formula: C4H10
Condensed formula: (CH3)3CH
n-Butane structural formula
Molecular formula: C4H10
Condensed formula: CH3CH2CH2CH3

In addition to indicating the number of atoms of each element in a molecule, a structural formula shows or implies the molecule's connectivity, which is the pattern of chemical bonds between the atoms. There are several types of structural formula, each emphasizing different aspects of the molecular structure.

The two diagrams show two molecules which are structural isomers of each other, since they both have the same molecular formula C4H10, but they have different structural formulas as shown.

Skeletal formula

A skeletal formula is a compact notation for a structural formula in which carbon (C) and hydrogen (H) atomic symbols are not shown and are implied by the pattern of bond lines.

Condensed formula

A condensed formula is a type of structural formula that uses a text string to represent the atoms and the arrangement of bonds between them. For example, ethane consists of two carbon atoms single-bonded to each other, with each carbon atom having three hydrogen atoms bonded to it. Its condensed formula is CH3CH3.

In ethylene there is a double bond between the carbon atoms (and thus each carbon only has two hydrogens), and the condensed formula may be written CH2CH2. The fact that there is a double bond between the carbons is implicit because the atoms are assumed to have the usual valence (number of bonds), with carbon having a valence of four. A more explicit form is to show the double bond directly H2C=CH2, or less commonly H2C::CH2. The two lines (or two pairs of dots) indicate that a double bond connects the two carbon atoms. A triple bond may be expressed with three lines (HC≡CH) or three pairs of dots (HC:::CH).

Enclosing marks such as parentheses ( ) and square brackets [ ] are used to enclose groups to show the molecule's structure. Multiple identical atoms or functional groups bound to the same atom may expressed by writing the number of repetitions as a subscript. For example, isobutane may be written (CH3)3CH. Because condensed formulas represent the pattern of bonds between the atoms (their constitution), they distinguish structural isomers, molecules that have the same molecular formula but different structural formulas. For example, ethanol (condensed formula CH3CH2OH) and dimethyl ether (condensed formula CH3OCH3) have different condensed formulas even though they have the same empirical and molecular formulas (C2H6O).

Repeated functional groups that are bonded in sequence are also labeled with a number subscript, as in the shortened formula of n-butane, CH3(CH2)2CH3, where context and the convention that each element is assumed to have the usual valence determines whether the subscript means multiple groups on the same atom or sequentially bonded groups.

Condensed formulas are able to represent many chemical compounds including highly branched molecules, but they are not able to represent most cyclic compounds, with the exception of common pre-defined expressions that represent small cyclic groups such as phenyl (written −C6H5, abbreviated Ph), which allows phenyl formate to be expressed as HCOOC6H5 or HCOOPh.

Polymers and variable forms

For polymers in condensed chemical formulas, parentheses or brackets are placed around the repeating unit. For example, a hydrocarbon molecule that is described as CH3(CH2)50CH3, is a molecule with fifty repeating units. If the number of repeating units is unknown or variable, a variable such as n may be used: CH3[CH2]nCH3.

A chemical formula used for a series of compounds that differ from each other by the number of repeated units is called a general formula. It generates a homologous series of chemical formulas. For example, a series of alcohols may be represented by the formula CnH2n + 1OH, giving the homologs methanol, ethanol, propanol, and so on.

Ions

For ions, the electric charge on a particular atom may be denoted with a superscript. For example, Na+ has charge +1, and Cu2+ has charge +2. It is conventional to write +, 1+, 2+, 3+ etc. for positive charges, and −, 1−, 2−, 3− etc. for negative charges. The total charge on a charged molecule or a polyatomic ion may also be shown in this way, such as for hydronium, H3O+, or sulfate, SO2−4. Displaying charges in a chemical formula is optional.

Brackets [ ] are often used to enclose an ionic formula, as in [B12H12]2−, which is found in compounds such as caesium dodecaborate, Cs2[B12H12]. Ionic compounds such as ammonium nitrate, NH4NO3, may show the charge for each ionic constituent, NH+4NO−3. In Hexamminecobalt(III) chloride, [Co(NH3)6]3+Cl−3, the formula (NH3)6 indicates that the ion contains six ammine groups (NH3) bonded to cobalt, and [ ] encloses the entire formula of the ion with charge +3. Specifying the charges here makes it clearer that the bond connecting the chlorines is ionic, rather than covalent.

Trapped atoms

Traditional formula: MC60
The "@" notation: M@C60

The @ symbol (at sign) indicates an atom or molecule trapped inside a molecular cage but not chemically bound to it, as in an endohedral fullerene. For example, an atom M enclosed in buckminsterfullerene (C60) is denoted M@C60.

Chemical names in answer to limitations of condensed formulas

The alkene called but-2-ene has two isomers, which the chemical formula CH3CH=CHCH3 does not identify. The relative position of the two methyl groups must be indicated by additional notation denoting whether the methyl groups are on the same side of the double bond (cis or Z) or on the opposite sides from each other (trans or E).[6]

In order to represent the full structural formulas of many complex organic and inorganic compounds, chemical nomenclature may be needed which goes well beyond the available resources used above in condensed formulas. See IUPAC nomenclature of organic chemistry and IUPAC nomenclature of inorganic chemistry 2005 for examples. In addition, linear naming systems such as International Chemical Identifier (InChI) allow a computer to construct a structural formula, and simplified molecular-input line-entry system (SMILES) allows a more human-readable ASCII input. However, all these nomenclature systems go beyond the standards of chemical formulas, and technically are chemical naming systems, not formula systems.[7]

Crystal-chemical formula

Chemical formulas for inorganic crystals typically omit structural information of value to crystallographers and mineralologists, such as the linkage type (dimensionality) of subnetworks within the crystal, the coordination polyhedron (coordination geometry of the first coordination sphere) of each atom, and the structural connectivity between subunits.[8] The International Union of Crystallography (IUCr) has proposed a crystal-chemical formula notation that extends standard formulas with optional annotations for these items.[9]

For example, while quartz, fibrous silica, and stishovite all have the same formula unit SiO2, their crystal-chemical formulas demonstrate the structural differences between these polymorphs of silica: quartz may be described as 3
∞
 
[Si[4t]「1;4」O2]
, indicating it has a three-dimensional network structure with tetrahedral coordination geometry at each Si atom, where each SiO4 tetrahedron is linked to four adjacent tetrahedra via single shared O atoms; fibrous silica may be described as 1
∞
 
[Si[4t]「2;2」O2]
, indicating it consists of one-dimensional chains of SiO4 tetrahedra, each linked to two others via shared pairs of O atoms; and stishovite may be described as 3
∞
 
[Si[6o]「1,1,1,1,1,1,1,1,2,2;10」O2]
, indicating it has a three-dimensional network structure with octahedral coordination geometry at each silicon atom, where each SiO6 octahedron is linked to ten adjacent octahedra, eight via single shared O atoms and two via shared pairs of O atoms.[9]

Isotopes

Although isotopes are more relevant to nuclear chemistry or stable isotope chemistry than to conventional chemistry, different isotopes may be indicated with a prefixed superscript in a chemical formula. For example, the phosphate ion containing radioactive phosphorus-32 is [32PO4]3−. Also a study involving stable isotope ratios might include the molecule 18O16O.

A left-hand subscript is sometimes used redundantly to indicate the atomic number. For example, 8O2 for dioxygen, and 16
8
O
2
for the most abundant isotopic species of dioxygen. This is convenient when writing equations for nuclear reactions, in order to show the balance of charge more clearly.

Hill system

The Hill system (or Hill notation) is a system of writing empirical chemical formulas, molecular chemical formulas and components of a condensed formula such that the number of carbon atoms in a molecule is indicated first, the number of hydrogen atoms next, and then the number of all other chemical elements subsequently, in alphabetical order of the chemical symbols. When the formula contains no carbon, all the elements, including hydrogen, are listed alphabetically.

By sorting formulas according to the number of atoms of each element present in the formula according to these rules, with differences in earlier elements or numbers being treated as more significant than differences in any later element or number—like sorting text strings into lexicographical order—it is possible to collate chemical formulas into what is known as Hill system order.

The Hill system was first published by Edwin A. Hill of the United States Patent and Trademark Office in 1900.[10] It is the most commonly used system in chemical databases and printed indexes to sort lists of compounds.[11]

A list of formulas in Hill system order is arranged alphabetically, as above, with single-letter elements coming before two-letter symbols when the symbols begin with the same letter (so "B" comes before "Be", which comes before "Br").[11]

The following example formulas are written using the Hill system, and listed in Hill order:

See also

References

  1. ↑ Hellwich, Karl-Heinz; Hartshorn, Richard M.; Yerin, Andrey; Damhus, Ture; Hutton, Alan T. (2020). "Brief guide to the nomenclature of organic chemistry (IUPAC Technical Report)". Pure and Applied Chemistry. 92: 527–539. doi:10.1515/pac-2019-0104. ISSN 1365-3075. Retrieved 2026-09-26.
  2. 1 2 International Union of Pure and Applied Chemistry (2005). Nomenclature of Inorganic Chemistry (IUPAC Recommendations 2005). Cambridge (UK): RSC–IUPAC. ISBN 0-85404-438-8. Electronic version.
  3. 1 2 IUPAC Chemical Nomenclature and Structure Representation Division (2013). Favre, Henri A.; Powell, Warren H. (eds.). Nomenclature of Organic Chemistry: IUPAC Recommendations and Preferred Names 2013. IUPAC–RSC. ISBN 978-0-85404-182-4.
  4. ↑ IUPAC, Compendium of Chemical Terminology, 5th ed. (the "Gold Book") (2025). Online version: (2006–) "condensed formula". doi:10.1351/goldbook.08158
  5. ↑ IUPAC, Compendium of Chemical Terminology, 5th ed. (the "Gold Book") (2025). Online version: (2006–) "line formula". doi:10.1351/goldbook.L03561
  6. ↑ Burrows, Andrew. (2013-03-21). Chemistry³ : introducing inorganic, organic and physical chemistry (Second ed.). Oxford: Oxford University Press. ISBN 978-0-19-969185-2. OCLC 818450212.
  7. ↑ Miles, Linda. "LibGuides: CHE 120 - Introduction to Organic Chemistry - Textbook: Chapter 1 - Organic Chemistry Review / Hydrocarbons". guides.hostos.cuny.edu. Retrieved 2024-07-13.
  8. ↑ Parthé, E. [at Wikidata] (15 January 1980). "Crystal-chemical formulas for simple inorganic crystal structures". Acta Crystallographica Section B: Structural Crystallography and Crystal Chemistry. 36 (1): 1–7. doi:10.1107/S0567740880002312.
  9. 1 2 Lima-de-Faria, J.; Hellner, E.; Liebau, F.; Makovicky, E.; Parthé, E. [at Wikidata] (1 January 1990). "Nomenclature of inorganic structure types. Report of the International Union of Crystallography Commission on Crystallographic Nomenclature Subcommittee on the Nomenclature of Inorganic Structure Types". Acta Crystallographica Section A. 46 (1): 1–11. doi:10.1107/S0108767389008834.
  10. ↑ Edwin A. Hill (1900). "On a system of indexing chemical literature; Adopted by the Classification Division of the U.S. Patent Office". J. Am. Chem. Soc. 22 (8): 478–494. Bibcode:1900JAChS..22..478H. doi:10.1021/ja02046a005. hdl:2027/uiug.30112063986233.
  11. 1 2 Wiggins, Gary. (1991). Chemical Information Sources. New York: McGraw Hill. p. 120.
  • Wikimedia Commons logo Media related to Chemical formulas at Wikimedia Commons
  • Hill notation example, from the University of Massachusetts Lowell libraries, including how to sort into Hill system order
  • Molecular formula calculation applying Hill notation. The library calculating Hill notation is available on npm.