# Conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts, version 1.0.3

rxn-conversion-selectivity\@1.0.3: 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

Its source was not read. Its calculation agreed with a separately written implementation on recorded cases, edges and refusals included, and with the outside program the note names, or the note says none exists. Both implementations were written from the same documents, so a misreading they share would not be caught.

**Level: Cross-checked here; source not read; after Fogler, not read; rests on a derivation shown in the record: Green Book 4th ed. §4.10 notes 13–14, p. 45. Reference kind: our own exact-arithmetic script and a hand-worked case; an outside program, dgpost (Empa), dgpost.transform.catalysis, 2.4 (PyPI).**

Sources not read, why, and what was read in each one's place:

- Source: Fogler HS, Elements of Chemical Reaction Engineering (the definitions of conversion, selectivity and yield), section the definitions of conversion, selectivity and yield; not read: a book; Fogler's site at umich.edu refused automated fetches (a Cloudflare bot check, HTTP 403, 24 November 2026). IUPAC 1976 and the Gold Book, also unread (bot checks; the Wayback Machine unreachable; IUPAC copies on other hostnames not fetched, refused by the session's permission policy), are not named as the origin: by row 7.8 of the sources list's reading, IUPAC 1976 defines selectivity on rates and no yield. Read in its place: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), 4th edition, abridged version, eds. Brett CMA, Frey JG, Hinde R, Kuroda Y, Marquardt R, Pavese F, Quack M, Stohner J, Thor AJ, RSC Publishing 2023, p. 45, section §4.10, notes 13 and 14: n\_j = n\_j,0 + ν\_j ξ, ν\_j negative for reactants; the key reactant consumed n\_k,0 − n\_k = ν\_k ξ is the record's derivation from it, 4th edition, abridged version (2023): IUPAC's online PDF release of March 2025 (122 pages; PDF created 26 October 2023), not the RSC e-book of record; read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person.

Tested by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with a separately written implementation within the stated tolerance; a source of at least one method was not read, and the page names what was read in its place. 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 checks. No independent scientist has yet reviewed them.

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

## Version 1.0.3

**Level: Cross-checked here; source not read; after Fogler, not read; rests on a derivation shown in the record: Green Book 4th ed. §4.10 notes 13–14, p. 45. Reference kind: our own exact-arithmetic script and a hand-worked case; an outside program, dgpost (Empa), dgpost.transform.catalysis, 2.4 (PyPI).** `rxn-conversion-selectivity@1.0.3`

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.

**Verification statement:** Qualifier in full, as this project's ruling of 24 November 2026 words it (R1): after Fogler, not read; rests on a derivation shown in the record: Green Book 4th ed. §4.10 notes 13–14, p. 45, read 24 Nov 2026. assay amounts; conversion and yield on the key reactant charged, selectivity on the key reactant consumed; senses as named

