Signal-to-noise ratio of a chromatographic peak
chrom_signal_to_noise
Works out the signal-to-noise ratio of a peak from its height and the noise range of a blank.
- Runs
- On the server
- Level
- Checked against a reference: the full check of 14 November 2026 (a second implementation, edge cases); none was used for outside comparison
What it is
Returns the signal-to-noise ratio S/N = 2H/h of a peak by USP ⟨621⟩ (2022), from its height and a blank's noise range. Use when the peak height H and the peak-to-peak noise h of a blank, read over a stated multiple of the half-height width, are known. Not for plate number, symmetry or resolution: use `chrom_system_suitability`. noiseDefinition is required (peak-to-peak only; RMS is refused); a window under 5 × Wh is refused and 5 to 20 × is flagged; UV absorbance (AU, mAU) only, never FID, MS or counts entered as mAU.
Field: Analytical chemistry.
What it does
You give
noiseDefinition(required): How the noise h was read: peak-to-peak range of a blank (USP ⟨621⟩). RMS is not sourced at this version and is refused.peakHeight(required): Height H of the peak from its maximum to the extrapolated baseline, in the reference solution's chromatogram. Must be above 0 mAU.noiseRange(required): Range h of the noise in a blank's chromatogram, read around where the peak would be. Must be above 0 mAU.noiseWindow(required): Width of the baseline over which H and h were read, as a multiple of the peak's half-height width (unit "1"). Must be above 0.
No request is recorded for this tool.
Limits
- Research and quality-control arithmetic on the values you supply, using the formulae of USP ⟨621⟩ (harmonised text, official 1 December 2022) and ICH Q2(R2) (adopted 1 November 2023) as each method writes them out.
- Each reply states whether a number lies inside or outside the range the chapter states; it does not decide whether a method, column or system meets a requirement, and it is not a release or regulatory decision.
- Peak-to-peak noise of a blank read over 20 times the half-height width, placed where possible around the peak's position.
- Windows from 5 to 20 times are flagged; below 5 times, refused.
- RMS or software noise values give different ratios and are not accepted.
- UV absorbance responses only at 1.0.0; FID, MS or count responses are not accepted, and should not be entered as mAU.
- 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.
It will not answer when
- the baseline read is narrower than 5 times the half-height width, the chapter's least permitted.
- 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.
Every input, with its units4 inputs
noiseDefinition(required): How the noise h was read: peak-to-peak range of a blank (USP ⟨621⟩). RMS is not sourced at this version and is refused.peakHeight(required): Height H of the peak from its maximum to the extrapolated baseline, in the reference solution's chromatogram. Must be above 0 mAU.noiseRange(required): Range h of the noise in a blank's chromatogram, read around where the peak would be. Must be above 0 mAU.noiseWindow(required): Width of the baseline over which H and h were read, as a multiple of the peak's half-height width (unit "1"). Must be above 0.
Every refusal, with its code2 refusals
| Code | When |
|---|---|
WINDOW_TOO_NARROW | the baseline read is narrower than 5 times the half-height width, the chapter's least permitted. |
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. |
The calculation
The method's equations, constants and worked example.
Equation 1
| Symbol | Meaning |
|---|---|
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 1.
Equation 2
H and h are read over a baseline of 20 × Wh
at least 5 × Wh is permitted when 20 × is not obtainable
| Symbol | Meaning |
|---|---|
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 1.
| Constant | Value | From |
|---|---|---|
factor on the peak height, as printed 2 | 2 | Source 1 |
Conventions
- 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.
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 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
- sn = 20, from peakHeight, noiseRange; by equation 1; gives signalToNoise.
The working, as the case writes it:
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.
Sources
United States Pharmacopeia, General Chapter ⟨621⟩ Chromatography, Stage 4 harmonised text (Pharmacopoeial Discussion Group), official 1 December 2022
Used for: Signal-to-noise ratio of a peak by the harmonised USP ⟨621⟩ definition. At: section Definitions: Signal-to-noise ratio.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- 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.
Changes to its methods0 changes
No change is logged for these method versions.