Skip to content

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

rxn_conversion_selectivity

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

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
Ask your assistant

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.

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 units2 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 code11 refusals
CodeWhen
REMAINING_ABOVE_CHARGEDthe amount of the key reactant remaining is above the amount charged, which would make conversion negative.
PRODUCT_FOUND_BELOW_CHARGEDless of the product was found than was charged, so net formation is negative and no yield or selectivity is defined.
MOLAR_MASS_SOURCEa substance gives both, or neither, of a formula and a molar mass.
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).
PURITY_MISSINGa solid, a substance or a neat liquid has no stated purity (never defaulted).
MASS_FRACTION_MISSINGa solution by mass fraction has no stated mass fraction.
DENSITY_MISSINGa liquid, a mass-fraction solution or a line given by volume has no density.
CONCENTRATION_MISSINGa solution by concentration has no concentration.
QUANTITY_SOURCEa 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_FORMa 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 amountsrxn-conversion-selectivity@1.0.3

Equation 1

X=100%×(nk,0−nk)/nk,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

SymbolMeaning
Xconversion of the key reactant, %
n_k,0key reactant charged, mol
n_kkey reactant remaining by assay, mol

Source 1.

Equation 2

Y=100%×(np−np,0)·νk/(νp·nk,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

SymbolMeaning
Yyield of the product on the key reactant charged, %
n_pproduct found by assay, mol
n_p,0product charged (0 when none is stated), mol
ν_kkey reactant's coefficient
ν_pproduct's coefficient

Source 1.

Equation 3

S=100%×(np−np,0)·νk/(νp·(nk,0−nk))

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)

SymbolMeaning
Sselectivity of the key reactant to the product, on the key reactant consumed, %

Source 1.

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

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

Sources

  1. 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
  2. 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

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.

Changes to its methods1 change