X = consumed over charged; Y = product formed × ν\_k/ν\_p over key reactant charged; S = the same over key reactant consumed, so Y = X · S; on assay amounts, in %. SELECTIVITY\_CALLED\_YIELD\_ELSEWHERE is given only where selectivity is computed, not where it is withheld. Each amount is read as the shortest decimal of its working value; results are exact rationals, each rounded once. Bounds are checked on the working value (the kit's statement): a purity within one rounding of 100 % is read as 100 %. Notes are listed sorted by id; that order, and the order of flags, carries no meaning.

- **How results are reported:** none: full double precision from exact rational arithmetic; yield or selectivity above 100 % is reported with its flag, never clipped
- **Uncertainty:** Exact rational arithmetic on the stated amounts, each result rounded once to a double; no uncertainty is propagated. At low conversion, selectivity amplifies any error in the amount of the key reactant remaining.
- **Reference, as its record states it:** exact arithmetic in a Python program; a second implementation in Python by a separate agent of the same model family
- **Computes through:** `solution-concentration@1.0.1`, `formula-reading@1.0.2`
- **Level confirmed by this project's ruling of** 25 November 2026

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

### What was checked

86 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; an outside program, dgpost (Empa), dgpost.transform.catalysis, 2.4 (PyPI): 50 agree within the tolerance the file states, 36 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 29 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; names, basis, withheld rules, flags, statuses and codes exact

- **File 2, 53 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; names, basis, withheld rules, flags, statuses and codes exact

- **File 3, 4 cases**
  - **Where the expected values came from:** an outside program, dgpost (Empa), dgpost.transform.catalysis 2.4 (PyPI)
  - **Recorded on:** 2026-11-24
  - **Reference:** dgpost (Empa), dgpost.transform.catalysis, 2.4 (PyPI); licence GPL-3.0-or-later
  - **Tolerance as the file states it:** relative 1e-12 on every number (dgpost works in doubles), stated before the run; names, basis, notes, 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 key reactant is the limiting one; a primary source for the three senses (IUPAC Pure Appl Chem 1976;46:71 and the Gold Book, not read, not cited; Fogler, cited, not read; IUPAC 1976 as row 7.8 read it defines selectivity on rates and no yield; no primary for S on the key reactant consumed with ν\_k/ν\_p is identified); agreement with an outside program where the carbon balance does not close (dgpost's selectivity is over the measured products); the yield here equals rxn\_yield's only when its theoretical amount is ν\_p · n\_k,0 / ν\_k; an isolated basis; selectivity as desired over undesired product. A formula starting with a digit (13C8H8O2) is refused FORMULA\_INVALID since 1.0.3, 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
X = 100 % × (n_k,0 − n_k) / n_k,0
with n_k = n_k,0 − ν_k ξ (Green Book §4.10 note 13, ν_k here the coefficient's magnitude), the key reactant consumed n_k,0 − n_k = ν_k ξ, so X is the fraction of the key reactant charged that has reacted
```

| Symbol | Meaning and unit |
| --- | --- |
| X | conversion of the key reactant, % |
| n\_k,0 | key reactant charged, mol |
| n\_k | key reactant remaining by assay, mol |

Source: Fogler HS, Elements of Chemical Reaction Engineering (the definitions of conversion, selectivity and yield), section the definitions of conversion, selectivity and yield; not read: a book; Fogler's site at umich.edu refused automated fetches (a Cloudflare bot check, HTTP 403, 24 November 2026). IUPAC 1976 and the Gold Book, also unread (bot checks; the Wayback Machine unreachable; IUPAC copies on other hostnames not fetched, refused by the session's permission policy), are not named as the origin: by row 7.8 of the sources list's reading, IUPAC 1976 defines selectivity on rates and no yield. Read in its place: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), 4th edition, abridged version, eds. Brett CMA, Frey JG, Hinde R, Kuroda Y, Marquardt R, Pavese F, Quack M, Stohner J, Thor AJ, RSC Publishing 2023, p. 45, section §4.10, notes 13 and 14: n\_j = n\_j,0 + ν\_j ξ, ν\_j negative for reactants; the key reactant consumed n\_k,0 − n\_k = ν\_k ξ is the record's derivation from it, 4th edition, abridged version (2023): IUPAC's online PDF release of March 2025 (122 pages; PDF created 26 October 2023), not the RSC e-book of record; read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person. To buy, checked 2026-11-24. No erratum found (searched not searched: the book is unread), 2026-11-24.

**Equation 2**

```equation
Y = 100 % × (n_p − n_p,0) · ν_k / (ν_p · n_k,0)
with n_p = n_p,0 + ν_p ξ (Green Book §4.10 note 13), (n_p − n_p,0) · ν_k/ν_p = ν_k ξ is the key reactant that formed the product, so Y is that over the key reactant charged, 100 % when all of it forms this product
```

| Symbol | Meaning and unit |
| --- | --- |
| Y | yield of the product on the key reactant charged, % |
| n\_p | product found by assay, mol |
| n\_p,0 | product charged (0 when none is stated), mol |
| ν\_k | key reactant's coefficient |
| ν\_p | product's coefficient |

Source: Fogler HS, Elements of Chemical Reaction Engineering (the definitions of conversion, selectivity and yield), section the definitions of conversion, selectivity and yield; not read: a book; Fogler's site at umich.edu refused automated fetches (a Cloudflare bot check, HTTP 403, 24 November 2026). IUPAC 1976 and the Gold Book, also unread (bot checks; the Wayback Machine unreachable; IUPAC copies on other hostnames not fetched, refused by the session's permission policy), are not named as the origin: by row 7.8 of the sources list's reading, IUPAC 1976 defines selectivity on rates and no yield. Read in its place: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), 4th edition, abridged version, eds. Brett CMA, Frey JG, Hinde R, Kuroda Y, Marquardt R, Pavese F, Quack M, Stohner J, Thor AJ, RSC Publishing 2023, p. 45, section §4.10, notes 13 and 14: n\_j = n\_j,0 + ν\_j ξ, ν\_j negative for reactants; product formed n\_p − n\_p,0 = ν\_p ξ and key reactant ν\_k ξ, so (n\_p − n\_p,0) · ν\_k/ν\_p = ν\_k ξ is the record's derivation from it, 4th edition, abridged version (2023): IUPAC's online PDF release of March 2025 (122 pages; PDF created 26 October 2023), not the RSC e-book of record; read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person. To buy, checked 2026-11-24. No erratum found (searched not searched: the book is unread), 2026-11-24.

**Equation 3**

```equation
S = 100 % × (n_p − n_p,0) · ν_k / (ν_p · (n_k,0 − n_k))
withheld when n_k = n_k,0
by the same extent, S = 100 % when the key reactant consumed goes only to this product, so Y = X · S
the name 'selectivity' for this ratio is the record's convention (no source read names it)
```

| Symbol | Meaning and unit |
| --- | --- |
| S | selectivity of the key reactant to the product, on the key reactant consumed, % |

Source: Fogler HS, Elements of Chemical Reaction Engineering (the definitions of conversion, selectivity and yield), section the definitions of conversion, selectivity and yield; not read: a book; Fogler's site at umich.edu refused automated fetches (a Cloudflare bot check, HTTP 403, 24 November 2026). IUPAC 1976 and the Gold Book, also unread (bot checks; the Wayback Machine unreachable; IUPAC copies on other hostnames not fetched, refused by the session's permission policy), are not named as the origin: by row 7.8 of the sources list's reading, IUPAC 1976 defines selectivity on rates and no yield. Read in its place: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the IUPAC Green Book), 4th edition, abridged version, eds. Brett CMA, Frey JG, Hinde R, Kuroda Y, Marquardt R, Pavese F, Quack M, Stohner J, Thor AJ, RSC Publishing 2023, p. 45, section §4.10, notes 13 and 14: n\_j = n\_j,0 + ν\_j ξ, ν\_j negative for reactants; the key reactant that formed the product (n\_p − n\_p,0) · ν\_k/ν\_p = ν\_k ξ\_p over the key reactant consumed, equal when it goes only to this product is the record's derivation from it, 4th edition, abridged version (2023): IUPAC's online PDF release of March 2025 (122 pages; PDF created 26 October 2023), not the RSC e-book of record; read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person. To buy, checked 2026-11-24. No erratum found (searched not searched: the book is unread), 2026-11-24.

### 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-conversion-selectivity\@1.0.3, 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**

- keyReactant.name = benzoic acid
- keyReactant.formula = C7H6O2
- keyReactant.form = substance
- keyReactant.purity = 100 %
- keyReactant.coefficient = 2
- keyReactant.amountRemaining = 2 mmol
- keyReactant.amount = 10 mmol
- product.name = product
- product.coefficient = 1
- product.amountFound = 3 mmol

**Steps**

1. dk = 0.008 mol, from keyReactant.amount, keyReactant.amountRemaining; by equation 1; gives keyReactant.amountConsumed.
2. X = 80 %, from dk, keyReactant.amount; by equation 1; gives conversionOfKeyReactant.
3. Y = 60 %, from product.amountFound, keyReactant.coefficient, product.coefficient, keyReactant.amount; by equation 2; gives yieldOnKeyReactantCharged.
4. S = 75 %, from product.amountFound, keyReactant.coefficient, product.coefficient, dk; by equation 3; gives selectivityOnKeyReactantConsumed.

The working, as the case writes it:

```equation
Δn_k = 10.0 − 2.0 = 8.0
X = 8.0/10.0 = 80 %
Y = 3.0 × 2 / (1 × 10.0) = 60 %
S = 3.0 × 2 / (1 × 8.0) = 75 %.
```

**Answer**

- `keyReactant.amountConsumed` = **0.008 mol**
- `conversionOfKeyReactant` = **80 %**
- `yieldOnKeyReactantCharged` = **60 %**
- `selectivityOnKeyReactantConsumed` = **75 %**

Where these values came from: our own exact-arithmetic script and a hand-worked case; worked by hand by Drybench (ruling, §5).

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

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `REMAINING_ABOVE_CHARGED`: the amount of the key reactant remaining is above the amount charged, which would make conversion negative Next: Check the assay of the key reactant remaining and the amount charged.
- `PRODUCT_FOUND_BELOW_CHARGED`: less of the product was found than was charged, so net formation is negative and no yield or selectivity is defined Next: Check the assay of the product found and the amount of product charged.
- `MOLAR_MASS_SOURCE` (invalid input): a substance gives both, or neither, of a formula and a molar mass
- `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)
- `PURITY_MISSING` (invalid input): a solid, a substance or a neat liquid has no stated purity (never defaulted)
- `MASS_FRACTION_MISSING` (invalid input): a solution by mass fraction has no stated mass fraction
- `DENSITY_MISSING` (invalid input): a liquid, a mass-fraction solution or a line given by volume has no density
- `CONCENTRATION_MISSING` (invalid input): a solution by concentration has no concentration
- `QUANTITY_SOURCE` (invalid input): a charge or a line gives not exactly one of its quantities (amount, mass or volume), or a reagent other than the reference carries a scale
- `QUANTITY_FORM` (invalid input): a quantity does not fit the form: a volume for a solid or a substance, a mass for a solution by concentration

### Flags and notes a reply may carry

A flag says a number must be read differently:

- `ABOVE_THEORETICAL`: Above the theoretical amount: more product is recorded than the reaction can give. Usually the product still holds solvent, water, salts or another substance, its purity is overstated, the theoretical amount is wrong, or an assay's calibration is off. Not a yield to report as it stands.
- `SELECTIVITY_ABOVE_STOICHIOMETRIC`: Selectivity above the stoichiometric maximum: more of the product was found than the key reactant consumed can give. The amount of the key reactant charged or remaining, or of the product, is likely mis-assayed or misrecorded, or the stoichiometric numbers are wrong.
- `PRODUCT_WITHOUT_CONSUMPTION`: The product was found but none of the key reactant was consumed: the amounts are inconsistent (an assay error, or the product came from another source).

A note a reply may carry:

- `YIELD_ON_KEY_REACTANT`: Yield is based on the key reactant. If the key reactant is not the limiting reactant, this is lower than the yield on the limiting reactant (rxn\_yield with the reaction gives that).
- `SELECTIVITY_CALLED_YIELD_ELSEWHERE`: Some texts (Fogler) call this quantity the yield; it is not Fogler's selectivity, which is desired over undesired product.
- `NO_PRODUCT_CHARGED`: No product was stated as charged; the amount formed is the amount found.
- `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-conversion-selectivity\@1.0.3-1

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

- **What was wrong:** A number written before the key reactant or product formula was read as a multiplier. Methyl benzoate written 13C8H8O2 was read back as C104H104O26; conversion, yield and selectivity did not move, since the product enters as an assay amount. A key reactant charged by mass and so written was taken as one-thirteenth of the amount charged, and its conversion, yield and selectivity were wrong.
- **Affected:** rxn\_conversion\_selectivity at rxn-conversion-selectivity 1.0.2 and earlier, only where the key reactant or product formula starts with a digit. Every other output is unchanged.
- **What changed:** In 1.0.3, 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_conversion_selectivity`](https://www.drybench.com/methods/tools/rxn-conversion-selectivity)

## Cite this version

Conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts. Drybench; rxn-conversion-selectivity\@1.0.3; [https://www.drybench.com/methods/m/rxn-conversion-selectivity/1.0.3](https://www.drybench.com/methods/m/rxn-conversion-selectivity/1.0.3) (accessed \[date\]).
