represents a chemical reaction between the given reactants and products.


  • reactants and products may be given as lists, {chem1, chem2,} or associations of chemicals and amounts <|chemini,|> where possible forms for chemi include:
  • ChemicalFormula[]an entity with the given formula
    Molecule[]a molecule
    Entity[]a "Chemical", "Element" or "Particle" entity
    EntityInstance[,"Phase""phase"]a chemical species with a given phase
  • ChemicalReaction["A + B C + D"] will attempt to interpret the input string, creating Molecule or ChemicalFormula objects when possible.
  • A ChemicalReaction object need not be balanced; elements may appear on only one side or the other of the reaction. Use ReactionBalance to return a balanced reaction.
  • ChemicalReaction[]["prop"] returns the value of "prop" for a given ChemicalReaction.
  • Possible values for "prop" include:
  • "Reactants"list of reactants
    "ReactantCounts"an Association of reactantini
    "Products"list of products
    "ProductCounts"an Association of productini
    "EquationDisplay"a display form of the reaction
    "EquationString"a string form of the reaction
    "ReverseReaction"a ChemicalReaction with the reactants and products swapped


open allclose all

Basic Examples  (2)

Create a chemical reaction:

Find out if the reaction is balanced:

Create a balanced form of the reaction:

Create a balanced chemical reaction:

Obtain a display form of the reaction:

Get a string form of the reaction:

Scope  (2)

Create a chemical reaction from a string:

Get the counts of reactants:

Create a reaction for the solvation of sodium hydroxide:

Reverse the reaction:

Applications  (1)

Visualize a combustion reaction using 3D graphics:

Wolfram Research (13), ChemicalReaction, Wolfram Language function,


Wolfram Research (13), ChemicalReaction, Wolfram Language function,


Wolfram Language. 13. "ChemicalReaction." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (13). ChemicalReaction. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2021_chemicalreaction, author="Wolfram Research", title="{ChemicalReaction}", year="13", howpublished="\url{}", note=[Accessed: 24-January-2022 ]}


@online{reference.wolfram_2021_chemicalreaction, organization={Wolfram Research}, title={ChemicalReaction}, year={13}, url={}, note=[Accessed: 24-January-2022 ]}