# Master mix

`calc_master_mix` · Runs: On the server · Level: Checked against a reference: exact rational volume balance

Plans a master mix for N reactions, giving each component volume with overage and dead volume.

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) / [Solutions](https://www.drybench.com/mcp/catalogue/solutions)

[Ask your assistant](https://www.drybench.com/mcp/connect) · [Open in Drybench Calc](https://www.drybench.com/calculators/app)

```cite
Master mix (calc_master_mix), Drybench MCP server 1.0.0; master-mix-preparation@1.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/calc-master-mix
```

## What it is

Plans a master mix for N reactions from per-reaction volumes, stock-to-target concentrations (or fold strengths), and an optional fill diluent, distinguishing shared-mix vs separate-reaction additions with overage and deadVolume.

Field: [Solutions](https://www.drybench.com/mcp/catalogue/solutions). It is the same calculation as [Drybench Calc](https://www.drybench.com/calculators/app), called by an AI assistant through the server.

## What it does

**You give**

- `reactionCount` (required): Whole number of reactions (1 to 1,000,000); a fractional count is refused (reaction-count).
- `reactionVolume` (required): Final volume per reaction.
- `components` (required): Components (1 to 40); each states addition ('mix' or 'separate') and mode.
- `overage`: Optional shared-mix overage percentage (default 0 %).
- `deadVolume`: Optional vessel dead volume (default 0 µL).
- `minimumTransfer`: Optional minimum transfer volume to flag.

**A request and its answer**

Asked with

- `reactionCount`: 24
- `reactionVolume`: 20 µL
- `overage`: 10 %
- `deadVolume`: 5 µL
- `minimumTransfer`: 0.5 µL

It answered (computed)

- `reactionCount`: 24
- `reactionVolume`: 0.00002 L
- `mixPerReaction`: 0.000018 L
- `separatePerReaction`: 0.000002 L
- `batchVolume`: 0.0004802 L
- `mixEquivalents`: 26.68
- `overageVolume`: 0.0000432 L
- `deadVolume`: 0.000005 L

Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here. One answer to one request, not a reference value.

**Limits**

- Volumes add.
- 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.

Every reply also carries its app's limits line: "The stock, dilution and buffer calculations here are not for dosing or clinical preparation."

**It will not answer when**

- A component omits its mode (invalid-input).
- A component omits its addition ('mix' or 'separate') (invalid-input).
- reactionCount is outside integer bounds \[1, 1000000\].
- reactionVolume is missing or not positive.

### Every input, with its units

6 inputs

- `reactionCount` (required): Whole number of reactions (1 to 1,000,000); a fractional count is refused (reaction-count).
- `reactionVolume` (required): Final volume per reaction.
- `components` (required): Components (1 to 40); each states addition ('mix' or 'separate') and mode.
- `overage`: Optional shared-mix overage percentage (default 0 %).
- `deadVolume`: Optional vessel dead volume (default 0 µL).
- `minimumTransfer`: Optional minimum transfer volume to flag.

### Every refusal, with its code

17 refusals

| Code | When |
| --- | --- |
| `MODE_REQUIRED` | A component omits its mode (invalid-input). |
| `CONVENTION_REQUIRED` | A component omits its addition ('mix' or 'separate') (invalid-input). |
| `REACTION_COUNT_INVALID` | reactionCount is outside integer bounds \[1, 1000000\]. |
| `REACTION_VOLUME_INVALID` | reactionVolume is missing or not positive. |
| `OVERAGE_INVALID` | overage is outside \[0, 1000\] %. |
| `DEAD_VOLUME_INVALID` | deadVolume is negative. |
| `MINIMUM_TRANSFER_INVALID` | minimumTransfer is negative. |
| `COMPONENTS_EMPTY` | No components are supplied. |
| `COMPONENT_NAME_MISSING` | A component has a blank name. |
| `COMPONENT_VOLUME_INVALID` | A fixed-volume component has a missing or non-positive volume. |
| `EXCEEDS_REACTION_VOLUME` | The additions exceed the reaction volume. |
| `UNFILLED_REACTION_VOLUME` | No diluent and the additions fall short of the reaction volume. |
| `MULTIPLE_DILUENTS` | More than one diluent. |
| `INCOMPATIBLE_CONCENTRATION_UNITS` | Stock and target in different concentration families. |
| `EMPTY_MIX` | Nothing goes into the shared mix. |
| `CONCENTRATIONS_INVALID` | A stock or target concentration is missing or not positive. |
| `NON_FINITE_QUANTITY` | A calculated volume is not finite. |

## The calculation

The method's equations, constants and worked example.

### [Master mix preparation](https://www.drybench.com/methods/m/master-mix-preparation/1.0.0)

`master-mix-preparation@1.0.0`

**Equation 1**

```text
A component given by stock S and target T adds R × T/S per reaction
one given by volume adds that volume
the single diluent receives R less every other addition, separate additions included.
```

| Symbol | Meaning |
| --- | --- |
| `R` | final volume of one reaction, L |
| `T/S` | target over stock, same family (×, molar or mass concentration), 1 |

**Equation 2**

```text
B = N × M × (1 + overage/100) + D, where M is the shared volume dispensed per reaction and D one mix vessel's extra dead volume
each shared component's total = its per-reaction volume × B/M
each separate component's total = its per-reaction volume × N.
```

| Symbol | Meaning |
| --- | --- |
| `B` | batch volume of the shared mix, L |
| `N` | reactions, 1 |
| `M` | shared volume per reaction, L |
| `D` | dead volume of one mix vessel, L |

**Conventions**

- Convention chosen by this project: the overage is applied to the shared volume before the fixed dead volume is added, so the dead volume carries no overage. Applied afterwards, the overage would also add its percentage of the dead volume: 10 percent on a 20 µL dead volume adds 2 µL in total. With either at zero, the figure is the same.

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 master-mix-preparation\@1.0.0, 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**

- reactionCount = 10
- reactionVolume = 20 µL
- overagePercent = 10
- deadVolume = 5 µL
- components\[0\].name = 2× master mix
- components\[0\].mode = concentration
- components\[0\].stock = 2 ×
- components\[0\].target = 1 ×
- components\[1\].name = Forward primer
- components\[1\].mode = concentration
- components\[1\].stock = 10 µM
- components\[1\].target = 0.4 µM
- components\[2\].name = Reverse primer
- components\[2\].mode = concentration
- components\[2\].stock = 10 µM
- components\[2\].target = 0.4 µM
- components\[3\].name = Water
- components\[3\].mode = diluent
- components\[4\].name = Template
- components\[4\].addition = separate
- components\[4\].mode = volume
- components\[4\].volume = 2 µL

**Steps**

1. mm: R·T/S = 10 µL L, from R = 20 µL, T/S = 1/2.
2. primer: R·T/S = 0.8 µL each L, from R = 20 µL, T/S = 0.4/10.
3. water: R − Σ others = 6.4 µL L.
4. M: R − separate = 18 µL L.
5. B: N·M·(1 + overage) + D = 203 µL L, from N = 10, overage = 0.10, D = 5 µL.
6. eq: B / M = 11.2777778, gives result.mixEquivalents.
7. mmTotal: 10 µL × B/M = 112.777778 µL L.
8. templateTotal: 2 µL × N = 20 µL L.

The working, as the case writes it:

```text
Addition = R·T/S
water = R − Σ others
M = shared volume per reaction
B = N·M·(1 + overage) + D
shared totals × B/M
separate totals × N.
```

**Answer**

- result.batchVolume = 0.000203
- result.mixEquivalents = 11.2777778

Where these values came from: our own exact-arithmetic script and a hand-worked case; stored reference values, Evidence and equations (the volume balance and C1V1).

The build has not run this example through the tool.

Worked by an AI session on 2026-11-11. No person has yet worked this case.

## Sources

No source is recorded for this tool's methods.

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

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Exact rational volume balance (Python 3.11.15) on 14 cases to nine significant figures (10 October 2026).

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

**Hostile inputs:** Sent 239 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason. Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

**Same answer:** Called twice and with its arguments in another order, it gave the same result; rewriting its quantities in other units changed no number (8 rewrites). Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

**Not checked:** The method record cites a vendor protocol (Thermo Fisher MAN0025706 B, pp. 12-13) and a dead-volume note (INTEGRA), read 9 October 2026 by an earlier session, for the overage and dead-volume practice; neither was re-read here, and the equations stand as definitions.

No independent scientist has yet reviewed this.

### What was not checked, in full

from the method records

- The method record cites a vendor protocol (Thermo Fisher MAN0025706 B, pp.
- 12-13) and a dead-volume note (INTEGRA), read 9 October 2026 by an earlier session, for the overage and dead-volume practice; neither was re-read here, and the equations stand as definitions.
- No published case set names master-mix-preparation\@1.0.0.

### What this project's records still lack

2 things

- A run of the worked example through the tool for master-mix-preparation\@1.0.0.
- A case set linked to this version for master-mix-preparation\@1.0.0.

### Cite a number from this tool

the cite line

Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.

```cite
calc_master_mix, server 1.0.0; master-mix-preparation@1.0.0 (Checked against a reference); receipt 85c4350175a9/19224517caec; methods https://www.drybench.com/methods/calculators; page https://www.drybench.com/methods/tools/calc-master-mix. Quote this line with any number taken from this reply.
```

### Changes to its methods

0 changes

No change is logged for these method versions.
