# DNA and RNA molecular weight

`seq_nucleic_acid_mass` · Runs: Held: built, not on the server yet · Level: Checked against a reference: hand arithmetic from the cited residue masses

Works out the average molecular weight and elemental formula of a DNA or RNA sequence.

**Why it is held.** The operator has taken this tool off the server. This page does not record why, so read nothing about its numbers from this, good or bad. It has been withdrawn on this server.

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

[Open in Drybench Sequence](https://www.drybench.com/sequence/app)

```cite
DNA and RNA molecular weight (seq_nucleic_acid_mass), Drybench MCP server 1.0.0; nucleic-acid-average-mass@1.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/seq-nucleic-acid-mass
```

## What it is

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.

Field: [Sequences](https://www.drybench.com/mcp/catalogue/sequences). It is the same calculation as [Drybench Sequence](https://www.drybench.com/sequence/app), called by an AI assistant through the server.

## What it does

**You give**

- `sequence` (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.
- `strands` (required): Strandedness of the molecule (single or double).
- `topology` (required): Molecule topology (linear or circular).
- `alphabet`: 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.
- `fivePrime`: 5-prime end group on each strand; required when topology is 'linear'.

No request is shown while this tool is held.

**Limits**

- 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.
- No other limit is recorded for this tool.

Every reply also carries its app's limits line: "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 will not answer when**

- The sequence contains no nucleotide letters.
- Any letter other than A, C, G and T (U for RNA), each named with its position; ambiguity codes are refused, never averaged.

### Every input, with its units

5 inputs

- `sequence` (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.
- `strands` (required): Strandedness of the molecule (single or double).
- `topology` (required): Molecule topology (linear or circular).
- `alphabet`: 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.
- `fivePrime`: 5-prime end group on each strand; required when topology is 'linear'.

### Every refusal, with its code

2 refusals

| Code | When |
| --- | --- |
| `EMPTY_SEQUENCE` | The sequence contains no nucleotide letters. |
| `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. |

## The calculation

The method's equations, constants and worked example.

### [Nucleic acid molecular weight from the sequence](https://www.drybench.com/methods/m/nucleic-acid-average-mass/1.0.0)

`nucleic-acid-average-mass@1.0.0`

```text
Sum the residue formulas (each nucleoside 5′-monophosphate less one water) over the strand, and over both strands for a double strand
a linear strand adds one water, and with a 5′-OH end loses HPO3 (one H, one P, three O)
a circle adds nothing. M is the formula's weight by formula-mass@1.2.0.
```

| Symbol | Meaning |
| --- | --- |
| `M` | molecular weight of the molecule as stated (strands, topology, 5′ end), g/mol |

| Constant | Value | From |
| --- | --- | --- |
| DNA and RNA residue formulas (monophosphate less water) `residues` | a table of values, part of the method | Source 1 |

**Conventions**

- Convention chosen by this project: by default the oligo is single-stranded linear DNA with 5′-OH and 3′-OH ends, as synthetic oligos are supplied. A 5′-phosphate would add 79.98 g/mol.

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 nucleic-acid-average-mass\@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**

- sequence = ATGCATGC
- topology = circular
- massNg = 100

**Steps**

1. resA: NMP − H2O = C10H12N5O5P1, from NMP = C10H14N5O6P1.
2. resC: NMP − H2O = C9H12N3O6P1, from NMP = C9H14N3O7P1.
3. resG: NMP − H2O = C10H12N5O6P1, from NMP = C10H14N5O7P1.
4. resT: NMP − H2O = C10H13N2O7P1, from NMP = C10H15N2O8P1.
5. strands: count both strands = A 4, C 4, G 4, T 4 (circular: no end groups), from top = ATGCATGC, bottom = GCATGCAT.
6. formula: sum = C156H196N60O96P16.
7. MW: Σ n × A\_r = 4943.1920 g/mol, from C = 12.011, H = 1.0080, N = 14.007, O = 15.999, P = 30.974; gives result.molecularWeight.

The working, as the case writes it:

```text
Residue = nucleoside 5′-monophosphate less water
circular double strand = both strands' residues
M = Σ n × A_r.
```

**Answer**

- result.molecularWeight = 4943.1920 g/mol

Where these values came from: our own exact-arithmetic script and a hand-worked case; PubChem compound records dAMP (CID 12599) C10H14N5O6P, dCMP (13945) C9H14N3O7P, dGMP (135398597) C10H14N5O7P, dTMP (9700) C10H15N2O8P, read 11 November 2026; CIAAW, Abridged Standard Atomic Weights 2024: C 12.011, H 1.0080, N 14.007, O 15.999, P 30.974.

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

1. PubChem compound records: dAMP (CID 12599), dCMP (13945), dGMP (135398597), dTMP (9700), AMP (6083), CMP (6131), GMP (135398631), UMP (6030); property MolecularFormula. Used for: Nucleic acid molecular weight from the sequence. At: section MolecularFormula of each CID. **Read in full, 11 November 2026**

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

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Hand arithmetic from the cited residue masses within 0.01 g/mol on 5 oligos (6 October 2026).

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

**Hostile inputs:** Sent 19 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. Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

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

**Open:** The operator has taken this tool off the server. This page does not record why, so read nothing about its numbers from this, good or bad. It has been withdrawn on this server.

No independent scientist has yet reviewed this.

### What this project's records still lack

2 things

- A run of the worked example through the tool for nucleic-acid-average-mass\@1.0.0.
- A case set linked to this version for nucleic-acid-average-mass\@1.0.0.

### Changes to its methods

0 changes

No change is logged for these method versions.
