Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Molar concentration of a double-stranded sequencing library from its mass concentration and mean fragment length, version 2.0.0

ngs-library-molarity@2.0.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference; Agrees with Biopython 1.88 within its weight table; 617.899 g/mol per bp from CIAAW 2024; sizing and basis yours. Reference kind: our own exact-arithmetic script and a hand-worked case.

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.

Every version of this method · Every method · What the levels mean

Version 2.0.0

Level: Checked against a reference; Agrees with Biopython 1.88 within its weight table; 617.899 g/mol per bp from CIAAW 2024; sizing and basis yours. Reference kind: our own exact-arithmetic script and a hand-worked case. ngs-library-molarity@2.0.0

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: exact arithmetic in a script of our own, hand-worked; 617.899 g/mol per bp recomputed from the CIAAW 2024 abridged weights and PubChem dNMP formulas; Biopython 1.88's double-stranded molecular weight of (ACGT)n at several lengths agrees with the computed molar mass plus 2 × m(HPO3) within the difference of the two weight tables

c[nM] = c[ng/uL] × 10⁶ / M and its inverse, with the molar mass M from a stated basis: computed per bp from atomic weights, a stated mass per bp, or a stated molecular weight.

  • How results are reported: none: full double precision; the caller rounds; unit factors are exact powers of ten (1 ng/uL = 1 mg/L = 1 ug/mL = 10^-3 g/L; 1 nM = 10^-9 M), and the working units are ng/uL, nM, bp and g/mol; the stated-weight bounds are asymmetric: the lower is 600 × L plus the 5′-OH ends and the upper 700 × L plus the 5′-phosphate ends, 2 × m(H2O)
  • Uncertainty: Closed-form arithmetic in double precision on the stated inputs; no uncertainty is propagated from the concentration, the sizing or the mass basis. The CIAAW abridged uncertainties of H, C, N, O and P, taken at their ends together, move 617.899 g/mol per bp by at most 0.0654 g/mol (C19.5H24.5N7.5O12P2: 19.5 × 0.002 + 24.5 × 0.0002 + 7.5 × 0.001 + 12 × 0.001 + 2 × 0.001), 1.1e-4 relative: computed, not propagated.
  • Computes through this project's own routines: the free-acid molar mass of a double-stranded linear DNA of a given length, with its end groups (computed-per-bp); 617.899 g/mol per base pair, the free acid from CIAAW abridged weights, reported as computedPerBp; the suite's 50,000 bp length cap
  • Reference, as its record states it: Biopython 1.88's molecular_weight on double-stranded (ACGT)n (the outside comparison, after its 5′-phosphate ends), with exact rationals in a script of our own and KA #1240's formula
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

