# DNA and RNA molecular weight

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

## What it answers

Required: strands (single, double); topology (linear, circular). Exact average molecular weight and elemental formula of a DNA or RNA sequence from nucleoside monophosphate residues and CIAAW 2021 atomic weights. Linear molecules require fivePrime; ambiguity codes and gaps are refused with each position listed.

The reply's result carries these fields (each measured number carries its unit, or a withheld notice when a rule applies):

- `molecularWeight` (number, unit `g/mol`, required)
- `molecularWeightExact` (string, required)
- `formula` (string, required)
- `length` (integer, unit `1`, required)
- `form` (object, required)
  - `alphabet` (required): One of `dna`, `rna`.
  - `strands` (required): One of `single`, `double`.
  - `topology` (required): One of `linear`, `circular`.
  - `fivePrime` (optional): One of `OH`, `phosphate`.
- `counts` (object, required)
  - `A` (integer, unit `1`, required)
  - `C` (integer, unit `1`, required)
  - `G` (integer, unit `1`, required)
  - `T` (integer, unit `1`, optional)
  - `U` (integer, unit `1`, optional)
- `input` (object, required)
  - `alphabet` (required): One of `dna`, `rna`, `protein`.
  - `alphabetFrom` (required): One of `record`, `stated`, `detected`.
  - `circular` (boolean, required)
  - `length` (integer, unit `1`, required)
  - `format` (string, required)
  - `records` (integer, unit `1`, required)
  - `warnings` (array of string, optional)
  - `offenders` (object, optional)
    - `count` (integer, unit `1`, required)
    - `first` (array of object, required)
- `notes` (array of object, optional)
  - `id` (string, required)
  - `text` (string, required)
- `flags` (array of object, optional)
  - `id` (string, required)
  - `text` (string, required)
  - `paths` (array of string, required)

**Limits:**

- Nothing here is an assessment of any person's variant, sample or molecule, and a difference reported from a reference is a difference, not an interpretation.
- 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.

## What this page can and cannot show

Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 1 of 1 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.

[Use it on the web: DNA molecular weight calculator](https://www.drybench.com/sequence/dna-molecular-weight) · [Open Drybench Sequence](https://www.drybench.com/sequence/app) · [Drybench Sequence: methods and checks](https://www.drybench.com/methods/sequence) · [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.

- `sequence` (string, required): The DNA or RNA sequence: plain letters, FASTA (first record) or GenBank. Spaces, line breaks and position numbers are ignored. At most 1,000,000 letters.
- `alphabet` (string, optional): How to read the sequence. Omit to take it from the record (FASTA or GenBank fields) or, failing that, from the letters. 'dna-circular' reads DNA as a circle. One of `dna`, `rna`, `protein`, `dna-circular`.
- `strands` (string, required): Strandedness of the molecule (single or double). One of `single`, `double`.
- `topology` (string, required): Molecule topology (linear or circular). One of `linear`, `circular`.
- `fivePrime` (string, optional): 5-prime end group on each strand; required when topology is 'linear'. One of `OH`, `phosphate`.

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

- `EMPTY_SEQUENCE`: The sequence contains no nucleotide letters. (`nucleic-acid-average-mass@1.0.0`)
- `UNRESOLVED_LETTERS`: Any letter other than A, C, G and T (U for RNA), each named with its position; ambiguity codes are refused, never averaged. (`nucleic-acid-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.

### An example

The values asked and the values answered, computed by this tool when this page was built:

**Asked with**

- `alphabet`: dna
- `strands`: double
- `topology`: linear
- `fivePrime`: OH

It answered (`computed`):

- `molecularWeight`: 74,030 g/mol
- `molecularWeightExact`: 74028.892
- `formula`: C2335H2937N905O1436P238
- `length`: 120

The reply carries more values than are shown here.

Its cite line:

```cite
seq_nucleic_acid_mass, server 1.0.0; nucleic-acid-average-mass@1.0.0 (Checked against a reference); receipt 59a7bbcee87e/8d36d1e24809; methods https://www.drybench.com/methods/sequence; page https://www.drybench.com/methods/tools/seq-nucleic-acid-mass. Quote this line with any number taken from this reply.
```

## Methods

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

### Nucleic acid molecular weight from the sequence

- **Method:** `nucleic-acid-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:** Residue formulas from the nucleoside 5′-monophosphates (PubChem, read 6 October 2026) less water, summed with the IUPAC CIAAW 2021 atomic weights; 5′-OH and 3′-OH ends as a neutral free acid.
- **How it was checked:** Checked against hand arithmetic from the cited residue masses within 0.01 g/mol on 5 oligos (6 October 2026).
- What was not checked: All eight residue formulas were checked against PubChem's monophosphate formulas on 11 November 2026 (each one water less): all agree. No published case set names nucleic-acid-average-mass\@1.0.0. 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/nucleic-acid-average-mass)
- [On Drybench Sequence's methods page: DNA molecular weight](https://www.drybench.com/methods/sequence#dna-molecular-weight)

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

## Changes to its methods

- No correction is logged for nucleic-acid-average-mass\@1.0.0.

## Where it runs

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

## Methods and checks

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