Skip to content

Atom economy of a balanced equation for a chosen product

rxn_atom_economy

Works out atom economy: the desired product as a percentage of the reactants, by formula weight.

Runs
Held: built, not on the server yet
Level
Tested, not reference-checked

Why it is held. No fault has been recorded. The checks this server requires before it lists a library tool are not finished for every method this tool uses. It is built, and the full check and confirmation this server requires of a library tool are not yet complete for every method it uses. Full check: not read from the source.

What it is

Returns the atom economy, 100 % × ν·M of the desired product over Σ ν·M of the reactants, on CIAAW formula weights. Use when the balanced equation is known and a product is chosen. Not for the masses actually used (E-factor, PMI, RME): use `rxn_mass_metrics`; not for one formula weight: use `calc_formula_mass`. Refuses an equation that does not balance in elements and charge; formulas are required for every species, and coefficients carry the unit 1.

Field: Medicinal and synthetic chemistry.

What it does

You give

  • reactants (required): The reactants of the stoichiometric equation.
  • products (required): Every product, the desired one marked; by-products are needed for the balance check.

No request is shown while this tool is held.

Limits

  • Bench and process arithmetic on a reaction you write down.
  • Research and education software: it does not predict products or routes, check that the chemistry will work, or assess hazards.
  • Atom economy of the equation as you write it, checked for balance in elements and charge only.
  • It does not check that this is the reaction that occurs; catalysts, solvents and excess reagents are outside it by definition.
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

It will not answer when

  • the equation as written does not balance exactly in every element and in charge, so atom economy is not defined on it.
  • not exactly one product is marked desired.
  • a formula reads as a SMILES (= # @ / \ or a lower-case letter not after an upper-case one); for a structure, molecule_descriptors.
  • the formula cannot be read exactly as written: it is an electron; it writes a charge of zero; the formula-mass parser refuses it (an unknown symbol or one without a standard atomic weight, an ambiguous charge such as Fe3+, an unclosed bracket, a number before the formula such as 13CH4); it holds a count of zero; a count or the charge is above 2^53 − 1; or its molar-mass sum is too large to hold exactly (the shared routine formula-reading).
Every input, with its units2 inputs
  • reactants (required): The reactants of the stoichiometric equation.
  • products (required): Every product, the desired one marked; by-products are needed for the balance check.
Every refusal, with its code5 refusals
CodeWhen
EQUATION_UNBALANCEDthe equation as written does not balance exactly in every element and in charge, so atom economy is not defined on it.
DESIRED_COUNTnot exactly one product is marked desired.
FORMULA_IS_SMILESa formula reads as a SMILES (= # @ / \ or a lower-case letter not after an upper-case one); for a structure, molecule_descriptors.
FORMULA_INVALIDthe formula cannot be read exactly as written: it is an electron; it writes a charge of zero; the formula-mass parser refuses it (an unknown symbol or one without a standard atomic weight, an ambiguous charge such as Fe3+, an unclosed bracket, a number before the formula such as 13CH4); it holds a count of zero; a count or the charge is above 2^53 − 1; or its molar-mass sum is too large to hold exactly (the shared routine formula-reading).
OUT_OF_RANGEproducts[*].coefficient outside above 0.

The calculation

The method's equations, constants and worked example.

Atom economy of a balanced equation for a chosen productrxn-atom-economy@1.0.2

Equation 1

AE=100%×νP·M(P)/Σreactantsνi·M(Ri)
SymbolMeaning
AEatom economy, %
νstoichiometric coefficient
Mmolar mass, g/mol

Source 1.

Equation 2

for every element e: Σ_reactants ν_i · count_e(R_i) = Σ_products ν_j · count_e(P_j), and the same for charge

otherwise refused

SymbolMeaning
count_enumber of atoms of element e in a formula

Source 2.

ConstantValueFrom
standard atomic weights (CIAAW abridged), through formula-mass 1.1.0 A_ra table of values, part of the methodSource 3

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

Worked example

Worked example: one case of rxn-atom-economy@1.0.2, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • reactants[0].formula = C2H4O2
  • reactants[0].coefficient = 1
  • reactants[1].formula = C4H10O
  • reactants[1].coefficient = 1
  • products[0].formula = C6H12O2
  • products[0].coefficient = 1
  • products[0].desired = true
  • products[1].formula = H2O
  • products[1].coefficient = 1

Steps

  1. MP = 116.16 g/mol, from products[0].formula, products[0].coefficient; by equation 1; gives desiredProductMass.
  2. MR = 134.175 g/mol, from reactants[0].formula, reactants[1].formula, reactants[0].coefficient, reactants[1].coefficient; by equation 1; gives reactantsMass.
  3. AE = 86.573505 %, from MP, MR; by equation 1; gives atomEconomy.

The working, as the case writes it:

M(C2H4O2) = 2×12.011 + 4×1.0080 + 2×15.999 = 60.052

M(C4H10O) = 4×12.011 + 10×1.0080 + 15.999 = 74.123

M(C6H12O2) = 116.160

AE = 116.160/(60.052 + 74.123) × 100 = 116.160/134.175 × 100 = 86.574 %.

Answer

desiredProductMass = 116.16 g/mol

reactantsMass = 134.175 g/mol

atomEconomy = 86.573505 %

Where these values came from: our own exact-arithmetic script and a hand-worked case; hand-worked in the fixture (derivation and worked steps).

At build the tool returned this answer within the tolerance the file states: every number relative 1e-12; statuses and codes exact.

Sources

  1. ACS GCI Pharmaceutical Roundtable learning site, CHEM21 'Efficiency metrics' exercise (direct amidation with a borate ester): questions, data sheet and answer sheet

    Used for: Atom economy of a balanced equation for a chosen product. At: section answer sheet, question 1: Atom Economy = MW of product(s) / MW of all reactants × 100 %.

    Read in full, 10 November 2026
  2. Cohen ER et al. Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), IUPAC and RSC

    Used for: Atom economy of a balanced equation for a chosen product. At: section §2.10.1(iv), printed p. 53: the stoichiometric equation 0 = Σ ν_j B_j, and its formula matrix.

    Read in full, 10 November 2026
  3. IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Abridged Standard Atomic Weights

    Used for: Atom economy of a balanced equation for a chosen product. At: table Abridged Standard Atomic Weights.

    Read in full, 10 November 2026

How it is checked

Level

Tested, not reference-checked.

Checked against

Our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18.

Cases

No case set is linked to this version.

Not checked

That the equation is the reaction that occurs; Trost's 1991 paper (the concept's origin) was read as an abstract only and is not a source of the equation. A formula starting with a digit (13C2H4O2) is refused FORMULA_INVALID since 1.0.2, through formula-mass 1.3.0, with no case in this method's fixtures; the refusal is covered by stored reference values and unit tests only.

Open

No fault has been recorded. The checks this server requires before it lists a library tool are not finished for every method this tool uses. It is built, and the full check and confirmation this server requires of a library tool are not yet complete for every method it uses. Full check: not read from the source.

Changes to its methods1 change
  • 25 November 2026, rxn-atom-economy@1.0.2: In 1.0.2, through formula-mass 1.3.0, a formula starting with a digit is now refused (FORMULA_INVALID); every other output is unchanged, and every pinned output hash is the same.