# Signal-to-noise ratio of a peak by the harmonised USP ⟨621⟩ definition, version 1.0.1

signal-to-noise\@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; USP ⟨621⟩ S/N = 2H/h read at source; RMS refused by our ruling; window reason not checked; no outside comparison. Reference kind: our own exact-arithmetic script and a hand-worked case.**

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/signal-to-noise) · [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; USP ⟨621⟩ S/N = 2H/h read at source; RMS refused by our ruling; window reason not checked; no outside comparison. Reference kind: our own exact-arithmetic script and a hand-worked case.** `signal-to-noise@1.0.1`

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:** S/N = 2H/h, with H and h read over 20 × Wh, or at least 5 × Wh where the chapter permits it, as USP ⟨621⟩ defines them (official 1 December 2022), re-read at source 14 November 2026, SHA-256 matching. Compared on 30 cases (20 at the edges, including windows of exactly 5 and 20) with a second implementation in Python by a separate agent of the same model family, in exact rationals. 29 agree; one differs in the order of refusals, now stated (CHROM-F5). None was used for outside comparison: the chapter prints no example.

S/N = 2H/h from the peak's height and a blank's peak-to-peak noise, with the chapter's rule for the width of the baseline read.

- **How results are reported:** none: full double precision. The noise window w is reported 20-or-more when w ≥ 20 and 5-to-20 when 5 ≤ w \< 20 (permitted only for the chapter's stated reasons, which the tool does not check); w \< 5 is refused; w is decided exactly on each value as stated: the shortest decimal that reads back as the delivered double, times its unit's exact factor. WINDOW\_TOO\_NARROW is checked before NOISE\_DEFINITION\_NOT\_SOURCED: a narrow window with RMS noise gets WINDOW\_TOO\_NARROW.
- **Uncertainty:** Arithmetic on the values supplied; the uncertainty of reading H and h is not propagated.
- **Reference, as its record states it:** the full check of 14 November 2026 (a second implementation, edge cases); none was used for outside comparison
- **Level confirmed by this project's ruling of** 14 November 2026

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

### What was checked

65 cases in 4 files, linked by this exact version.

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

- **File 1, 10 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-10
  - **Reference:** Python fractions (exact rational arithmetic) with mpmath for square roots, CPython 3.13.18; mpmath 1.3.0; licence BSD-3-Clause
  - **Tolerance as the file states it:** relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, flags and units exact

- **File 2, 29 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:** S/N relative 1e-12 (absolute 1e-24 below 1e-12); window labels, statuses and codes exact

- **File 3, 4 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:** S/N relative 1e-12 (absolute 1e-24 below 1e-12); window labels, statuses and codes exact

- **File 4, 22 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:** S/N relative 1e-12 (absolute 1e-24 below 1e-12); window labels, 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

How the caller read H and h; whether the chapter's reason for a window narrower than 20 × Wh applies (the tool cannot check it); RMS and data-system noise (refused); responses other than absorbance (not accepted at 1.0.0); one reader's reading of the chapter, shared by the engine and the oracle.

### Definition or model

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

### Equations

**Equation 1**

```equation
S/N = 2H / h
```

| Symbol | Meaning and unit |
| --- | --- |
| S/N | signal-to-noise ratio |
| H | height of the peak above the extrapolated baseline, mAU |
| h | range of the noise of a blank, in the unit of H, mAU |

Source: United States Pharmacopeia, General Chapter ⟨621⟩ Chromatography, Stage 4 harmonised text (Pharmacopoeial Discussion Group), official 1 December 2022, section Definitions: Signal-to-noise ratio, Stage 4 harmonised text as posted by USP, official 1 December 2022 (the PDF headed 'Stage 4 Harmonization, Official: December 1, 2022'); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning a2c758b72915. Free to read (free to read on usp.org; © The United States Pharmacopeial Convention, all rights reserved (cited, not copied)), checked 2026-11-11. No erratum found (searched usp.org, Notice of Adoption of Harmonized Standard (usp.org/node/34576), web search for USP ⟨621⟩ errata, 11 November 2026), 2026-11-11.

**Equation 2**

```equation
H and h are read over a baseline of 20 × Wh
at least 5 × Wh is permitted when 20 × is not obtainable
```

| Symbol | Meaning and unit |
| --- | --- |
| Wh | half-height width of the peak in the reference solution's chromatogram, min |
| w | the width of baseline read, as a multiple of Wh |

Source: United States Pharmacopeia, General Chapter ⟨621⟩ Chromatography, Stage 4 harmonised text (Pharmacopoeial Discussion Group), official 1 December 2022, section Definitions: Signal-to-noise ratio, Stage 4 harmonised text as posted by USP, official 1 December 2022 (the PDF headed 'Stage 4 Harmonization, Official: December 1, 2022'); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning a2c758b72915. Free to read (free to read on usp.org; © The United States Pharmacopeial Convention, all rights reserved (cited, not copied)), checked 2026-11-11. No erratum found (searched usp.org, Notice of Adoption of Harmonized Standard (usp.org/node/34576), web search for USP ⟨621⟩ errata, 11 November 2026), 2026-11-11.

### Conventions

What each mode computes:

- `noiseDefinition = peak-to-peak`: h is the range (maximum minus minimum) of the noise of a blank chromatogram over the stated window, as USP ⟨621⟩ defines it, in the peak height's unit.
- `noiseDefinition = rms`: The root-mean-square noise a data system may report. The chapter defines h as the range of the noise. Refusing RMS is Drybench's ruling, because RMS gives a different ratio.

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| factor on the peak height, as printed (2) | 2 | United States Pharmacopeia, General Chapter ⟨621⟩ Chromatography, Stage 4 harmonised text (Pharmacopoeial Discussion Group), official 1 December 2022, section Definitions: Signal-to-noise ratio | 2026-11-10 |

### Worked example

Worked example: one case of signal-to-noise\@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**

- noiseDefinition = peak-to-peak
- peakHeight = 0.5 mAU
- noiseRange = 0.05 mAU
- noiseWindow = 20

**Steps**

1. sn = 20, from peakHeight, noiseRange; by equation 1; gives signalToNoise.

The working, as the case writes it:

```equation
S/N = 2 x 0.50/0.050 = 1.00/0.050 = 20
window 20 x Wh: no flag.
```

**Answer**

- `signalToNoise` = **20**

Where these values came from: our own exact-arithmetic script and a hand-worked case; USP \<621> Chromatography, Stage 4 harmonised text, official 1 December 2022, Definitions, Signal-to-noise ratio.

At build the tool returned this answer within the tolerance the file states: relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, flags and units exact.

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `WINDOW_TOO_NARROW`: the baseline read is narrower than 5 times the half-height width, the chapter's least permitted Next: Read the noise over a wider baseline, at least the chapter's least multiple of the half-height width, and give that noiseWindow.
- `NOISE_DEFINITION_NOT_SOURCED`: a noise definition other than the peak-to-peak range (RMS, a data system's) is asked for: it is not sourced at this version Next: Give the peak-to-peak range of the blank's noise with noiseDefinition peak-to-peak.

**Input ranges:** noiseWindow: at least 5; outside it, refused (WINDOW\_TOO\_NARROW).

### Changes

No correction is logged for signal-to-noise\@1.0.1.

## Tools that use it

- [`chrom_signal_to_noise`](https://www.drybench.com/methods/tools/chrom-signal-to-noise)

## Cite this version

Signal-to-noise ratio of a peak by the harmonised USP ⟨621⟩ definition. Drybench; signal-to-noise\@1.0.1; [https://www.drybench.com/methods/m/signal-to-noise/1.0.1](https://www.drybench.com/methods/m/signal-to-noise/1.0.1) (accessed \[date\]).
