# Conversion, yield and selectivity on a key reactant from assay amounts

`rxn_conversion_selectivity` · Runs: On the server · Level: 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. Cross-checked here; source not read

Works out conversion of a key reactant, and the yield and selectivity on it, from assay amounts.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Chemistry](https://www.drybench.com/mcp/catalogue/chemistry)

[Ask your assistant](https://www.drybench.com/mcp/connect)

```cite
Conversion, yield and selectivity on a key reactant from assay amounts (rxn_conversion_selectivity), Drybench MCP server 1.0.0; rxn-conversion-selectivity@1.0.3 (Cross-checked here; source not read); https://www.drybench.com/mcp/tools/rxn-conversion-selectivity
```

## What it is

Returns conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts. Use when the key reactant remaining and the product found were measured by assay (NMR, HPLC). Not for an isolated yield, or a yield on the limiting reactant: use \`rxn\_yield\`; not for which reactant limits: use \`rxn\_limiting\_reagent\`. Values above 100 % are flagged, never clipped; selectivity is withheld when none of the key reactant was consumed.

Field: [Medicinal and synthetic chemistry](https://www.drybench.com/mcp/catalogue/chemistry).

## What it does

**You give**

- `keyReactant` (required): The key reactant as charged (any form), its coefficient, and the amount remaining by assay.
- `product` (required): The product: its coefficient, the amount found by assay, and any amount already charged.

No request is recorded for this tool.

**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.
- Arithmetic on the reaction, quantities and roles you supply.
- It does not check that a formula is the substance meant, that the coefficients balance or describe the reaction that occurs, or that a density, coefficient or purity (a mass fraction, not a chromatographic area percent) is right.
- 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 amount of the key reactant remaining is above the amount charged, which would make conversion negative.
- less of the product was found than was charged, so net formation is negative and no yield or selectivity is defined.
- a substance gives both, or neither, of a formula and a molar mass.
- a formula reads as a SMILES (= # \@ / \\ or a lower-case letter not after an upper-case one); for a structure, molecule\_descriptors.

### Every input, with its units

2 inputs

- `keyReactant` (required): The key reactant as charged (any form), its coefficient, and the amount remaining by assay.
- `product` (required): The product: its coefficient, the amount found by assay, and any amount already charged.

### Every refusal, with its code

11 refusals

| Code | When |
| --- | --- |
| `REMAINING_ABOVE_CHARGED` | the amount of the key reactant remaining is above the amount charged, which would make conversion negative. |
| `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. |
| `MOLAR_MASS_SOURCE` | a substance gives both, or neither, of a formula and a molar mass. |
| `FORMULA_IS_SMILES` | a formula reads as a SMILES (= # \@ / \\ or a lower-case letter not after an upper-case one); for a structure, molecule\_descriptors. |
| `FORMULA_INVALID` | 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` | a solid, a substance or a neat liquid has no stated purity (never defaulted). |
| `MASS_FRACTION_MISSING` | a solution by mass fraction has no stated mass fraction. |
| `DENSITY_MISSING` | a liquid, a mass-fraction solution or a line given by volume has no density. |
| `CONCENTRATION_MISSING` | a solution by concentration has no concentration. |
| `QUANTITY_SOURCE` | 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` | a quantity does not fit the form: a volume for a solid or a substance, a mass for a solution by concentration. |

## The calculation

The method's equations, constants and worked example.

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

`rxn-conversion-selectivity@1.0.3`

**Equation 1**

```text
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 |
| --- | --- |
| `X` | conversion of the key reactant, % |
| `n_k,0` | key reactant charged, mol |
| `n_k` | key reactant remaining by assay, mol |

Source 1.

**Equation 2**

```text
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 |
| --- | --- |
| `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 1.

**Equation 3**

```text
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 |
| --- | --- |
| `S` | selectivity of the key reactant to the product, on the key reactant consumed, % |

Source 1.

| Constant | Value | From |
| --- | --- | --- |
| standard atomic weights (CIAAW abridged), through formula-mass 1.1.0 `A_r` | a table of values, part of the method | Source 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-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:

```text
Δ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.

## Sources

2. 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 Used for: Conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts. At: 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; 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; 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. **Read in full, 17 November 2026**
3. IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Abridged Standard Atomic Weights Used for: Conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts. At: table Abridged Standard Atomic Weights. **Read in full, 10 November 2026**

**Cited, not read**

1. Fogler HS, Elements of Chemical Reaction Engineering (the definitions of conversion, selectivity and yield) Used for: Conversion of a key reactant, yield on it charged and selectivity on it consumed, from assay amounts. At: section the definitions of conversion, selectivity and yield. 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 **Not read; source 2 read in its place**

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Cross-checked here; source not read.

**Checked against:** Our own exact-arithmetic script and a hand-worked case; an outside program, dgpost (Empa), dgpost.transform.catalysis, 2.4 (PyPI).

**Cases:** No case set is linked to this version.

**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.

No independent scientist has yet reviewed this.

### Changes to its methods

1 change

- [25 November 2026, rxn-conversion-selectivity\@1.0.3](https://www.drybench.com/methods/corrections#2026-11-25-rxn-conversion-selectivity103-1): 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.
