# Overall yield of a linear or convergent route from its step yields

`rxn_overall_yield` · Runs: On the server · Level: Checked against a reference: exact arithmetic in a Python program; a second implementation in Python by a separate agent of the same model family

Works out the overall yield of a linear route, or the path yield of each step on a tree route.

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
Overall yield of a linear or convergent route from its step yields (rxn_overall_yield), Drybench MCP server 1.0.0; rxn-overall-yield@1.0.3 (Checked against a reference); https://www.drybench.com/mcp/tools/rxn-overall-yield
```

## What it is

Returns the overall yield of a linear route, or each step's path yield on a tree route, from its step yields. Use when each step's yield is known: in route order as stepYields, or as a route of steps naming the steps they take from. Not for one step's yield from the product obtained: use \`rxn\_yield\`; not for a route's PMI: use \`rxn\_route\_pmi\`. Each step is echoed in % and as a fraction; values above 100 % are flagged, never clipped; a route must be a tree with one target.

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

## What it does

**You give**

- `stepYields`: A linear route: each step's yield, in route order. Optional.
- `route`: A convergent (tree) route: every step once, one target. Optional.

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

- a step's intermediate is taken by two steps, or listed twice: tree routes only.
- more than one step is taken by no other step: one target only.
- two steps of the route share an id.
- a step takes from an id that is not a step of the route.

### Every input, with its units

2 inputs

- `stepYields`: A linear route: each step's yield, in route order. Optional.
- `route`: A convergent (tree) route: every step once, one target. Optional.

### Every refusal, with its code

5 refusals

| Code | When |
| --- | --- |
| `STEP_TAKEN_TWICE` | a step's intermediate is taken by two steps, or listed twice: tree routes only. |
| `SEVERAL_TARGETS` | more than one step is taken by no other step: one target only. |
| `DUPLICATE_STEP_ID` | two steps of the route share an id. |
| `UNKNOWN_STEP` | a step takes from an id that is not a step of the route. |
| `ROUTE_HAS_CYCLE` | the route has a cycle (a step naming itself included): it is not a route. |

## The calculation

The method's equations, constants and worked example.

### [Overall yield of a linear route, or path yields of a tree route, from its step yields](https://www.drybench.com/methods/m/rxn-overall-yield/1.0.3)

`rxn-overall-yield@1.0.3`

**Equation 1**

```text
Y_overall = Π_i y_i, each y_i a fraction (a step in % divided by 100)
```

| Symbol | Meaning |
| --- | --- |
| `Y_overall` | overall yield (reported also in %) |
| `y_i` | yield of step i |

Source 1.

**Equation 2**

```text
Y_path(s) = Π_{steps k on the unique path from s to the target} y_k, both ends included
the longest linear sequence is the longest such path from a step that takes from no other, counted in steps
```

| Symbol | Meaning |
| --- | --- |
| `Y_path(s)` | yield along the path from step s (reported also in %) |

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

- stepYields\[0\] = 90 %
- stepYields\[1\] = 85 %
- stepYields\[2\] = 70 %
- stepYields\[3\] = 95 %
- stepYields\[4\] = 80 %

**Steps**

1. y12 = 0.765, from stepYields\[0\], stepYields\[1\]; by equation 1.
2. y123 = 0.5355, from y12, stepYields\[2\]; by equation 1.
3. y1234 = 0.508725, from y123, stepYields\[3\]; by equation 1.
4. Y = 0.40698, from y1234, stepYields\[4\]; by equation 1; gives overallYieldFraction.

The working, as the case writes it:

```text
0.9 × 0.85 × 0.7 × 0.95 × 0.8 = 0.40698
```

**Answer**

- overallYieldFraction = 0.40698

Where these values came from: our own exact-arithmetic script and a hand-worked case; worked by hand by Drybench.

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

Who worked this case: not recorded.

## Sources

1. Eckert H. Efficiency Eff\_syn of complex syntheses as multicomponent reactions, its algorithm and calculations based on concrete criteria. Beilstein J Org Chem 2019;15:1425–1433 Used for: Overall yield of a linear route, or path yields of a tree route, from its step yields. At: equation 1: y\_oa = Π\_{n=1}^{N} y\_n, the overall yield as the product of the yields of all sequential synthesis steps (Table 1 tabulates it in %), p. 1425. **Read in full, 17 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:** That each step's yield is based on the previous step's product, or that all are on one basis; routes that are not trees (an intermediate shared by two steps); a source defining 'path yield' or 'longest linear sequence' (the record's definitions); Eckert 2019's weighted-mean overall yield of a convergent synthesis (Eqs. 3 and 4, p.

No independent scientist has yet reviewed this.

### What was not checked, in full

from the method records

- That each step's yield is based on the previous step's product, or that all are on one basis; routes that are not trees (an intermediate shared by two steps); a source defining 'path yield' or 'longest linear sequence' (the record's definitions); Eckert 2019's weighted-mean overall yield of a convergent synthesis (Eqs.
- 3 and 4, p.
- 1427), a different quantity.

### Changes to its methods

1 change

- [24 November 2026, rxn-overall-yield\@1.0.3](https://www.drybench.com/methods/corrections#2026-11-24-rxn-overall-yield103-1): In 1.0.3 the shared qty in stored reference values gives NaN for a non-zero rational that rounds to 0, which the kit refuses whole as RESULT\_OUTSIDE\_DOUBLE\_RANGE. Every pinned output hash is unchanged.
