# Unit conversion within one quantity, with molar bridges through a supplied formula weight, version 1.0.1

unit-conversion\@1.0.1: 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. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.**

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: Lab unit converter](https://www.drybench.com/calculators/unit-converter) · [Every version of this method](https://www.drybench.com/methods/m/unit-conversion) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.0.1

**Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.** `unit-conversion@1.0.1`

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

Checked against exact rational arithmetic (Python 3.13.16 fractions) with factors from the BIPM SI Brochure, 9th edition, on 44 cases, 16 of them refusals: prefix changes exactly as decimal strings, molar bridges to nine significant figures (10 October 2026).

Cases: no case set is linked to unit-conversion\@1.0.1.

### What was not checked

Since the 2019 SI the molar mass constant is not exactly 1 g/mol, so reading Da as g/mol is a convention rather than an identity; the size of the difference was not read here (CODATA 2022 not read) and is not carried. No published case set names unit-conversion\@1.0.1: its fixtures are not tied to this version by a manifest. 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.

### Equations

**Equation 1**

```equation
Within one quantity: value_to = value_from × 10^(exp_from − exp_to), done on the decimal text so no digit is lost
exp is each unit's power of ten to its quantity's base unit (SI prefixes, Table 7
the litre, Table 8).
```

| Symbol | Meaning and unit |
| --- | --- |
| exp | power of ten from the unit to the base unit (mg: −3 to g), 1 |

Source: Bureau International des Poids et Mesures. The International System of Units (SI), 9th edition, 2019 (V4.01, June 2026). doi:10.59161/AUEZ1291., table 7, 8, 9th edition 2019, document version V4.01 (June 2026); read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person.

**Equation 2**

Definition: Mass is amount times molar mass; a definition (this project's ruling of 11 November 2026, section S11(a)).

```equation
Between molar and mass units: mass concentration = molarity × M, mass = amount × M, with M the formula weight the caller states for the exact chemical form.
```

| Symbol | Meaning and unit |
| --- | --- |
| M | formula weight of the exact form, stated by the caller, g/mol |

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| Each listed unit's power of ten to its base unit (exp) | a table of values, part of the method | Bureau International des Poids et Mesures. The International System of Units (SI), 9th edition, 2019 (V4.01, June 2026). doi:10.59161/AUEZ1291., table 7, 8 | 2026-11-11 |

### Worked example

Worked example: one case of unit-conversion\@1.0.1, 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**

- value = 150
- from = mM
- to = g/L
- formulaWeight = 58.44

**Steps**

1. prefix: milli = 10⁻³ (SI Table 7) = 0.15 mol/L, from 150 mM = 150 × 10⁻³ mol/L.
2. bridge: ρ = c × M = 8.766 g/L, from c = 0.15, M = 58.44; gives result.value.

The working, as the case writes it:

```equation
milli = 10⁻³ (Table 7)
mass concentration = molarity × formula weight.
```

**Answer**

- `result.value` = **8.766 g/L**

Where these values came from: our own exact-arithmetic script and a hand-worked case; BIPM. The International System of Units (SI), 9th edition 2019, V4.01 (June 2026): Table 7 (prefixes), Table 8 (litre, dalton), §2.3.1 (t/°C = T/K − 273.15); the formula weight is the caller's.

The build has not run this example through the tool.

Worked by an AI session on 2026-11-21. No person has yet worked this case.

### What it refuses, and its input ranges

- `DENSITY`: A conversion that needs a density (%, mol/kg, mass to volume).
- `NORMALITY`: Normality (N).
- `ACTIVITY`: Activity units (U, IU).
- `PPM`: ppm or ppb.
- `FOLD`: A fold change.
- `OD`: OD600.
- `RPM`: RPM or × g.
- `FORMULA_WEIGHT`: A molar bridge needs a positive formula weight.
- `INCOMPATIBLE`: Units of two different quantities with no bridge.
- `UNKNOWN_UNIT`: A unit the converter does not list.
- `NOT_A_NUMBER`: The value is not a plain decimal.
- `NEGATIVE`: A negative value.
- `MAGNITUDE_OUT_OF_RANGE`: A nonzero molar bridge result lies outside the normal range of a double.

**Input ranges:** value: at least 0; outside it, refused (NEGATIVE).

### Changes

#### 2026-11-21-unit-conversion\@1.0.1-1

2026-11-21 · [`unit-conversion@1.0.1`](https://www.drybench.com/methods/m/unit-conversion) · Corrections to our methods

- **What was wrong:** A molar bridge (molar to mass concentration, amount to mass, and back) read the typed decimal as a double before scaling it. A plain decimal below the double range was read as 0: 1e-400 g/L, typed with every zero, to mol/L through a formula weight of 1e-200 g/mol gave 0 M, status converted, for a true 1e-200 M. A decimal above the range, or a product or quotient beyond it, was lost the same way.
- **Affected:** calc\_unit\_conversion and the Calc app's unit converter in version 1.0.0, only for a molar bridge whose typed value, or a step of whose double arithmetic, left the normal range of a double. Conversions within one quantity, temperatures and every molar bridge on realistic inputs are the same, to the last digit.
- **What changed:** In 1.0.1 such a bridge is worked in exact rational arithmetic on the decimal as typed and the formula weight's exact binary value, then rounded to twelve significant figures as before: the case above now gives 1e-200 M. An answer that is itself outside the normal range of a double is refused with problem magnitude and a stated reason. Every bridge whose double arithmetic stayed in the normal range runs 1.0.0's arithmetic and gives the same answer.
- **How it was found:** An independent audit replay, recorded as an audit finding; the scientific review's ruling of 18 November 2026 said what clears it. Reproduced by unit tests on 21 November 2026 that failed before the fix.
- **Cases added:** Tests through calc\_unit\_conversion and the engine on the audit fixture's inputs, against its decimal reference and tolerance, and a refusal for a true 1e-400 M; a hand case; no published case set yet.

## Tools that use it

- [`calc_unit_conversion`](https://www.drybench.com/methods/tools/calc-unit-conversion)

## Cite this version

Unit conversion within one quantity, with molar bridges through a supplied formula weight. Drybench; unit-conversion\@1.0.1; [https://www.drybench.com/methods/m/unit-conversion/1.0.1](https://www.drybench.com/methods/m/unit-conversion/1.0.1) (accessed \[date\]).
