# Atom economy of a balanced equation for a chosen product, version 1.0.2

rxn-atom-economy\@1.0.2: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

## What this page can and cannot show

**Level: Tested, not reference-checked; the equation as written, balance checked; catalysts, solvents and excess reagents excluded by definition. Reference kind: 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.**

Tested by this project, not reference-checked and not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with this project's own expected values within the stated tolerance. That tests the code against our own working, not against an outside reference. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these tests. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/rxn-atom-economy) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.0.2

**Level: Tested, not reference-checked; the equation as written, balance checked; catalysts, solvents and excess reagents excluded by definition. Reference kind: 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.** `rxn-atom-economy@1.0.2`

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Atom economy is 100 % times the desired product's ν·M over the sum of ν·M of the reactants, for an equation that balances exactly in elements and charge. The ν weighting of each species and the charge row of the balance are the record's forms, beyond the CHEM21 sheet's text (a 1:1:1 example with no charge). Each coefficient is read as the shortest decimal of its working value, and the balance is decided exactly on those decimals: 0.1 O3 against 0.15 O2 balances. Results are exact rationals, each rounded once. The order of notes carries no meaning.

- **How results are reported:** none: full double precision from exact rational arithmetic; the caller rounds
- **Uncertainty:** Exact rational arithmetic on the stated coefficients and tabulated weights, each result rounded once to a double; no uncertainty in a weight is propagated.
- **Reference, as its record states it:** exact arithmetic in a Python program, with the CHEM21 answer sheet's printed example; a second implementation in Python by a separate agent of the same model family
- **Computes through:** `formula-reading@1.0.2`
- **Level confirmed by this project's ruling of** 14 November 2026

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

62 cases in 3 files, linked by this exact version.

Run through the tool at build 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: 35 agree within the tolerance the file states, 27 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 18 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-10
  - **Reference:** Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
  - **Tolerance as the file states it:** every number relative 1e-12; statuses and codes exact

- **File 2, 2 cases**
  - **Where the expected values came from:** the source's own worked example, ACS GCIPR CHEM21 'Efficiency metrics' exercise, answer sheet, question 1; read in full 10 November 2026
  - **Recorded on:** 2026-11-10
  - **Reference:** Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
  - **Tolerance as the file states it:** numbers to half the last digit printed (absolute 0.05); statuses and codes exact

- **File 3, 42 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** every number relative 1e-12; statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

### What was 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.

### Definition or model

A closed form: the result follows from the inputs by the equations alone.

### Equations

**Equation 1**

```equation
AE = 100 % × ν_P · M(P) / Σ_reactants ν_i · M(R_i)
```

| Symbol | Meaning and unit |
| --- | --- |
| AE | atom economy, % |
| ν | stoichiometric coefficient |
| M | molar mass, g/mol |

Source: ACS GCI Pharmaceutical Roundtable learning site, CHEM21 'Efficiency metrics' exercise (direct amidation with a borate ester): questions, data sheet and answer sheet, section answer sheet, question 1: Atom Economy = MW of product(s) / MW of all reactants × 100 %, the answer sheet PDF as downloaded on 10 November 2026; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning b58e200bfe87. Free to read (free download; no licence grant stated), checked 2026-11-11. No erratum found (searched the exercise pages on learning.acsgcipr.org, web search for an erratum to the exercise), 2026-11-11.

**Equation 2**

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

| Symbol | Meaning and unit |
| --- | --- |
| count\_e | number of atoms of element e in a formula |

Source: Cohen ER et al. Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), IUPAC and RSC, section §2.10.1(iv), printed p. 53: the stoichiometric equation 0 = Σ ν\_j B\_j, and its formula matrix, 3rd edition (2007), 2nd printing, December 2012 searchable PDF from iupac.org; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning dc9cf52d6cf3. Free to read (free PDF from IUPAC; all rights reserved), checked 2026-11-11. Erratum: Errata to the IUPAC Green Book, 3rd edition (2007): an English list reported February 2010 (ed. J. Stohner), known only through AIST NMIJ's Japanese-translation errata (December 2010), which cites it. Neither list read: the host refused the connection on 11 November 2026. Unverified search summaries report corrections to magnetic-quantity terminology, a misprinted 'enthalpy', a digit of the Rydberg constant and a citation year; a 4th printing (2014) is described as 'with corrections'. The copy read (2nd printing, December 2012 searchable PDF) is taken as uncorrected. Whether any entry falls in §2.2, §2.10 or §3.10.1 is unknown. (2026-11-11).

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| standard atomic weights (CIAAW abridged), through formula-mass 1.1.0 (A\_r) | a table of values, part of the method | IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Abridged Standard Atomic Weights, table Abridged Standard Atomic Weights | 2026-11-10 |

### 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:

```equation
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.

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `EQUATION_UNBALANCED`: the equation as written does not balance exactly in every element and in charge, so atom economy is not defined on it Next: Balance the equation first with rxn\_balance\_equation, then give its coefficients.
- `DESIRED_COUNT` (invalid input): not exactly one product is marked desired
- `FORMULA_IS_SMILES` (invalid input): a formula reads as a SMILES (= # \@ / \\ or a lower-case letter not after an upper-case one); for a structure, molecule\_descriptors
- `FORMULA_INVALID` (invalid input): 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)

**Input ranges:** reactants\[\*\].coefficient: above 0; outside it, invalid input (OUT\_OF\_RANGE). products\[\*\].coefficient: above 0; outside it, invalid input (OUT\_OF\_RANGE).

### Flags and notes a reply may carry

A note a reply may carry:

- `ASCII_DOT_ADDUCT`: An ASCII dot between digits was read as an adduct (a hydrate written with a dot is read as the salt with its water); write · for an adduct. Decimal counts are not accepted: check the formula as read.

### Changes

#### 2026-11-25-rxn-atom-economy\@1.0.2-1

2026-11-25 · [`rxn-atom-economy@1.0.2`](https://www.drybench.com/methods/m/rxn-atom-economy) · Corrections to our methods

- **What was wrong:** A number written before a reactant or product formula was read as a multiplier of it. Such an equation was refused as unbalanced unless the misread formulas still balanced; where they did, each species' ν·M is the same product, so the atom economy was the same number, but the reply showed the misread formulas.
- **Affected:** rxn\_atom\_economy at rxn-atom-economy 1.0.1 and earlier, only where a reactant or product formula starts with a digit. Every other output is unchanged.
- **What changed:** 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.
- **How it was found:** A review of the formula reader's grammar on 24 November 2026 found that no rule or test documented a number at the start of a formula, while the shared reader (formula-mass) applied the adduct multiplier to the first part as well; the scientific review ruled the same day that such a formula is refused. A sweep of the tools' worked examples with 13 written before each formula argument, before and after the fix, found which tools computed on it.
- **Cases added:** None in the fixtures: no published case starts a formula with a digit, and every pinned output hash is unchanged. The refusal is covered by the formula reader's hand cases and unit tests; the widened sweep records each tool's reply before and after.

## Tools that use it

- [`rxn_atom_economy`](https://www.drybench.com/methods/tools/rxn-atom-economy)

## Cite this version

Atom economy of a balanced equation for a chosen product. Drybench; rxn-atom-economy\@1.0.2; [https://www.drybench.com/methods/m/rxn-atom-economy/1.0.2](https://www.drybench.com/methods/m/rxn-atom-economy/1.0.2) (accessed \[date\]).