136 cases in 2 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 84 agree within the tolerance the file states, 52 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 55 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: CPython standard library (fractions, decimal), 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: relative 1e-15 on concentrations and masses (near zero: absolute 1e-24 below 1e-9, in each output's own unit: nM, or the case's result unit, and g/mol); differencePercent absolute 1e-12 %; statuses, codes, units, counts and strings exact
  • File 2, 81 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: relative 1e-15 on concentrations and masses (near zero: absolute 1e-24 below 1e-9, in each output's own unit); differencePercent absolute 1e-12 %; statuses, codes, units, counts and strings exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

The caller's concentration and sizing; libraries that are not double-stranded linear DNA; the 5′-phosphate end form (not offered); the CIAAW 2021 table itself (the 2024 table was read).

Definition or model

A closed form: the result follows from the inputs by the equations alone.

Equations

Equation 1

c_molar[nM] = c_mass[ng/uL] × 10^6 / M
c_mass[ng/uL] = c_molar[nM] × M / 10^6: KA #1240's formula with M in place of its 660 g/mol × average library size
inputs are read as the exact value of their shortest decimal, and MASS_PER_BP_OUT_OF_RANGE, MW_OUT_OF_BOUNDS, LENGTH_ABOVE_RANGE and the whole-bp test are decided on that value
the concentration, molarMass, usedPerBp and differencePercent are in double precision
each input's errors: a concentration missing or both given is MISSING_ARGUMENT or CONFLICTING_ARGUMENT
massPerBasePair or molecularWeight with a basis that does not use it is CONFLICTING_ARGUMENT
a length, massPerBasePair or molecularWeight the basis needs and lacks is MISSING_ARGUMENT
a result unit in the family given is RESULT_UNIT_SAME_FAMILY
meanFragmentLength must be a whole number of bp after the kb conversion, tested on the exact value of its stated decimal (1.001 kb is 1001 bp
1.0005 kb, 1000.5 bp, is NOT_AN_INTEGER), and at most 50,000 bp (LENGTH_ABOVE_RANGE)
a mass per bp outside 600 to 700 g/mol is MASS_PER_BP_OUT_OF_RANGE
a stated weight outside the length's bounds is MW_OUT_OF_BOUNDS (S14)
order of checks: first the kit's form checks of every argument (number, unit, choice)
then the method's two input ranges, in the record's order: a massPerBasePair outside 600 to 700 (MASS_PER_BP_OUT_OF_RANGE), then a meanFragmentLength above 50,000 bp (LENGTH_ABOVE_RANGE, 50000.5 bp among them), each refused before every check below
then the tool's checks: the argument checks above in that order, then RESULT_UNIT_SAME_FAMILY, then NOT_AN_INTEGER, then MW_OUT_OF_BOUNDS
Symbol Meaning and unit
c_molar molar concentration, nM
c_mass mass concentration, ng/uL
M molar mass of one library molecule, g/mol

Source: Illumina Knowledge Article #1240, "Converting ng/µl to nM when calculating dsDNA library concentration" (Illumina Knowledge, Library Prep, General Library Prep, Reference Material), equation the formula image: (concentration in ng/µl) / (660 g/mol × average library size in bp) × 10^6 = concentration in nM, the knowledge-base page, "Last updated 3 months ago", retrieved 14 November 2026; sha256 is of its formula image, image1.jpg (GitBook blob 6ccf3d06b43bab779729a9de201f1cf4e7201362, 527 × 112 JPEG), the page's HTML being rebuilt on each load; formerly the support-site bulletin of November 2016 at emea.support.illumina.com/bulletins/2016/11/converting-ngl-to-nm-when-calculating-dsdna-library-concentration-.html, which now redirects here (page SHA-256 7740223266244c48658073b5003f2527cd7547f96b2ea02d28d1595c3c204c18, retrieved 11 November 2026); read in full on 2026-11-14 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning df4661c99fb2. Free to read (© Illumina, Inc.; terms not stated on the page (held for the General Counsel)), checked 2026-11-14. No erratum found (searched the knowledge.illumina.com page as retrieved (no revision history published)), 2026-11-14.

Equation 2

M = m_bp × L
Symbol Meaning and unit
m_bp mass per base pair stated by the caller, g/mol
L mean fragment length, bp

Source: Illumina Knowledge Article #1240, "Converting ng/µl to nM when calculating dsDNA library concentration" (Illumina Knowledge, Library Prep, General Library Prep, Reference Material), equation the formula image: (concentration in ng/µl) / (660 g/mol × average library size in bp) × 10^6 = concentration in nM, the knowledge-base page, "Last updated 3 months ago", retrieved 14 November 2026; sha256 is of its formula image, image1.jpg (GitBook blob 6ccf3d06b43bab779729a9de201f1cf4e7201362, 527 × 112 JPEG), the page's HTML being rebuilt on each load; formerly the support-site bulletin of November 2016 at emea.support.illumina.com/bulletins/2016/11/converting-ngl-to-nm-when-calculating-dsdna-library-concentration-.html, which now redirects here (page SHA-256 7740223266244c48658073b5003f2527cd7547f96b2ea02d28d1595c3c204c18, retrieved 11 November 2026); read in full on 2026-11-14 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning df4661c99fb2. Free to read (© Illumina, Inc.; terms not stated on the page (held for the General Counsel)), checked 2026-11-14. No erratum found (searched the knowledge.illumina.com page as retrieved (no revision history published)), 2026-11-14.

Equation 3

r_X = m(dXMP) − m(H2O), with dAMP C10H14N5O6P, dCMP C9H14N3O7P, dGMP C10H14N5O7P, dTMP C10H15N2O8P and each formula's mass from the atomic weights: the record's construction from the PubChem formulas and the CIAAW 2024 weights
Symbol Meaning and unit
r_X residue mass of deoxynucleotide X in the chain, g/mol

Source: PubChem compound records CID 12599 (dAMP, C10H14N5O6P), 13945 (dCMP, C9H14N3O7P), 135398597 (dGMP, C10H14N5O7P), 9700 (dTMP, C10H15N2O8P), table MolecularFormula of each CID, PUG REST response, retrieved 11 November 2026; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 09b369b4b0f3. Free to read (NCBI data, public domain in the United States), checked 2026-11-11. No erratum found (searched the four PubChem records as retrieved), 2026-11-11.

Equation 4

m_bp = (r_A + r_C + r_G + r_T) / 2, the mean mass of one base pair (both strands), free acid, C19.5H24.5N7.5O12P2: the record's construction from the CIAAW 2024 weights and the PubChem formulas (S11)
Symbol Meaning and unit
m_bp mean mass of one base pair, g/mol
r_X residue mass of deoxynucleotide X, g/mol

Source: CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974), the 2024 abridged table, retrieved 11 November 2026; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning f9e955447174. Free to read (free to read; no licence stated in the file or repository, so cited only), checked 2026-11-11. No erratum found (searched the CIAAW page as retrieved (the 2024 table is current)), 2026-11-11.

