Reagent amounts, masses and volumes from equivalents at a stated scale, version 1.1.2
rxn-stoichiometry@1.1.2: 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; amounts from stated equivalents (the record's definition), formulas, densities and purities (mass fractions). 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 1.1.2
Level: Checked against a reference; amounts from stated equivalents (the record's definition), formulas, densities and purities (mass fractions). Reference kind: our own exact-arithmetic script and a hand-worked case. rxn-stoichiometry@1.1.2
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: Each reagent's amount is its equivalents (mol per mol of the reference, the record's definition) times the reference's amount. Its mass is n·M/w, and its volume n·M/(w·ρ) or n/c. These come from the definitions of molar mass, mass fraction, density and amount concentration: NIST SP 811 (2008) §8.6, read 14 November 2026, and the IUPAC Green Book, 3rd edition, §2.10 and §2.2, re-read 14 November 2026, its 2010 erratum list not read. The mole is from the SI Brochure, 9th edition, §2.3.1. Molar masses come through formula-reading. Each value is read as the shortest decimal of its working value; results are exact rationals rounded once. Compared with a second implementation in Python by a separate agent of the same model family (60 cases, 27 at the edges; 1 the kit's bound statement). No outside program is compared: the method is sums, products and quotients of the stated values, checked in exact rationals.
Each reagent's amount is its equivalents (mol per mol of the reference) times the reference's amount; its mass to dispense is n·M / w and its volume n·M / (w·ρ) or n / c. PURITY_NOT_APPLIED is given when the reference is charged by amount as a solid, substance or liquid, the forms that carry a purity. Each value is read as the shortest decimal of its working value; results are exact rationals rounded once. Bounds are checked on the working value (the kit's statement). The order of notes carries no meaning.
- How results are reported: none: full double precision from exact rational arithmetic; the caller rounds
- Uncertainty: Exact arithmetic on the stated inputs; no uncertainty in a density, purity or weight is propagated.
- Reference, as its record states it: exact arithmetic in a Python program on hand-typed CIAAW weights; a second implementation in Python by a separate agent of the same model family
- Computes through:
solution-concentration@1.0.1,formula-reading@1.0.2 - Level confirmed by this project's ruling of 25 November 2026
What this page can and cannot show
What was checked
92 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: 40 agree within the tolerance the file states, 52 refuse as the case expects, 0 differ, 0 were not run.
File 1, 33 cases
- Where the expected values came from: our own exact-arithmetic script and a hand-worked case
- Recorded on: 2026-11-10
- Reference: Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
- Tolerance as the file states it: every number relative 1e-12; names, limiting reagents, statuses and codes exact
File 2, 59 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: every number relative 1e-12; names, limiting reagents, statuses and codes 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
That the equivalents are chemically sensible, that a formula is the substance meant, that a density holds at the working temperature, that a purity is a mass fraction by assay (an area percent is not); no limiting reagent is named, since the table takes no coefficients. A formula starting with a digit (13C7H6O2) is refused FORMULA_INVALID since 1.1.2, through formula-mass 1.3.0, with no case in this method's fixtures; the refusal is covered by stored reference values and unit tests only.
Definition or model
A closed form: the result follows from the inputs by the equations alone.
Equations
Equation 1
Definition: the record's definition of equivalents, e_i = n_i/n_ref (mol of i per mol of the reference); not at the Green Book locator.
n_i = e_i · n_ref
| Symbol | Meaning and unit |
|---|---|
| n_i | amount of reagent i, mol |
| e_i | equivalents of i: mol of i per mol of the reference |
| n_ref | amount of the reference, mol |
Equation 2
n_ref = n as stated
= m · w / M for a mass
= V · ρ · w / M for a liquid or mass-fraction solution
= V · c for a solution by concentration
w = purity in % ÷ 100
every amount in mol (mmol ÷ 1000)
| Symbol | Meaning and unit |
|---|---|
| m | mass as dispensed, g |
| w | mass fraction (purity), the stated % divided by 100 |
| M | molar mass (formula-reading), g/mol |
| V | volume (mL with ρ in g/mL; L with c in mol/L), mL |
| ρ | density, g/mL |
| c | amount concentration, mol/L |
Source: Thompson A, Taylor BN. Guide for the Use of the International System of Units (SI), NIST Special Publication 811, Chapter 8: Comments on Some Quantities and Their Units, section §8.6.4 (M = m/n), §8.6.10 (w_B = m_B/m), §8.6.7 (ρ = m/V) and §8.6.5 (c_B = n_B/V), as the IUPAC Green Book, 3rd edition, §2.10 pp. 47–48 and §2.2 p. 14 (re-read 14 November 2026; its 2010 erratum list not read), 2008 edition, the live web chapter, whose bytes change between retrievals (a Cloudflare script), so its text is pinned: read 14 November 2026, SHA-256 of its text 189216de9c6460f6df2ddf13669c29ef7262a06ee8670a10057d1c2060ade1ba (script, style and comment blocks and tags removed, entities decoded, whitespace collapsed to single spaces, UTF-8), equal on two retrievals; the byte SHA-256 is of the first retrieval; 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 7225b07fb4bf. Free to read (a US government work; free to read and cite), checked 2026-11-14. No erratum found (searched the SP 811 landing page (nist.gov/pml/special-publication-811) as retrieved 14 November 2026, the Chapter 8 page as retrieved), 2026-11-14.
Equation 3
m_i = n_i · M_i
mass to dispense m_i / w_i
volume m_i / (w_i · ρ_i) in mL for a liquid or mass-fraction solution, n_i / c_i for a solution by concentration
a volume is given only for a liquid or a solution, never for a solid
| Symbol | Meaning and unit |
|---|---|
| m_i | mass of the substance, g |
| w_i | mass fraction, the stated % divided by 100 |
| ρ_i | density, g/mL |
| c_i | amount concentration, mol/L |
Source: Thompson A, Taylor BN. Guide for the Use of the International System of Units (SI), NIST Special Publication 811, Chapter 8: Comments on Some Quantities and Their Units, section §8.6.4, §8.6.10, §8.6.7 and §8.6.5, the same definitions solved for the mass and volume, as the Green Book §2.10 pp. 47–48 and §2.2 p. 14 (its 2010 erratum list not read), 2008 edition, the live web chapter, whose bytes change between retrievals (a Cloudflare script), so its text is pinned: read 14 November 2026, SHA-256 of its text 189216de9c6460f6df2ddf13669c29ef7262a06ee8670a10057d1c2060ade1ba (script, style and comment blocks and tags removed, entities decoded, whitespace collapsed to single spaces, UTF-8), equal on two retrievals; the byte SHA-256 is of the first retrieval; 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 7225b07fb4bf. Free to read (a US government work; free to read and cite), checked 2026-11-14. No erratum found (searched the SP 811 landing page (nist.gov/pml/special-publication-811) as retrieved 14 November 2026, the Chapter 8 page as retrieved), 2026-11-14.
Equation 4
V_rxn = n_ref / c_rxn: the volume of reaction mixture at this concentration of the reference
not the volume of solvent to add (volumes are not additive)
| Symbol | Meaning and unit |
|---|---|
| V_rxn | volume of reaction mixture, mL |
| c_rxn | the reference's amount concentration in the mixture, mol/L |
Source: Thompson A, Taylor BN. Guide for the Use of the International System of Units (SI), NIST Special Publication 811, Chapter 8: Comments on Some Quantities and Their Units, section §8.6.5: c_B = n_B/V, V the volume of the mixture, as the Green Book §2.10 p. 48 (its 2010 erratum list not read), 2008 edition, the live web chapter, whose bytes change between retrievals (a Cloudflare script), so its text is pinned: read 14 November 2026, SHA-256 of its text 189216de9c6460f6df2ddf13669c29ef7262a06ee8670a10057d1c2060ade1ba (script, style and comment blocks and tags removed, entities decoded, whitespace collapsed to single spaces, UTF-8), equal on two retrievals; the byte SHA-256 is of the first retrieval; 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 7225b07fb4bf. Free to read (a US government work; free to read and cite), checked 2026-11-14. No erratum found (searched the SP 811 landing page (nist.gov/pml/special-publication-811) as retrieved 14 November 2026, the Chapter 8 page as retrieved), 2026-11-14.
Equation 5
every amount in mol, the SI unit of amount of substance (mmol ÷ 1000)
| Symbol | Meaning and unit |
|---|---|
| n | amount of substance, mol |
Source: BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update), section 2.3.1: the mole, symbol mol, is the SI unit of amount of substance, 9th edition (2019), V4.01, June 2026 (BIPM PDF); 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 5442eea2c680. Free to read (CC BY 4.0), checked 2026-11-14. No erratum found (searched crossref, the BIPM SI Brochure page), 2026-11-14.
Constants
| Constant | Value and unit | Source | Date read |
|---|---|---|---|
| standard atomic weights (CIAAW abridged), through formula-mass 1.1.0 (A_r) | a table of values, part of the method | IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Abridged Standard Atomic Weights, table Abridged Standard Atomic Weights | 2026-11-10 |
Worked example
Worked example: one case of rxn-stoichiometry@1.1.2, 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
- reagents[0].name = benzoic acid
- reagents[0].formula = C7H6O2
- reagents[0].reference = true
- reagents[0].equivalents = 1 equiv
- reagents[0].form = solid
- reagents[0].purity = 100 %
- reagents[0].amount = 10 mmol
- reagents[1].name = methanol
- reagents[1].formula = CH4O
- reagents[1].equivalents = 10 equiv
- reagents[1].form = liquid
- reagents[1].purity = 100 %
- reagents[1].density = 0.791 g/mL
- reagents[2].name = sulfuric acid
- reagents[2].formula = H2SO4
- reagents[2].equivalents = 0.1 equiv
- reagents[2].form = liquid
- reagents[2].purity = 98 %
- reagents[2].density = 1.83 g/mL
Steps
- M = 122.123 g/mol, from reagents[0].formula; by a rule this method's record does not list as an equation; gives rows[0].molarMass.
- n = 0.01 mol, from reagents[0].amount, reagents[0].equivalents; by equation 1; gives rows[0].amount.
- m = 1.22123 g, from n, M, reagents[0].purity; by equation 3; gives rows[0].massOfSubstance.
The working, as the case writes it:
Benzoic acid C7H6O2: M = 7×12.011 + 6×1.0080 + 2×15.999 = 122.123 g/mol
m = 0.0100 mol × 122.123 = 1.22123 g. Methanol CH4O: M = 32.042
n = 0.100 mol
m = 3.2042 g
V = 3.2042/0.791 = 4.05082 mL. H2SO4: M = 98.072
n = 1.00 mmol
m = 0.098072 g
to dispense 0.098072/0.98 = 0.100073 g
V = 0.100073/1.83 = 0.0546850 mL.
Answer
rows[0].molarMass= 122.123 g/molrows[0].amount= 0.01 molrows[0].massOfSubstance= 1.22123 g
Where these values came from: our own exact-arithmetic script and a hand-worked case; hand-worked in the fixture (derivation and worked steps).
At build the tool returned this answer within the tolerance the file states: every number relative 1e-12; names, limiting reagents, statuses and codes exact.
Who worked this case: not recorded.
What it refuses, and its input ranges
REFERENCE_COUNT(invalid input): not exactly one reagent is the referenceREFERENCE_EQUIVALENTS(invalid input): the reference is stated at other than 1 equivMOLAR_MASS_SOURCE(invalid input): a substance gives both, or neither, of a formula and a molar massFORMULA_IS_SMILES(invalid input): a formula reads as a SMILES (= # @ / \ or a lower-case letter not after an upper-case one); for a structure, molecule_descriptorsFORMULA_INVALID(invalid input): the formula cannot be read exactly as written: it is an electron; it writes a charge of zero; the formula-mass parser refuses it (an unknown symbol or one without a standard atomic weight, an ambiguous charge such as Fe3+, an unclosed bracket, a number before the formula such as 13CH4); it holds a count of zero; a count or the charge is above 2^53 − 1; or its molar-mass sum is too large to hold exactly (the shared routine formula-reading)PURITY_MISSING(invalid input): a solid, a substance or a neat liquid has no stated purity (never defaulted)MASS_FRACTION_MISSING(invalid input): a solution by mass fraction has no stated mass fractionDENSITY_MISSING(invalid input): a liquid, a mass-fraction solution or a line given by volume has no densityCONCENTRATION_MISSING(invalid input): a solution by concentration has no concentrationQUANTITY_SOURCE(invalid input): a charge or a line gives not exactly one of its quantities (amount, mass or volume), or a reagent other than the reference carries a scaleQUANTITY_FORM(invalid input): a quantity does not fit the form: a volume for a solid or a substance, a mass for a solution by concentration
Input ranges: reagents[*].equivalents: above 0 mol/mol; outside it, invalid input (OUT_OF_RANGE). reagents[*].purity: above 0 and at most 1; outside it, invalid input (OUT_OF_RANGE). reagents[*].massFraction: above 0 and at most 1; outside it, invalid input (OUT_OF_RANGE).
Flags and notes a reply may carry
A note a reply may carry:
EQUIV_BASIS: equiv: moles of each reagent per mole of the reference reagent named in the result; mol% is equiv × 100.REACTION_VOLUME: The reaction volume is the volume of reaction mixture at the stated concentration of the reference, not the volume of solvent to add: volumes are not additive.PURITY_NOT_APPLIED: The reference was charged by amount: its purity changes the mass to dispense, not its amount.ASCII_DOT_ADDUCT: An ASCII dot between digits was read as an adduct (a hydrate written with a dot is read as the salt with its water); write · for an adduct. Decimal counts are not accepted: check the formula as read.
Changes
2026-11-25-rxn-stoichiometry@1.1.2-1
2026-11-25 · rxn-stoichiometry@1.1.2 · Corrections to our methods
- What was wrong: A number written before a reagent formula was read as a multiplier. Benzoic acid written 13C7H6O2 was read as C91H78O26, 1587.599 g/mol for 122.123, so 10 mmol came out 15.87599 g to weigh for 1.22123 g.
- Affected: rxn_stoichiometry_table at rxn-stoichiometry 1.1.1 and earlier, only where a reagent formula starts with a digit. Every other output is unchanged.
- What changed: In 1.1.2, through formula-mass 1.3.0, a formula starting with a digit is now refused (FORMULA_INVALID); every other output is unchanged, and every pinned output hash is the same.
- How it was found: A review of the formula reader's grammar on 24 November 2026 found that no rule or test documented a number at the start of a formula, while the shared reader (formula-mass) applied the adduct multiplier to the first part as well; the scientific review ruled the same day that such a formula is refused. A sweep of the tools' worked examples with 13 written before each formula argument, before and after the fix, found which tools computed on it.
- Cases added: None in the fixtures: no published case starts a formula with a digit, and every pinned output hash is unchanged. The refusal is covered by the formula reader's hand cases and unit tests; the widened sweep records each tool's reply before and after.
Tools that use it
Cite this version
Reagent amounts, masses and volumes from equivalents at a stated scale. Drybench; rxn-stoichiometry@1.1.2; https://www.drybench.com/methods/m/rxn-stoichiometry/1.1.2 (accessed [date]).