# Percent yield from the product obtained and its theoretical amount

`rxn_yield` · Runs: On the server · Level: Checked against a reference: exact arithmetic in a Python program on hand-typed CIAAW weights; Pint 0.26.2 over exact fractions

Works out percent yield as moles obtained over theoretical moles, for an isolated or assayed product.

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
Percent yield from the product obtained and its theoretical amount (rxn_yield), Drybench MCP server 1.0.0; rxn-yield@1.0.3 (Checked against a reference); https://www.drybench.com/mcp/tools/rxn-yield
```

## What it is

Returns the percent yield, 100 × moles obtained / theoretical moles, of an isolated or assayed product. Use when the theoretical amount is stated or the charged reaction is given. Not for the limiting reagent: use \`rxn\_limiting\_reagent\`; moles in a mass: use \`calc\_formula\_mass\`; conversion: use \`rxn\_conversion\_selectivity\`. Above 100 % is flagged.

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

## What it does

**You give**

- `product` (required): As weighed: a formula or a molar mass.
- `obtained` (required): The product obtained.
- `theoretical` (required): Stated, or from the reaction as charged (exactly one).

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

- an isolated product is not given as a mass, or an assay yield is not given as an amount.
- a solid, a substance or a neat liquid has no stated purity (never defaulted).
- not exactly one of a stated theoretical amount and a reaction.
- the theoretical amount comes from a reaction whose product is not the form weighed (no 1:1 conversion between a salt or solvate and its parent is assumed).

### Every input, with its units

3 inputs

- `product` (required): As weighed: a formula or a molar mass.
- `obtained` (required): The product obtained.
- `theoretical` (required): Stated, or from the reaction as charged (exactly one).

### Every refusal, with its code

8 refusals

| Code | When |
| --- | --- |
| `QUANTITY_BASIS` | an isolated product is not given as a mass, or an assay yield is not given as an amount. |
| `PURITY_MISSING` | a solid, a substance or a neat liquid has no stated purity (never defaulted). |
| `THEORETICAL_SOURCE` | not exactly one of a stated theoretical amount and a reaction. |
| `PRODUCT_FORM_DIFFERS` | the theoretical amount comes from a reaction whose product is not the form weighed (no 1:1 conversion between a salt or solvate and its parent is assumed). |
| `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). |
| `OUT_OF_RANGE` | theoretical.amount outside above 0 mol. |

## The calculation

The method's equations, constants and worked example.

### [Percent yield from the product obtained and its theoretical amount](https://www.drybench.com/methods/m/rxn-yield/1.0.3)

`rxn-yield@1.0.3`

**Equation 1**

```text
n_obt = m · w / M (isolated), or the amount found by assay
```

| Symbol | Meaning |
| --- | --- |
| `n_obt` | amount of product obtained, mol |
| `m` | isolated mass, g |
| `w` | purity, a mass fraction |
| `M` | molar mass, g/mol |

Source 1.

**Equation 2**

```text
Y = 100 % × n_obt / n_theor
```

| Symbol | Meaning |
| --- | --- |
| `Y` | percent yield, % |
| `n_theor` | theoretical amount, mol |

Source 2.

**Equation 3**

```text
m_actual = m · w: the actual yield, the isolated product's mass times its purity as a fraction
```

| Symbol | Meaning |
| --- | --- |
| `m_actual` | actual yield, the mass of product in the material isolated, g |
| `m` | isolated mass, g |
| `w` | purity, a mass fraction |

Source 3.

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

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-yield\@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**

- product.formula = C6H12O2
- obtained.basis = isolated
- obtained.mass = 0.85 g
- obtained.purity = 97 %
- theoretical.amount = 8 mmol

**Steps**

1. M = 116.16 g/mol, from product.formula; by equation 1.
2. n = 0.0070979683 mol, from obtained.mass, obtained.purity, M; by equation 1; gives amountObtained.
3. Y = 88.724604 %, from n, theoretical.amount; by equation 2; gives percentYield.

The working, as the case writes it:

```text
Butyl acetate C6H12O2: M = 6×12.011 + 12×1.0080 + 2×15.999 = 116.160 g/mol
n = 0.850 g × 0.97 / 116.160 = 7.0980 mmol
7.0980/8.00 × 100 = 88.72 %.
```

**Answer**

- amountObtained = 0.0070979683 mol
- percentYield = 88.724604 %

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; basis, flags, statuses and codes exact.

Who worked this case: not recorded.

## 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: Percent yield from the product obtained and its theoretical amount. At: p. 44, section §4.10: molar mass M\_B = m\_B/n\_B, so n = m/M; mass fraction w\_B = m\_B/Σ m\_j, so the product's mass in a weighed m is m·w. **Read in full, 17 November 2026**
2. Orsy G, Shahmohammadi S, Forró E. A Sustainable Green Enzymatic Method for Amide Bond Formation. Molecules 2023;28(15):5706 Used for: Percent yield from the product obtained and its theoretical amount. At: section 3. Materials and Methods, 3.2 General Procedure for CALB-Catalyzed Amidation: percent yield of the desired amides (actual yield/theoretical yield × 100); Avakian 2025 states the same (the actual yield divided by the theoretical yield and multiplied by 100). **Read in full, 24 November 2026**
3. Avakian A. Protecting the Ketone: Preparation of Ethyl Acetoacetate Ethylene Ketal and Its Relevance to Medicinal Chemistry. Cureus 2025;17(8):e90222 Used for: Percent yield from the product obtained and its theoretical amount. At: section Methods and Discussion: the actual yield, corrected for product purity, calculated by multiplying the total product mass by the fractional purity. **Read in full, 24 November 2026**
4. IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Abridged Standard Atomic Weights Used for: Percent yield from the product obtained and its theoretical amount. At: table Abridged Standard Atomic Weights. **Read in full, 10 November 2026**

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

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Our own exact-arithmetic script and a hand-worked case.

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

**Not checked:** An IUPAC definition of percent yield in the chemistry sense (none found; the definition is read in two CC BY articles); that the purity is a mass fraction by assay; that the product weighed is dry and free of solvent, water or salts. A formula starting with a digit (13C6H12O2) 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-yield\@1.0.3](https://www.drybench.com/methods/corrections#2026-11-25-rxn-yield103-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.
