ChemicalReaction
represents a chemical reaction between the given reactants and products.
Details

- 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
Examples
open allclose allBasic Examples (2)Summary of the most common use cases

https://wolfram.com/xid/0dc0coijgw8i-krvo13

Find out if the reaction is balanced:

https://wolfram.com/xid/0dc0coijgw8i-2bb2q1

Create a balanced form of the reaction:

https://wolfram.com/xid/0dc0coijgw8i-joytd7

Create a balanced chemical reaction:

https://wolfram.com/xid/0dc0coijgw8i-85hn6s

Obtain a display form of the reaction:

https://wolfram.com/xid/0dc0coijgw8i-fa1kac

Get a string form of the reaction:

https://wolfram.com/xid/0dc0coijgw8i-tn6cl

Scope (2)Survey of the scope of standard use cases
Create a chemical reaction from a string:

https://wolfram.com/xid/0dc0coijgw8i-nclysj


https://wolfram.com/xid/0dc0coijgw8i-exz3ac

Create a reaction for the solvation of sodium hydroxide:

https://wolfram.com/xid/0dc0coijgw8i-j6snxc


https://wolfram.com/xid/0dc0coijgw8i-xfga5k

Wolfram Research (2021), ChemicalReaction, Wolfram Language function, https://reference.wolfram.com/language/ref/ChemicalReaction.html.
Text
Wolfram Research (2021), ChemicalReaction, Wolfram Language function, https://reference.wolfram.com/language/ref/ChemicalReaction.html.
Wolfram Research (2021), ChemicalReaction, Wolfram Language function, https://reference.wolfram.com/language/ref/ChemicalReaction.html.
CMS
Wolfram Language. 2021. "ChemicalReaction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChemicalReaction.html.
Wolfram Language. 2021. "ChemicalReaction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChemicalReaction.html.
APA
Wolfram Language. (2021). ChemicalReaction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChemicalReaction.html
Wolfram Language. (2021). ChemicalReaction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChemicalReaction.html
BibTeX
@misc{reference.wolfram_2025_chemicalreaction, author="Wolfram Research", title="{ChemicalReaction}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ChemicalReaction.html}", note=[Accessed: 29-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_chemicalreaction, organization={Wolfram Research}, title={ChemicalReaction}, year={2021}, url={https://reference.wolfram.com/language/ref/ChemicalReaction.html}, note=[Accessed: 29-May-2025
]}