# Mass concentration to molar through the molecule

`calc_mass_to_molar` is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Assay.

## What it answers

Required: outputUnit (M, mM, uM, nM, pM, fM); subject (compound, protein). Converts a mass concentration to molarity using the compound's stated chemical form and the CIAAW atomic weights, or a protein's stated per-chain mass or sequence and residue table. Reports the concentration in mol/L and the requested unit. A compound needs its formula, and a multi-part formula needs its basis. The molar value is withheld when a residue cannot be read.

**Limits:**

- A C50 estimated here describes this assay under these conditions and is not a binding constant.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- 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.

> Research and education software; not for diagnosis or treatment decisions.
>
> Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.
>
> Not a forecast. Stages, scores, rates, rankings and similarities shown here describe records as they stand, or historical averages; they are not a forecast for any molecule, trial, drug, company or target.

## What this page can and cannot show

Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 3 of 3 methods.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

[Open Drybench Assay](https://www.drybench.com/assay/app) · [Drybench Assay: methods and checks](https://www.drybench.com/methods/assay) · [What the levels mean](https://www.drybench.com/methods/levels) · [Every assistant tool](https://www.drybench.com/methods/tools)

## Inputs

An omitted input takes the default its description states; the reply's `inputsReceived` shows what was given. Any input not listed here is refused.

- `concentration` (object, required): Positive mass concentration in the stated unit.
  - `value` (number, required)
  - `unit` (string, required): One of `pg/mL`, `ng/mL`, `ug/mL`, `mg/mL`, `g/L`, `µg/mL`, `μg/mL`.
- `outputUnit` (string, required): The molar unit to report alongside mol/L. Required. One of `M`, `mM`, `uM`, `nM`, `pM`, `fM`, `mol/L`, `µM`, `μM`.
- `subject` (string, required): What the concentration is of. One of `compound`, `protein`.
- `formula` (string, optional): Compound: the molecular formula, salts and hydrates written with a middle dot as on the label (e.g. C22H24ClFN4O3·HCl). Required for a compound.
- `expressedAs` (string, optional): Required for a multi-part formula: whether the compound concentration refers to the whole input or the parent. One of `whole`, `parent`.
- `molarMass` (object, optional): A compound molar mass without a formula is refused.
  - `value` (number, required)
  - `unit` (string, required): One of `g/mol`, `Da`, `kDa`.
- `sequence` (string, optional): Protein: the amino-acid sequence (one-letter codes).
- `residueTable` (string, optional): Protein from a sequence: 'protparam' (ExPASy ProtParam average residue masses) or 'ciaaw-2021' (residue formulas under CIAAW 2021). Required with a sequence. One of `protparam`, `ciaaw-2021`.
- `range` (object, optional): Protein: the mature chain as a 1-based inclusive residue range { start, end }; without it the whole sequence (the precursor) is used.
  - `start` (integer, optional): First residue, 1-based.
  - `end` (integer, optional): Last residue, inclusive.
- `typedMass` (object, optional): Protein: the stated molar mass per polypeptide chain.
  - `value` (number, required)
  - `unit` (string, required): One of `g/mol`, `Da`, `kDa`.
- `typedBasis` (string, optional): With typedMass: where the mass comes from (e.g. 'intact MS', 'CoA'). Required with typedMass.

## What it withholds or refuses

A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.

- `INVALID_FORMULA`: The formula cannot be read: an unknown or misspelt element; an element with no standard atomic weight (Tc, Pm, Po onward); a count, multiplier or charge starting with 0; a zero count, multiplier or written "+0"/"-0"; a count or weight beyond exact integer range; one element with a count and a bare sign ("Fe3+"), refused as ambiguous with "Fe+3" suggested; a formula starting with a digit ("13CH4", "2H2O"), refused at position 0 since 1.3.0 (1.2.0 read the number as a multiplier of the first part). (`formula-mass@1.3.0`)
- `MISSING_ARGUMENT`: No formula is given. (`formula-mass@1.3.0`)
- `MISSING_ARGUMENT`: Neither a protein sequence (seq\_protein\_properties) nor any of proteinSequence, a280, a260 (calc\_absorbance) is given. (`protein-average-mass@1.0.0`)
- `NO_RESIDUES`: No amino-acid residues remain in the sequence to compute protein properties from. (`protein-average-mass@1.0.0`)

## How to cite a number from it

Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.

The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.

This page has no example for this tool yet. The cite line's form, with placeholders where a call's own values go:

```cite
calc_mass_to_molar, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/calc-mass-to-molar. There is no result to quote; this line identifies the call and its receipt.
```

## Methods

Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.

### Mass concentration to molar through a stated molar mass

- **Method:** `molar-from-mass@1.0.0`
- **Level:** Checked against a reference; constructed cases; CIAAW 2021 and ProtParam constants; \[E\]active from molar totals only, by its stated definition. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Prohaska T et al. Standard atomic weights of the elements 2021 (IUPAC Technical Report). Pure Appl Chem 2022;94:573-600. doi:10.1515/pac-2019-0603; ciaaw.org, read 6 October 2026. [doi:10.1515/pac-2019-0603](https://doi.org/10.1515/pac-2019-0603)
- **How it was checked:** Checked against an independent oracle on 20 cases recorded in the oracle image, fixtures 0.11.0 (13 October 2026): formula weights within 1e-4 g/mol, protein masses within 0.02 Da (ProtParam) and 0.01 Da (CIAAW), molar values, active enzyme and kcat within 1e-9 relative; refusals exact. Worked example constructed by this project, not published: Molar totals, M to pM. The mass route is not covered. Qualifier: rests on a derivation shown in the record: the product is the tool's stated definition.
- What was not checked: not recorded for molar-from-mass\@1.0.0. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/molar-from-mass)
- [On Drybench Assay's methods page: Molar units and ligand efficiency](https://www.drybench.com/methods/assay#molar-units-and-ligand-efficiency)

### Formula weight from the molecular formula

- **Method:** `formula-mass@1.3.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Prohaska T et al. Standard atomic weights of the elements 2021 (IUPAC Technical Report). Pure Appl Chem 2022;94:573-600. doi:10.1515/pac-2019-0603; ciaaw.org, read 6 October 2026. [doi:10.1515/pac-2019-0603](https://doi.org/10.1515/pac-2019-0603)
- **How it was checked:** Checked against a CIAAW 2021 sum in Python's decimal module, with the formula from RDKit 2026.03.6, exactly on 58 fixtures (6 October 2026). The refusals and the decimal-dot warning added in 1.2.0 are unit-tested, not checked against an independent reader (10 November 2026).
- What was not checked: No published case set names formula-mass\@1.3.0. The 58 cases of stored reference values (lab-calculators 0.1.0 and 0.2.0) name no method version, and stored reference values (0.11.0) is for formula-mass\@1.1.0; neither is tied to this version yet. The change notes for 1.2.0 and 1.3.0 say every published mass is unchanged (none of those formulas starts with a digit); tying the sets needs a re-run tool-case file under this project's ruling of 11 November 2026, section S6. The 1.3.0 refusal of a formula starting with a digit is unit-tested and has two hand cases (13CH4, 2H2O), not a published case set. The 58 cases' expected values are CIAAW sums in Python's decimal module over formulas taken from RDKit 2026.03.6: RDKit supplied the formula, not the mass. The 1.2.0 refusals and the decimal-dot warning are unit-tested only, not checked against an independent formula reader. The IUPAC 2021 report (Prohaska et al. 2022) was not read: its publisher's site refused a plain request. The table was checked element by element against CIAAW's abridged table page instead, on 11 November 2026: all 84 values agree. No case runs this method through the served tool on its production runtime. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- [Method, sources and checks](https://www.drybench.com/methods/m/formula-mass)

### Average molecular weight from the sequence

- **Method:** `protein-average-mass@1.0.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** ExPASy ProtParam (Gasteiger et al. 2005); the fixtures are ProtParam's printed weights, retrieved 5 October 2026.
- **How it was checked:** Checked against Expasy ProtParam within 0.01 Da on 22 sequences with ProtParam's residue masses (6 October 2026). ProtParam is a tool of the SIB Swiss Institute of Bioinformatics; not affiliated.
- What was not checked: The engine's 22 residue masses and water were compared with ExPASy's published table on 11 November 2026: all agree. ProtParam's own published weights were the earlier fixtures' expected values (retrieved 5 October 2026); they are not tied to this version by a manifest. Gasteiger et al. 2005 itself was not read; the masses are read from the page ExPASy publishes. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- [Method, sources and checks](https://www.drybench.com/methods/m/protein-average-mass)

No independent scientist has yet reviewed these checks. [What the levels mean](https://www.drybench.com/methods/levels).

## Changes to its methods

- [2026-11-25 · formula-mass\@1.3.0](https://www.drybench.com/methods/corrections#2026-11-25-formula-mass130-1)

## Where it runs

The local MCP server serves this tool; the hosted MCP connection does not.

## Methods and checks

- [Drybench Assay: methods and checks](https://www.drybench.com/methods/assay)
- [Reference checks: Drybench Assay](https://www.drybench.com/methods/assay/checks)
- [What the levels mean](https://www.drybench.com/methods/levels)
- [Every assistant tool](https://www.drybench.com/methods/tools)