Equation 5

e = 2 × (m(H2O) − m(HPO3)), the two ends of a linear double strand with 5′-OH ends: the record's construction from the CIAAW 2024 weights (S11)
strands with 5′-phosphates, as Biopython 1.88 takes them, weigh 2 × m(HPO3) more
Symbol Meaning and unit
e end-group term of a double-stranded linear molecule, g/mol

Source: CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974), the 2024 abridged table, retrieved 11 November 2026; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning f9e955447174. Free to read (free to read; no licence stated in the file or repository, so cited only), checked 2026-11-11. No erratum found (searched the CIAAW page as retrieved (the 2024 table is current)), 2026-11-11.

Equation 6

M = m_bp × L + e, the record's construction (S11)
basis comparison, when a length is known: usedPerBp = M / L for a stated weight, the stated per-bp mass for stated-per-bp, m_bp for computed-per-bp
differencePercent = (usedPerBp / m_bp − 1) × 100, signed
Symbol Meaning and unit
M molar mass of one library molecule, g/mol
L mean fragment length, bp

Source: CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974), the 2024 abridged table, retrieved 11 November 2026; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning f9e955447174. Free to read (free to read; no licence stated in the file or repository, so cited only), checked 2026-11-11. No erratum found (searched the CIAAW page as retrieved (the 2024 table is current)), 2026-11-11.

Equation 7

600 × L + e ≤ M ≤ 700 × L + 2 m(H2O): the 600 to 700 g/mol per bp bounds are this suite's own judgement, from common salt forms
the end-group masses are from the atomic weights
Symbol Meaning and unit
M stated molecular weight, g/mol
L mean fragment length, bp

Ruling of this project: 10 November 2026, section "2. Reasoning (rulings)". Not yet published; its effect is stated on this page. A choice this project made, not a value from the literature.

Conventions

What each mode computes:

  • basis = computed-per-bp: molar mass of the double-stranded library from its mean length at 617.899 g/mol per base pair (the free acid, from CIAAW abridged atomic weights) plus the 5'-OH end groups, in g/mol
  • basis = stated-per-bp: molar mass of the library as the caller's mass per base pair (g/mol per bp, 600 to 700) times its mean length, in g/mol
  • basis = stated-molecular-weight: molar mass of one library molecule as the caller states it, in g/mol

Constants

Constant Value and unit Source Date read
mean mass of a base pair, free acid, from CIAAW 2024 weights and PubChem dNMP formulas (derived in the worked case) (m_bp(computed)) 617.899 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11
standard atomic weight of hydrogen, abridged (A_r(H)) 1.008 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11
standard atomic weight of carbon, abridged (A_r(C)) 12.011 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11
standard atomic weight of nitrogen, abridged (A_r(N)) 14.007 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11
standard atomic weight of oxygen, abridged (A_r(O)) 15.999 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11
standard atomic weight of phosphorus, abridged (A_r(P)) 30.974 g/mol CIAAW, Abridged Standard Atomic Weights 2024, table abridged standard atomic weights, row 1 (H 1.0080), 6 (C 12.011), 7 (N 14.007), 8 (O 15.999), 15 (P 30.974) 2026-11-11

Worked example

Worked example: one case of ngs-library-molarity@2.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

  • massConcentration = 10 ng/uL
  • resultUnit = nM
  • basis = computed-per-bp
  • meanFragmentLength = 500 bp

