represents a single chemical bond between atoms with indices idi and idj.


represents a chemical bond of the specified type.


  • Possible values for type include:
  • "Single"a single bond
    "Double"a double bond
    "Triple"a triple bond
    "Aromatic"a delocalized aromatic bond
  • Bond can be used as a pattern for functions like MoleculeContainsQ, FindMoleculeSubstructure, BondList, MoleculePlot and MoleculePlot3D.
  • When used as a pattern, the following forms can be used:
  • Bond[_,type]any bond of the given type
    Bond[{Atom[],_}]a bond containing an atom matching a given pattern
    Bond[{Atom[],Atom[]}]a bond between two atoms with specific patterns
    Bond[,type]a bond of a given type


open allclose all

Basic Examples  (3)

Build a molecule with single and double bonds:

Leave out the bond order when creating a molecule to assume single bonds:

Use BondList to retrieve the bonds from the Molecule:

Create a pattern for an oxygenphosphorous bond and highlight each occurrence in a molecule:

Scope  (1)

Create a pattern for a bond between carbon and a halogen:

Use BondCount to find the number of matching bonds in a molecule:

List the bonds that match:

Find the bond length for the matching bonds:

Highlight all matching bonds in 3D:

Wolfram Research (2019), Bond, Wolfram Language function,


Wolfram Research (2019), Bond, Wolfram Language function,


@misc{reference.wolfram_2020_bond, author="Wolfram Research", title="{Bond}", year="2019", howpublished="\url{}", note=[Accessed: 22-January-2021 ]}


@online{reference.wolfram_2020_bond, organization={Wolfram Research}, title={Bond}, year={2019}, url={}, note=[Accessed: 22-January-2021 ]}


Wolfram Language. 2019. "Bond." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2019). Bond. Wolfram Language & System Documentation Center. Retrieved from