Steps

  1. rA = 313.21 g/mol, by equation 3.
  2. rC = 289.184 g/mol, by equation 3.
  3. rG = 329.209 g/mol, by equation 3.
  4. rT = 304.195 g/mol, by equation 3.
  5. mbp = 617.899 g/mol, from rA, rC, rG, rT; by equation 4; gives result.basisComparison.computedPerBp.
  6. e = -123.928 g/mol, by equation 5.
  7. M = 308825.57 g/mol, from mbp, meanFragmentLength, e; by equation 6; gives result.molarMass.
  8. c = 32.380738 nM, from massConcentration, M; by equation 1; gives result.concentration.

The working, as the case writes it:

mean bp = (dAMP + dCMP + dGMP + dTMP - 4 H2O)/2 = 617.899
ends = 2 (H2O - HPO3) = -123.928
M = 308,825.572
10 x 10^6 / M = 32.3807382... nM

Answer

  • result.basisComparison.computedPerBp = 617.899 g/mol
  • result.molarMass = 308825.57 g/mol
  • result.concentration = 32.380738 nM

Where these values came from: our own exact-arithmetic script and a hand-worked case; exact arithmetic from CIAAW 2024 abridged atomic weights and the dNMP formulas; worked by hand by Drybench on 10 November 2026 (ruling 2); this is not an independent check.

At build the tool returned this answer within the tolerance the file states: relative 1e-15 on concentrations and masses (near zero: absolute 1e-24 below 1e-9, in each output's own unit: nM, or the case's result unit, and g/mol); differencePercent absolute 1e-12 %; statuses, codes, units, counts and strings exact.

Who worked this case: not recorded.

What it refuses, and its input ranges

  • MASS_PER_BP_OUT_OF_RANGE: the stated mass per base pair lies outside the range this suite judges a double-stranded base pair to take in common salt forms; a value near half of it is one nucleotide, not a pair Next: State the mass of one base pair (both strands), or use computed-per-bp.
  • LENGTH_ABOVE_RANGE: the mean fragment length is above the suite's length cap Next: Check the sizing trace's mean; a library this long is outside this method.
  • MW_OUT_OF_BOUNDS: a stated molecular weight given with a length lies outside the bounds the length allows for a double-stranded molecule with its end groups Next: Check the molecular weight and the length belong to the same molecule, or use stated-per-bp.
  • RESULT_UNIT_SAME_FAMILY: the result unit is in the same family as the concentration given Next: Use calc_unit_conversion for mass to mass or molar to molar, or ask for a unit in the other family.

Input ranges: massPerBasePair: at least 600 g/mol and at most 700 g/mol; outside it, refused (MASS_PER_BP_OUT_OF_RANGE). meanFragmentLength: at most 50000 bp; outside it, refused (LENGTH_ABOVE_RANGE).

Changes

2026-11-14-ngs-library-molarity@2.0.0-1

2026-11-14 · ngs-library-molarity@2.0.0 · Corrections to our methods

  • What was wrong: The reply's molecularWeightBoundsChecked was true when no molecular weight had been stated (the computed-per-bp and stated-per-bp bases), as if a bounds check had been made.
  • Affected: Every computed reply of version 1.0.0 of the assistant tool ngs_library_molarity under computed-per-bp or stated-per-bp. No concentration or molar mass was wrong.
  • What changed: In 2.0.0 the field is withheld (no-stated-weight) unless a stated weight was compared with a length's bounds. The record states the decimal reading, each input's error code and the order of checks, labels its own constructions, enters the CIAAW uncertainties, re-anchors KA #1240 at its knowledge.illumina.com address, and records Biopython 1.88's molecular_weight as an outside check.
  • How it was found: A second implementation in Python by a separate agent of the same model family, and the CSO's review, in the raising run's full check of 14 November 2026 (finding SEQ-F10; S13).
  • Cases added: stored reference values re-records the retired -1 at 2.0.0, with lengths in kb either side of a whole bp and five lengths checked against Biopython 1.88.

Tools that use it

Cite this version

Molar concentration of a double-stranded sequencing library from its mass concentration and mean fragment length. Drybench; ngs-library-molarity@2.0.0; https://www.drybench.com/methods/m/ngs-library-molarity/2.0.0 (accessed [date]).